Unfolding not printing Map Markers
I'm trying to put a bunch of markers on an unfolding map in Processing after loading them in from a URL. I've checked and there's definitely locations being created, but the markers aren't being drawn...
View ArticleWhy processing does not render and play sound in a FOR structure at the same...
I am programming a Simon Game ` import processing.sound.*; import processing.serial.*; Quads[] seq = new Quads[100]; ArrayList seq2 = new ArrayList(); ArrayList seqP = new ArrayList(); SoundFile r, g,...
View Articleexit extended PApplet/ second window
I'm using processing 3.3. Basically this code opens a save window when "g" is pressed. You type the "name" and and "notes" and click on the save button so it appears on the main window. What I want is...
View Articlehow to check if the textfield is active controlp5
Hello. Basically I'm getting outputs from key pressed buttons and I also want to have textfields. How do I make sure that when I'm writing on a textfield I don't get the outputs from the main code. I...
View ArticleGarbage collection problems? (OutOfMemoryException) [update 3] [possible fix]
So... I've been using Processing to do a little MIDI work. One particular object I was particularly excited to do was re-create the effect of an Animusic-esque marble machine. This, of course, means I...
View ArticleApproach to utilise variable data from Draw
Hello! New to Processing and have been experimenting with the tutorials and videos a bit, and have a hit a hurdle I am sure someone will have some insight to. Essentially, I am trying to take the...
View ArticleWhy the sound and the image are not displayed at the same time? HELP!
My code: import processing.sound.*; //Import sound librarie // Create a SoundFile SoundFile sound; sound = new SoundFile(this, "est.wav"); // Play and show a rect at the same time. PROBLEM for (int i =...
View ArticleHow to replace advertisement for admob
I succeeded to create my android app. But I can't monetize my app by advertisement. I choose adomb for monetization. So, how do I write the code? There is no information for processing admob.
View ArticleI need a time vs frequency graph plot of an audio file
I am using processing 2 and minim for audio. I want to plot a time v frequency graph of an audio file..Like waterfall model in software defined radio..Hope I will get some help.. TIA
View ArticleIs it possible to perform FFT with FilePlayer object? [Minim]
I'm trying to affect the playback speed of an mp3 based on the positions of the bars. The "vanilla" code (from the analyzeSound.pde example) below works with an AudioPlayer object but when I try to...
View ArticlePicking in 3D through ray tracing method
Hello, I have been trying to write a code for being able to pick objects or select points in 3D by using a ray tracing method, based on the guidelines I read from this source:...
View ArticleMy piano plays 2 notes when I click the black keys
Hi, so for a group project, we have to make a piano that when you click on the notes, plays the corresponding sounds. We have everything figured out except for the black keys. When I click on a black...
View ArticleCan't put "Game Over" when I lose the game
I tried to have a text pop up that said "Game Over" but it keeps giving me an error. Error: (IndexOutOfBoundsException; Index; 1 ,Size: 1) I would also LOVE to add a score board (with names and high...
View ArticleI need to visualize the spectrum of multiple audio files(see description)
I want a single spectrum where I can visualize multiple audio files each playing at varying frequency..So that In the spectrum multiple spikes will be generated ..So far I am able to generate a...
View ArticlePlay an audioBuffer with Minim
Im reading the microphone line in and storing the audiobuffer, is there a way to use AudioOutput to play what im recording without having to save it on the filesystem? AudioInput in=minim.getLineIn();...
View ArticlecontrolP5 and opengl incompatibility. how to solve?
Hello. Basically I figured out what was making the backspace not work properly on a textfield on my code. If i use opengl which I need, I'm not able to keep pressing backspace to delete the text all at...
View ArticlePublic void inside draw? Using librarie ControlP5
My objective is that when you put the valor it'll draw the function "flor" but, it don't erase the last one that was drawn. How could i do that?
View ArticleHow to set the starting point of videos?
I'd like to make a code which play portions of a loaded video, setting the starting point and the duration of those portions of clip. It is a sort of random granular playback. How can I play a clip...
View Articleplay a random list of videos by keypress, exhaust
I need help please, how could make according to press a key "1" play in random select from a list of videos, while its pressed? (the video start playing on loop, so that the list is just a video. Not...
View ArticleI need a waterfall spectrum generated from an audio file
Like in SDR I need to generate a waterfall spectrum of an audio file which time v frequency graph.Can anyone help me in this forum or guide me..I badly need it..TIA
View Article