Skip to content

Commit 38beba9

Browse files
initial repo load
1 parent 00017e8 commit 38beba9

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

examples/note_in_example.py renamed to examples/punkconsole_note_in_example.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@
1111
import time
1212
import board
1313
import analogio
14-
import pwmio
1514
from simpleio import map_range
15+
1616
# Note converters: https://github.com/CedarGroveStudios/Unit_Converter
1717
from cedargrove_unit_converter.music_MIDI import note_or_name, note_to_frequency
1818
from cedargrove_punk_console import PunkConsole
1919

2020
# note name, beats
2121
notes = [
22-
('C5', 0.25),
23-
('E5', 0.25),
24-
('G5', 0.25),
25-
('C6', 0.25),
26-
('B5', 0.25),
27-
('G5', 0.25),
28-
('F5', 0.25),
29-
('D5', 0.25),
22+
("C5", 0.25),
23+
("E5", 0.25),
24+
("G5", 0.25),
25+
("C6", 0.25),
26+
("B5", 0.25),
27+
("G5", 0.25),
28+
("F5", 0.25),
29+
("D5", 0.25),
3030
]
3131

3232
tempo = 120 # beats-per-minute

examples/punkconsole_stereo_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import board
1414
import analogio
15-
import pwmio
1615
from simpleio import map_range
1716
from cedargrove_punkconsole import PunkConsole
1817

0 commit comments

Comments
 (0)