We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am new to Processing and I have some issues installing the processing-sound library. I installed the oscP5 libary here and it works fine: C:\Users\51syvjan\Documents\Processing\libraries\oscP5
However when downloading processing-sound-master zip from here: _https://github.com/processing/processing-sound and extracting it to: C:\Users\51syvjan\Documents\Processing\libraries\processing-sound it is not picked up by Processing. Any suggestions on what the issue can be?
Answers
C:\Users\51syvjan\Documents\Processing\
isn't the path you have installed Processing itself!I just found the "Add library" option and installed the library using this. Processing now finds the library but it still fails. The errormessage I get is below. I am running 64 bit indeed but I assume the library should work on both 32 and 64 bit or should I start using the 32 bit version of Processing?
A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application.
Hi thanks for the advise. I have cleaned up the first libraries I installed. Is it correct to assume that the processing-sound library only works for 32 bit Processing?
I get the same errormessage using Processing 32 bit..
I tried using Processing 3.0.2.
Sound library causes the same error, irrespective of whether I use 32-bit or 64-bit.
Pls help.
P.S. If there is no way of getting Processing Sound library to work, please recommend some other Java library compatible with Processing 3.0 with links.
There's Minim & the 1s from this list:
https://Processing.org/reference/libraries/#sound
Sounds library was updated about a week ago so try updating it if you haven't recently.
I updated Processing and the Sound library and tested the SinOsc example from processing.org. It failed with the error below:
_This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting. _
Will update and check out those recommendations.
Thanks!
Minim is no longer supported (I think).
So would be a help if someone could confirm that.
Updated Sound library works(at least most of it).
Thanks!
White Noise still doesn't work - sound plays for about 3 seconds before turning off automatically.
I found a new error/bug/??.
This is what comes as error message :-
Assertion failed: ((m_->valid == LIFE_MUTEX) && (m_->busy > 0)), file src/mutex.c, line 45
After this,Could not run the sketch (Target VM failed to initialize). Make sure that you haven't set the maximum available memory too high. For more information, read revisions.txt and Help ? Troubleshooting.
and the sketch shuts down.
This comes up a large number of times in any sketch i use envelopes, and sometimes even otherwise.
Any idea what causes it and how to solve it is most welcome.
NOTE: The second part of the message comes due to variety of other reasons also, so please don't bother explaining it.