[gsharp-devel] Can I import *.midi or *.mid or a sequence from CM in gsharp

Robert Strandh strandh at labri.fr
Thu Mar 23 01:28:26 UTC 2006


Hello, 

Thanassis Zervopoulos writes:
 >   I've tried to save some notes and I saw that the format wasn't midi or mid
 > and I have some music recorded with CM (portmidi-record),I'm not sure if I
 > can pass a seq or even a midi,mid file directly to gsharp

No you can't.  The simple reason is that MIDI is both more general and
less general than classic music notation.

It is more general in that it encodes performance aspects that are
typically not encoded in the written score (such as short pauses
between notes or, on the contrary, short overlaps between two adjacent
notes).  It is less general in that it cannot distinguish between a
sharp note and a flat version of one note higher and many other
aspects of traditional music notation. 

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------



More information about the gsharp-devel mailing list