Skip to content

Commit cf38fdf

Browse files
committed
added version string to .py
1 parent c5fb091 commit cf38fdf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

adafruit_rtttl.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* Author(s): Scott Shawcroft
2929
"""
3030

31+
__version__ = "0.0.0-auto.0"
32+
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_RTTTL"
33+
3134
import time
3235
from adafruit_waveform import sine
3336
import audioio
@@ -62,7 +65,8 @@
6265
"7c#": 2217.5}
6366

6467
def _get_wave(tune, octave):
65-
"""Returns the proper wave to play the song
68+
"""Returns the proper waveform to play the song along with the minimum
69+
frequency in the song.
6670
"""
6771
min_freq = 13000
6872

@@ -85,7 +89,7 @@ def _get_wave(tune, octave):
8589

8690
#pylint: disable-msg=too-many-arguments
8791
def _play_to_pin(tune, base_tone, min_freq, duration, octave, tempo):
88-
"""Using the prepare input send the notes to the pin
92+
"""Using the prepared input send the notes to the pin
8993
"""
9094
for note in tune.split(","):
9195
piano_note = None

0 commit comments

Comments
 (0)