[Clam-devel] [PATCH] Adding Properties to Attributes, take 2
David García Garzón
dgarcia at iua.upf.edu
Thu Jun 28 04:40:14 PDT 2007
On Wednesday 27 June 2007 20:11:01 bennett kolasinski wrote:
> Incorporated some of David's comments into my earlier patch and trickled
> new features into SchemaBrowser... please disregard patch from earlier
> today! B
Commit r10295
Thanks, Bennett.
Next step, make the ClamExtractorExample generate such kind of FloatArray:
* On BuildSchema, add a call to add 'Frame::SpectrumMagnitude', guess or
invent the bin gap and offset.
* On MFCC2Pool get the write pool for such attribute and fill it.
* Regenarate the example pool data
Further step, make feasible to visualize such FloatArray attributes, in
PoolFloatArrayDataSource (PFADS) and InstantViewPlugin:
* PFADS::nBins() should be taken from the new attribute property NBins if
available, if not, from the labels size as it is done now.
* PFADS::getLabel should return:
** The binLabel if bin<_binLabel size.
** A numeric representation if the needed attribute properties is available
** Empty string or 'ERR' if not
* For BarGraph filter FloatArrays without binLabels AND without NBins
* Adapt all the InstantViewPlugins to use the NBins when available.
* Run the Annotator, add a BarGraph for SpectrumMagnitude and send a
development screenshot to the wiki ;-)
Very further step: Add a view for temporal evolution of FloatArrays
Consider to put this todos on the wiki, modify them as you feel or as problems
emerge, and check them when done.
David.
More information about the clam-devel
mailing list