home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-3 / Audio / converter / midiToCsound.README < prev   
Encoding:
Text File  |  1996-11-09  |  1.4 KB  |  42 lines

  1. mcnv (midi convertor)
  2. No rights reserved. 1991
  3.  
  4. This will convert from standard midifiles to Csound (music-11), cmusic
  5. or NED's late Synclavier script
  6.  
  7. This is an example of the output in csound fmt. Track 1 simply contains
  8. a tempo statement. Track 2 are some of the events in 8.pc fmt. There is a 
  9. switch to display pitch in Hertz.
  10. The commented values are the actual midi values for note number and velocity.  
  11. The velocity values can be scaled to a logarithmic or exponential curve with 
  12. the slider.  F.R. Moore's book talks about this algorithm.
  13.  
  14. ; midi file: /smf/scucc.mid
  15.  
  16. ;    Track 1
  17.  
  18. t 0.00 70 
  19. ;    Track 2
  20.  
  21.     i2    0.000    0.250     8.10    20736        ; 70 81    
  22.     i2    0.250    0.250     8.09    20736        ; 69 81    
  23.     i2    0.500    0.250     8.10    20736        ; 70 81    
  24.     i2    0.750    0.250     9.00    20736        ; 72 81    
  25.  
  26. etc.
  27.  
  28. I've tried this on several midifiles; the NeXT examples, some from Cakewalk (tm)
  29. a pc sequencer and the Chopin example that comes with the Macintosh Performer.
  30.  
  31. It's not really slick; it was my first NeXTstep program from 2 years ago.
  32. When the conversion is taking place you just get the spinning disk icon.
  33. I've just tried it under NS 3.0 and it seems to be still ok. 
  34. I didn't know about the NeXT midi parsing routines so what is there can only
  35. be blamed on me.  If you find bugs or have suggestions, let me know. 
  36. If you find it useful let me know too.
  37.  
  38.  
  39. Gene De Lisa
  40. February 13, 1993
  41. gene@vortech.com
  42.