From 6b080bf6ec5ae448a8f9f04a2bedbe81e74fff61 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 10 Jul 2016 11:00:01 -0400 Subject: [PATCH] stop using pitch bend strip for shuttle control (it sucks, and messes up using it for MIDI performance) --- libs/surfaces/push2/push2.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index 508cf5783f..2cd2091f02 100644 --- a/libs/surfaces/push2/push2.cc +++ b/libs/surfaces/push2/push2.cc @@ -900,16 +900,6 @@ Push2::handle_midi_note_off_message (MIDI::Parser&, MIDI::EventTwoBytes* ev) void Push2::handle_midi_pitchbend_message (MIDI::Parser&, MIDI::pitchbend_t pb) { - if (!session) { - return; - } - - float speed; - - /* range of +1 .. -1 */ - speed = ((int32_t) pb - 8192) / 8192.0; - /* convert to range of +3 .. -3 */ - session->request_transport_speed (speed * 3.0); } void