Comments (2)
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.
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)
- "Adafruit_VS1053.cpp" problem with "feather_player" exemple HOT 2
- record_ogg example does not support multiple recordings without reset HOT 2
- setVolume ranges? HOT 1
- Travis Build Broken HOT 1
- Error in compilation for Arduino Uno WiFi Rev2 HOT 2
- Compiler error when using a Arduino Nano Every (ATMega4809) HOT 4
- Problem with begin() HOT 1
- how to use the applyPatch() function? HOT 4
- Not really a issue but.. HOT 7
- custom SPI pins not working on ESP32 HOT 28
- Convert to BusIO HOT 1
- Strange error occurs once and again while using Music Maker
- Increase SPI clock? HOT 1
- Please fix sdfat HOT 4
- Does not work on ESP32 HOT 6
- Using SDfat on RP2040 (earlephilhower core) HOT 1
- Issue with Ogg Recording Example on VS1053 Breakout Board
- Playback stops (but not fully) when changing volume too quickly
- Possible Code Modifications for Adafruit_VS1053 Files
- Doesn't work with all memory cards
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_vs1053_library.