Re: [LAU] transform midi Control Change 7 into velocity events?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Monday, November 24, 2008 - 3:48 pm

On Sunday 23 November 2008 18:33:17 Philippe Hezaine wrote:

Usually when you install a new version to the same prefix, the old files
will simply be overwritten.
To make sure the old version is really gone, you can go to the package
directory (something like /usr/lib/python2.5/site-packages) and remove the
mididings directory and the file _mididings.so.

> And perhaps my first install is not clean. I've all built in /usr/local

Sounds alright.

By the way, try mididings-20081123. Reading and writing MIDI files turned
out to be much easier than I expected (thanks to libsmf), so I quickly
added support for processing MIDI files directly. It's not pretty and needs
more testing, but I tried it on your Merengue and it seems to do the right
thing (keeping all metadata intact).

Support for libsmf must be enabled explicitly at compile time
(./setup.py build --enable-smf).
You can use it by replacing the run() function with process_file():

process_file('infile.mid', 'outfile.mid', Call(Volume2Velocity()))

Cheers,

Dominic
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] transform midi Control Change 7 into velocity events?, Philippe Hezaine, (Thu Nov 20, 2:09 pm)
Re: [LAU] transform midi Control Change 7 into velocity even..., Philippe Hezaine, (Thu Nov 20, 10:44 pm)
Re: [LAU] transform midi Control Change 7 into velocity even..., Philippe Hezaine, (Fri Nov 21, 12:22 pm)
Re: [LAU] transform midi Control Change 7 into velocity even..., Philippe Hezaine, (Sat Nov 22, 12:28 pm)
Re: [LAU] transform midi Control Change 7 into velocity even..., Dominic , (Mon Nov 24, 3:48 pm)
Re: [LAU] transform midi Control Change 7 into velocity even..., Philippe Hezaine, (Mon Nov 24, 11:31 pm)