Support and General Use > Audio Playback, Database and Playlists

Pitch error in 48kHz mode

<< < (2/4) > >>

Mihail Zenkov:
~40 mHz for Opus and ~27 mHz for mp3 - 50% difference. When we play mp3 we can decode it at very low cpu frequency but for decoding opus we should boost cpu frequency time to time.
It not mean that your runtime will be less for 50% with opus but 20-30% can be expected.

asymsucon:
It still managed to last a week of medium usage on a single charge with 20% battery left.  :)
"Max. delay" encoding parameter seems to also affect decoding speed. As there's no sync or latency to worry about, perhaps increasing it a bit (to 50-100ms) might help with the CPU load.

saratoga:
Opus could use further optimization, it needs an unusual FFT length so it can't share the ones written for the other codecs.

asymsucon:
Until is this resolved, is it better to use 44.1kHz even for Opus, or to adjust pitch by -0.7%?

asymsucon:

--- Quote from: Mihail Zenkov on January 02, 2017, 06:28:28 AM ---With 48 kHz your runtime from battery will be less for ~8%.

--- End quote ---
If you don't mind me asking, what causes the consumption to rise by 8% ?
Assuming we're comparing two FLACs, one at 44.1k and one at 48k.
Would it be also possible to implement automatic switching based on source file sampling rate?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version