Csound Csound-dev Csound-tekno Search About

[Cs-dev] outrg opcode

Date2012-07-11 20:45
Fromjohn ffitch
Subject[Cs-dev] outrg opcode
as currently written there is no check that the outputs exist to be
written to.  eg if nchnls is 4 and the call is
        k1 = 4
        outrg k1, a1, a2
csound will crash as there is no channel 5

I consider this unsatisfactory.  Options include

a) letting it crash 
b) truncating any excess audio
c) wrapping after nchnls

What do people think is best?  I have coded b), a) is current.  Is c)
better?

==John ffitch

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net