Skip to main content
Visitor II
March 16, 2021
Question

Inquiries about spiritDSP

  • March 16, 2021
  • 2 replies
  • 1108 views

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.

    This topic has been closed for replies.

    2 replies

    Explorer
    March 16, 2021

    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 ?

    sbaek.11Author
    Visitor II
    March 16, 2021

    ​using STM32F405RG.

    The DAC cycle is output to timer and is processing DMA.