-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
The library folder doesn't have the ".jar" file, so Processing IDE is unable to recognize sound files #106
Comments
Hello, the Is there a particular reason why you can't install the library from the contribution manager? This is the recommended way to install libraries. Best |
Hi! The reason is an error that Processing IDE throws when I try to run a code that contains the "import processing.sound.*" line.. This didn't happen from the beginning, but since a while I guess.. And it seems that the same error occurs both from contribution manager-installed sound folder as well as the downloaded zip folder. Exception in thread "Thread-15" java.lang.NullPointerException: Cannot read the array length because "list" is null The "Thread-15" keeps changing each time I run the code! Best regards |
Ah, I didn't realize you were on Android. Please try the following:
|
Hi again! I've downloaded the sound-android.zip folder from this page's link, but it gave me error on any audio file I tried to run.. After that, I went on the other page's link, downloaded the folder from there, extracted it into the In Java Mode, AIF and WAV worked very good, but MP3 gave the following exception In Android Mode, AIF and WAV also worked very good, but MP3 gives the following FATAL EXCEPTION:
So after all this ordeal, I decided to use Android Mode with your folder (playing only WAV and AIF files, which is pretty good for me) and Java Mode with the original sound folder (where I can use all three main audio file-formats). :) Thank you very much for your help and assistance! Keep up the good work! 👍 |
That's great to hear, thanks for your feedback! Yes we are aware that only WAV/AIF are supported on Android at the moment, but they are the most stable/recommended formats anyway. Could you please just confirm whether it was this sound-android.zip that worked for you in the end: https://github.com/processing/processing-sound/files/12718916/sound-android.zip |
Hi, thanks! Yes, this one worked for me: https://github.com/processing/processing-sound/files/12718916/sound-android.zip Good luck! 👍 |
Hello everyone!
I just downloaded the zip folder and extracted it in the libraries folder inside Processing sketchbook, but it seems that Processing IDE doesn't recognize it since it gives me the following error message: "The class does not exist"
Searching online about this issue, it found out that for installing a library inside Processing sketchbook without Contribution Manager, that library needs to have a ".jar" file with the same name as the library inside the library folder. All the other Processing libraries have this ".jar" file, but this library doesn't.
What is the solution for installing this library even without the ".jar" file?
Many thanks in advance!
Sammy
The text was updated successfully, but these errors were encountered: