FW: [CM] sequence objects feature requests
Lieven Moors
lievenmoors at hotmail.com
Mon May 28 14:10:13 PDT 2007
From: lievenmoors at hotmail.comTo: taube at uiuc.eduSubject: RE: [CM] sequence objects feature requestsDate: Mon, 28 May 2007 18:56:07 +0200
I make a lot of sequences with a starttime of zero. Later on in the process, I want to line them up in a certain order. It turns out that for all these operations, I need to know the length of a sequence. When I want to put one after the other, I have to calculate the length of the first one. Then I can easily put the start of one sequence to the end of another.The only problem is that the length of the last midi-note of a sequence, is determined by the first midi-note inthe next, which makes it impossible to determine the length. I already made a subclass of seq, with an end slot. When I make a musical structure, I set :end to how long I want the sequence to be. After that I can treat them as blocks. When I make a sequence of sequences, the length becomes the sum of the lengths of the subsequences. This makes shuffling very easy as well.I know this might sound confusing, but it is funny that you can' t handle a sequence like for examplean audio file. I don't know, maybe this sounds silly...maybe the midi-note would need a length as well...> From: taube at uiuc.edu> Subject: Re: [CM] sequence objects feature requests> To: lievenmoors at hotmail.com; cmdist at ccrma.Stanford.EDU> Date: Mon, 28 May 2007 10:50:09 -0500> > > I was wondering if it would be a good idea to add a :versioning and> > :version slot to the seq object.> > This would allow saving lots of sequence objects with the save-object> > method whithout specifying a new name every time.> > it woudl be easy to add a :newname arg (or whatever) to save-object that would cause the saved version to have a unique name:> > (save-object #&foo "foo.seq" :newname #t)> > > Another thing I thought might be handy, is having an :end slot for the> > sequence object. This would make sequencing with sequences easier. It> > can be computed from the elements it contains.> > not sure i understand this one -- what does :end hold and what operations will it make easier for you to perform?> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20070528/827fd240/attachment.html>
More information about the Cmdist
mailing list