Giter VIP home page Giter VIP logo

Comments (2)

geekfactory avatar geekfactory commented on June 27, 2024 1

Hi @TheNitek I tested by raising the interrupt priority for the SysTick on the arduino core initialization and lowered the priority for the external interrupts (used by the VS1053 library). Now the code works as expected but still not convinced of this because involves messing with the Arduino core.

Feeding the buffer inside the main loop is the easiest solution, but because most of the Arduino libraries implement some kind of blocking behavior (specially the networking ones). Doing the buffer on the main loop doesn´t looks like the best approach, especially on complex projects that might include such libraries.

from adafruit_vs1053_library.

TheNitek avatar TheNitek commented on June 27, 2024

On my ESP8266 I do not use the interrupts and feed the buffer inside of the main loop. Works great (also I did not try 320kps MP3s yet) and my guess would be that it solves your problem, so why not give it a try? Should be an easy fix.

from adafruit_vs1053_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.