RE: problem with MIDI input and variable types

"Josep M Comajuncosas Nebot" <[email protected]>
Newsgroups gmane.comp.audio.csound.tekno
Message-ID <002701c3b78b$5cfda610$0c00a8c0@W2KJCM>
When the k-rate variable which receives the program change
kProgramChange changes, you should reinit the part of the code with that
i-variable which will be set as i(kProgramChange)
 
 
----------------------------------------------------------------------
"Are you still wasting your time with spam?...
There is a solution!"

Protected by GIANT Company's Spam Inspector
The most powerful anti-spam software available.
http://www.giantcompany.com
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre
de Mark Fletcher
Enviado el: domingo, 30 de noviembre de 2003 22:19
Para: [email protected]
Asunto: [CsndTek] problem with MIDI input and variable types
 
Hello all,
 
I am designing an instrument that uses real-time MIDI control, and I am
trying to add support for MIDI program change.  To get the program
change information, I have considered using the midiin or
midiprogramchange opcodes.  These opcodes return a-rate or k-rate
variables.  However, I need this information in an i-variable, because I
am passing the program number to the grain opcode as the igfn parameter
(waveform function table).
 
I can get real-time MIDI controller data as an i-rate variable (which
incidentally doesn't make a lot of sense), so it seems like it should be
possible to get an i-rate program change number.  Any ideas?  I would
appreciate any assistance.
 
Thank you,
Mark Fletcher
image001.gif (image/gif, 214 B) - not displayed
image002.gif (image/gif, 164 B) - not displayed
image003.gif (image/gif, 144 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.