[linux-audio-user] midi and ecasound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello folks,

I have two midi controller connected to my UM-2 usb midi interface
And I have a lot of trouble to figure out how to configure ecasound to use
them.

here is the aseqdump outputs :

$ aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 72:0    PHASE 26 USB(16/48)              PHASE 26 USB(16/48) MIDI 1
 80:0    UM-2                             UM-2 MIDI 1
 80:1    UM-2                             UM-2 MIDI 2

if I want to monitor the first device (connected on the in 1 of the UM-2)
this is what I mostly get :

$ aseqdump -p 80:0
Cannot connect from port 80:0 - Resource temporarily unavailable

sometimes it works, but it is absolutely not reproductible
on the other hand, the second device (connected on the in 2 of the UM-2)
is always working :

$ aseqdump -p 80:1
Waiting for data. Press Ctrl+C to end.
Source_ Event_________________ Ch _Data__
 80:1   Control change          0   1  69
 80:1   Control change          0   1  70

but this information is useless to set up ecasound so I have tested with
gmidimon. The approach is not the same as it uses /dev/midix or
/dev/snd/midiCXDX

the only device I can monitor is /dev/midi2 and /dev/snd/midiC2D0 (same
device) and it gives me this information :

Status          Chan  Data1  Data2      time
Control(176)      0     1     54     1123881037

I suspect I can use this information in ecasound so when I run ecasound
like that :

# ecasound \
> -G:jack,ecasound,notransport \
> -Md:rawmidi,/dev/snd/midiC2D0 \
> -a:6 -i:jack \
> -ea:1000 -km:1,0,1000,176,0 -o:jack

I hear no sound even if I tweek the channel 0 of the suitable device.

If I remove the midi control :

# ecasound \
> -G:jack,ecasound,notransport \
> -Md:rawmidi,/dev/snd/midiC2D0 \
> -a:6 -i:jack \
> -ea:1000 -o:jack

I hear the sound

I'm sure that the midi devices are all working because when I connect them
to AMS or om-synth with qjackctl I can control everything with both
devices.

What am I doing wrong ? And why the midi monitoring is so erratic ?

Thanks in advance for your help.

Philippe


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux