[SOLVED] Using Java packages in Processing 3.2.3
I would like to use JeroMQ (pure Java zeroMQ) but the problem is that I know NOTHING AT ALL/ZERO/NULL about Java and don't know how to include and use it in Processing. These are the steps I followed:...
View ArticleVideos and State Machine
So I'm trying to create an interactive film through state machines. A "choose your own path" type situation but I can't get the button to work to trigger the second video. Help? import...
View Articlemusic visualization
hello, i want to add controlp5 buttons in a music visualizer code.But i am having trouble with loading the mp3 file.i am using selectInput method but i am getting null pointer exception at...
View ArticleHow to extract audio track from video file
As the title says, how would one extract and utilise the audio track of a video file loaded into processing? I've been looking at minim and beads and I don't see anything that seems to be able to do...
View ArticleControlP5 setLock(true) doesn't work when Button is under mouse
Not sure if I am being completely daft here, but I am finding an issue where using setLock(true) to disable a ControlP5 button works only if the button you are modifying doesn't have the mouse over it...
View Articleresolution webcam
Hello everyone, my webcam has a maximum resolution of 640 x 480, it is possible in cam = new Capture(this,640,480); enter the option to go to full screen even with a lower resolution? thanks
View ArticleIntegration peasyCam with CP5 GUI and webcam: How?
Hi there!!I'm actually trying to implement a sketch with a basic GUI made with CP5 (input/chat text for a chat bot and some buttons), a webcam capture and the feature to move webcam and texts when...
View ArticleMouseEvent() on G4P GLabel
Hello I have a question about the event handler associated with the GLabel of my code. I am able to add an event in my setup, but it never gets triggered when I call it later on in my code. It works...
View ArticleIs there any methods to send actual number in processing.net library?
Well, just like what I said on the title, Here's a fragment my code import processing.net.*; Client comPort; comPort = new Client(this, "192.168.4.1", 23); public void throttle(float speed){...
View ArticleHow to Analyze the Amplitude of Multiple Audio Files using Sound
I am trying to analyze the amplitude of multiple audio files using the Sound library, but it seems I am only able to analyze one at a time. For example, assuming all three audio files are different,...
View ArticleProcessing- How to I make a ControlP5 button change to my next page in...
I've been trying to make my page move to the next one by using a button how do i do this? Heres my code : int currentScreen; import controlP5.*; ControlP5 cp5; void setup() { size(280, 440); background...
View ArticleFilter() and button
Hello everyone, In this code, I wish that by pressing a button the webcam had a permanent filter: import processing.video.*; import g4p_controls.*; Capture cam; GButton btnFilterG; void setup() {...
View ArticleDetecting MultiTouch (selecting two controlP5 button at same time)
In processing I am using ControlP5 & SMT libraries for my university proejct, I have to develop something like on a touch screen, When I touch button A, Button B will be visible. If I release touch...
View ArticlesaveString with button
Hello everyone, I want to save the text written in textArea, import processing.video.*; import g4p_controls.*; import java.awt.Font; GTextArea textArea; String txtMain =""; Capture cam; GButton...
View Articleuse audio in processing
im trying to do a simple video chat. for the video part im ok, i can manipulate and compress the pixel raster and send it over the net, as for audio for now im sending serialized wavs, which is no...
View ArticleHow can I perform frequency modulation in processing with minim
I have a scenario where I want to show message signal, carrier signal and modulated signal. I checked the example of minim. There is a example sketch on frequency modulation but I hardly understand the...
View ArticleBeads unable to load mp3s
I'm using Beads to play mp3s and affect their playback rate. Beads 1.01, Processing 3.3, Windows 10. I've encountered an issue when loading mp3s that some will be unable to play and throw the error...
View ArticleWhat exactly are the dependencies for the Video library on Ubuntu
Hello! I have been using Processing for around six months now, and I am really loving it. I have learned a lot about coding through Processing and have really entered a new phase of my learning path....
View ArticleMinim getGain() only returns value -64
I'm trying to get the decibel level from the microphone on my laptop. I'm using Minim but if there's another simpler way please let me know. This code only returns the value -64. What am i doing wrong?...
View ArticleMaking a back button
My code is a little long so I'm sorry about that but I've tried to condense it here and just explain the bare minimum of my problem. I have a state machine that incorporates both mousePressed and...
View Article