[Clam-devel] [Fwd: about CLAM audio]

Roman Goj roman.goj at gmail.com
Wed Aug 8 09:58:02 PDT 2007


Pau Arumi wrote:
> En/na Xavier Amatriain ha escrit:

(...)

>> -------- Original Message --------
>> Subject:     about CLAM audio
>> From:     globot <gglobot at gmail.com>
>> Hi,

(...)

>> so here my question is simple, is there a way to seek into a audio
>> file ? (i have a scroll barre to seek into the file like a lot of
>> audio player do)
>> I can't find a way to set the position in frame or ms of the "reader"
>> (like multiChannelAudioFileReader)
>> I can't find a function that will tell me where the reader is in the
>> file (in frames or ms)
> 
> This is a missing feature that we actually plan to add soon since
> we needed it for Annotator (to use a network for playing audio file
> and descriptors-audiolization, so we need to sync. the playhead
> with the network audio source.).
> 
> However I can't say exactly when we will add this feature. So you
> might be interested on implement it yourself and do a nice
> contribution. We'll follow up and provide feedback.
> 
> First idea: I think the FileReader processings should need an
> in-control with the seek time (samples or ms) and an out-control
> with the playing time. We use libsndfile for most of the audiofile
> formats and I guess it implements the seek functionality.

Hi!

This functionality is also something I'm going to be needing (and
Bennett too :) ). At least the sending of the time information out of
the MultiChannelAudioFileReader. Since I'm going to be needing this
fairly soon (before 30 August... ;) ), then - if noone has anything
against it - I'd like to take this task :)

I'm not entirely sure the in control for the FileReader will be as easy
as the out control, but since I'll need to do that for the TonalAnalysis
processing too (in control that is), then I might as well try first with
the FileReader :)

I'll just finish some things I've been experimenting with, while working
on improving the segmentation and try to tackle this task (the out
control was actually my next priority...) and send some info on the
progress as soon as there is any (unless you already started working on
it, globot? :) )

cheers!
roman




More information about the clam-devel mailing list