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

Problem with Method References in 1.8

I built a library using the Processing library template with this source https://github.com/numenta/htm.java When I try to test the Network API that is included in htm.java in a Processing sketch I get...

View Article


How to use Processing 3 and the video capture library on Raspberry PI ?

Hi, I am trying to use a USB webcam with Processing 3 on a Raspberry PI 2. This is using the preinstalled version from the Processing raspian disturbution(processing-3.0.1-linux-raspbian.zip,...

View Article


control p5: How to access "name" or "text" property in ScrollableList?

Hi, I have a simple question about ScrollableLists in controlP5. I want to acces the "name" or "text" behind the items in a ScrollableLists. How do I access them, and for instance set a string (in code...

View Article

How to invoke resize(int,int) on a array type PImage()

This is needed to adapt the graphics to the different sizes of my android devices. import controlP5.*; int buttonSize = ... ; ControlP5 MyController; Button but_Play; MyController = new...

View Article

What to do? (ArrayIndexOutOfBoundsExceptation)

For now i'm only trying to do some keyPressed to change music. But this is showing me an error, that i dont kow how tot fix it. Error name is "ArrayIndexOutOfBoundsExceptation:1". < pre lang="c">...

View Article


minim: should I use shiftGain or shiftVolume?

Hi, I'm doing a very simple audioplayer..when you click with the mouse the current playing song will fade out and the next one will fade in..right now I'm using shiftGain but I saw there is also...

View Article

minim: help with volume control

Hi, I have 3 songs. each time a button (in arduino) is pressed the playing song fades out and the upcoming fades in. Now, I could do this without problem. Now, what I need to do is to add a gain...

View Article

How to distort live video with Leap Motion?

Hey everyone! I'm making an interactive 'mirror' that allows users to distort live video of their face using the leap motion. I'm not planning on using a facial recognition library to do targeted...

View Article


Movie / Capture not working (Linux, Processing 2.2.1, 3.0a5, 3.0a10)

Hi hi, If I try the example sketches for Movie and Capture they don't work. Capture complains on Capture.list() with IllegalArgumentException: No such Gstreamer factory: v4l2src. gstreamer seems to be...

View Article


minim: general volume control

Hi, I'm doing a small audio player with 3 songs, each one loaded into a different player object. now, I have a pot (in arduino), and the values are received in processing. What I need is that, these...

View Article

Multi display Issue

Hi, I have this code but I need my video to display as a second window rather than over my map images. The video will be viewed on projectors and the map will be on a iMac Any help would be greatly...

View Article

Video library: why does read() need to be written as a statement in a function?

I've been learning how to use the video library, and I noticed that when you write myMovie.read(); by itself and not as a statement in a function (as in the code below), then the playback is jittery. I...

View Article

Video library: speed() in conjunction with mouseX is delivering jittery...

I have two questions with the below code: import processing.video.*; Movie myMovie; void setup() { size(600, 400); frameRate(30); myMovie = new Movie(this, "1.mp4"); myMovie.loop(); } void draw() { if...

View Article


how to play a movie on mousePressed, with multiple other things happening.

Hello, I am a beginner, this is only my second 'serious' program. I am creating an 'interactive poster' for a school assignment. I have the poster loaded as a background image. I would like to have the...

View Article

Triggering multiple sounds with SoundFile?

Hello ! I'm trying to make a simple program with multiple sound outputs using the SoundFile Library. I tried to make it so that at a particular hour, a sound file is played that lasts exactly one...

View Article


Shapes3D blocks pc if texturing video.

Hi, I wanted to try to texture a video on a box faces. worked at first try, but if I try to set on what faces to texture, it blocks my computer, and I have to hard-reset. Is it normal? here's my code:...

View Article

How to get pitch to only play once after collision?

I have the mouse colliding with an ellipse, which will generate a tone. If I hold it there the tone would just play over and over again. How could I get it to play only once until the next time I touch...

View Article


select musical notes within scales

Hi I am building a musical instrument in Processing which sends note information to Ableton. I would like to enable the user to switch between different scales (C-major, D-minor etc), so that the user...

View Article

scrolling in a movie through mouseX

Hi people, im very new to this and im quite sure it should be very easy to do this but i don't know how. i want to load a video in processing an control the displaying of the frames of the video...

View Article

import co-ordinates(long,lat) into processing and overlay to google maps.

I have about 200 points and i need to plot those points in the top of a google map of united states. I have already changed the map coordinates of US into projection of screen but i have no idea how to...

View Article
Browsing all 2896 articles
Browse latest View live