Makerfabs / Project_MakePython_Audio_Music

20 stars 7 forks source link

Unable to compile stops at line 213 #3

Open The-Valveman opened 1 year ago

The-Valveman commented 1 year ago

Hi I have tried to use this sketch as i want a music player that plays music form an SD card to incorporate into a receiver which has DAB/FM and an internet radio all these functions are working but i want to add SD card music playback function to this receiver but i have tried many Sd card music player sketches but seem to be hitting a brick wall. i downloaded the sketch from this github page but when i try to compile it it fails at line 213 with the error "Compilation error: no matching function for call to 'Audio::connecttoFS(fs::SDFS&, String&)' " I have installed all the libraries required. I have tested al my hardware and the audio library by using the example music player sketch included with the i2s audio library and that compiles ok and works but that example will be useless as you have to hard code the track you want to play so obviously the sketch will only play the track referenced to in the code

i tried to get the code to compile by commenting out line 213 and the code compiles ok but the player obvoiusly doesn't play but it reads the SD card ok and lists the songs that are on the SD card please help