How to make one patcher play more than one audio files at the same time?
Hello! I'm trying to make a game which need background music and sound effect. But now I can't make them play at the same time. It means when sound effect is played, the background music is interrupted.
So, how could I make them play at the same time without interaction.
Thanks!
hello,
do you know [poly~] ?
if not you can study it.
Depending on how large the audio files are, and also on how fast you need to trigger them, you could also use multiple [sfplay~] or [buffer~] + [groove~] objects; there is also [polybuffer~], but in this case and as fp says above perhaps you should check out the helpfile for [poly~] first,
Brendan
Without seeing your patch it's impossible to say for sure. Are you trying to use one splay~ (or similar) object? You will probably want [strong]at least[/strong] two: one for music, and one for sound effects. You may want several for sound effects, if you need them to overlap. As mentioned above poly~ may help, particularly for overlapping sound effect sounds.
Post your patch.
Yse, I'd better check out the tutorials. And I'd like to try multiple [sfplay~] . Thank you very much. Thank you all.
@fp @n00b_meister @Chris Muir
Ok, now I can make it with multiple[sfplay].