# HG changeset patch # User Robert McIntyre # Date 1346595855 18000 # Node ID bc2858781507098bfa4af3da323983bb3d8bd12a # Parent 31128a10ee282e73029f6e840d3e93f516fc1cd3 also write moves to vbm file. diff -r 31128a10ee28 -r bc2858781507 clojure/com/aurellem/run/final_cut.clj --- a/clojure/com/aurellem/run/final_cut.clj Sun Sep 02 09:20:09 2012 -0500 +++ b/clojure/com/aurellem/run/final_cut.clj Sun Sep 02 09:24:15 2012 -0500 @@ -21,15 +21,14 @@ moves-render-fn render-ram-map? initial-state - moves - - ] + moves] + (write-moves! moves (File. target-dir "rlm-yellow-hack.vbm")) (let [ram-map-dir (File. target-dir "ram-map") frames-dir (File. target-dir "frames") moves-dir (File. target-dir "moves") audio-file (File. target-dir "audio.wav") _ (.mkdir target-dir) - _ (.mkdir ram-map-dir) + _ (if render-ram-map? (.mkdir ram-map-dir)) _ (.mkdir frames-dir) _ (.mkdir moves-dir) wave-writer (WaveWriter. audio-file)