Fix main-theme file naming
parent
8e70093fe6
commit
bea1d43a15
Binary file not shown.
Binary file not shown.
|
@ -18,4 +18,4 @@
|
||||||
(reset! state (edna/play! (read-music song))))
|
(reset! state (edna/play! (read-music song))))
|
||||||
|
|
||||||
(defmacro build-for-cljs []
|
(defmacro build-for-cljs []
|
||||||
(edna/edna->data-uri (read-music "main-theme")))
|
(edna/edna->data-uri (read-music "main_theme")))
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
(ns music.music)
|
|
||||||
|
|
||||||
[:piano {:octave 4
|
|
||||||
:tempo 74}
|
|
||||||
|
|
||||||
1/8 #{:-d :-a :e :f#} :a 1/2 #{:f# :+d}
|
|
||||||
1/8 #{:-e :e :+c} :a 1/2 #{:c :e :f}
|
|
||||||
|
|
||||||
1/8 #{:-d :-a :e :f#} :a :+d :+c# :+e :+d :b :+c#
|
|
||||||
1/2 #{:-e :c :a} 1/2 #{:c :e}]
|
|
|
@ -1,10 +0,0 @@
|
||||||
(ns music.songs.main-theme)
|
|
||||||
|
|
||||||
[:piano {:octave 4
|
|
||||||
:tempo 60}
|
|
||||||
|
|
||||||
1/8 #{:-d :-a :e :f#} :a 1/2 #{:f# :+d}
|
|
||||||
1/8 #{:-e :e :+c} :a 1/2 #{:c :e :f}
|
|
||||||
|
|
||||||
1/8 #{:-d :-a :e :f#} :a :+d :+c# :+e :+d :b :+c#
|
|
||||||
1/2 #{:-e :c :a} 1/2 #{:c :e}]
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
(ns music.songs.main-theme)
|
||||||
|
|
||||||
|
[:piano {:octave 4
|
||||||
|
:tempo 60}
|
||||||
|
|
||||||
|
#{:-d :-a :e :f#} :a #{:f# :+d}
|
||||||
|
#{:-e :e :+c} :a #{:c :e :f}
|
||||||
|
|
||||||
|
#{:-d :-a :e :f#} :a :+d :+c# :+e :+d :b :+c#
|
||||||
|
#{:-e :c :a} #{:c :e}]
|
|
@ -10,9 +10,15 @@ MUSIC_SOURCE_DIR="$ASSETS_DIR/source/music"
|
||||||
MUSIC_OUTPUT_DIR="$MUSIC_SOURCE_DIR/target"
|
MUSIC_OUTPUT_DIR="$MUSIC_SOURCE_DIR/target"
|
||||||
MUSIC_ASSETS_DIR="$ASSETS_DIR/music"
|
MUSIC_ASSETS_DIR="$ASSETS_DIR/music"
|
||||||
|
|
||||||
|
echo "Removing all wav files from $MUSIC_OUTPUT_DIR"
|
||||||
|
rm -f "$MUSIC_OUTPUT_DIR/"*.wav
|
||||||
cd $MUSIC_SOURCE_DIR
|
cd $MUSIC_SOURCE_DIR
|
||||||
|
|
||||||
|
echo "Building songs"
|
||||||
clj -M prod.clj soundtrack
|
clj -M prod.clj soundtrack
|
||||||
|
|
||||||
cd $OLDWD
|
cd $OLDWD
|
||||||
|
echo "Removing all wav files from $MUSIC_ASSETS_DIR"
|
||||||
|
rm -f "$MUSIC_ASSETS_DIR/"*.wav
|
||||||
mv "$MUSIC_OUTPUT_DIR/"*.wav "$MUSIC_ASSETS_DIR/"
|
mv "$MUSIC_OUTPUT_DIR/"*.wav "$MUSIC_ASSETS_DIR/"
|
||||||
|
echo "Moved all songs to $MUSIC_ASSETS_DIR"
|
||||||
|
|
Loading…
Reference in New Issue