Hello guys,
When I call a short fx sound using
msg.post("#sound", "play_sound",{gain = 0.5})
everything works well.
but if I’ve called a bigger file, like a music’s world the defold it is playing a noise at same time…
What i made wrong? any ideas?
this is my .wav file.
Hi!
Perhaps the link here will help. http://www.defold.com/manuals/sound/
If I have understood your question, you need to see the section “gating”.
britzl
January 3, 2017, 10:37pm
3
I didn’t really understand your question, but you shouldn’t use .wav for large audio files. For large files, such as music, you should use ogg-vorbis (.ogg files).
No problem @britzl i just tryied to use another soud file and works… problem solved. thx.
1 Like