Re: Midish "If" functions

From: Alexandre Ratchov <alex_at_caoua.org>
Date: Wed Feb 07 2018 - 15:51:15 CET
On Tue, Feb 06, 2018 at 05:04:06PM +0100, Alexandre Ratchov wrote:
> On Mon, Feb 05, 2018 at 05:49:30PM +0100, Jeanette C. wrote:
> > Feb 5 2018, Alexandre Ratchov has written:
> > ...
> > > 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.
> > ...
> > I have a similar task that would be easily done with that. Could you
> > provide the necessary evpat and fmap code for this:
> > map ctl 72 on channel keyboard to SysEx f0 3e 0e 00 1d data_byte f7 on
> > channel synth. 1d is the control parameter number in that. I didn't
> > really get the v0, v0_lo/hi parameters and their usage.
> > 
> 
> Sorry, I was mistaken. There were patches to make this kind of
> mapping, but it was not commited because it broke other parts of
> midish.
> 
> If you guys are interested and are willing to test it I will resurect
> and them. FWIW, the intent was to:
> 
> evpat mysysex {0xf0 0x3e 0x0e 0x00 0x1d v0 0xf7}
> fmap {ctl input_chan 72} {mysysex output_dev}
> 

The change to allow program change to sysex mappings is in the last
snapshot, here:

http://midish.org/midish.tar.gz

I think I fixed all issues, but let me know how this works and if this
breaks something. Bank number and program number in the "xpc" event
are now swapped (bank comes first, then program).

-- Alexandre
Received on Wed, 7 Feb 2018 15:51:15 +0100

This archive was generated by hypermail 2.1.8 : Thu Feb 08 2018 - 01:48:07 CET