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 1380 times)
pitaru

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

Bren, you are not rushing me. please feel free to suggest improvements! that was the plan
 
getfrequency - just to be clear, are you interested in the equivalent of samples[], or something else altogether ...
 
fyi - my next goals are to improve usability of the repeat() / play() by adding more sample information such as totalTime, sampleRate, channles (stereo/mono) etc.
 
after that, i'll add the rest of the features that currently exist in processing sound object, as well as individual volume-meter for each loaded sample.
 
and then - audio synthesis such as sine/square/tri waves, granular etc.
 
« Last Edit: Oct 27th, 2003, 7:34pm by pitaru »  
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #16 on: Oct 27th, 2003, 7:23pm »

Barikan,  
 
i'm not very familiar with the particulars of installing the plugin, but i know that the prompt isn't accurate.
 
so after restarting the browser (and closing all other browser windows), this still doesn't work?
 
http://www.softsynth.com/jsyn/examples/tj_wind.html
 
if not, a couple of things to try:
1) is this your personal computer, or on a company/academic network? Some big networks have firewall restrictions.
2) make sure to click 'yes' on all the prompt windows, its all safe  
3) restart your computer altogether, and give it a second shot.
 
Let me know...
 
-amit
 
barikan

Email
Re: sound_in_proce64ing?
« Reply #17 on: Oct 27th, 2003, 8:51pm »

unfortunately it didn't work out. but i've tried in another computer with the same config, it worked. then i found the installed files.
 
JSynV142.dll in:
C:\winnt\system32
 
jsyn folder in:
C:\WINNT\java\trustlib\com\softsynth\
 
and checked out my computer. surprise! i have the same files in same folders. as you said the prompt isn't accurate. i didn't see any prompt window as well. it doesn't work anyway. i'll work on it.
 
btw, i've win service pack 4, there was service pack 3 on the other computer.
 
bren

WWW Email
Re: sound_in_proce64ing?
« Reply #18 on: Oct 27th, 2003, 9:37pm »

Amit, yeah I'm after something like samples[] so I could get the idividual frequencys.  
 
Sounds really cool what your planning though. What about an onSoundComplete event? Is that possible?
 
bren

WWW Email
Re: sound_in_proce64ing?
« Reply #19 on: Oct 27th, 2003, 9:51pm »

I'm just trying out some sound input stuff in the browser but get an error saying "notinited", yet stuff on the jSyn site works so the plug-in is installed fine.
 
 Anyone else care to try:
http://www.brendandawes.com/sketches/p5/sonic/
 
 
mKoser

WWW Email
Re: sound_in_proce64ing?
« Reply #20 on: Oct 27th, 2003, 10:16pm »

hmm... strange, i ran your code in p5, and it worked fine...  
i just exported it, and i get the same problem as in your exported version!
http://proce55ing.beyondthree.com/testing/bren_sound_test/
 
even more hmmm! i just tried exporting the example amit provides with SONIA..  
here is the link:
http://proce55ing.beyondthree.com/testing/amit_simple_input/
 
..which doesn't work on my machine wither!  
(amit?.. any clues?)
 
+ mikkel
 

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

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

hmmm - me thinks this could be to do with external classes?
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #22 on: Oct 28th, 2003, 3:03am »

Yep, its a Bug in V66 - processing is not including sonia.jar into the export jar. i'll inform ben. should be fixed shortly.
 
-amit
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #23 on: Oct 29th, 2003, 12:13am »

V67 is out, and the bug is fixed. BUT - you will now have to put the dll in the 'code' folder together with the 'sonia.jar' file. i'll update all documentation soon.
 
 
-amit
 
bren

WWW Email
Re: sound_in_proce64ing?
« Reply #24 on: Oct 29th, 2003, 1:32pm »

hurrah! it works in a browser: http://www.brendandawes.com/sketches/p5/sonic/
 
Thanks guys.
 
pitaru

WWW Email
Re: sound_in_proce64ing?
« Reply #25 on: Oct 29th, 2003, 1:38pm »

yep Ben rocks. fixed it in a sec!  
 
one thing - look at http://pitaru.com/sonia for updated info about stopping the samples on browser exit.  
 
the next version will do it automatically (i hope), but for now you'll need to do it yourself:
 
// this is called on applet exit.
public void stop(){
// put your code here, for stopping all active samples.
mySample.stop();
.
.
.
}  
 
christian
Guest
Email
Re: sound_in_proce64ing?
« Reply #26 on: Oct 31st, 2003, 9:29pm »

f i n a l l y the jSyn thing works on my  
pc. looking at the high potential of jSyn makes  
it hard to cool down.
 
Pages: 1 2 

« Previous topic | Next topic »