Re: question regarding midish

From: Edmond Shum <>
Date: Fri Sep 04 2009 - 20:06:14 CEST
About making use of the "port" or device assignment in the midi file. Since upon initialization, you can do:

dnew 0 "device" wo
dnew 1 "device1" wo

Which means user can create his own ports. In the midi file, it seems ( not sure, as I am using the perl-midi libraries to look at the internal data ), that a meta even of 33 is capable of assiginning to different devices. 

Thus, can we create a map of tracks-to-ports, so that the data of different tracks will be sent to corresponding ports ?

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.
> -- Alexandre
Received on Fri, 4 Sep 2009 13:06:14 -0500

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