aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2024-08-03 21:07:01 +0700
committerTomasz Kramkowski <tomasz@kramkow.ski>2024-08-03 21:07:01 +0700
commite641ae152e829fb52c4a7c42d388946e38d6513a (patch)
tree9c1ab442036e829743f9e55e63663e6c564b73f1 /GNUmakefile
parent8254d13bcd89939da8e25b0bcc1910f4c24647b2 (diff)
downloadbeeps-e641ae152e829fb52c4a7c42d388946e38d6513a.tar.gz
beeps-e641ae152e829fb52c4a7c42d388946e38d6513a.tar.xz
beeps-e641ae152e829fb52c4a7c42d388946e38d6513a.zip
Fix mp3 encoding to use VBR for non-awful quality
Fixed bitrate was not the intention initially and the quality was terrible. Seems there is no real file size or quality difference between 4 or 9 so stick with the default of 4 (make it explicit).
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 96d2e7a..430d4b9 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -27,7 +27,7 @@ mp3: $(mp3s)
oggenc --quiet --raw --raw-bits=8 --raw-chan=1 --raw-rate=8000 --quality=5 --artist=$(artist) --genre=$(genre) --date=$(year) --tracknum=$(call tracknum,$*) --title=$(call title,$*) --album=$(album) --output=$@ $<
%.mp3: %.pcm
- lame --quiet -r -s 8 --bitwidth 8 --unsigned -m m -q 5 --tt $(call title,$*) --ta $(artist) --tl $(album) --ty $(year) --tn $(call tracknum,$*) --tg $(genre) --noreplaygain $< $@
+ lame --quiet -r -s 8 --bitwidth 8 --unsigned -m m -V 4 --tt $(call title,$*) --ta $(artist) --tl $(album) --ty $(year) --tn $(call tracknum,$*) --tg $(genre) --noreplaygain $< $@
$(pcms): target/release/beeps GNUmakefile
$< $(duration) >$@