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_
   Topics & Contributions
   Sound
(Moderators: pitaru, REAS)
   Sonia 2.7 Posted
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Sonia 2.7 Posted  (Read 626 times)
pitaru


WWW Email
Sonia 2.7 Posted
« on: Apr 24th, 2004, 9:37pm »

I've just posted the latest version of Sonia - 2.7 - at http://pitaru.com/sonia
 
-This version mainly fixes some bugs with exporting-to-web function, as well as a general bug that prevented sonia from working on version 69 of processing.
 
- I've also added the Sample.delete() command to manually free up java resources for samples that are no more needed. see http://processing.org/discourse/yabb/board_Contributions_Audiov_isual_action_display_num_1082220718.html
 
I'm hoping this version doesn't bring new bugs of its own. Remember that there's a general bug that prevents Processing + Win XP from playing apps with any external libraries in the 'code' folder.
« Last Edit: Apr 24th, 2004, 9:38pm by pitaru »  
baffo

WWW
Re: Sonia 2.7 Posted
« Reply #1 on: Apr 25th, 2004, 12:43am »

Ciao,
 
  maybe there is something basic that escapes me, but this is what I get, after download and installing Sonia 2.7. This is the test code:
 
Code:

void setup() {
  size(200,200);
  Sonia.start(this, 44100);
  println ("Sonia.getStatus() returns " + Sonia.getStatus());
  mySample = new Sample("sine.aiff");
  println ("loaded");
  mySample.play();
  println ("played");
}

 
and this is what I get:
 
Code:

JSyn using native library JSynV142
PortAudio on WMME - Latency = 18432 frames, 417 msec
Input Device #0: Microsoft Sound Mapper - Input has 2 channels
Input Device #3: Microsoft Sound Mapper - Output has 2 channels
 
Sonia.getStatus() returns true
 
java.lang.IncompatibleClassChangeError
at FFTutils.initFFTtables(FFTutils.java:35)
at FFTutils.<init>(FFTutils.java:23)
at Sample.<clinit>(Sample.java:30)
at Temporary_2635_8244.setup(Temporary_2635_8244.java:7)

 
I obtain this same result no matter if I include in the code directory the 3 Quicktime system files. Exporting to an applet produces the same result.
 

-- art is not where you think you're going to find it
skloopy

WWW
Re: Sonia 2.7 Posted
« Reply #2 on: Apr 25th, 2004, 2:50am »

hmm I get the same thing in 69 on OS 10.3.3
 
I'd paste the printout here, but P5 isn't letting me copy from the output area..
 
pitaru


WWW Email
Re: Sonia 2.7 Posted
« Reply #3 on: Apr 25th, 2004, 4:18am »

I see it now. strange, didn't happen before with my code. it has to do with the fact that sonia is compiled with the libraries from p68, and therefor doesn't like to work under the v69 version.  
 
the quick fix would be to compile seperate versions, but i'd like to unify them. i'm on it.
 
thanks!
 
amit
 
pitaru


WWW Email
Re: Sonia 2.7 Posted
« Reply #4 on: Apr 25th, 2004, 4:37am »

OK, i've uploaded a new version V2.7b, instead of v2.7
 
i think this should fix it - please let me know.
 
sorry about that bug, its a tricky one to handle.
 
-amit
 
skloopy

WWW
Re: Sonia 2.7 Posted
« Reply #5 on: Apr 25th, 2004, 6:30am »

Yay! It works in 68 and 69!
 
Thanks Amit!
 
baffo

WWW
Re: Sonia 2.7 Posted
« Reply #6 on: Apr 25th, 2004, 3:50pm »

Hi,
   it seems to be running ok under 69. For a few seconds, because then this other bug
 
http://processing.org/discourse/yabb/board_Proce55ing_software__bugs_action_display_num_1081450102.html
 
   kicks in, and all happiness stops. Ah, well...  
 
 

-- art is not where you think you're going to find it
pitaru


WWW Email
Re: Sonia 2.7 Posted
« Reply #7 on: Apr 25th, 2004, 5:21pm »

yeah - its been happening to me as well. You can also use Sonia with V.67 though.
 
-a
 
fry

WWW
Re: Sonia 2.7 Posted
« Reply #8 on: Apr 25th, 2004, 11:26pm »

yikes, could you guys provide more details on the bug in the thread over in the bugs section? i don't read this board as closely so i didn't know that it was a wider problem!
 
baffo

WWW
I was desperate, and a snake came by
« Reply #9 on: Apr 27th, 2004, 11:28pm »

All I wanted was to trigger some wav files depending on certain events that happen in the Processing program. SONIA is **clearly** the Right Thing. But since I need this to work by next week, I threw together a quick sound server in Python, to be controlled by the Processing sketch over HTTP.
 
Other people in a hurry can snag it from here:
http://zope.interaction-ivrea.it/inflatedego/SoundserverPy
 
minimally documented, but could be useful to someone. Notice that it needs PyGame, that is built on top of SDL.
 

-- art is not where you think you're going to find it
meiy

mei_yu89
Re: Sonia 2.7 Posted
« Reply #10 on: May 4th, 2004, 1:21am »

Hi,
Can I import Sonia file into power point?
 
Pages: 1 

« Previous topic | Next topic »