Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: AAC decoder in foobar2000 MUCH better than AVAudioPlayer's for low bitrates (Read 5581 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

AAC decoder in foobar2000 MUCH better than AVAudioPlayer's for low bitrates

Hi,

first post! I'm just finishing the implementation of a "folder-based" music player app for iOS (a la foobar2000), and I'm noticing that when playing back low bitrate (~ 64 kbps) AAC-encoded streams (in M4A), foobar2000 on Windows sounds SO much better than iOS's AVAudioPlayer that it's night and day. AVAudioPlayer is totally muffled and almost unbearable.

Anyone had similar experiences? Any settings you can tune in AVAudioPlayer? What decoder does foobar2000 use, lame?

Re: AAC decoder in foobar2000 MUCH better than AVAudioPlayer's for low bitrates

Reply #1
LAME is ENcoder, not DEcoder. And moreover, it's for mp3, not AAC :)))
AFAIK, foobar2000 uses ffmpeg-based decoders for most formats. If a player is correctly designed, there must not be much difference from the others in sound quality. I don't know mush about AVAudioPlayer. Taking it for granted that it sounds bad at low bitrates, the only explanation that comes to mind - HE-AAC decoding implementation is broken. Lack of high freq as result.

Re: AAC decoder in foobar2000 MUCH better than AVAudioPlayer's for low bitrates

Reply #2
Aac-he or AAC-lc? If HE, make sure you are configuring SBR decoding or your results will be poor.

 

Re: AAC decoder in foobar2000 MUCH better than AVAudioPlayer's for low bitrates

Reply #3
Aac-he or AAC-lc? If HE, make sure you are configuring SBR decoding or your results will be poor.

Thanks for the heads up! I'll have to check if this can be enabled manually on AVAudioPlayer. The file is indeed SBR. There seem to be other people having similar problems:

https://stackoverflow.com/questions/45801960/aws-elastic-transcoder-he-aac-sbr-in-ios