[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] new list member - with a ribbon controller
Hi Till,
On 23 Oct 2007, at 15:18, Till Bovermann wrote:
I would be interested in your approach...
The MIDI implementation of the ribbon-ctl-er seems to be good
(looked at it from far since O don't have that ribbon here... )
The main weakness is that the pressure sensor can not be converted to
velocity. The device uses a constant velocity (127) whatever yuo do.
I looked at some example code. I am looking at
----
loop {
event = MIDIIn.waitNoteOn; // all note-on events
[event.b,event.c].postln;
// play the note
}
----
Here
event = MIDIIn.waitNoteOn;
[event.b,event.c].postln;
works and prints out the note number (event.b) and velocity (event.c)
(which is constant at 127). However, I need the pitch bend data
because I want continuous pitch rather than fixed notes (in one mode
the R2M sends fixed note and high res pitch bend). Unfortunately
event_bend = MIDIIn.waitBend;
[event_bend.b,event_bend.c].postln;
or
event_bend.postln;
does not print anything.
how do I refer to the pitch bend number from event_bend or get it
inot a variable??? The same question applies to MIDIIn.waitTouch .
I could not find the documentation for this.
Any help would be appreciated.
P.S. Unfortunately, I have a problem with the unit: sometimes it
generates notes as if I was touching the sensor at very different
position. A replacement unit does the same, so it seems to be a
"feature". I will test with a voltage meter if it is alse there in
the CV output (I think it is a firmware issue with the resistance to
MIDI conversion) and demonstrate the problem to Doepfer.
Cheers,
--
Tibor