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)
   processing sound examples
« Previous topic | Next topic »

Pages: 1 2 
   Author  Topic: processing sound examples  (Read 2174 times)
[rocha]

30713803071380carlosandresrochacandresrocha Email
processing sound examples
« on: May 5th, 2003, 8:00pm »

hello everybody,
 
here they are some examples of using sound in processing 0055:
 
http://web.media.mit.edu/~ca.rocha/wavedraw/
 
http://web.media.mit.edu/~ca.rocha/mixer/
 
http://web.media.mit.edu/~ca.rocha/playsound/
 
http://web.media.mit.edu/~ca.rocha/soundobject/
 
comments are wellcome.
 
hope you like them!
« Last Edit: May 6th, 2003, 4:49pm by [rocha] »  
mKoser

WWW Email
Re: processing sound examples
« Reply #1 on: May 7th, 2003, 4:51pm »

wow nice ones!!!
 
I REALLY like the waveDraw-applet... super-nice. I will browse through your code later today to see how it's done
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
gkoshra

WWW Email
Re: processing sound examples
« Reply #2 on: May 16th, 2003, 11:08am »

Hello,
that stuff is great! It's one of the things i'm really interested in using processing to do. I tried the usual cut and paste job, and ran it expecting to be shouted at because I haven't got 'clong.wav'in my data folder, but  instead it couldn't find the class BSound [JLS 8]. Then I noticed that you're using processing 0055. Is this why I can't get it to work using 0054, or is there some Java jiggery-pokery that I have to do in order to get it going?
Ben.
 
benelek

35160983516098 WWW Email
Re: processing sound examples
« Reply #3 on: May 16th, 2003, 1:55pm »

as far as i know, it hasn't been implemented in 54 yet. of course, u could always copy the .class file from the .jar package in rocha's example
 
gkoshra

WWW Email
Re: processing sound examples
« Reply #4 on: May 16th, 2003, 4:27pm »

Ummm...
 
I had a look at playsound.jar/.class and i got a big jumbled mess, obviously i'm not opening it with the right thing. I'm not too hot on how the java files are organised see.
 
Soooo. How would I go about getting this class out of the jar package?
 
Cheers,
Ben.
 
toxi

WWW
Re: processing sound examples
« Reply #5 on: May 16th, 2003, 6:26pm »

.jar files are pretty much the same as a .zip file, so you can open it w/ winZip or stuffIt. similarily you can add more files to a .jar, same as with normal .zip archives.
 

http://toxi.co.uk/
gkoshra

WWW Email
Re: processing sound examples
« Reply #6 on: May 19th, 2003, 9:36am »

Excellent! You learn something new everyday. I've pinched the classes that I need out of it. It's getting them to work now that'll tax me, but I'll give it a go.
 
Cheers.
 
[rocha]

30713803071380carlosandresrochacandresrocha Email
Re: processing sound examples
« Reply #7 on: May 19th, 2003, 6:37pm »

hello,
 
actually the examples are a sneak peek to processing 0055, which includes sound support, developed by me
 
i hope the examples are clear enough to figure out how sound will work. references are comming soon.
 
best,
 
carlos rocha
 
benelek

35160983516098 WWW Email
Re: processing sound examples
« Reply #8 on: May 20th, 2003, 3:03am »

yeah, your examples shouldn't be too hard to apply. but i'll wait it out till 55 to try
 
gkoshra

WWW Email
Re: processing sound examples
« Reply #9 on: May 20th, 2003, 9:21am »

Um, yeah. After looking blankly at my computer for a while, I decided that it's probably best to wait for 55 too!
 
The examples were great. Really interested in the wave draw thing, I want to hook it up to this -> http://gomako.co.uk/p5/sinewave/ and see what happens.
 
benelek

35160983516098 WWW Email
Re: processing sound examples
« Reply #10 on: May 21st, 2003, 4:52am »

i can't wait to hook some sound modifiers up to a live webcam! the sounds generated from a swimming pool's reflections at night should be fun.
 
gkoshra

WWW Email
Re: processing sound examples
« Reply #11 on: May 21st, 2003, 9:33am »

That sounds like a really nice idea. Pointing it at a fish tank or something would be nice too.
 
I've been wanting to get images from my webcam to use in processing for a while now, but from what I remember reading, i can only use the serial port to get data from on my pc, is that right? Are we going to be able to use usb sometime in the future?
 
 
REAS


WWW
Re: processing sound examples
« Reply #12 on: May 21st, 2003, 1:59pm »

version #55 allows you to plug in a webcam and read the images. see the video api on the reference page for more details.
 
gkoshra

WWW Email
Re: processing sound examples
« Reply #13 on: May 22nd, 2003, 9:20am »

That's fantastic. Can't wait for 55 now!
 
benelek

35160983516098 WWW Email
Re: processing sound examples
« Reply #14 on: May 23rd, 2003, 12:03pm »

so would videoEvent() run asynchronously to loop()?
 
ie, would/could the video capture framerate and the applet framerate be different?
 
Pages: 1 2 

« Previous topic | Next topic »