[Csnd] Displaying continuous MIDI data
Date | 2009-07-02 15:23 |
From | Charles Gran |
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? |
Date | 2009-07-02 16:21 |
From | Stéphane Rollandin |
Subject | [Csnd] Re: Displaying continuous MIDI data |
Charles Gran a écrit : > 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? You can use OSC to connect your sliders to csound. OSCListen return value is either 0 or 1; it is 1 only if a new message was received. By testing for this you know when to display the slider value. hope this helps Stef |
Date | 2009-07-02 16:39 |
From | Stéphane Rollandin |
Subject | [Csnd] Re: Re: Displaying continuous MIDI data |
stupid me, it's obvious you are talking about MIDI sliders. sorry for the noise... Stef |
Date | 2009-07-02 17:08 |
From | Iain McCurdy |
Subject | [Csnd] RE: Displaying continuous MIDI data |
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@gmail.com > To: csound@lists.bath.ac.uk > 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@lists.bath.ac.uk with body "unsubscribe csound" Lauren found her dream laptop. Find the PC that’s right for you. |