[PD] readanysf~ almost beta

Maurizio Umberto Puxeddu mauriziopuxeddu at yahoo.it
Wed Apr 23 00:07:55 CEST 2003


On Tue, 2003-04-22 at 14:32, august wrote:
> > I mean the markers you can put in many formats like AIFF and RIFF/WAVE.
> > Many editors call them CUEs and are often referenced by "loop chunks".
> > I'd like to be able to place markers with an editor (even many of them,
> > if possible, like 100 or more) and then read they value and name in PD.
> > 
> > Thanks for listening.
> 
> 
> yeah, ok.  i forgot all about that.  I used to use DAP, so i,ll take a
> look into the code there and add it into my code.
> 
> want to make a proposal for how to deal with the mesages?  

You could make a related object

[readsfmarker filename.wav]

with 3 outlets: positions in msec and name and errors

then handle

-numeric messages as request for the position and name of the n-th
marker
-other messages as requests for the position of the markee with that
name. pattern matching would be useful.

Bang on the third outlet for n out of range or no match.

There are several variants of course.

Regards,

Maurizio Umberto Puxeddu.

 





More information about the Pd-list mailing list