processing-sound-archive
processing-sound-archive copied to clipboard
FFT crashes Java
Hi, I just started using Processing yesterday and decided to try out the sound library today.
I noticed while playing about with the FFT example that changing the number of bands to values that are not powers of 2 (2, 4, 8, 16, 32, 64, 128, 256, etc) will crash Java with the following error in the sketchbook console:
Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting.
I am running the Windows version of Processing on Windows 10 Pro 64-bit with Java 8 runtime version 1.8.0_102-b14 installed for both 32-bit and 64-bit.
I also have issues when running the FFT example:
Problematic frame:
# C [libmethcla.dylib+0x5604e] remove_free_block+0x3e
Seems that this is the same error as #85 (and also reported elsewhere eg https://github.com/processing/processing-docs/issues/407), how can we solve or at least investigate this?
@Galbi3000 FFT bands always have to be power 2 in processing sound. Bare FFT won't work if you don't pass blocks of power of 2 to it. I'll update the examples and help files. thanks!
@benparsons could you post system + machine info? thx!