From: David B. <dav...@gm...> - 2015-05-19 00:32:17
|
> Converting a simple midi file to text, manually adding some sysex messages before/after note events, and then converting back to midi should be straightforward. Thanks for pointing out the midicsv tools. I'm sure they will come in very handy. And now the good news. Timidity does indeed support the single note change. In fact it's even in the docs (README.mts) (oops!). I've attached a MIDI file that plays an A4 followed by a C4 but the A4 is tuned to a C4 so you should hear two middle-C's. (Note, in my MIDI file there is a spurious sysex command that is an artefact of my program but does not affect the playing of the file.) Running cvsmidi shows how to construct the proper sysex command. This is really great news and means that basically we can just send specific frequencies to MIDI and not mess with tuning tables or anything else. The next step is trying to understand how MIDI encodes its frequencies (it looks confusing to me but I'm sure I'll figure it out eventually). Dave On Mon, May 18, 2015 at 2:41 PM, A. Zimmer <and...@co...> wrote: > On Mon, 18 May 2015 14:27:12 -0700 > David Bellows <dav...@gm...> wrote: > >> > Construct a MIDI file containing such sysex messages and see if >> it will work. >> >> Unfortunately I don't know how to do this. I'm using this library: >> www.pjb.com.au/comp/lua/MIDI.html and it does provide for sending >> sysex commands but I'm unable to tell if I'm doing it correctly so I >> can't tell if it's not working or if I'm just not constructing the >> file correctly. >> > > You can check out midicsv: > > http://www.fourmilab.ch/webtools/midicsv/ > > This utility will parse a midi file and produce a text file > containing all the midi events. > > Also included is "csvmidi" which converts a text file (as above) > and converts it back into midi. > > Converting a simple midi file to text, manually adding some sysex > messages before/after note events, and then converting back to midi > should be straightforward. > > AZ > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Timidity-talk mailing list > Tim...@li... > https://lists.sourceforge.net/lists/listinfo/timidity-talk |