Mercurial > vba-clojure
comparison clojure/com/aurellem/run/music.clj @ 454:bf87b87a4ad7
exporting to midi file.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 03 May 2012 07:25:06 -0500 |
parents | 067ea3f0d951 |
children | 1c10fa8366a7 |
comparison
equal
deleted
inserted
replaced
453:8dc38aac21c7 | 454:bf87b87a4ad7 |
---|---|
8 (:import [com.aurellem.gb.gb_driver SaveState]) | 8 (:import [com.aurellem.gb.gb_driver SaveState]) |
9 (:import java.io.File)) | 9 (:import java.io.File)) |
10 | 10 |
11 (def third-kind | 11 (def third-kind |
12 (File. "/home/r/proj/midi/third-kind.mid")) | 12 (File. "/home/r/proj/midi/third-kind.mid")) |
13 | |
14 (def pony "/home/r/proj/vba-clojure/music/pony-title.mid") | |
13 | 15 |
14 (defn raw-midi-text [#^File midi-file] | 16 (defn raw-midi-text [#^File midi-file] |
15 (:out | 17 (:out |
16 (clojure.java.shell/sh | 18 (clojure.java.shell/sh |
17 "midicsv" | 19 "midicsv" |