It is my understanding that wav files contain the headers necessary for a program to adjust the audio settings for play, or to do the software process necessary to reformat the input to the audio device.
It doesn't make sense to have the wav headers if they aren't going to be used. Tell me if I'm wrong. I'm not very good at C but I'm willing to try to fix aucat to adjust wav output in response to the headers if that's something that seems like it's broken. But I did find an alternate solution. I just "-o /dev/audio0" in faad, and use "-f 2" (raw pcm); this works and seems to play at 44100 because it sounds good to me. Not sure how to check default playrate or change it via command line, so this works out of the box: gethsemane$ faad -f 2 -o /dev/audio Tori_Amos/The_Beekeeper/03*.m4a -- Code is poetry. > On Oct 24, 2023, at 21:03, Alexandre Ratchov <a...@caoua.org> wrote: > > On Tue, Oct 24, 2023 at 05:10:53PM +0600, Lucretia wrote: >> >> a bit off-topic, but: >> gethsemane$ faad -w Tori_Amos/The_Beekeeper/03* | aucat -i - -h wav >> makes Tori sound like Minnie Mouse. How can I fix this? >> > > you've make faad and aucat use the same data format, ex: > > faad -d -f2 -w foobar.m4a | aucat -e s16 -i - > > possibly use the -r option if the rate is not 48kHz (which is aucat > default). Alternatively, output in a temporary .wav file and play it > after it's decoded