[CM] a cmio question

Rick Taube taube@uiuc.edu
Mon, 21 Mar 2005 14:04:03 -0600


Yes. all you have to do is define a lisp variable to hold your header 
string or list and then
use the #.var feature in the header buffer:

(setq myheader "big long hairy string")
(cmio)
and then put #.myheader  in the "Header:" field, ie on the csound page 
do:

		Header: [ #.myheader                     ]

i think you can specify a list off strings and the .sco file should 
handle that as well.

(setf myheader (list "fi..." "f2..." ))
(cmio)
#.myheader

any field with a WHITE background should let you do the #.var trick.

so do you want me to add a tempo field? i can do that too, on the same 
line i guess.


> Hi Rick:
>
>  I've been using the GUI for a while now, it's very cool, but I have 
> one frustration I'd like to resolve. Apparently the Header field for 
> the Csound tab is designed to accept only a single entry. Could it be 
> designed to acccept a list like this:
>
>    (list "f1 0 8192 10 1" "f2 0 8192 10 1 .9 .8 .7 .6 .5 .4 .3 .2 .1" 
> "f3 0 8192 10 .1 .2 .3 .4 .5 .6 .7 .8 .9 1" "f4 0 8192 10 0 1 0 0 .8 0 
> 0 0 .5 0 0 0 0 .1" "f5 0 8192 10 1 0 .9 0 0 .7 0 0 0 .4 0 0 0 0 .01"))
>
>  Also, there are other score options I'd like to auto-include, such as 
> the t tempo statement. Normally I place them right after the function 
> tables, but again there doesn't seem to be a way to do this with the 
> GUI. I can of course add them after score production, but that breaks 
> the cycle for realtime playback. Any suggestions ?
>
> Best,
>
> dp
>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist