How to make one patcher play more than one audio files at the same time?

May 29, 2012 at 7:10am

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!

#56781
May 29, 2012 at 11:40am

hello,

do you know [poly~] ?
if not you can study it.

#203495
May 29, 2012 at 2:27pm

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

#203496
May 29, 2012 at 5:23pm

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.

#203497
May 30, 2012 at 9:03am

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

#203498
Jun 3, 2012 at 9:58am

Ok, now I can make it with multiple[sfplay].

#203499

You must be logged in to reply to this topic.