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

Philippe Hezaine philippe.hezaine at free.fr
Mon Nov 24 11:25:18 EST 2008


Dominic Sacré a écrit :
> 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

Fabulous! I'm going to try it quickly.
For the news i tested Rsgd -> mididings -> qtractor. Exactly the same 
good results up to now. But surprisingly qtractor -> mididings -> Rsgd 
give me all the velocities at 64. ( but it's with the old version. )

Cheers
-- 
   Phil.
Superbonus-Project (Site principal) <http://superbonus.project.free.fr>

Superbonus-Project (Plate-forme d'échange):
<http://philippe.hezaine.free.fr>



More information about the Linux-audio-user mailing list