[CM] Common Music 3
Heinrich Taube
taube at uiuc.edu
Fri, 28 Mar 2008 07:08:32 -0500
> the old cm-functions 'interpl' and 'tendency': i've used them quite
> often...
hello johannes . yes you are right 'tendency' should be there but
slipped through the cracks ill add it in this weekend let me know if
you find others. as to 'interpl' -- in the new api &rest functions
like interp and pick also permit the &rest values as a single list. in
other words 'interp' also does 'interpl' and 'pick' handles 'pickl'
(interp (ran) 0 0 1 50)
(interp (ran) '(0 0 1 50))
(pick 1 2 3 4 5)
(pick '(1 2 3 4 5))
(plus 1 2 3 4 5)
(plus '(1 2 3 4 5))
and so on. ive trier to build in mapping and list support as much as
possible so with just a little snippet you can do some interesting
musical things. for example this generates a 50 note melody with pink
noise mapped onto an octatonic scale with just-tuned whole and half-
steps:
(discrete (make-list 50 ranpink) -1 1 (scale 24 60 2.04 1.12))
(72.64 81.0 75.8 77.84 74.68 84.16 82.12 72.64 82.12 72.64 82.12 81.0
78.96 85.28 84.16 77.84 85.28 82.12 74.68 82.12 72.64 78.96 85.28
82.12 77.84 82.12 72.64 72.64 77.84 71.52 74.68 78.96 78.96 85.28 81.0
84.16 75.8 74.68 77.84 74.68 77.84 78.96 78.96 78.96 84.16 74.68 71.52
78.96 75.8 71.52)
>
> a file-interface via fomus or so will be included, am i right?
when david announces that libfomus works ill make a port for in in
grace and you will be able to send data to it. grace ports handle
both score (file) and interactive uses. I think Todd is working on
score support for the midiport right now.