« Return to Thread: Displaying continuous MIDI data

RE: Displaying continuous MIDI data

by Iain McCurdy :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
You could ouput data to the console using printk2:

<CsoundSynthesizer>

<CsOptions>
-odac -M0
</CsOptions>

<CsInstruments>

sr    =    44100
ksmps    =    100
nchnls    =    2

instr 1
kCC1 ctrl7 1,1,0,127
printk2 kCC1
endin
   
</CsInstruments>

<CsScore>
i 1 0 3600 ;i1, A LONG NOTE
</CsScore>

</CsoundSynthesizer>




or to an FL widget:

<CsoundSynthesizer>

<CsOptions>
-odac -Ma
</CsOptions>

<CsInstruments>

sr    =    44100
ksmps    =    100
nchnls    =    2

FLpanel    "", 100, 50, 0, 0
gkCC1, gihCC1 FLtext "CC#1", 0,  127, 1, 1, 60, 20,   5, 5
FLpanel_end
FLrun

instr 1
kCC1 ctrl7 1,1,0,127
;IF kCC1 CHANGES OUTPUT A '1'
ktrig changed kCC1
;IF ktrig IS A '1' UPDATE FL WIDGET
FLsetVal ktrig, kCC1, gihCC1
endin
   
</CsInstruments>

<CsScore>
i 1 0 3600 ;i1, A LONG NOTE
</CsScore>

</CsoundSynthesizer>





Iain




> Date: Thu, 2 Jul 2009 09:23:15 -0500
> From: chasgran@...
> To: csound@...
> Subject: [Csnd] Displaying continuous MIDI data
>
> I want csound to display values for things like sliders. It would be
> great if it only did so only when the sliders change. Something like
> midi-ox on windows if you know it. Any ideas?
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... with body "unsubscribe csound"


Lauren found her dream laptop. Find the PC that’s right for you.

 « Return to Thread: Displaying continuous MIDI data