MIDI file player?
Posted: Fri Jun 26, 2020 2:51 pm
Hi all,
I am in search of a simple midi file player that I could use in my project, so was looking at https://github.com/JBSchueler/arduino-midi-player_stm32.
The problem is that the sketch won't compile for my STM32F401. Among other errors it is complaining about the HardwareTimer
The code also seems to be using uint8 and uint16 instead of uint8_t and uint16_t
So my question is: Is there a simple way to get this code to work for my core or would I need to 'port' the code?
Remember: I am a newbie so please please little words in your answers *chuckle*
PS. If you happen to know of another midi file player sketch that I could use, please let me know that as well
I am in search of a simple midi file player that I could use in my project, so was looking at https://github.com/JBSchueler/arduino-midi-player_stm32.
The problem is that the sketch won't compile for my STM32F401. Among other errors it is complaining about the HardwareTimer
Code: Select all
arduino-midi-player_stm32:43:24: error: invalid conversion from 'int' to 'TIM_TypeDef*' [-fpermissive]
43 | HardwareTimer pwmtimer(3);
So my question is: Is there a simple way to get this code to work for my core or would I need to 'port' the code?
Remember: I am a newbie so please please little words in your answers *chuckle*
PS. If you happen to know of another midi file player sketch that I could use, please let me know that as well
