rickroll audio

This commit is contained in:
Brooke Vibber 2024-08-31 09:40:38 -07:00
parent 38a2732bea
commit 0bd3a428a7
2 changed files with 16 additions and 2 deletions

View file

@ -25,11 +25,23 @@ dubstep.wav : Dubstep_Loop_by_WinnieTheMoog.ogg
-ar 15704 \ -ar 15704 \
-y $@ -y $@
never-gonna-give-you-up.wav.s : never-gonna-give-you-up.wav pack-wav.js
node pack-wav.js $< $@
never-gonna-give-you-up.wav : never-gonna-give-you-up.mp4
ffmpeg -i "never-gonna-give-you-up.mp4" \
-vn \
-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 dubstep.wav.o atari-asm-xex.cfg %.xex : %.o dither4.o never-gonna-give-you-up.wav.o atari-asm-xex.cfg
ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o dubstep.wav.o $< ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o never-gonna-give-you-up.wav.o $<
clean : clean :
rm -f *.o rm -f *.o
@ -42,5 +54,7 @@ clean :
rm -f chickens.o rm -f chickens.o
rm -f dubstep.wav rm -f dubstep.wav
rm -f dubstep.wav.[so] rm -f dubstep.wav.[so]
rm -f never-gonna-give-you-up.wav
rm -f never-gonna-give-you-up.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

BIN
never-gonna-give-you-up.mp4 Normal file

Binary file not shown.