| Istvan,
Thanks for putting me on to the idea of controller initialization; I hadn't
know of this possibility before. I only knew about initializing variables.
I've found for Csound5 purposes, that the following header line does
everything I need - and so simply:
ctrlinit 1, 7, 0, 8, 0, 10, 0, 11, 0
It initializes the four "problem" controllers (7, 8, 10 and 11) to zero.
Incidentally, my problem occurs because I have "always on" instruments
looking for MIDI control information, including that related to amplitude.
If it sees controller 7 (8, 10 or 11) it also sees values other than zero by
default, thus turning on the instrument even when you've not asked it to do
anything.
Art Hunkins
----- Original Message -----
From: "Istvan Varga"
To:
Sent: Tuesday, July 12, 2005 5:24 PM
Subject: Re: [Cs-dev] MIDI Controller Inits in Csound5beta
> Art Hunkins wrote:
>
> > Some time ago I brought to the list's attention the fact that various
> > (Windows) versions of Csound were not initializing channel 1 controllers
> > 7-11 to zero.
>
> Which was a very bad idea, because it breaks all existing instrumets
> that depend on the original initialization of controllers. And the initial
> settings are non-zero for a purpose, as the controllers you mentioned are
> standard volume and pan controls which most people would expect to default
> to maximum (127) and center (64), respectively.
>
> > I need these to init to zero for a current piece.
>
> So, you can add controller init opcodes to your orchestra header and
> initialize the controllers to whatever values you prefer.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by
HP,
> AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |