Converting FFT Amplitude to dB/Hz
Hello, I'm trying to use the Sound library to create a spectrogram. I looked at the FFTSpectrogram example that comes in the library. My goal is to create a spectrogram that looks similar to the output...
View Articleexport application doesn't work for video library
Hello, I have problems with exporting application in processing 3.0.2 on windows 7 (32-bit). I use video library and everything is ok when I run the sketch in processing, but starting exe files after...
View ArticleImplementing a password field
import controlP5.*; void setup(){ size(480,640); ControlP5 id=new ControlP5(this); ControlP5 pw=new ControlP5(this); PFont font=createFont("arial", 20); //id input id.addTextfield("ID", 180,300,200,50)...
View ArticleBlank/Grey screen (frame differencing)
My code seems like a little bit buggy. Sometimes, i need to refresh few times to get the ideal results. This is very annoying and you need to keep on restart the processing and execute the code again....
View ArticleAdd a library to a sketch directory for portability
Hello there! Is it possible to include a library into the sketch directory, so sketches can be shared without having to install the libraries in the documents/processing/libraries directory? I know...
View Articledont understand isRange() in Minim
Hi! Im doing sound analysis with minim and dont understand isRange() method in the BeatDetect class In the reference it says In frequency energy mode this returns true if at least threshold bands of...
View ArticleGood xml library?
What is a good xml library? I'm really done with the one from processing. It can't read big files. Other files take ages to load.
View ArticlePerformance issue with ArrayList
Hi everyone, I am having performance issue with ArrayList. I have spend about a day trying to figure out what's the potential cause but with no success. I was wondering whether anyone could help me....
View ArticlejsonObject is ambiguous
Now the code below is a mixture of two sketches. The goal here is that the user inputs a search term. Upon hitting enter the applet searches tinysong for the song and returns the song id (this works in...
View ArticleSave/Load JSON based Cameras in Proscene
https://www.dropbox.com/sh/2riljmpqfywibaa/AADseXkl0ms0WOYcjPSjKow7a?dl=0 ^ that's a link to my code Someone else was apparently able to save/load cameras in proscene from a file:...
View ArticleG4P: GTextField slow input
Hello! I'm having some performance issues with GTextField while using larger font size. While entering text in GTextField that goes past the edge of the field, the input dramatically slows down. I'm...
View ArticleHow to switch between two videos and how to determine which video is...
Hi everyone. I'm very new with Processing and I really need a help! I have two videos and I want to switch between them, choosing which video is shown. The two videos will always be in play, never stop...
View Articlefog in p3d /opengl
hi I want to add fog to my 3d-game. I found this library for fog: www.hardcorepawn.com/fog/ I added it to the libraries, but when i run it, i get errors. (with p3d and opengl) I think it is to old. Is...
View ArticleIPcapture vs PImage.get()
Hi, I'm using IPcapture with multiple MJPEG streams and buffering frames over time in as many circular buffers as there are cameras. The goal is to then display the streams with a delay. I can...
View ArticleProblem with toggling between multiple videos on processing 2.2.1
hi, so im quite a noob, just clearing that. im working on a project which involves switching between multiple videos on processing when i press a key. im trying to do some initial testing right now,...
View ArticleHello, in the code below I try to give a random value to textSize in the...
[see below for code]
View Articleswitching video doesn't work! help me, please!
Hi! Could you have a look at my code? I used current movie to switch two video (NemoBimboMovie and NemoShapeMovie, but they don't switch. I don't know why. Pleeeease, help me! import processing.core.*;...
View ArticleError message when using Minim
Hello, I'm writing a program that has a sound effect play when an image pops up on screen. The code appears to be working but I get the following error message in my command window at the bottom of the...
View ArticleWeather Data Library - Missing Links
Hi all, I'm looking for a library or piece of code that can link processing to weather data, either real time, or in the form of the standard typical meteorological year (TMY) of EnergyPlus. Any ideas...
View ArticleProcessing and Threads
I've got the following little threaded application that records some sound until the user releases the mouse button: import javax.sound.sampled.*; import java.io.*; import java.net.URLDecoder; import...
View Article