Feature Request(s)

Hey everyone!

New to GP, been making rigs for live performance in Ableton for over a decade, MIND BLOWN by the possibilities of GP. Also I’m a big big fan and promoter of MIDI Designer on the iPad; using that with GP is a dream come true.

However! This does not mean that I don’t have a feature request…or two.

I would love to create a knob and have it output program changes.

Also I would love to be able to have a button that could “bump” a knob up or down a value. If you had a knob that outputted program changes, and two buttons that “nudged” the knob up or down by a single value, you could scroll through patches using a MIDI foot controller while you played the patches with your hands.

You can assign Program Changes to the MIDI Input and/or MIDI Output blocks using a knob widget.

4 Likes

Easy to do this with GP Script

//$<AutoDeclare>
// DO NOT EDIT THIS SECTION MANUALLY
Var
   PCScroller : MidiInBlock
   ButtonUP : Widget
   ButtonDown : Widget
//$</AutoDeclare>

var
   CurrentPCNumber : integer = -1
      
// Called when a single widget value has changed
On WidgetValueChanged(newValue : double) from ButtonUP
    if newValue > 0.5 // Did we push down
       then        
          if CurrentPCNumber < 127
             then
                CurrentPCNumber = CurrentPCNumber + 1           
                SendNow(PCScroller, MakeProgramChangeMessage(CurrentPCNumber))
         end
      SetWidgetValue(ButtonUP, 0)
   end   
End
   
On WidgetValueChanged(newValue : double) from ButtonDown
    if newValue > 0.5 // Did we push down
       then        
          if CurrentPCNumber > 0
             then
                CurrentPCNumber = CurrentPCNumber - 1           
                SendNow(PCScroller, MakeProgramChangeMessage(CurrentPCNumber))
         end
      SetWidgetValue(ButtonDown, 0)
   end   
End

Here’s an example gigfile demonstrating the technique. Double click on the MIDI Monitor to see the PC numbers changing.

PCScroller.gig (62.0 KB)

6 Likes