|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Metro commandHello,
is there an equivalent to the metro command in PureData, in CM3? I have noticed the in-tempo(beats, tempo) function in the documentation. Is this equivalent? Could someone provide an example of its use? Many thanks. Philippe _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Metro commandhalim beere added metronomes about 2 months ago and the entire
scheduler is now beat/metronome based. for information about metronomes see the section "Metronomes" in cm.html: Help>Reference>Common Music , then click on Metronomes in the index he also wrote excellent examples: Help>Examples>Sal>Metronome also lisp versions by Aykut: Help>Examples>Lisp>Metronome On Jan 15, 2012, at 7:35 AM, Philippe de Rochambeau wrote: > Hello, > > is there an equivalent to the metro command in PureData, in CM3? > > I have noticed the in-tempo(beats, tempo) function in the > documentation. > > Is this equivalent? Could someone provide an example of its use? > > Many thanks. > > Philippe > > > > _______________________________________________ > Cmdist mailing list > Cmdist@... > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Metro commandin-tempo scales a unit in beats to a particular tempo value and return
the value in seconds (in-tempo .5 60) -> 0.5 (in-tempo .5 90) -> 0.33333333333333 the rhythm() function converts a symbolic rhythmic value to a time in seconds (rhythm 'e 60) -> 0.5 (rhythm 'e 90) -> 0.33333333333333 (rhythm 'w+s ) -> 4.25 see cm.html _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
Re: Metro commandjust to beat a dead horse... in pure data, metro sends a bang out at
some time interval to do something, ie [metro 1000] | [+ 3 4] | [print ] or whatever. In Lisp "doing something" is evaluation, (+ 3 4) and you can create functions that do arbitrary evaluation for you (define (mybang x) (format #t "bang at ~S!~%" x)) (mybang 100) to evaluate something at periodic intervals in Grace you put a function that does what you in cm's scheduler using 'sprout'. scheduled functions are passed the current time and should return how long to wait until they are evaluated again (in seconds). so to print "bang" at 1 second intervals you could do (define (mybang x) (format #t "bang at ~S!~%" x) 1) (sprout mybang) ;; at some point you will want to stop it (stop) _______________________________________________ Cmdist mailing list Cmdist@... http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |