Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Browsing all 2896 articles
Browse latest View live
↧

minim duty cycle modulation

Hello. I'd like to patch a square waveform to modulate the dutyCycle parameter, like we can do with frequency modulation or amplitude modulation. I've seen something like Osc1.patch( Osc2.frequency )...

View Article


ControlP5: Textarea

Does displaying an updating text at CP5 textarea is ambiguous? Is there other way to output a text in the display except using text() ? My issue with text is that, changing background is a must. Here's...

View Article


lines in a text file in Glabel

I have saved three lines in a text file and three Glabel, how to save every life in Glabel ??? That is: line 1 in Glabel 1 line 2 in Glabel 2 line 3 in Glabel3 the easiest it will cycle through "for",...

View Article

How to play a midi sound from soundcipher i.e a string sound and prolong this...

Hello there! I have a question: when i play a string sound pressing a key using soundcipher the sound has a lenght and after a while it starts to glitching. how can i play longer notes , string sound...

View Article

Averaging a few seconds of a video feed pixel

I would like to display a video pixel's average over a couple of seconds. What would be the best method to. To make the question simple, let's say I want to get the color of the center pixel of a video...

View Article


How to get one audio track to stop playing when another starts playing (Minim)

I have two soundtracks- one named rain and another named heartbeat. The goal is to trigger these audio files when a key is pressed. My problem is that I need to ensure that when one is playing the...

View Article

(CP5) How to convert the text in Texfield to a string

I'm trying to make a decimal/hexadecimal/binary converter for a college project using user input, but can't figure out any sort of way to actually use any of the stuff I input? Bear in mind I am...

View Article

How to change permission in terminal I cannot use VideoExport Library.

Hi guys, I have a problem trying to use any of the code from the library of Video Export that they get the same error. Even with the code from the website itself here >...

View Article


Processing.sound looping SoundFile

I want to loop a SounFile so that it starts over once the SoundFile plays. What am I doing wrong? void mouseReleased() { if (mouseX > 25 && mouseX < 75 && mouseY > 25...

View Article


Trouble with window size when using SecondApplet

First off I am new to processing and GUI in java. I am trying to port a program I made in matlab (I know what you are thinking, but it was due to the fact I had to take a class that used it for my...

View Article

G4P with PeasyCam not working on Mac

PeasyCam works only intermittently when I create a GWindow. The G4P with PeasyCam example does not work for me either. Just calling GWindow.getWindow causes the problem.

View Article

How can I control my particles in one window from another window via the mouse?

I am not sure if I am missing something specific to the toxi library, but I keep getting a ConcurrentModificationException when I try to control my particles in my secondary window via the mouse in my...

View Article

Is it possible to twist/bend/stretch/change shape of images with processing?...

Particularly looking to stretch/modify different sections of the image differently Also looking to do this with live video, will this make it more difficult? Cheers, Woody

View Article


G4P GPanel example.

It's probably very simple to find but google did not help :-( I want to do simple panels overlapping and changing ... Where are the GPanel examples? Thank you. David.

View Article

Clear the stage with HYPE framework

Hi guys, I'm new to the forum and hope one of you can help me. I started working with processing after quite some time and love the ease of use. Also started with the HYPE framework and am amazed at...

View Article


Amplitude of sound file instead of Audio In using Sound library

Hi, I can do an amplitude analysis of Audio In (the microphone) without issue, by using Amplitude in the Processing 3 Sound library. amp.input() accepts an input sound source, but the only example code...

View Article

Processing will not Export

First time in the forum, so please move this if it's in the wrong spot. When I try and export my application I get an "Error during export" message, but it doesn't give and error code or anything, I am...

View Article


How to get an octave based frequency spectrum from the FFT in Minim

I want to create audio visuals like the bars visual that is commonly used in music videos. Minim has an FFT that gets the amplitude of each frequency band, but each band is evenly spaced. So the result...

View Article

webcam light-drawing

...basically I want to go on with a tutorial I found. My aim is to draw a continous curve by capturing light(brigthness) via the webcam. The problem I have at the moment is that the drawn ellipse is...

View Article

Minim Waveform problem

Hi all ! i've been coding in processing for a few month now and i'm starting to use minim to add sound in my sketches yet i'm totally new to this library and afters hours of strugling i can't find a...

View Article
Browsing all 2896 articles
Browse latest View live