Re: question regarding midish

From: Alexandre Ratchov <alex_at_caoua.org>
Date: Thu Sep 03 2009 - 19:44:46 CEST
On Wed, Sep 02, 2009 at 12:39:00PM +0200, Alexandre Ratchov wrote:
> On Wed, Sep 02, 2009 at 12:18:43PM +0200, Julien Claassen wrote:
> > Salut Alexandre!
> >   It might be a nice feature though, changing channel/device of a
> > track afterwards. Nice for already existing MIDI-files, which you
> > want to play to some of your devices at home.
> >   Mostly if I wanted something like it, I'd store single tracks and
> > do something to them. :-)
> 
> indeed. I didn't think about this.
> 
> Hmmm.. we already have the code for this in the filter bits.
> Basically we only need to apply the code to a track. And to
> find the right way to expose it as a built-in function,
> which is the hardest part imo.
> 

well, I just added the necessary glue in the latest
snapshot, so now we can do:

	tevmap {any 0} {any 1}

to change the destination device of all events of the
current track from 0 to 1.

-- Alexandre
Received on Thu, 3 Sep 2009 19:44:46 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:21 CET