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

Re : updatePixels method for Capture object

It appears that the Caputure class extends the PImage class so all the methods available to PImage are also available to the Capture class. This means that the documetation for PImage methods also...

View Article


Image may be NSFW.
Clik here to view.

Re : array of audio files - failed

Hello d.dora_92!Since quarks already spotted the error, let me give ya some tweaks for your code instead!  A warning though: Since I don't have your files, I couldn't test if it really works! So tell...

View Article


Re : array of audio files - failed

Both ways finally work! :)I changed my capital letters and also the word "trigger" to "play", and it worked quite well, but your way, GoToLoop, works much better and faster! Well, I am really new in...

View Article

Image may be NSFW.
Clik here to view.

Re : array of audio files - failed

So glad you liked my tweaked version! Secret is to identify any redundant patterns, and make them become arrays & loops and so on!   Well, just for another Java fun,the last loop within function...

View Article

Re : rendering to video file

saveFrame() works, creates .tif'sffmpeg command line did a good job with this: ffmpeg -f image2 -i screen-%04d.tif -r 12 -s 640x360 CubicGridImmediate.aviWindows Movie Maker seemed to have a limitation...

View Article


Send Vertex Array to PShape

Hello,The new PShape features are awesome. Especially the adding of Vertices or loading OBJs. But what I am missing in comparison to the old GLModel class is the opportunity to send an array of...

View Article

function interrupt draw

I have create an application which read a video and where the speed can be modified by event "keyPressed".This works well but when I press several times the key, the method draw seems stop and my movie...

View Article

Image may be NSFW.
Clik here to view.

Re : function interrupt draw

You haven't coded a way to check & restrict minimum & maximum values for variable speed. So a user of your app has free rein to bug it in a matter of key presses!  Here's your function...

View Article


processing.net Sockets

Hi there, how can I check which ports are available using the processing.net library? Or what UDP Socket communication would you recommend?I start a Server per job, and each job can have a variable...

View Article


stream video from the internet

I am using processing 2.0 beta 7 on a Mac. It has a new gstream API to play videos.I can use the processing.movie.Movie to play local video files without any problems, but how can I play stream video...

View Article

Processing a controller USB

Hi there,i've been programming arduino for a short time and now am working on controlling my devices with one of my controller ( xbox 360 especially ), and i discovered processing in order to use some...

View Article

Re : audio file as input

Thanks, that's what I was looking for. Should get me started, have some learning to do now

View Article

OpenGL glReadPixels and PBOs

In the past I have used the version of glReadPixels(...) that takes a Buffer to fill as input in an attempt to capture image sequences from Processing sketches in real-time without slowing down the...

View Article


Re : Processing 2 and OpenGL Frame Buffer Objects (FBO)

Related posthttps://forum.processing.org/topic/help-creating-a-simple-fbo-for-rendering-eventually-on-androidI'm trying to understand how to do a simple FBO given the fixes that were introduced

View Article

Re : Processing 2 and OpenGL Frame Buffer Objects (FBO)

Hi Jonsku,I'm trying to get your code to work and understand some reasoning behind it.  I'm using the current git processing code.Why do you call PGL pgl = ((PGraphicsOpenGL) g).beginPGL();gl =...

View Article


Sound Response (beginner needing serious help!)

Hello all! I am extremely new to processing and this forum, so your help and patience would be greatly appreciated!My professor wants us to create a sound responsive work - in a zip folder, he included...

View Article

Re : Sound Response (beginner needing serious help!)

Hello!You have one { too much.You can auto format with ctrl-tThen check please : the last } in draw() e.g. must be very left side of editor without any indent.Now search a } that has an indent where...

View Article


Re : Sound Response (beginner needing serious help!)

Hmmm. The keyword import loads extra libraries to be used by your sketches.And I see that import ddf.minim.*; in inside class SoundRespond.Since it's inside that class, dunno whether the rest of your...

View Article

Re : Sound Response (beginner needing serious help!)

Thank you both! GoToLoop, you were right - I just erased the import ddf.minim.*; line from the SoundRespond class and pasted it below SoundRespond mySoundRespond; in my main sketch. Excellent! Maybe if...

View Article

Re : Sound Response (beginner needing serious help!)

You are doing great!

View Article
Browsing all 1768 articles
Browse latest View live