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_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   sound manipulations
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: sound manipulations  (Read 609 times)
benelek

35160983516098 WWW Email
sound manipulations
« on: Jun 7th, 2003, 1:33am »

i'm doing a bit of experimentation using the p5 support for sound. what's the (correct) range of values for use with volume()? i've tried putting all sorts of values in for a sound sample i've created, resulting in either full-volume, no-volume or some kind of scratchy noise.
 
-jacob
 
benelek

35160983516098 WWW Email
Re: sound manipulations
« Reply #1 on: Jun 7th, 2003, 1:54am »

also, what sound file types are supported?
 
skloopy

WWW
Re: sound manipulations
« Reply #2 on: Jun 7th, 2003, 8:28am »

It seems like the volume's a 0 to 1 value. Just a guess.
 
On a side note, is there any control over the sample rate, and what is the default? I just finished a job so now i finally have time to play with sound.
 
skloopy

WWW
Re: sound manipulations
« Reply #3 on: Jun 8th, 2003, 1:54am »

Also, is it possible to use beginSound() more than once? for example if i was gonna make a short sound and then a long sound, samples[] would have to be different lengths. It seems like you can use beginSound if the value you give it is <= the first value you gave it. I tried to use endSound but it doesn't work...
 
REAS


WWW
Re: sound manipulations
« Reply #4 on: Jun 23rd, 2003, 12:16pm »

hello. i hope to have the sound reference up soon.
 
Pages: 1 

« Previous topic | Next topic »