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 FFT TEST
« Previous topic | Next topic »

Pages: 1 2 
   Author  Topic: SONIA FFT TEST  (Read 1908 times)
pitaru


WWW Email
SONIA FFT TEST
« on: Nov 2nd, 2003, 5:07pm »

Almost done with the next version of SONIA. It'll include more functions for getting sample data (such as current frame,total length, and isPlaying flag).
 
also - FFT (frequency spectrum analizer). I'm now testing it at http://pitaru.com/sonia/beta/fft
 
JSyn does not yet implement fft, so i'm doing the math in Java - which may prove too intense for some machines. That's way i'd love to get feedback on performance.
 
if no huge problems are reported, i'll write up the documnetation tonight.
 
cheers,
-amit
 
ps - please don't forget to install the jsyn plugin (http://www.softsynth.com/jsyn/plugins/) before viewing the fft test.
« Last Edit: Nov 14th, 2003, 2:29am by pitaru »  
Steve

nerdytone WWW Email
Re: SONIA FFT TEST
« Reply #1 on: Nov 2nd, 2003, 5:16pm »

very cool. seems a tad sluggish(making other programs run slow) but the applet itself runs fine.
 
pitaru


WWW Email
Re: SONIA FFT TEST
« Reply #2 on: Nov 2nd, 2003, 5:23pm »

one more thing .. the test-applet mentioned above analizes live input from the microphone. On PC, you can change the input to read from internal wave/cd source.
 
Do this (on win2k) by:
- opening the Control Pannel > Sound & Multimedia
- choose the 'Audio' tab  
- Click on 'Volume' in the *SOUND RECORDING* section.
- Choose the desired input source (via check-boxes)
 
(you can also reach this window by double-clicking on the volume icon, then Options>Properties>Recording>Apply
 
-amit
 
pitaru


WWW Email
Re: SONIA FFT TEST
« Reply #3 on: Nov 2nd, 2003, 5:26pm »

on Nov 2nd, 2003, 5:16pm, Steve wrote:
very cool. seems a tad sluggish(making other programs run slow) but the applet itself runs fine.

 
Yep. I'm expecting that because the math is done in Java. The future solution - I'll either write a dll or wait for Jsyn.
 
mKoser

WWW Email
Re: SONIA FFT TEST
« Reply #4 on: Nov 2nd, 2003, 5:45pm »

I just gave the FFT stuff a go and it works like a charm (WinXP) ...
 
+ mikkel
 

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


WWW Email
Re: SONIA FFT TEST
« Reply #5 on: Nov 2nd, 2003, 5:57pm »

Thanks mikkel - That's good news (i havn't tested it on XP at all).
 
Steve - I'll be adding damping/EQ algorithms  that will optimize the math. This way you'll be able to use less frequency bars for analyzing music (but not speech). I hope this will free up resources.
 
mKoser

WWW Email
Re: SONIA FFT TEST
« Reply #6 on: Nov 2nd, 2003, 6:06pm »

oh... forgot to mention, as Steve points out, it does slow the system down. When I try to expand the task-bar (bottom right corner) the animation of the taskbar was about 4-5 times slower than normal.
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
christian
Guest
Email
Re: SONIA FFT TEST
« Reply #7 on: Nov 2nd, 2003, 9:52pm »

tells me "no field named liveInput was found in..."
running XP.  
 
christian
 
christian
Guest
Email
Re: SONIA FFT TEST
« Reply #8 on: Nov 2nd, 2003, 10:30pm »

i try to make it work... amit,  
can you imagine what happens  
to my FFT.pde?
 
christian
 
mKoser

WWW Email
Re: SONIA FFT TEST
« Reply #9 on: Nov 2nd, 2003, 10:41pm »

christian,
 
if you are trying to get the FFT running on your machine locally (with your own code) your problem is that you need a .JAR file from Amit ... he has not put it out for download yet. The example applet he has posted is using this jar file.  
 
We will have to wait for him to post the JAR-file.
 
Is amits example (link posted above) working on your XP machine?
 
cheers,
mikkel
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
christian
Guest
Email
Re: SONIA FFT TEST
« Reply #10 on: Nov 2nd, 2003, 10:48pm »

thats it... sometimes my brain plays football...
the example works fine... (i badly seem to need the
FFT.jar for my current works)
 
thank you
christian
 
pitaru


WWW Email
Re: SONIA FFT TEST
« Reply #11 on: Nov 3rd, 2003, 1:22am »

almost done
 
olivier

WWW Email
Re: SONIA FFT TEST
« Reply #12 on: Nov 3rd, 2003, 9:58am »

even on a prehistoric PC (P2 350 Mhz, Win98, 64 Mo Ram), it runs nice.
Cool!
« Last Edit: Nov 3rd, 2003, 9:59am by olivier »  
bren

WWW Email
Re: SONIA FFT TEST
« Reply #13 on: Nov 3rd, 2003, 1:16pm »

Tested on a G4 Cube 10.2.8 and works really well.
 
Steve

nerdytone WWW Email
Re: SONIA FFT TEST
« Reply #14 on: Nov 3rd, 2003, 2:12pm »

yep works great, cant wait to get dirty with it.
 
Pages: 1 2 

« Previous topic | Next topic »