|
Author |
Topic: Sonia 2.5b + P.67 + OS X 10.3.2 (Read 541 times) |
|
Alex_Reynolds
|
Sonia 2.5b + P.67 + OS X 10.3.2
« on: Jan 2nd, 2004, 6:28am » |
|
I am running into a problem starting a LiveInput stream and wanted to ask if this would be a problem with my setup. Here is the code I used: Sonia.start(this); LiveInput.start(44100,512); And here is the status + error message log after running this code: JSyn using native library JSynV142 JSyn for OS X, Built 5/5/03 JSyn for OS X, Built 5/5/03 Pa_OpenStream error: Illegal error number. CSynF_StartAudio failed! My setup specifics: I installed Jsyn 1.42 SDK for OS X 10.3.2 and Sonia 2.5b per instructions. [Sounder:~] reynolda% java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-99) Java HotSpot(TM) Client VM (build 1.4.1_01-27, mixed mode) I'm also running Processing v67 alpha. If I use the code: Sonia.start(this); Sample mySample = new Sample("sine.aiff"); mySample.play(); This works okay. I get a sinewave tone for the duration of a second or two (however long it is at the default bitrate). Any ideas or suggestions on what I might be doing wrong or if I might be using the wrong components? I tried installing Sonia 2.4 from an archive of other people's Processing code but this yielded so many other error messages (even after changing to lowercase class names). Thanks in advance, Regards, Alex
|
|
|
|
pitaru
|
Re: Sonia 2.5b + P.67 + OS X 10.3.2
« Reply #1 on: Jan 2nd, 2004, 2:42pm » |
|
Hi Alex, first of all, i'm finally back in NY after a month of traveling around, and so i hope to solve all of these problems as soon as humanly possible. now, before we continue, can you tell me if the liveInput in the example page works for you (both in the browser, and offline in processing) - http://www.pitaru.com/sonia/examples/LiveInput/index.html -amit
|
|
|
|
Alex_Reynolds
|
Re: Sonia 2.5b + P.67 + OS X 10.3.2
« Reply #2 on: Jan 2nd, 2004, 3:10pm » |
|
on Jan 2nd, 2004, 2:42pm, pitaru wrote: Hi Amit, The Java applet did not init consistently. I had to restart Safari and reload the page with the Java applet twice for the lone instance when this worked. All other times, the init step fails. I can see "Applet sonia_v2.5_LiveInput notinited" in the status bar at that point. The one time it did work, it works as expected. I see the histograph drawn as input feeds into the computer. Running the code offline fails with the same error message as before. Seems to be that LiveInput.start method that the code gets caught on. Best, Alex
|
|
|
|
pitaru
|
Re: Sonia 2.5b + P.67 + OS X 10.3.2
« Reply #3 on: Jan 2nd, 2004, 3:40pm » |
|
got it, i'll take a look at it right now.
|
|
|
|
pitaru
|
Re: Sonia 2.5b + P.67 + OS X 10.3.2
« Reply #4 on: Jan 2nd, 2004, 11:32pm » |
|
ok, i've fixed the bug on the browser, but the OSX issue is still a mystery. i'm planning on releasing the fixed 2.5 in the next few days, so if i can't figure it out by that time i'll default to the 2.4 code for liveInput. in any case, i'll solve the problem soon! -amit
|
|
|
|
Alex_Reynolds
|
Re: Sonia 2.5b + P.67 + OS X 10.3.2
« Reply #5 on: Jan 3rd, 2004, 3:55am » |
|
Cool! Thanks so much! -Alex
|
|
|
|
|