Minim and SoundCipher problem
in
Contributed Library Questions
•
1 year ago
I have a question about the combination of Minim and SoundCipher on some Windows and Linux implementations. I myself have never experienced the problem first hand (I code on my Mac, and on Windows on Boot Camp, and I test on separate Windows on HP), but I have reports from a couple testers of my app that indicate that there is a problem to be resolved.
Background:
The processing app uses SoundCipher's midi library to generate sounds in games. The same app also uses minim to play mp3 or wav sound files that the user supplies. I am also using gain control (and volume control) to set the loudness of the midi sounds and the sound files. Separately, I use minim to generate sinewave sounds directly.
Symptoms:
In many cases these functions do not collide. But, in some cases there are reports that the midi sounds (the predominant component of the app's audio) do not play at all.
Minim's sinewave sounds do not seem affected.
Attempts to correct:
- One user, mentioned above, has already done a full install of JRE to include SoundBank, as per SoundCipher's suggested action, but that did not resolve the issue.
- The same user removed the mp3spi.jar from the exported application's build, which resolved the non-playing-midi-sounds issue, but introduced another issue -- that it can no longer play mp3 files.
Suspicions:
It is apparent that the mp3spi.jar is interfering with SoundCipher's ability to play sounds. I have no idea what the issue would be, and why it is inconsistent (between OSs/JREs) in its interference. I suspect that this jar is created by Minim, but that Soundcipher may be the culprit, and sensitive to some variation in the JRE implementation.
I am gathering the user's OS and JRE version information to help with troubleshooting, but I would appreciate any help to isolate the cause of the problem. Please send me ideas!
See the related thread:
https://forum.processing.org/topic/newbie-with-an-eeg-neuro-feedback-based-app#25080000001687089
1