|
From: | Vaughan McAlley |
Subject: | Re: can I set panning in midi |
Date: | Fri, 6 Sep 2013 23:26:29 +1000 |
Vaughan McAlley:
> On 6 September 2013 08:50, Karl Hammar <address@hidden> wrote:...
> > > For which purposes do You want to use midi?...
> >
> > Producing exercise sound files for the choir, they basically wants
> > mp3's or something similar. I have tried ogg but their systems kind
> > of not understands that.
> >
> > I'd like to have e.g. basses at left, tenors mid left, altos mid right
> > and sopranos at right, to make each voice easier to hear and follow.
> I wrote the attached script for exactly this purpose. It saves muckingFor some reason it produces a exact copy of the input file:
> around with anything more sophisticated than a simple MIDI player. The
> tracks are distributed evenly across the panning range. Unfortunately
> it requires Lua, but Lua is small and the last few times I’ve found it
> very easy to install. More detailed instructions are in the script...
$ lua -v
Lua 5.2.1 Copyright (C) 1994-2012 Lua.org, PUC-Rio
$ lua ~/panning.lua 2b_choer.midi zz.midi
2b_choer.midi zz.midi
$ lsl 2b_choer.midi zz.midi
-rw-r--r-- 1 karl users 2995 2013-09-05 21:39 2b_choer.midi
-rw-r--r-- 1 karl users 2995 2013-09-06 08:58 zz.midi
$ md5sum 2b_choer.midi zz.midi
203528cd285a0e7438886c9c893d6490 2b_choer.midi
203528cd285a0e7438886c9c893d6490 zz.midi
$
Regards,
/Karl Hammar
panning.lua
Description: Binary data
2b_choer_panned.midi
Description: MIDI audio
[Prev in Thread] | Current Thread | [Next in Thread] |