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

Image may be NSFW.
Clik here to view.

Can i do with Shapes 3D this?

If not,suggestion ? After that can be send it to CNC machine? Thank you.

View Article


Why? - "ERROR: /node/set: Control input index 2 out of range for synth 1"

Using the example SineWave Oscillator code from the official library in Processing 3.2.3 always throws up the error: ERROR: /node/set: Control input index 2 out of range for synth 1. Interestingly, the...

View Article


Wind map with Processing

Hi there, I'm trying to create some visuals based on a Wind Map. I got the visuals to work with the parameters setting the thickness and turbulence of the particles but I would like to be able to...

View Article

get vertex from an obj file.

hello guys...i've a question. you can access the vertex of an obj file ? i try with this...but it doesn't work. import peasy.*; PShape shp; PeasyCam cam; void setup() { size(1000, 1000, P3D);...

View Article

How to set a password for G4P gui builder

I've got the password box but how do I set it so when the password is correct it does what I ask it to do. For example: If the password is correct, change the background color. Something like that

View Article


Why doesn't work MUTE with boolean in my code?

Hey! I'm having trouble to using .mute(); with boolean. As you can see in the code, I want to make processing to mute all my sounds when i hit 'k', and unmute them when I hit 'k' again. It's very...

View Article

ControlP5 Button from Class doesn't work when click on it

Hi! I'm creating a simple program with a class for creating all the controlP5 GUI, inside that class are buttons and other stuff but i'd like to manage the state of a button. ` import controlP5.*;...

View Article

Pause in minim

My song only pauses for half a second. How do I fix it? import ddf.minim.spi.*; import ddf.minim.signals.*; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.ugens.*; import...

View Article


((newbie)) looking for help with CP5 text field

Hi all! Am a visual artist who knows only very little about coding but is trying to create some code to go with an art piece. The main ideal of the program I'm making is that the user can input text,...

View Article


How to record and playback without saving to file.

Hi, everyone! Beginners' question! In Minim, is there an example on how to record microphone input to memory, (turn it into an AudioSample maybe?) then patch it later, (and repeatedly, in a loop) to...

View Article

Image may be NSFW.
Clik here to view.

G4P Expands Drop List Automatically

@quark Quick question, anyway to permanently expand the drop list so it behaves more like a selection list? Example:

View Article

Emotion API and POST and HTTP requests library

Hi all. I have tried to resolve this to no avail. I just don't know what I'm doing wrong. I really hope someone out there can point me in the right direction. Apologies if my use of terminology is...

View Article

What range does getAvg() return in Minim?

I am trying to create a music visualizer using the FFT in Minim. For my calculations, I need getAvg() to return a number between 0 and 1, which I can then convert to dBA. However, it seems to give me...

View Article


controlP5 Toggle button

Hi, I have 10 buttons in a UI and it all works great, the issue I have is that I want the active button to remain highlighted I added the .setSwitch(true) to each button which acts like a toggle but...

View Article

Triggering multiple videos / stuttering / poor performance

Bonjour lovely knowledgeable people, I have a little problem with playing back videos in processing. The aim is to trigger the videos via an serial port input which works fine. The problem is that the...

View Article


How to set volume to 0% (amp=0) when the project begins or if no UI input is...

I'm working on a sound related project using a leap to control the sound. I have successfully managed to have the sound fade out when the leap input leaves the edges of the project window, e.g.: if(...

View Article

How to take input from and give output to a ps4 controler

I know there are other programs like DS4 but I want to do things like change the light bar on the controller using code. Is there an library I can use?

View Article


question about what i did wrong

my Code: import processing.video.*; Capture video; void setup() { size(640, 480); pixelDensity(1); frameRate(60); String[] cameras = Capture.list(); printArray(cameras); video = new Capture(this,...

View Article

Unfolding Map

Is there anyone who can help me with unfolding map. i want to create markers on map and want to save them too in .csv file so that if i want my device to follow that path . it will follow that without...

View Article

How to hide sphere overlap point

Hey everyone! I'm working on making a sphere out of individual points and calculating the radius of each point by the volume of the music. If you load my code you can see my problem. There is a big...

View Article
Browsing all 2896 articles
Browse latest View live