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

From: Dominic Sacré <dominic.sacre@email-addr-hidden>
Date: Mon Nov 24 2008 - 17:43:35 EET

On Sunday 23 November 2008 18:33:17 Philippe Hezaine wrote:
> How do you uninstall the previous version? Is there some special way?

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
> and only kept a copy of the examples in my /home which is the one with
> the execution rights. Right?

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@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Nov 24 20:15:02 2008

This archive was generated by hypermail 2.1.8 : Mon Nov 24 2008 - 20:15:03 EET