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_
   Discussion
   General Processing Discussion
(Moderators: fry, REAS)
   sound_in_proce64ing?
« Previous topic | Next topic »

Pages: 1 2 
   Author  Topic: sound_in_proce64ing?  (Read 1379 times)
christian
Guest
Email
sound_in_proce64ing?
« on: Oct 7th, 2003, 1:05pm »

hi over there,
 
while running p_ing on my laptop and trying to  
hear some sound in e.g. the wavedrawing examples,
i hear nothing; might this be because of my weak  
soundcard/soundsoftware a.s.o.?  
 
thanks for hints..
christian
 
fry


WWW
Re: sound_in_proce64ing?
« Reply #1 on: Oct 14th, 2003, 10:14pm »

you might be using the expert version, with a version of the java vm installed that broke sound (i think 1.4.2 was like this, though 1.4.2_01 fixed it). or are you using the standard rev?
 
christian
Guest
Email
Re: sound_in_proce64ing?
« Reply #2 on: Oct 24th, 2003, 1:50am »

that sounds reasonable. i have java 1.4.2 and  
i have installed the luxusversion, thank you.
another question is: is is possible to obtain
microphone-input in version 0.65?  
greets  
christian
 
REAS


WWW
Re: sound_in_proce64ing?
« Reply #3 on: Oct 24th, 2003, 9:46am »

microphone input was in there, but i think it's currently buggy. amit pitaru is rumored to be currently writing a microphone input tutorial.
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #4 on: Oct 24th, 2003, 7:03pm »

yep, should be ready by the end of the day.
 
-amit
 
mKoser

WWW Email
Re: sound_in_proce64ing?
« Reply #5 on: Oct 24th, 2003, 7:06pm »

 

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

WWW Email
Re: sound_in_proce64ing?
« Reply #6 on: Oct 25th, 2003, 5:38am »

Ok. The solution requires an installation of JSyn, so...
 
http://pitaru.com/sonia is a *very* beta version of a tutorial + files for the SONIA project (working title). If you follow all the way to step-5, there is an example for the microphone-vu (which also works online).
 
i'll tighten it up in the following days.
 
-amit
 
bren

WWW Email
Re: sound_in_proce64ing?
« Reply #7 on: Oct 25th, 2003, 3:00pm »

Amit that is awesome. Just been playing with it and it all works beautifully. The only thing I did find was I had to use mySample.play() instead of start().
 
I don't know if the following is of any use to anybody but I'm working on a project at the moment that needs several instances of the same sample all to be controlled independently. What I did was set up an array like this:
Code:

sample[] samplearray = new sample[20];

then just read in the sound into each element:
Code:

for (int a=0; a <20; a++){
  samplearray[a] = new sample("sine.aif");  
  }

 
then use as normal:
Code:

samplearray[id].setVolume(10);
samplearray[id].play();
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #8 on: Oct 25th, 2003, 8:02pm »

hey bren, gald it works for you. thanks for the bug report - i've updated the site.
 
next, i'll add support for stereo sound and other goodies.  
 
-amit
 
christian
Guest
Email
Re: sound_in_proce64ing?
« Reply #9 on: Oct 25th, 2003, 9:59pm »

thank you!
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #10 on: Oct 26th, 2003, 5:20am »

my pleasure. just uploaded new version with support for stereo WAV/AIFF files.
 
cheers,
-amit
 
christian
Guest
Email
Re: sound_in_proce64ing?
« Reply #11 on: Oct 27th, 2003, 5:46pm »

when i try to install the jSyn thang on my pc,
the applet which detects your system a.s.o includes
the message "error-jSyn classes not found".
might anybody know why?
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #12 on: Oct 27th, 2003, 6:02pm »

are you referring to the installation of the jsyn plugin from http://www.softsynth.com/jsyn/plugins/, or just getting jsyn to work wirh processing?
 
for the plugin - that prompt may not be true - restart your brower and test it with a jsyn example like this http://www.softsynth.com/jsyn/examples/tj_wind.html
 
i've seen this before when the windows system is not installed on the C drive.
 
let me know..
 
-amit
« Last Edit: Oct 27th, 2003, 6:02pm by pitaru »  
barikan

Email
Re: sound_in_proce64ing?
« Reply #13 on: Oct 27th, 2003, 6:30pm »

i've got this error while installing jsyn plugin from http://www.softsynth.com/jsyn/plugins/
 
System Properties -------
java.version = 1.4.2
java.vendor = Sun Microsystems Inc.
os.name = Windows 2000
os.arch = x86
os.version = 5.0
-------------------------
ERROR - the JSyn classes are MISSING!
 
i've restarted the browser, but it didn't work.
(windows system is installed in C drive.)
 
burak
 
bren

WWW Email
Re: sound_in_proce64ing?
« Reply #14 on: Oct 27th, 2003, 6:50pm »

I've just installed the plug-in on Safari Mac 10.2.8 - seems to work fine though I did have to force quit Safari after installing the plug-in.
 
Amit: Are there any plans to do a "get frequency" method in the future? Not rushing you, what you've done so far is top!
 
Pages: 1 2 

« Previous topic | Next topic »