[Clam-devel] [PATCH] Update NetworkEditor getLabel()
bennett kolasinski
bennett.kolasinski at gmail.com
Wed Jul 18 08:51:22 PDT 2007
>
> No objections at all. Commit it.
all set.
Small patch proposal: Notice that most of those functions created an static
> dummy string and returned it. This was needed since the return value was a
> reference, but now that's not needed, so the code can be simplified to a
> return 'dummyValue';
ok-- will get to that shortly. Is there a globally-defined 'dummy' string
in CLAM? should there be one (for consistency's sake)?
After that small patch we need bigger changes to get the impression of real
> progress. Some ways we can take:
OK-- here's my take on how I would like to tackle these issues, in order:
* Add the spectrogram as a different kind of plugin/view on the Annotator
I was debating on how to approach this one-- one way of pulling this off
that could be pretty slick and could possibly be easier to implement than
adding it as a plugin (like BarGraph) would be to allow switching between
waveform and spectrogram views in the segment editor. Then it seems like it
would simply be a matter of porting portions of
spectrogram_plot_example.cxx. I have been looking for where to approach
that within Annotator's source code.
(BTW-- spectrogram view may be a new trend in high-end audio software-- it's
one of Apple's Soundtrack Pro's selling points:
http://www.apple.com/finalcutstudio/soundtrackpro/interface.html )
* Synchronizing views zoom and position
& provide an option for live scrolling as playback is happening...
* Make the rulers share canvas with Plots (now they are separate widgets)
Interesting-- once I get more involved with the qt workings behind annotator
I will know more about how to pull this one off .
* Turn the Spectrogram into a texture
also interesting-- would this be to open the door to 'more more eye candy,
please?' :) this involves GL?
* Completing the SegmentEditor modes (Continuous, Overlapping, Unsized...)
I know this has been a to-do for a while
you know... I am going to take this and add this discussion to the Annotator
Devel TODO's page. But please feel free to weigh in on my first few tasks
over e-mail!
Best,
B
* Abstract Spectrogram as an Array of Arrays DataSource so it can be applied
> to other 2D data such as MFCC, Chromagram, PCP's...
> * Fixing the SegmentEditor interaction
> * The so-called-plugins in Annotator should use Factory as we do with
> Processings
> * Any other you feel comfortable to do it first.
>
> Not needed to be in this order... so consider them all and pick one that
> you
> can achieve shortly. Then propose a modification route.
On Tuesday 17 July 2007 19:11:11 bennett kolasinski wrote:
> > Attached is a patch that updates NetworkEditor's
> > FloatArrayDataSource::getLabel(unsigned bin) to return a copy of a
> string
> > rather than a reference to a string-- this is to keep the function in
> sync
> > with Annotator's version. If there aren't any objections, I'll commit
> > later this afternoon (US time).
> > B
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070718/8d1be3a1/attachment-0004.htm>
More information about the clam-devel
mailing list