@@ -186,7 +186,6 @@ def val(voltage):
186
186
accelerator_neg = int (acc_neg_val2 )
187
187
accWheel_neg = ControlChange (1 , accelerator_neg )
188
188
midi .send (accWheel_neg )
189
- print (accelerator_neg )
190
189
time .sleep (0.001 )
191
190
192
191
# if it isn't then get modulation MIDI data from pot
@@ -269,6 +268,8 @@ def val(voltage):
269
268
# send the NoteOn message that matches with the octave[i] array
270
269
# along with the velocity value
271
270
midi .send (NoteOn (octave [i ], velocity ))
271
+ # note number is printed to REPL
272
+ print (octave [i ])
272
273
# note state is updated
273
274
note_states [i ] = True
274
275
# updates strummer switch states
@@ -293,6 +294,8 @@ def val(voltage):
293
294
# send the NoteOn message that matches with the octave[i] array
294
295
# along with the velocity value
295
296
midi .send (NoteOn (octave [i ], velocity ))
297
+ # note number is printed to REPL
298
+ print (octave [i ])
296
299
# note state is updated
297
300
note_states [i ] = True
298
301
# updates strummer switch states
@@ -338,6 +341,8 @@ def val(voltage):
338
341
# send the NoteOn message that matches with the octave[i] array
339
342
# along with the velocity value
340
343
midi .send (NoteOn (octave [i ], velocity ))
344
+ # note number is printed to REPL
345
+ print (octave [i ])
341
346
# note state is updated
342
347
note_states [i ] = True
343
348
# delay to settle MIDI data
0 commit comments