Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

unable to set file path with minim.loadFile()

Minim minim.loadFile() doesn't work in my processing sketch when I specify a file path.  I've included the sketch that refuses to run, I get unexpected char 'p' as an error.  The sketch runs when I use...

View Article


Trying to make a thread sleep (minim)

Hello everyone!Im quite new to Processing, and im currently experimenting with the minim lib.The issue is that i want to load the audi files into an array and play them one after one. But the audio was...

View Article


Re : unable to set file path with minim.loadFile()

Try using forward slashes:jingle = minim.loadFile("C:/processing sketch book/audio_file/data/jingle.mp3",2048);

View Article

need help with debugging

 I want is for the still images to run independently through the display code, then when the sensor is triggered the live camera feed will overlap the still images at various transparency based on the...

View Article

Re : need help with debugging

Also the camera feed flickers constantly It may help to use a buffer.PImage videoBuffer;void draw(){      if(video.available()){            video.read();            videoBuffer = video;      }...

View Article


Re : unable to set file path with minim.loadFile()

Thanks for replying so fast to my question.  You're right the forward slashes are needed in the file path.  Should this be considered a bug or are the forward slashes needed for compatibility across...

View Article

Re : unable to set file path with minim.loadFile()

Yeah, it's not really a bug. It's more related to java in general.The backslash is an escape character, see: http://docs.oracle.com/javase/tutorial/java/data/characters.htmlSo most of the time you...

View Article

Re : Trying to make a thread sleep (minim)

Some remarks: - Thread.sleep() is probably not the proper solution; - The Processing function delay() does the same thing... - See the What is an exception? article in the Technical FAQ.

View Article


Re : need help with debugging

I added the buffer but still getting the same flickering issue. Also the video is not supposed to start until the value within the sensor range is met but the camera is always on.here is my processing...

View Article


OpenGL: beginGL() does not exist

Dear All,I've stumbled on this yesterday evening: "The function beginGL() does not exist.", while trying to switch a sketch from 1.5.1 to 2.0b6 (tried it now with 2.0b7, still doesn't work). Minimal...

View Article

Re : OpenGL: beginGL() does not exist

This was changed to beginPGL(), which you can then grab the gl object from.

View Article

Re : Event handling in Processing 2.0b7

Thanks a lot!

View Article

Re : Using 2.0b7 P3D with contributed libraries

I fixed the bug in PeasyCam.Topic hereThe problem was the MouseEvent class.

View Article


Image may be NSFW.
Clik here to view.

Re : Using 2.0b7 P3D with contributed libraries

I think this may be a problem with java.awt.event.MouseEvent vs. processing.event.MouseEvent!? Makes sense and you proved it by fixing PeasyCam good job.

View Article

Osculator and Processing

Hello,I am currently starting a project which includes the use of Processing and Osculator.I intend to use a wiimote to control a video that would be displayed through Processing. The A button would...

View Article


Re : OpenGL: beginGL() does not exist

Hey! Thanks for your answer. I'm still stumbling along...So this    PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;     GL gl = pgl.beginGL();   Becomes this:  PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;...

View Article

Re : OpenGL: beginGL() does not exist

Not exactly. This:PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;  GL gl = pgl.beginGL();           Becomes this:GL gl = g.beginPGL().glAlso, at the top of that wiki it says "This post is for Processing...

View Article


Re : Using 2.0b7 P3D with contributed libraries

It appears that this problem was reported as an issue but unfortunately I only scanned the outstanding issues so missed it because it had been closed (issue 1437)It seems to me that this is going to be...

View Article

Re : ArrayIndexOutofBoundsException ERROR

The reason I am using  myPort = new Serial(this, Serial.list()[0], 9600); is because on one of the examples the code says that using that code any COM PORT when I plug my devices it ill take that new...

View Article

Re : Osculator and Processing

You mean the library OscP5? It can handle the OSC events sent from Osculator, which communicates with the Wiimote.At first you should have a look at the OSCulator documentation here.It's working like...

View Article
Browsing all 1768 articles
Browse latest View live