Minim's AudioPlayer limit
in
Core Library Questions
•
2 years ago
Hi everyone.
I'm currently working on a project that needs some sound, and minim sounded like the best choice at hand.
I have good number of samples i want loaded into the memory and available to use at any momment.
However when i load more than 31 Minim's AudioPlayer objects, the 32nd gives me an "AssertionError" mesage, with this console print:
I have no idea what this error could be.
Anyone around with more experience with library, that know's why am i unable to compile my program after the 31st AudioPlayer?
Thanks in advance for all the help.
I'm currently working on a project that needs some sound, and minim sounded like the best choice at hand.
I have good number of samples i want loaded into the memory and available to use at any momment.
However when i load more than 31 Minim's AudioPlayer objects, the 32nd gives me an "AssertionError" mesage, with this console print:
- processing.app.debug.RunnerException: AssertionError
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:582)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.AssertionError
at org.classpath.icedtea.pulseaudio.Stream.disconnect(Stream.java:491)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.connect(PulseAudioDataLine.java:277)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:102)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
at ddf.minim.javasound.JSMinim.getSourceDataLine(JSMinim.java:730)
at ddf.minim.javasound.JSMinim.getAudioRecordingStream(JSMinim.java:241)
at ddf.minim.Minim.loadFile(Minim.java:357)
at ddf.minim.Minim.loadFile(Minim.java:341)
at LoliHome01$Audio.soundArray(LoliHome01.java:969)
at LoliHome01$Audio.<init>(LoliHome01.java:925)
at LoliHome01.setup(LoliHome01.java:136)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
I have no idea what this error could be.
Anyone around with more experience with library, that know's why am i unable to compile my program after the 31st AudioPlayer?
Thanks in advance for all the help.
2