Hm. The output in the serial monitor isn’t consistent. Here’s a list of the errors:
File Leia/tracks/01.wavLeia/tracks/02.wav not found.
File Caiwyn/tracks/01.wav not found.
File Obi-Wan/tracks/01.wavObi-Wan/tracks/02.wav not found.
File Luke/tracks/01.wavLuke/tracks/05.wav⸮ not found.
File Vader/tracks/01.wavVader/tracks/02.wav not found.
File Leia/tracks/01.wavLeia/tracks/02.wav not found.
File Caiwyn/tracks/01.wav⸮ not found.
File Obi-Wan/tracks/01.wav⸮ not found.
File Luke/tracks/01.wavLuke/tracks/05.wav not found.
File Vader/tracks/01.wavVader/tracks/02.wav not found.
File Luke/tracks/01.wavLuke/tracks/05.wav⸮ not found.
So sometimes it cats two lines together, sometimes it appends a stray character to the end, and sometimes it does both. The second line above is really weird because that looks like a valid filename. I don’t know why that instance didn’t work.
Adding current_track_[0] = [0]
to the constructor results in a compile error:
In file included from /home/sjweber/git/ProffieOS/ProffieOS.ino:591:
/home/sjweber/git/ProffieOS/props/saber_caiwyn_buttons.h:646:3: error: 'current_track_' does not name a type
646 | current_track_[0] = 0;
| ^~~~~~~~~~~~~~
exit status 1
Error compiling for board Proffieboard V2.