FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   Sonia vs. Webcam
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Sonia vs. Webcam  (Read 1703 times)
flight404

WWW Email
Sonia vs. Webcam
« on: Feb 25th, 2004, 1:06am »

Thanks to some wise guidance from Amit, finally got the microphone input working well enough to try a few examples.  Got side tracked by some older webcam experiments so decided to try merging the two...
 
http://www.flight404.com/p5/video/sonia_webcam.mov
 
It is a bit longwinded and you will get the idea after a couple of seconds.  I am using the sound input (in this case, Royksopp played through speakers being picked up by microphone) to control the height of the z-axis for each point of the webcam input (based on the center line horizontally).  Picture is worth a 1000 and my description isn't up to snuff.
 
r
 
 
UPDATE-----------
 
Oh, and you will notice a lack of sound in this movie.    Did the ol screen grab method and pieced it together so the sound will have to be imagined.
 
BTW, I poked around on the forum for any information on the subject of browser accessing webcam and didn't find anything.  Is this something that will eventually be possible?
« Last Edit: Feb 25th, 2004, 1:08am by flight404 »  
flight404

WWW Email
Re: Sonia vs. Webcam
« Reply #1 on: Feb 25th, 2004, 7:22pm »

Round 2...
 
Sonia and Webcam vs. White caps.
 
I recall a sound visualizer plugin (not sure for what app though) that allowed you to see pretty trippy line-based visuals by some guy named Andy something or other.  I think he was highly religious and was in training to be a nuclear sub crewmember... i digress
 
Here is my attempt.  Once again, you need to pretend the visuals match with the CD that is playing.
 
http://www.flight404.com/p5/video/sonia_webcam2.mov
 
 
mKoser

WWW Email
Re: Sonia vs. Webcam
« Reply #2 on: Feb 25th, 2004, 11:09pm »

hey robert,
 
i like the second one the best - the first one was a bit difficult to see what was going on (too high peeks and to fast rotation!) ... in the second one, the fading height of the peeks are a nice effect (along with the white "playhead"-like wobble in the beginning!).
 
is this running realtime on your computer?
 
+ mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
Robert Hodgin
Guest
Email
Re: Sonia vs. Webcam
« Reply #3 on: Feb 26th, 2004, 3:56am »

I agree.. the first one is a bit vague.  I cant think of a good way to showcase what is actually going on without filming my monitor with a DV cam.
 
Everything is real-time and I am getting about 12 to 15 fps with both the video and audio processing happening at the same time.
 
When I add the saveFrame() command, the fps drops to about 1 or 2 per second so the final output movie ends up being really jerky.
 
Does anyone have any suggestions as to how I can represent this piece properly?  I will eventually add it as a project to flight404.com but unless I can sync up the actual audio used to make the project, the overall effect will be lost.
 
 
Koenie

170825270170825270koeniedesign WWW Email
Re: Sonia vs. Webcam
« Reply #4 on: Feb 29th, 2004, 8:20pm »

Very nice stuff here! Maybe you can use the videoclip from Royksopp as video input Anyways, check out this thread for realtime video capturing: http://processing.org/discourse/yabb/board_Tools_action_display__num_1076650144.html
 
Koenie
 

http://koeniedesign.com
flight404

WWW Email
Re: Sonia vs. Webcam
« Reply #5 on: Mar 1st, 2004, 6:57pm »

Nice... thanks for the link.
 
flight404

WWW Email
Re: Sonia vs. Webcam
« Reply #6 on: Mar 30th, 2004, 5:15am »

Played around with the new and improved Sonia and finally have a few examples complete with sound.  Check the bottom three links at flight404.com.
 
With constant webcam input, a sound file is analyzed in 30th of a second intervals.  The resulting screen grabs are then put together in quicktime pro with the original sound added.  Really good for doing effects that are processor intensive as a sound reactive piece.  
 
r
 
Pages: 1 

« Previous topic | Next topic »