From e641ae152e829fb52c4a7c42d388946e38d6513a Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sat, 3 Aug 2024 21:07:01 +0700 Subject: 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). --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile') 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) >$@ -- cgit v1.2.3-54-g00ecf