circulartext commited on
Commit
66f3f0b
·
verified ·
1 Parent(s): 7a06b4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ COLUMN_DURATION = 1 # Duration of each column in seconds
12
  # Mapping of matrix numbers to musical notes
13
  notes = ["A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#"]
14
  note_map = {2: "A", 3: "A#", 4: "B", 5: "C", 6: "C#", 7: "D", 8: "D#", 9: "E",
15
- 10: "F", 11: "F#", 12: "G", 13: "G#"]
16
 
17
  def generate_tone(note, duration):
18
  """Generates a tone for a specified note and duration."""
 
12
  # Mapping of matrix numbers to musical notes
13
  notes = ["A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#"]
14
  note_map = {2: "A", 3: "A#", 4: "B", 5: "C", 6: "C#", 7: "D", 8: "D#", 9: "E",
15
+ 10: "F", 11: "F#", 12: "G", 13: "G#"}
16
 
17
  def generate_tone(note, duration):
18
  """Generates a tone for a specified note and duration."""