[ecasound] ecasound and midi

From: Dubphil <dubphil@email-addr-hidden>
Date: Sat Aug 13 2005 - 17:06:37 EEST

Hello,

I have previously posted this on LAU, but I think that it is better to
post this here.

I have two midi controllers 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/midi2 \
> -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.

here is what ecasound complain :

(midi-cc) (midi-cc) Controller number must be a number between 0 and 127.
... Defaulting to controller 0
(midi-cc) (midi-cc) MIDI-channel must be a number between 1 and 16.
Defaulting to
... channel 1.

If I remove the midi control :

# ecasound \
> -G:jack,ecasound,notransport \
> -Md:rawmidi,/dev/midi2 \
> -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 ?

Hope I will get help this time.

Philippe

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Aug 13 16:15:05 2005

This archive was generated by hypermail 2.1.8 : Sat Aug 13 2005 - 16:15:06 EEST