| Charles,
What is your platform, and/or GUI (or commandline)?
I'm in Windows, and work with MIDI sliders all the time - and routinely
display controller values.
On the commandline, printk2 prints a new value only when the value changes.
(And in any case, you can save the old value, compare the next kvalue with
it and print it only if changed.)
I use Lettuce as my GUI; through chnexport its easy to display slider values
on-screen.
With FLTK there was a mechanism attached to FLslider for displaying its
value in an on-screen box as well.
Art Hunkins
----- Original Message -----
From: "Stéphane Rollandin"
To:
Sent: Thursday, July 02, 2009 11:21 AM
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
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
|