hidden-markov-music.music.music
midi?
(midi? extension)
Returns true if the extension is a recognized midi extension. Only recognizes .mid and .midi extensions, and is case insensitive.
parse-filename-input
(parse-filename-input file-name)
Parses music from the filename. If the filename has a known extension, it is parsed accordinly, otherwise it returns a seq of the lines of the file.
Known formats: midi
parse-filename-output
(parse-filename-output file-name notes)
Saves the output to a file, formatting it according to the extension in the filename.