On Thursday 20 November 2008 15:14:00 Philippe Hezaine wrote:
I suppose by "velocity events" you mean the velocity values of subsequent
note-on events?
> I thought about mididings. I'm able to run and appreciate it at home but
I'm not sure mididings is the right tool for the job. The Python code to
transform the events would be quite simple, but mididings doesn't support
reading/writing MIDI files (yet?). You could of course use a separate MIDI
player/recorder, and route the events through mididings, but you'd lose all
meta information (tempo, time signature, etc.) from the original file.
Having said that, I don't really know a better solution.
midish (http://caoua.org/midish/) can import/export MIDI files, but I'm not
sure how/if it can do the transformation you want.
> PS. I join an example with my post. If you open it in a sequencer and
As far as I can see, all tracks in your MIDI file are on the same channel,
so CC #7 messages on one track will affect the other tracks as well. You
should probably assign a different channel to each track.
Cheers,
Dominic
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.