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

MidiBus constant tone

I have tried some things, but I won't get it working for me. I am using Serial with arduino to receive data from three distance sensors. If they measure something I want a tone to play until they...

View Article


saveFrame does not save all frames

Hi, all, I'm using saveFrame() because I need to make a video. The code I have is an audio visualization the nI have a song which is playing. the song is about 3 minutes and I'm running the sketch at...

View Article


analyze sound levels with sound library

hi, i'm new with processing code. i want to change video footage if the sound level is high or low, based on audio in (mackbook mic). how can i do it? i understand that i should use the sound (and...

View Article

Getting java.lang.NoSuchMethod error. Can you see why?

Most of this code was taken from a source online. Not trying to pass it off as my own. Just trying to make sure I can successfully load an OBJ file into processing before I begin work in Blender then...

View Article

Ray intersection with Mesh with toxiclibs

Hi all, I'm trying to load an stl mesh and calculate ray intersection with it. I google it and found that the only library that does it is toxiclibs. I found an example online on this forum but the...

View Article


1) analyze mic input 2) below a specific sound level play it through...

Hi, I want to make a system that takes in what a person says in a mic and simultaneously plays it through speakers if the person speaks quietly enough. however, if the person's talking too loud, the...

View Article

Image may be NSFW.
Clik here to view.

sDrop dont work in linux.

Hi, anu solution for this problem? In windows works fine, and MacOSX perfect.. but in linux dont work..

View Article

[sound] "...only works properly when the sketch is run as a 32-bit application"

Hey there! I've been using the sound library, and most of it works fine. However, when I try to generate a sinewave as follows: import processing.sound.*; SinOsc sine; void setup() { size(640, 360);...

View Article


Triangulated mesh and linked vertices

Hello, I have an imported triangulated mesh geometry , with all of its vertices inside an arraylist. I am trying to organise the arraylist in a way that from each vertex I can access all the connected...

View Article


Image may be NSFW.
Clik here to view.

How I get the values from slider to show in text and take it to calculate?

Hi, guy. I use slider from Simple Multi-Touch (SMT) library, I want to get the value in current to show in text and take it to calculate. But I can't get it, how should I do? Help me, please. get code...

View Article

Trying to split video frames into RGB component images

I'm trying to take a video frame and break out the RGB component information into three separate images. The problem I seem to be having is that when I load more than one set of pixel information, some...

View Article

how to make video play till the end of its duration even if other video is...

Hello everybody, here I am again, turning to your society with a call for help. I want to make this video installation which incorporates webcam light tracking according to which I want to play certain...

View Article

deal conflict with twitter4j library and JSONObject method

hi, im tryng to merge two sketches with OOP, one that use the native method JSONObject for get instagram api, and the other that use the twitter4j library, but when i merge i have a conflict with...

View Article


How to use FFT on array of values instead of AudioIn

How can I use a FFT on an array of sampled-values? They are values sampled at 100 Hz. Do I have to simulate an audio track and then make the FFT? How could I do it? (I am a new Processing user)

View Article

move draw graph up by 100px

Hi all I am trying to move this bar graph to the center of the window size while maintaining a 100px clear area for a scale, legend and titles to show thru from a background image. I managed to get the...

View Article


Entire output skewing

Greetings, I'm working with some legacy code that was using processing 1.0 to draw images and gestalt to skew the entire output so that when the whole sketch was projected at skewed angle from a...

View Article

how to transform a real life object into processing model

I would like to translate a real life soldered mesh into a processing model. For that I need somehow use a transformation from measuring units, like cm, mm, to pixels. Does anyone has an example to...

View Article


analyze sound levels with sound library & random video (warning: 140)

hi, i'm new with processing code. i'm trying to change video footage, with visual effects based on audio in. the code works, but after a while (1-3 random video changes) it stuck and the video or the...

View Article

Animate number of particles through GUI

Hi there - I have a program which creates particles and has them floating on screen. What I would like to do is update the number of created particles through a slider in the GUI. I've tried a few...

View Article

Defining Frequency Bands w/ Minim

I'm using minim BeatDetect object to analyze the incoming microphone signal. BeatDetect uses FFT. In the BeatDetect class, there are 4 functions of interest. isHat(), isKick(), isSnare() and...

View Article
Browsing all 2896 articles
Browse latest View live