[Linux-bruxelles] midicomp (sortie typescript)
Aldo
info at brlspeak.net
Mer 10 Juil 22:30:07 CEST 2013
Histoire de faire un screenshot, voici un typescript avec les commandes que
je pense correctes, pour convertir via midicomp un fichier .mid type 1 vers
ascii puis l'inverse en sachant ue ça sauve en type 0
(NB: les fichiers .mid type 1 ont des pistes separées, le type 0 possède
tout sur une track, notes, info etc.
Qq'un a-til idée de ce que la faute (msg d'err) signifie ?
Aldo.
--
| Verstuurd vanaf mijn GNU/Linux | Envoyé de mon GNU/Linux |
| ----------------- Sent from GNU/Linux ------------------ |
-------------- section suivante --------------
Script started on wo 10 jul 2013 22:13:39 CEST
aldo at asteroid:/tmp/mmm$ midicomp --help
midicomp v0.0.1 20031129 markc at renta.net
http://alsa.opensrc.org/midicomp/
Command line argument usage:
-d --debug send any debug output to stderr
-v --verbose output in columns with notes on
-c --compile compile ascii input into SMF
-n --note note on/off value as note|octave
-t --time use absolute time instead of ticks
-fN --fold=N fold sysex data at N columns
To translate a SMF file to plain ascii format:
midicomp some.mid # to view as plain text
midicomp some.mid > some.asc # to create a text version
To translate a plain ascii formatted file to SMF:
midicomp -c some.asc some.mid # input and output filenames
midicomp -c some.mid < some.asc # input from stdin with one arg
midicomp some.mid | somefilter | midicomp -c some2.mid
aldo at asteroid:/tmp/mmm$ midicomp billy_joel-new_york_state_of_mind.mid >b.asc
Error: didn't find expected continuation of a sysex
aldo at asteroid:/tmp/mmm$ midicomp -d -v billy_joel-new_york_state_of_mind.mid >b.asc
main()
efopen(billy_joel-new_york_state_of_mind.mid,rb)
Error: didn't find expected continuation of a sysex
aldo at asteroid:/tmp/mmm$ midicomp billy_joel-new_york_state_of_mind.mid
MFile 1 15 480
MTrk
Error: didn't find expected continuation of a sysex
aldo at asteroid:/tmp/mmm$ file billy_joel-new_york_state_of_mind.mid
billy_joel-new_york_state_of_mind.mid: Standard MIDI data (format 1) using 15 tracks at 1/480
aldo at asteroid:/tmp/mmm$
Script done on wo 10 jul 2013 22:16:52 CEST
Plus d'informations sur la liste de diffusion Linux-bruxelles