earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
1.98k stars 432 forks source link

RTTTL: parse dot after octave #668

Closed foreshadow closed 2 months ago

foreshadow commented 4 months ago

According to RTTTL spec: https://www.mobilefish.com/tutorials/rtttl/rtttl_quickguide_specification.html

A dotted character (.) can be specified AFTER the duration-pitch-octave pair.

Before this change the note like a4. cannot be parsed and the tone ends.