- self.synth.noteon(0, col.tone.midi, DEFAULT_MIDI_VELOCITY)
- SongPlayingScreen.setNoteTimeout(int(self.currentNote.duration * 600))
+ pan = self.getPan(col.index)
+ self.synth.cc(0, 10, pan)
+ vel = self.getVelocity(event.pos)
+ self.synth.noteon(0, col.tone.midi, vel)
+ SongPlayingScreen.setNoteTimeout(
+ int(self.currentNote.duration * \
+ self.quarterNoteDuration)
+ )