dubstep loop

This commit is contained in:
Brooke Vibber 2022-12-11 18:54:50 -08:00
parent 9ca396d27f
commit 444b1aed9c
3 changed files with 17 additions and 2 deletions

2
.gitignore vendored
View file

@ -11,3 +11,5 @@ sample*.s
*.s.mp4 *.s.mp4
chickens.wav chickens.wav
chickens.s chickens.s
dubstep.wav
dubstep.wav.*

Binary file not shown.

View file

@ -13,11 +13,22 @@ all : sample0.xex sample1.xex sample2.xex sample3.xex sample4.xex sample5.xex sa
chickens.s : chickens.wav pack-wav.js chickens.s : chickens.wav pack-wav.js
node pack-wav.js $< $@ node pack-wav.js $< $@
dubstep.wav.s : dubstep.wav pack-wav.js
node pack-wav.js $< $@
dubstep.wav : Dubstep_Loop_by_WinnieTheMoog.ogg
ffmpeg -i "Dubstep_Loop_by_WinnieTheMoog.ogg" \
-t 2.0 \
-acodec pcm_u8 \
-ac 1 \
-ar 15704 \
-y $@
%.o : %.s %.o : %.s
ca65 -v -t atari -o $@ $< ca65 -v -t atari -o $@ $<
%.xex : %.o dither4.o chickens.o atari-asm-xex.cfg %.xex : %.o dither4.o dubstep.wav.o atari-asm-xex.cfg
ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o chickens.o $< ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o dubstep.wav.o $<
clean : clean :
rm -f dither4.o rm -f dither4.o
@ -32,5 +43,7 @@ clean :
rm -f *.xex rm -f *.xex
rm -f chickens.s rm -f chickens.s
rm -f chickens.o rm -f chickens.o
rm -f dubstep.wav
rm -f dubstep.wav.[so]
.dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s chickens.s .dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s chickens.s