-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setVolume() not available for AudioPlayer #52
Comments
does not support mp3 file? |
Are you on Windows, Mac, Linux? Can you provide the audio file that is failing to provide a volume control? You might also try using setGain instead. |
Thanks, you can download my test here: When you pressed 'A', 'S', 'D' you will hear three different tones. I tried to add .setVolume() before .play() and then it says "volume is not supported". |
BTW I was trying to apply this library to Processing 3. AudioPlayer.setGain() seems to have the same problem. Beside these they all worked magically and it is truly a lifesaver for my final. Thanks so much! |
Just tested this in Processing 3.3.3 on Windows 10. I got the "volume is not supported" message, but using setGain did work. The availability of gain and volume is going to be JRE-dependent, so I can't fix this until I rewrite these controls. |
processing 3.0.1, Minim 2.2.2
The text was updated successfully, but these errors were encountered: