|
Author |
Topic: Sonia 2_5 Beta (Read 753 times) |
|
pitaru
|
Sonia 2_5 Beta
« on: Dec 4th, 2003, 5:05pm » |
|
I've just put up a beta version of Sonia 2_5 at http://pitaru.com/sonia This version holds many new features, and a couple of major changes to the syntax (sorry - growing pains). Please make sure to read the documentation. The examples should be a good place to start. Remember- BETA, so expect a couple of bumps, and please let me know when you get hit by one. Next: I'll integrate the wonderful FFT optimizations by Toxi, and start on a reference page. it'll take a little while as I'm consumed by some preparations for an upcoming exhibition. I'd like to thank Ariel and Toxi for the great help. You guys rock! cheers, -amit
|
|
|
|
Koenie
|
Re: Sonia 2_5 Beta
« Reply #1 on: Dec 4th, 2003, 9:49pm » |
|
Alright, Amit! I'm gonna try this right away tomorrow. I hope this one works for me. I checked out your examples and the LiveOutput one is really good. It sounds like a piano. Koenie
|
http://koeniedesign.com
|
|
|
olivier
|
Re: Sonia 2_5 Beta
« Reply #2 on: Dec 19th, 2003, 11:00am » |
|
Live input spectrum analysis example doesn't work on mac osX with sonia 2.5b. I have tried on different machines and the error output is always the same: 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! com.softsynth.jsyn.SynthException: JSyn error: Host initialization failed. - , 0x20=32, 0x20=32 at com.softsynth.jsyn.SynthContext.start(SynthContext.java:616) at com.softsynth.jsyn.SynthContext.start(SynthContext.java:634) at com.softsynth.jsyn.SynthContext.startEngine(SynthContext.java:546) at LiveInput.start(LiveInput.java:50) at Temporary_4907_5206.setup(Temporary_4907_5206.java: Is there anyone who know what to do? And if not, please Amit can you put a link to the older version of sonia? I have some students who are interested in working with sound analysis, and for the moment, i'm stuck. thanks
|
|
|
|
bsr
|
Re: Sonia 2_5 Beta
« Reply #3 on: Dec 19th, 2003, 3:05pm » |
|
i've just written this quick hack using sonia: http://hippocamp.net/misc/audio_level/ it runs fine from within proce55ing (0067) but i get numerous errors when i try and export. is there an obvious mistake or am i missing something? some help would be much appreciated, cheers, jon
|
http://hippocamp.net
|
|
|
flight404
|
Re: Sonia 2_5 Beta
« Reply #4 on: Dec 19th, 2003, 5:10pm » |
|
Hmmm... Bsr, I cannot get your example to work within Processing (v.67). Get the following errors. Doh... just realized that I cannot copy the error messages from the output window... says something about: Pa_OpenStream error: Illegal error number. CSynF_StartAudio failed! Does this mean it can't find a microphone? r
|
« Last Edit: Dec 19th, 2003, 5:11pm by flight404 » |
|
|
|
|
bsr
|
Re: Sonia 2_5 Beta
« Reply #5 on: Dec 19th, 2003, 6:09pm » |
|
i think that error you're getting is if you try and run the source code without the libraries, if you download the zip there's the project with all libraries in place (the compiled build contained in the applet directory wont work as this is where i get the errors). it still works fine from within proce55ing 0067 but get numerous errors on export: java.io.FileNotFoundException: C:\Documents and Settings\bsr\My Documents\processing-0067\sketchbook\default\sound_reakt_fish2\data\code (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:103) at PdeEditor.grabFile(PdeEditor.java:2041) at PdeEditor.handleExport(PdeEditor.java:1555) at PdeEditor.skExport(PdeEditor.java:1343) at PdeEditorButtons.mouseReleased(PdeEditorButtons.java:454) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea d.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) is a shame cos' as you can see from the screenshots there's some nice results and i can't wait to spend hours and hours coming up with with a fully fledged vj app.
|
« Last Edit: Dec 19th, 2003, 6:09pm by bsr » |
|
http://hippocamp.net
|
|
|
toxi_ Guest
|
Re: Sonia 2_5 Beta
« Reply #6 on: Dec 19th, 2003, 6:49pm » |
|
i think the errors result from the spaces in the pathname of your P5 folder ("documents and settings"). try to move the entire "processing-0067" folder directly to C:\ - java doesn't like spaces in filenames very much...
|
|
|
|
bsr
|
Re: Sonia 2_5 Beta
« Reply #7 on: Dec 19th, 2003, 7:34pm » |
|
nope, still no joy: java.io.FileNotFoundException: C:\processing-0067\sketchbook\default\nospace\data\code (Access is denied)...(etc etc etc, same errors as before)... can anyone else compile the code at: http://hippocamp.net/misc/audio_level/hippoCode_Audio1.zip is it a bug in the code or libraries or a fault with my setup? cheers again, it'll be a lesson learnt once it's figured out.
|
« Last Edit: Dec 19th, 2003, 8:17pm by bsr » |
|
http://hippocamp.net
|
|
|
toxi_ Guest
|
Re: Sonia 2_5 Beta
« Reply #8 on: Dec 19th, 2003, 7:46pm » |
|
i've just modified your code to work with sonia v2.4 instead and it exports just fine. don't know though what amit changed with 2.5 which might break the process. anyway, the zipped up sketch is here: http://www.toxi.co.uk/zips/hippoCode_Audio1.zip btw. let me know your email, please...
|
|
|
|
bsr
|
Re: Sonia 2_5 Beta
« Reply #9 on: Dec 19th, 2003, 8:04pm » |
|
mailed you toxi. cheers for the fix, will spend some time getting to know sonia a little better, this was just a hack of one of the examples.
|
http://hippocamp.net
|
|
|
pitaru
|
Re: Sonia 2_5 Beta
« Reply #10 on: Dec 19th, 2003, 10:38pm » |
|
hey bsr - sorry for getting you into this mess i'm traveling for the next week, but will get to the bottom of this upon my return! everybody - these posts are very very helpful to me, so thanks for sharing! -amit
|
|
|
|
pitaru
|
Re: Sonia 2_5 Beta
« Reply #12 on: Jan 3rd, 2004, 1:37pm » |
|
heya, i'm finally back in NY and moving forward with Sonia. i've been investigating this problem yesterday. Here's the problem: v.2.5 optimizes LiveInput by opening a second jSyn engine for microphone input. It seems that certain Mac soundcards (and/or drivers) don't like this at all. The solution will have to take place in jSyn rather than Sonia, and until its fixed we'll default to the earlier 2.4 version of liveAudio. i'll fix some other bugs and release the final 2.5 soon! Sorry again for the temporary lack of support on this. Perhaps it was not wise of me to release a beta version and skip town -amit
|
|
|
|
|