Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #47 from MiguelGuthridge/v2.1.1-fix
Browse files Browse the repository at this point in the history
V2.1.1 fix
  • Loading branch information
MaddyGuthridge authored Jan 13, 2021
2 parents e16973d + cb73964 commit 8f9b347
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/shifts/recordshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def process(self, command):
if command.is_lift:
coord = command.getPadCoord()
if coord == (0, 0):
beat.toggleMetronome()
transport.globalTransport(eventconsts.midi.FPT_Metronome, True)
command.handle("Toggled metronome")
self.use()

Expand Down
12 changes: 6 additions & 6 deletions pluginprocessors/processplugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ def redraw(lights):
def process(command):

# REQUIRES SCRIPTING VERSION 8
#if general.getVersion() >= 8:
# Process pitch bend wheel
if command.id == eventconsts.PITCH_BEND:
current_channel = channels.selectedChannel()
channels.setChannelPitch(current_channel, processorhelpers.toFloat(command.value, -1, 1))

if general.getVersion() >= 8:
# Process pitch bend wheel
if command.id == eventconsts.PITCH_BEND:
current_channel = channels.selectedChannel()
channels.setChannelPitch(current_channel, processorhelpers.toFloat(command.value, -1, 1))
# Process master fader changing selected channel volume.
if command.id == eventconsts.BASIC_FADER_9:
current_channel = channels.selectedChannel()
Expand Down

0 comments on commit 8f9b347

Please sign in to comment.