2021-03-16 12:51 AM
Inquiries regarding spiritDSP.
We are implementing mp3 with DAC DMA using SpiritDSP.
The time to play depends on the samplerate and bitrate of the mp3 file.
The original time is 3 minutes and 10 seconds,
The playback time is different as shown below.
The capacity of the mp3 file was converted to the same BitRate without any difference even if the SampleRate was different.
There is a phenomenon that the time to output the same capacity at DAC output varies depending on the sample rate.
SampleRate is set as Timer, but is there a part that should be set separately?
We need help from many users.
2021-03-16 01:01 AM
I don't know spiritDSP.
Perhaps you have a performance issue, and the DAC output interrupt gets deferred by conversion routines.
Did you try a profiler run ?
2021-03-16 01:16 AM
using STM32F405RG.
The DAC cycle is output to timer and is processing DMA.