Not sure if this is the right place to post this, but here it is anyway. :D
In order to make it possible to stop a song that is playing, I have split my song into multiple pieces and play them all consecutively. I can then request for it to stop as it reaches the end of the piece.
This becomes a problem due to the fact that I have to add the rtttl header to the beginning of each piece.
Would it be possible to add/change the method so that the header variables could be passed directly?
void speakerPlayRtttl_2(const char *song, int default_len, int default_octave, int bpm);
Or just have a header pointer?
void speakerPlayRtttl_3(const char *header,const char *song);