Following the NyQuist MIDI Tutorial, step by step, I ended with an abnormal program termination with a message saying “cause called with bad routine address: 0x808e4ed”.
Step to reproduce.
Copy the attached MIDI file in a directory.
Open a console in that directory.
Start the NY interpreter.
Run this in turn:
(setf my-seq (seq-create))
(setf midi-file (open-binary "demo.mid"))
(seq-read-smf my-seq midi-file)
(setf midi-file (open-binary "copy.mid" :direction :output))
(seq-write-smf my-seq midi-file)
There, the “copy.mid” file should be a copy of the scores contained in “demo.mid”, which is 1601 bytes long, but “copy.mid” is only 37 bytes long, NY exits and I get the error “cause called with bad routine address: 0x808e4ed”.