Re: question regarding midish

From: Alexandre Ratchov <alex_at_caoua.org>
Date: Sat Sep 05 2009 - 18:28:38 CEST
On Fri, Sep 04, 2009 at 01:06:14PM -0500, Edmond Shum wrote:
> 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 ?
> 

midish tracks can contain events of different devices mixed;
a track is not binded to a particular channel or device.

The meta event you mentioned, iirc, will set the device
number for all events of the track. This is not how midish
works currently; to make the ``export'' work this way,
hackish code changes are required.

as Julien explained, the easier is to use midish native file
format in most situations. There are lots of other
midish-specific settings that don't fit in .mid files either

-- Alexandre
Received on Sat, 5 Sep 2009 18:28:38 +0200

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