Reading a midi file with Feather HUZZAH esp8266
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ElbyM
- Posts: 24
- Joined: Sun Sep 08, 2019 8:53 am
Reading a midi file with Feather HUZZAH esp8266
I'm trying to read a midi file using the Feather with VS1053 shield. My goal is to be perform additional actions (such as insert additional midi note-on) based on information in the file. I'm trying to use the MD_MIDIFile library to read/parse the file, but running into compile errors. A bit more detail here: https://forum.arduino.cc/t/problem-comp ... am/1009270 Can someone suggest a library that will work with the ESP8266 and let me read/process an SMF? Thanks!
- ElbyM
- Posts: 24
- Joined: Sun Sep 08, 2019 8:53 am
Re: Reading a midi file with Feather HUZZAH esp8266
The problem I'm seeing is not limited to MD_MIDIFile library. I'm trying to compile the feather_player sketch in the Adafruit VS1053 Library examples, and getting a whole series of error messages starting with:
I feel like I'm doing something dumb, but I'm just not seeing it. Help appreciated!
Code: Select all
In file included from C:\Users\Elby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SDFS\src/SDFS.h:36,
from C:\Users\Elby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SD\src/SD.h:25,
from C:\Users\Elby\Documents\Arduino\libraries\Adafruit_VS1053_Library\examples\feather_player\feather_player.ino:5:
C:\Users\Elby\Documents\Arduino\libraries\SdFat-master\src/SdFat.h:452:2: warning: #warning File not defined because __has_include(FS.h) [-Wcpp]
452 | #warning File not defined because __has_include(FS.h)
| ^~~~~~~
In file included from C:\Users\Elby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SD\src/SD.h:25,
from C:\Users\Elby\Documents\Arduino\libraries\Adafruit_VS1053_Library\examples\feather_player\feather_player.ino:5:
C:\Users\Elby\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SDFS\src/SDFS.h:232:5: error: 'sdfat' does not name a type
232 | sdfat::SdFat* getFs()
| ^~~~~
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Reading a midi file with Feather HUZZAH esp8266
It looks like your board support package is messed up. That can happen during upgrades.
Go to the directory:
and delete the folder named 'esp8266', then load the ESP8266 board support package again. Hopefully that will set things straight.
Go to the directory:
Code: Select all
C:\Users\Elby\AppData\Local\Arduino15\packages\
Please be positive and constructive with your questions and comments.