Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set HZ to 20

  • Loading branch information...
commit 358a2abb4339bacd6b1b7d58c587d5c203ea57a2 1 parent 4e47202
@vitek authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -5,7 +5,7 @@ CC = avr-gcc
OBJCOPY = avr-objcopy
MCU = atmega128
CPUFREQ = 1000000l
-TIMER_HZ= 100
+TIMER_HZ= 20
CFLAGS = -g3 -mmcu=$(MCU) -Os -DF_CPU=$(CPUFREQ) -DHZ=$(TIMER_HZ) -W -Wall
ASFLAGS = $(CFLAGS)
@@ -43,3 +43,6 @@ clean:
$(CC) -E $(CFLAGS) -S -g0 $^ -o $@
%.h: %.wav
./convert sample < $^ > $@
+
+%.8wav: %.wav
+ sox $< -c 1 --rate=12500 -1 $@

0 comments on commit 358a2ab

Please sign in to comment.
Something went wrong with that request. Please try again.