Could not run the sketch (Target VM failed to initialize)
Im new to processing and have to learn how to use it for Uni. I've imported the processing sound library, however if i try and use i get the above error. The only solutions I've found online relate to...
View Articleg4p NullPointerException on event handler
I'm trying to set a default max and min range of a value that can be in a textfield if user enters val > 350, then setText to 350,..etc getting: java.lang.NullPointerException at...
View Article"OutOfMemoryError" When Loading Animated GIF
Hi, I tried to load a series of gif files using the gifAnimation library and encountered "OutOfMemoryError". I have tried increasing the memory settings but encountered the same error. The problem...
View ArticleProcessing audio speech
Which is the easiest Library to use for processing audio speech?
View ArticleHow to change color of overlapping ellipses
Hi! I have a question. I am fairly new to processing, so I need a little help. I am trying to track the visitors of an exhibition. Right now I am comparing each frame with the previous one, detecting...
View ArticleMaking a Sound Meter
Hello! I have a problem. I am a newbie with processing and I'm trying to make a sound meter similar to one that you would see on a lie detecter test/or a Joy Division album cover. I've only been using...
View ArticleHow to create a 3d cylinder using PShape and vertex (x,y,z)?
The code I have is done using a different method I believe, but I am unfamiliar using the PShape and vertex(x,y,z) method. Please help me understand what I need to do to convert. This is the code I...
View ArticlePlaying audio files from a playlist with Minin
I have an application where audio ques are selected from a playlist (array). Minin has an example of just playing a single file. I am confused on how to declare and setup these file arrays. Which...
View ArticleVIDEO - best codec for minimising processing during playback?
I'm currently using h264 in a .mov wrapper at 10mbs/s and have problems with the videos freezing after about 10 minutes. These are being used for a light visualisation so need to be played for around...
View Articleminim: saving buffer samples as csv
Hi there, Trying to achieve what seemed simple at first (in my rookie's mind). I want to play a sound, and save first 1024 samples from buffer as csv table. It's sort of works but saved csv is not...
View ArticleReplace mousepressed with Leap Motion Gesture
Hi, I would like replace mousepressed function in Processing with leap motion gesture but are not sure how to achieve that. Btw, I'm using this library: https://github.com/nok/leap-motion-processing...
View ArticleSketch won't recognise ControlP5 ControlFrame
After installing and adding the controlP5 library into a sketch, it can see the ControlP5 import but when it comes to the ControlFrame, a red line appears underneath and it won't work. but, in the...
View ArticleA Tutorial implementing anything that uses OAuth
Hello, Simply, I'm trying to access Twitter from within Processing. I have had zero luck and have seemingly scoured every resource on the internet. My first attempt involved this:...
View ArticleHow do I fill a 3D PShape Cube with color?
I was able to create the PShape Cube with a stroke the color that I want, but I am having trouble adding color to my cube. I have also tried moving "cube.setFill(color(100,200,0));" after "PShape cube...
View ArticleArray of identical samples. Minim triggering sample issue.
Hi there. I have an array of identical samples for two bouncing orbs which are also in an array. A sample is to play each time a ball falls below a virtual water level. They trigger just fine, but...
View ArticleShapes3D is beyond Coool : But can I do dynamic textures
I'm using Shapes3D with Processing 2. I downloaded a starmap and used the library to project onto an ellipsoid as a texture. If I zoom into the ellipsoid, I get a planetarium view of the stars. Now,...
View ArticleHow do I use a software synth with Midibus ?
I have a sketch that works fine with an external synth connected via a USB/midi adapter. However, I can't get it to work with Timidity or FluidSynth. They don't appear in the list of MIDI outputs, even...
View ArticleHow to use HTTP Requests library with API keys
I'm quite new to using APIs and am trying to use the yelp API in processing to get images. I need some help using an API key in this library. Their website says to "put the API Key in the request...
View ArticleHow to use an external java library? (ND4J)
I would like to use the n-dimentional array feature from the ND4J java library. https://nd4j.org/getstarted Is it possible to use it with Processing? If so, what would be the steps?
View Article