Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
skwwwks
Website:
http://webparadigma.com
skwwwks's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
rwmidi and 2 midi-devices
[1 Reply]
20-Sep-2010 08:36 AM
Forum:
Contributed Library Questions
I use rwmidi libruary with 2 midi keyboards. To connect two devises is no problem:
import rwmidi.*;
MidiInput input0;
MidiInput input1;
MidiOutput output;
input0 = RWMidi.getInputDevices()[0].createInput(this);
input1 = RWMidi.getInputDevices()[1].createInput(this);
output = RWMidi.getOutputDevices()[0].createOutput();
I would like to separate each device. I can use following code:
void noteOnReceived(Note note) {
println("note on " + note.getPitch()); }
But it gives same "note on " for both of the devices withput information wich device is currently in use.
How to separate "note on " information for every midi keyboard (input0, input1) ?
«Prev
Next »
Moderate user : skwwwks
Forum