Csound Csound-dev Csound-tekno Search About

Re: problem with MIDI input and variable types

Date2003-12-01 14:00
From"Mark Fletcher"
SubjectRe: problem with MIDI input and variable types
Iain and Josep,

Thank you for the suggestions.  I will try these angles.

Mark


----- Original Message ----- 
From: "Josep M Comajuncosas Nebot" 
To: 
Sent: Sunday, November 30, 2003 4:47 PM
Subject: RE: [CsndTek] problem with MIDI input and variable types


> Anothere way is to set a separate MIDI receiver instrument which
> activates instances according to program changes for example, but this
> dapends on the usage...
> 
> 
> 
> ----------------------------------------------------------------------
> "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: csoundtekno-admin-N4abDuUB7xo@public.gmane.org [mailto:csoundtekno-admin@bek.no] En nombre
> de Iain Duncan
> Enviado el: domingo, 30 de noviembre de 2003 22:39
> Para: csoundtekno-N4abDuUB7xo@public.gmane.org
> Asunto: Re: [CsndTek] problem with MIDI input and variable types
> 
> Off the top of my head, the only technique I can think of is using
> reinit to
> "freeze" a krate variable into an irate variable. I'd suggest putting
> the
> midi parsing in a seperate instrument, and experimenting with reinit.
> It's a
> bit of a pain, but it does work.
> 
> Iain
> 
> 
> ----- Original Message -----
> From: "Mark Fletcher" 
> To: 
> Sent: Sunday, November 30, 2003 1:18 PM
> Subject: [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
> 
> _______________________________________________
> csoundtekno mailing list
> csoundtekno-N4abDuUB7xo@public.gmane.org
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
> 
> _______________________________________________
> csoundtekno mailing list
> csoundtekno-N4abDuUB7xo@public.gmane.org
> 
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
_______________________________________________
csoundtekno mailing list
csoundtekno-N4abDuUB7xo@public.gmane.org

Subscribe, unsubscribe, change mailing list options: