Skip to content

Commit cc16d00

Browse files
committed
updating folder name
taking spaces out of folder name and adding REPL print outs for note numbers
1 parent cafb581 commit cc16d00

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

MX MIDI Guitar/code.py renamed to MX_MIDI_Guitar/code.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def val(voltage):
186186
accelerator_neg = int(acc_neg_val2)
187187
accWheel_neg = ControlChange(1, accelerator_neg)
188188
midi.send(accWheel_neg)
189-
print(accelerator_neg)
190189
time.sleep(0.001)
191190

192191
# if it isn't then get modulation MIDI data from pot
@@ -269,6 +268,8 @@ def val(voltage):
269268
# send the NoteOn message that matches with the octave[i] array
270269
# along with the velocity value
271270
midi.send(NoteOn(octave[i], velocity))
271+
# note number is printed to REPL
272+
print(octave[i])
272273
# note state is updated
273274
note_states[i] = True
274275
# updates strummer switch states
@@ -293,6 +294,8 @@ def val(voltage):
293294
# send the NoteOn message that matches with the octave[i] array
294295
# along with the velocity value
295296
midi.send(NoteOn(octave[i], velocity))
297+
# note number is printed to REPL
298+
print(octave[i])
296299
# note state is updated
297300
note_states[i] = True
298301
# updates strummer switch states
@@ -338,6 +341,8 @@ def val(voltage):
338341
# send the NoteOn message that matches with the octave[i] array
339342
# along with the velocity value
340343
midi.send(NoteOn(octave[i], velocity))
344+
# note number is printed to REPL
345+
print(octave[i])
341346
# note state is updated
342347
note_states[i] = True
343348
# delay to settle MIDI data

0 commit comments

Comments
 (0)