Forums > MaxMSP

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

May 29, 2012 | 7:10 am

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!



FP
May 29, 2012 | 11:40 am

hello,

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


May 29, 2012 | 2:27 pm

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


May 29, 2012 | 5:23 pm

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.


May 30, 2012 | 9:03 am

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


June 3, 2012 | 9:58 am

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


Viewing 6 posts - 1 through 6 (of 6 total)