ftp.nice.ch/pub/next/audio/converter/midiToCsound.README

This is the README for midiToCsound.1.N.b.tar.gz [Download] [Browse] [Up]

mcnv (midi convertor)
No rights reserved. 1991

This will convert from standard midifiles to Csound (music-11), cmusic
or NED's late Synclavier script

This is an example of the output in csound fmt. Track 1 simply contains
a tempo statement. Track 2 are some of the events in 8.pc fmt. There is a 
switch to display pitch in Hertz.
The commented values are the actual midi values for note number and velocity.  
The velocity values can be scaled to a logarithmic or exponential curve with 
the slider.  F.R. Moore's book talks about this algorithm.

; midi file: /smf/scucc.mid

;	Track 1

t 0.00 70 
;	Track 2

	i2    0.000    0.250     8.10    20736    	; 70 81    
	i2    0.250    0.250     8.09    20736    	; 69 81    
	i2    0.500    0.250     8.10    20736    	; 70 81    
	i2    0.750    0.250     9.00    20736    	; 72 81    

etc.

I've tried this on several midifiles; the NeXT examples, some from Cakewalk (tm)
a pc sequencer and the Chopin example that comes with the Macintosh Performer.

It's not really slick; it was my first NeXTstep program from 2 years ago.
When the conversion is taking place you just get the spinning disk icon.
I've just tried it under NS 3.0 and it seems to be still ok. 
I didn't know about the NeXT midi parsing routines so what is there can only
be blamed on me.  If you find bugs or have suggestions, let me know. 
If you find it useful let me know too.


Gene De Lisa
February 13, 1993
gene@vortech.com

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.