We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Moved max number of samples/voices
Page Index Toggle Pages: 1
Moved max number of samples/voices (Read 542 times)
Moved max number of samples/voices
Feb 18th, 2008, 11:16pm
 

I'm making a sample playback engine with minim. I started out using AudioSnippets, but couldn't get more than 32 snippets to load. After 32 I get:

loading: 33.wav
=== Minim Error ===
=== Error obtaining clip: No Free Voices

So I switched to AudioSamples. They load fine (no errors), but when I play() a sample above 32 there's no sound.

Is 32 some sort of hard limit to the number of samples that can be loaded?

thanks,
douglas
Moved max number of samples/voices
Reply #1 - Feb 19th, 2008, 9:27am
 
I believe 32 is a limit within JavaSound which both minim and ESS are built on.
Moved max number of samples/voices
Reply #2 - Feb 27th, 2008, 3:42pm
 
ESS seems to allow more (at least 130) samples ...
Moved max number of samples/voices
Reply #3 - Feb 27th, 2008, 4:12pm
 
I think ESS doesn't bind samples to channels until you want to use them, but there'll still be a limit of at most 32 playing at once I believe.
Page Index Toggle Pages: 1