atom feed24 messages in at.iem.pd-listRe: [PD] Live Apectrum Analyzer
FromSent OnAttachments
Thomas MayerJan 31, 2007 11:36 am 
Chris McCormickJan 31, 2007 3:46 pm 
carmenJan 31, 2007 8:47 pm 
Jamie BullockFeb 1, 2007 1:20 am 
Thomas MayerFeb 1, 2007 11:40 am 
patrickFeb 1, 2007 11:54 am 
carmenFeb 1, 2007 12:01 pm 
carmenFeb 1, 2007 12:08 pm 
Michael GarrettFeb 1, 2007 4:07 pm 
Thomas MayerFeb 1, 2007 5:39 pm 
PatcoFeb 1, 2007 10:55 pm 
David PowersFeb 1, 2007 11:20 pm 
padawan12Feb 2, 2007 3:50 am 
Yves DegoyonFeb 2, 2007 5:38 am 
SteffenFeb 2, 2007 6:06 am 
Kyle KlipowiczFeb 2, 2007 7:42 am 
PatcoFeb 2, 2007 8:08 am 
carmenFeb 2, 2007 10:55 am 
Thomas MayerFeb 2, 2007 11:38 am 
David PowersFeb 2, 2007 12:09 pm 
PatcoFeb 2, 2007 12:48 pm 
robbert van hulzenFeb 5, 2007 10:42 am 
Erich BergerFeb 7, 2007 5:27 am 
padawan12Feb 8, 2007 2:22 am 
Subject:Re: [PD] Live Apectrum Analyzer
From:carmen (_@whats-your.name)
Date:Feb 1, 2007 12:01:41 pm
List:at.iem.pd-list

On Thu Feb 01, 2007 at 09:20:36AM +0000, Jamie Bullock wrote:

On Wed, 2007-01-31 at 23:48 -0500, carmen wrote:

if you dont mind the analysis being offline, check out sonic visualiser: http://www.sonicvisualiser.org/

CLAM might have one. see a full-color spectrogram in one of the screenshots, but
not in the patcher view: http://iua-share.upf.es/wikis/clam/images/8/83/NetEditQt4-PortMonitor-SpectralPeaks.png

There is also the old, but still wonderful Ceres3: http://www.music.columbia.edu/~stanko/About_Ceres3.html

you'll also want lots of controls to adjust the amplification, logarithmic
scaling, color palette, etc..

http://whats-your.name/i/licker.png is what i use , sure it uses more CPU than a
C implementation, but its more flexible, and you can plug it in anywhere in your
patch..

Looks interesting. How did you do the visualisation?

its the normal FFT stolen from one of the demo patches (the one that makes a
spectrum snapshot), combined with a HSV2RGB subpatch, and a few lines of Tk to
add a line of pixels to an image

Is the code online somewhere?

its sp.wid and sp.pd in this dir:

cvs -d :ext:ix@pure-data.cvs.sourceforge.net:/cvsroot/pure-data co
extensions/gui/ix

if you also need [widget]:

cvs -d :ext:ix@pure-data.cvs.sourceforge.net:/cvsroot/pure-data co externals\ cd externals/build && scons

i just tested all this w/ 0.41-test04 and it works (SCons even still builds all
the externals w/o failing - kudos to whoever didn't delete that :)

i reckon it could probably be sped up by replacing some of the list ops with
newer stuff from 0.41, and replacing HSV2RGB with the one from GEM..at the time
i couldn't get GEM compiling due to some autotools issue.. oddly it took about
2% CPU on windows, and 25% CPU on a computer twice as fast on linux, if taskmgr
and top can be believed, respectively..