Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Displaying continuous MIDI data

Date2009-07-02 17:10
From"Art Hunkins"
Subject[Csnd] Re: Re: Displaying continuous MIDI data
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" 


Date2009-07-02 20:57
FromCharles Gran
Subject[Csnd] Re: Re: Re: Displaying continuous MIDI data
On Thu, Jul 2, 2009 at 11:10 AM, Art Hunkins wrote:

> 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.

I'm sort of going back-and-forth between a PC and a big imac, but
mostly I've been using XP with the command-line.

I'm putting together a real-time piece with a clarinet that will be
processed.  I'm not sure what platform he will run it on, but I'm
guessing a PC laptop.

Charles