Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

In the HTML5 canvas project, sound clips sometimes play and sometimes they don't

Explorer ,
Feb 09, 2023 Feb 09, 2023

I have made multiple animations on HTML5 Canvas. I have used voice-overs and sound effects in all the animations. Sometimes, all sounds play perfectly and sometimes 1-2 sounds or voiceover doesn't play. Animation keeps playing and other sounds after skipped sound also play. These non-played sounds are random, and each time a different sound does not play, even when replaying within animation or refresh webpage.

All sounds are exported and placed as MP3 192kbps bitrate or 128kbps bitrate in 44.1 KHz.

TOPICS
Import and export , Publish package
337
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 09, 2023 Feb 09, 2023

All sounds are in STREAM sync setting.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2023 Feb 10, 2023

do some sounds overlap?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 11, 2023 Feb 11, 2023

yes ... at very few place... 2 sounds overlap

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2023 Feb 12, 2023

2 overlaps is ok.  i think 8 or 16 is the limit.

 

how many different sounds are in your project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 12, 2023 Feb 12, 2023

at times ... 3 -4 sounds overlap only ... other than that, ... there are around 10 - 15 sound clips are used in a project ... which includes voiceovers and sound effects. In very few projects, i think 20+ sounds are used .... will that be an issue?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2023 Feb 12, 2023

there's a limit before you will see/hear unexpected behavior, and that may be the problem you're encountering, but i don't remember the limit.  it might be 16 sounds.  you should experiment with your problematic file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 12, 2023 Feb 12, 2023

Alright.  Thanks. Let me try this ... 
Just confirming that . MP3 sounds @ 128 or 192 bit rate (44.1 Khz) won't create issues right?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2023 Feb 12, 2023
LATEST

8 or 16 bit, sample rate 44.1khz

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines