IndexOutOfBounds exception?
Hi all, I have been working on this game as part of a small piece of coursework for my course, however I have run into a problem. When the game is run, I get an Index out of Bounds Exception, but the...
View ArticleSound library not working (Processing 3.0.2 64bit, Sound lib 1.31, Win10)
No matter how i try installing the sound library i always encounter an error when trying to use it. "Library used by this sketch is not installed properly" "A library relies on native code that's not...
View ArticleHelp with AudioPlayer
I'm having trouble playing multiple sound files with the Minim audio player. Currently, I have an array of 3 AudioPlayers all initialized with separate audio files. I have a loop that goes to each cell...
View ArticleMINIM - I got so far then got stuck -random audio player
Im trying to make .mp3 audio play from 3 separate arrays randomly. Each Array has 3 or 4 tracks. On a key or mouse press i want each array to play one track at the same time. Then on mouse press repeat...
View ArticleError on removing ControlP5 Button, does someone know the problem?
Hello everyone, So when I press a button I want it to remove all the buttons that are drawn for the moment. For my first button this works perfectly and for the others it gives an error... To make my...
View ArticleMinim loop function not working
For a school project we are tasked with developping a small game using processing. Now I have run in to some troublesome problem. Whenever I want to use the loop function from the Minim library instead...
View ArticleRandomised Video and Caption
Hallo everyone, I am a beginner and I am trying to have a sketch which basically plays an amount of videos and then have underneath a scrolling text (stored in the data folder as .txt file). What I...
View ArticleIs there an easy way to do an inverse fft with processing sound?
I've searched around and saw that minim has fft.inverse(), though I could not find an equivalent in the sound library. Is there an easy way to do this?
View ArticleVoronoi 2D from OpenCV blob/ contour
Hello: I am trying to create a surface mesh ultimately, from OpenCV detected contours using ToxicLibs. I first want to create the Voronoi2D points, then convert them to 3D and add them to a mesh. Or...
View ArticleMinim very high on CPU when loading lots of sample
Hi, I develop a program on a i7 (quad core). This program load a lots of short sounds (around 500) in minim AudioSample[] with minim.loadSample. No pb here, CPU stay around 30%. But I need to run it on...
View ArticleHow do you load a gif in a sketch?
What I have is PImage dogMoving; float dogMovingx, dogMovingy setup(){ dogMoving = loadImage("dogWalking.gif"); dogMovingx=600; dogMovingy=300; } draw(){ image(dogMoving, dogMovingx, dogMovingy); }
View Articleis there any way to make the serial port on the raspberry pi operate at 250kbits
I would like to have the Pi be controlled from DMX commands and need to receive at 250kbits for DMX. I have messed around with setting the baud rate and even changing the baud clock initialization in...
View ArticleCould anybody tell me why my background image for stage1 is not displaying...
import processing.serial.*; import cc.arduino.*; import static javax.swing.JOptionPane.*; import javax.swing.JPasswordField; final StringDict accounts = new StringDict( new String[] { "john", "tony",...
View ArticleError - function does not exist - controlP5
///////////////////////////////////////// Imports/////////////////////////////// import org.gicentre.utils.gui.TextPopup; // for warning window import org.gicentre.utils.stat.*; // For chart classes....
View ArticleTrying to increase health bar when particle system drops hits the PImage. Not...
The piece of code I am trying to get working is commented out in draw(). import processing.serial.*; import cc.arduino.*; import static javax.swing.JOptionPane.*; import javax.swing.JPasswordField;...
View ArticleWhy am I getting "The function setControlFont(ControlFont) doesn't exist" ?
Why am I getting "The function setControlFont(ControlFont) doesn't exist" although the controlP5 library has been downloaded and installed? The function call is: cp5.setControlFont(new...
View ArticleControlP5 - How to remove a TextField
Hi everyone, After hours searching the web , I found nothing so you are my last hope. I'm working with Controlerp5 and I have troubles trying to remove a textfield, I don't know how to erase the...
View ArticleHow to use the video library in Eclipse
I am trying to Processing 3.0.2 with the video library in Eclipse on Osx with little success. I have added the gstreamer-java.jar, jna.jar and video.jar to the build path (as well as the core and...
View ArticleTwitter Ticker
Trying to make a twitter ticker device with Processing 3. So far, I've found a few disparate source codes, but need any assistance to make work. My Twitter4J library is imported. Would like to achieve...
View Articleboolean isPlaying()
Hi I probably asked this in the wrong department. I have a sketch written in 1.5.1 which worked and is now not working and I am not sure why it is hanging up on boolean isPlaying(){ return playing; }...
View Article