Skip to content

Commit 4f28079

Browse files
committed
Correct sine_wave typing to List[int]
1 parent b6af5a6 commit 4f28079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_rtttl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
pass
3333

3434
try:
35-
from typing import Optional, Union, Tuple
35+
from typing import Optional, Union, Tuple, List
3636
from audioio import AudioOut
3737
except ImportError:
3838
pass
@@ -102,7 +102,7 @@ def _parse_note(note: str, duration: int = 2, octave: int = 6) -> Tuple[str, flo
102102
return piano_note, note_duration
103103

104104

105-
def _get_wave(tune: str, octave: int) -> Tuple[sine.sine_wave, float]:
105+
def _get_wave(tune: str, octave: int) -> Tuple[List[int], float]:
106106
"""Returns the proper waveform to play the song along with the minimum
107107
frequency in the song.
108108
"""

0 commit comments

Comments
 (0)