Re: Midish "If" functions

From: Alexandre Ratchov <>
Date: Mon Feb 05 2018 - 17:37:13 CET
On Mon, Feb 05, 2018 at 04:08:21PM +0100, Daniel Resino wrote:
> Hi!
> I really appreciate if you could advise me if Midish can do what I need.
> I have a stage piano and a synth working together in live performances. I would
> like to set up both instruments with only one touch. Stage piano only can be
> programmed to send to the synth MSB, LSB and PC numbers, but the synth needs to
> receive a certain SysEx message to switch between diferent modes. So, from the
> stage piano, I can change synth´s sounds but not the mode.
> I was thinking on using a RaspberryPi with Pisound card to route ALL signals
> from the piano to the synth and viceversa, but be able of sending a certain
> SysEx message when a specific MSB message will appear at the input.
> I can send a package of MSB, LSB and PC messages from the Stage piano, but
> Synth only responds to PC changing, so maybe I could use MSB or LSB to make
> Midish send the SysEx that synth needs to change between modes (and of course
> PC).
> In my mind, it implies the usage of "if" functions (or similar), but I cannot
> find nothing familiar within the manual. Could you give me an advise?


Midish doesn't allow triggering interpreter code by MIDI events.

However, if the sysex messages are short, you could define a custom
event using the evpat function. Then, define a filter that for each
incoming pc event generates a outgoing sysex.

Could you show an example sysex event?

> Is PiSound card compatible with this software running on Raspbian?

I don't know, but as the board is linux-centric I guess there's a
Linux driver for it. If not, any standard USB-MIDI interface would
probably work out of the box.
Received on Mon, 5 Feb 2018 17:37:13 +0100

This archive was generated by hypermail 2.1.8 : Tue Feb 06 2018 - 01:31:49 CET