#   ----------------------------------------------------------------------
#	run1
#   ----------------------------------------------------------------------
#
#   Mscore release 1.1
#
#   Description:
#
#   Example script for converting a MIDI file into an Mscore script
#
#
#	Usage:
#
#		run1 <midi file>  <name of score>

#
#	convert the midi file into a hex list
#
hexxer $1 tmp1.hex

#
#	strip any possible MS junk
#
cat tmp1.hex | awk -f stripd.awk > tmp1.txt

#
#	convert the hex list into a MIDI score
#
cat tmp1.txt | awk -f mid2score.awk > tmp11.txt
cat tmp11.txt | awk -f malign.awk > $2




