• # Mauvaise section

    Posté par . En réponse au message Format de fichier TSE3. Évalué à 6. Dernière modification le 25 août 2013 à 17:00.

    Là ils disent : "There is one event per line in the form TIME:TOP/BOTTOM where TIME, TOP and BOTTOM are integer values. "

    Time je peux comprendre, mais à quoi correspondent les top et bottom ? Quelqu'un a une idée ?

    Tu ne regardes pas la bonne section de la documentation, le format de ces lignes est décrit dans la section « Phrase chunk », juste en-dessous :

    There is one event per line in the form TIME:STATUS/DATA1/DATA2/CHANNEL/PORT where all values are integers. STATUS contains the MidiCommand status nybble, DATA1 and DATA2 contain the data bytes (which will not have bit 7 set), CHANNEL contains a value from 0-15 and PORT the computer MIDI port number to send the data on.

    Ainsi :

    0:12/26/0/0/0

    est un message Program Change (STATUS = 12), où 26 est le numéro de programme ;

    0:9/76/64/0/0-16:8/76/64/0/0 # E-6

    est un message Note On, où 76 est la note à émettre et 64 sa vélocité, suivi du message Note Off correspondant

    Tous ces messages étant émis sur le canal MIDI 0, sur le port MIDI 0.