Electronic Music mailing list archives

Previous Message: Re: monophonic instrument in one instrument
Next Message: Re: monophonic instrument in one instrument

From: John Harrison ()
Date: Apr 3, 2005
Subject: Re: monophonic instrument in one instrument
Okay now I get what you want, and your code makes sense. I think the 
ckgoto statement isn't doing what we expect because, since both 
variables are i rate, perhaps Csound assumes they cannot change after i 
time. It doesn't recognize the difference between i time locally and i 
time globally. At least that's my guess. So I replaced your ckgoto 
statement in your original code with:

kkey        =        gi_key
        ckgoto        (ikey!=kkey), end

and now the code works as I would expect...which is to say it still 
doesn't do what you want. If you play note 1, then note 2 while holding 
note 1, then release note 2 while still holding note 1, you will hear 
silence...but this makes sense and....maybe you can take it from here. 
There might be a way to fix this using reinit and active opcodes...

-John

Atte André Jensen wrote:

> John Harrison wrote:
>
>> If I play note 1, then I play note 2 while still holding note 1, is a 
>> mono instrument supposed to jump to note 2 or stay on note 1?
>
>
> Jump to note 2
>
--  [EMAIL REMOVED]               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] 

+ monophonic instrument in one instrument =?ISO-8859-1?Q?Atte_André_Jensen? (04/02/05)
+---Re: monophonic instrument in one instrument Art Hunkins (04/02/05)
+------Re: monophonic instrument in one instrument =?ISO-8859-1?Q?Atte_André_Jensen? (04/02/05)
+---------Re: monophonic instrument in one instrument Art Hunkins (04/02/05)
+------------Re: monophonic instrument in one instrument =?ISO-8859-1?Q?Atte_André_Jensen? (04/02/05)
+---------------Re: monophonic instrument in one instrument John Harrison (04/02/05)
+------------------Re: monophonic instrument in one instrument Art Hunkins (04/02/05)
+---------------------Re: monophonic instrument in one instrument Richard Dobson (04/02/05)
+------------------------Re: monophonic instrument in one instrument John Harrison (04/02/05)
+---------------------------Re: monophonic instrument in one instrument Art Hunkins (04/02/05)
+------------------------------Re: monophonic instrument in one instrument John Harrison (04/02/05)
+---------------------------------Re: monophonic instrument in one instrument =?ISO-8859-1?Q?Atte_André_Jensen? (04/02/05)
+------------------------------------Re: monophonic instrument in one instrument Richard Dobson (04/03/05)
+------------------------------------Re: monophonic instrument in one instrument John Harrison (04/03/05)
+---------------------------------------Re: monophonic instrument in one instrument langdon crawford (04/03/05)
+---------------------------------------Re: monophonic instrument in one instrument Anthony Kozar (04/04/05)
+------------------------------------------Re: monophonic instrument in one instrument Istvan Varga (04/04/05)
+---------------------------------------------Re: monophonic instrument in one instrument Matt J. Ingalls (04/04/05)
+------------------------------------------Re: monophonic instrument in one instrument Steven Yi (04/04/05)
+---------------------------------------------Re: monophonic instrument in one instrument Istvan Varga (04/04/05)
+------------------------------------------------Re: monophonic instrument in one instrument Anthony Kozar (04/04/05)
+------------------------------------------------Re: monophonic instrument in one instrument jpff (04/04/05)
+---------------------------------------------Re: monophonic instrument in one instrument Anthony Kozar (04/04/05)
+------------------------------------Re: monophonic instrument in one instrument Art Hunkins (04/03/05)
+---------------------------------------Re: monophonic instrument in one instrument Larry Troxler (04/03/05)
+------------------------Re: monophonic instrument in one instrument Chuckk Hubbard (04/03/05)
+---------------Re: monophonic instrument in one instrument Art Hunkins (04/02/05)
+---------------Re: monophonic instrument in one instrument Chuckk Hubbard (04/03/05)
+------------------Re: monophonic instrument in one instrument Art Hunkins (04/03/05)
+------------------Re: monophonic instrument in one instrument Larry Troxler (04/03/05)
+---------------------Re: monophonic instrument in one instrument Jesse Lucas (04/03/05)
+---Re: monophonic instrument in one instrument Steven Yi (04/03/05)
+------Re: monophonic instrument in one instrument =?ISO-8859-1?Q?Atte_André_Jensen? (04/03/05)
+---Re: monophonic instrument in one instrument Chuckk Hubbard (04/03/05)
+---Re: monophonic instrument in one instrument Chuckk Hubbard (04/03/05)
+---Re: monophonic instrument in one instrument Istvan Varga (04/04/05)
+------Re: monophonic instrument in one instrument Istvan Varga (04/04/05)

Previous Message: Re: monophonic instrument in one instrument
Next Message: Re: monophonic instrument in one instrument