Re: Can't get a routing/filter to work

From: Simon Brem <simon_at_brem.org>
Date: Mon, 26 Dec 2022 12:00:05 +0100
Am 26.12.22 um 09:57 schrieb Alexandre Ratchov:
> On Sun, Dec 25, 2022 at 11:00:25PM +0100, Simon Brem wrote:
>> Hi there,
>>
>> I want to convert cc events from one controller of a device to
>> another controller of another device. I'm using alsa-midi. First I
>> want to do no conversion at all, just routing. I came this far: If I
>> monitor the source controller, I see cc-events with aseqdump. If I
>> monitor the output device, I see SysEx messages from Midish, and
>> "Active Sensing" while in idle mode or play mode. But no midi-events
>> from my source controller. I can also play a midi file to the output,
>> everything fine.
>>
>> This is what I'm doing in rmidish:
>>
>> dnew 0 "16:0" wo        (write only, destination)
>> dnew 1 "129:0" ro        (read only, source)
>> fnew myfilter                (new filter)
>> fmap {ctl 1} {ctl 0}    (route all cc messages from dev 1 to dev 0)
>> i                                    (idle mode for connecting midi devices)
>>
>> With "aseqdump -l" I see everything is connected properly. But
>> there's just no data arriving at my destination device from the
>> source-device. Only SysEx from the Midish itself. What am I doing
>> wrong?
>>
> I tried exacly the same commands except for the device names and it
> works. Tested on OpenBSD, fwiw.
>
> Maybe midish isn't receiving the source events. If so, some "aconnect"
> magic may be needed on Linux.
>
> Could you run "debug mididev 1" in midish, retry and check that midish
> sees the incoming events?

I could see midi input coming to midish with that debug option. But 
still nothing out... Maybe an old version in the repo of Raspbian 11 
bullseye? Yes: midish 1.0.4-1.1+b2. I've compiled the latest release 
1.3.3, and now I'm getting output at where I'm routing :)

Thanks,
Simon
Received on Mon Dec 26 2022 - 12:00:05 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 27 2022 - 01:30:01 CET