Csound Csound-dev Csound-tekno Search About

[Cs-dev] instr 0

Date2006-09-16 19:39
Frommatt ingalls
Subject[Cs-dev] instr 0
i'm teaching csound again this semester and watching people
approach csound for the first time always brings up minor details
that are not intuitive & we quickly learn to workaround. but they
can be frustrating for newbies.   i'll probably have a number of
questions/suggestions over the next few weeks about this stuff
but here a couple i am thinking about today:


is there any reason why all opcodes can't be allowed in header/global  
space?

it seems like i frequently have to make an "always on" global  
instrument,
especially with real-time performance, and it would be convenient to  
just
put it all in the header space and not worry about making an instrument
and allocating an instance of it.

alternatively, i could see specifying a keyword for an instrument  
that does
not respond to "i" statements and automatically runs the entire  
performance,

instr globals
	...
endin

  

globals
	...
endgl


at the very least i would like to get invalue/outvalue in the header  
space.
how does an opcode get tagged as allowable in instr0?

------

also, i think by default any real-time render should really not  
terminate at the end of the .sco
[ i know if the score is empty an f0 is automatically added, but this  
doesn't work if you just
have f-tables or even just only a comment ]

For backwards compatibility, we could add a commandline flag to  
terminate--
perhaps just expand -T to "terminate the performance when score or  
miditrack is done"


what do ya'll think?

thanks,
-m

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-09-16 23:25
FromRory Walsh
SubjectRe: [Cs-dev] instr 0
Hi Matt. I understand your frustration at always having to implement an 
"always on" instrument, I too have to go down this route every time I 
start a new piece although I'm getting used to it now. With regards the 
invalue/outvalue being in the header space have you tried using 
chnexport instead? I use it all the time now to set up my named channels 
outside the instrument definitions and it works great.

Rory.


matt ingalls wrote:
> i'm teaching csound again this semester and watching people
> approach csound for the first time always brings up minor details
> that are not intuitive & we quickly learn to workaround. but they
> can be frustrating for newbies.   i'll probably have a number of
> questions/suggestions over the next few weeks about this stuff
> but here a couple i am thinking about today:
> 
> 
> is there any reason why all opcodes can't be allowed in header/global  
> space?
> 
> it seems like i frequently have to make an "always on" global  
> instrument,
> especially with real-time performance, and it would be convenient to  
> just
> put it all in the header space and not worry about making an instrument
> and allocating an instance of it.
> 
> alternatively, i could see specifying a keyword for an instrument  
> that does
> not respond to "i" statements and automatically runs the entire  
> performance,
> 
> instr globals
> 	...
> endin
> 
>   
> 
> globals
> 	...
> endgl
> 
> 
> at the very least i would like to get invalue/outvalue in the header  
> space.
> how does an opcode get tagged as allowable in instr0?
> 
> ------
> 
> also, i think by default any real-time render should really not  
> terminate at the end of the .sco
> [ i know if the score is empty an f0 is automatically added, but this  
> doesn't work if you just
> have f-tables or even just only a comment ]
> 
> For backwards compatibility, we could add a commandline flag to  
> terminate--
> perhaps just expand -T to "terminate the performance when score or  
> miditrack is done"
> 
> 
> what do ya'll think?
> 
> thanks,
> -m
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net