Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: play mp3 from an SD card and read data "simultaneously"

  1. #1
    Junior Member
    Join Date
    Apr 2021
    Posts
    8

    play mp3 from an SD card and read data "simultaneously"

    Hello,

    I've searched some things now but couldn't find anything. Is it possible to play audio from an SD card with Frank's mp3 player and read data from another file "simultaneously"?
    Are there any examples?

    Many thanks for your help

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,283
    Quote Originally Posted by constantin7 View Post
    Hello,

    I've searched some things now but couldn't find anything. Is it possible to play audio from an SD card with Frank's mp3 player and read data from another file "simultaneously"?
    Are there any examples?

    Many thanks for your help
    Hi,
    I never tried that.
    The code uses the SD from an interrupt, so I'd expect problems.
    You can try to surround your code by AudioNoInterrupts() [..] AudioInterrupts()n and make sure it computes in less time than an audio block..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •