hydrogen-music/hydrogen — pull request #33 by fredreichbier (2012-08-15 16:14:52+00:00)
Title: Added SELECT_NEXT_PATTERN_RELATIVE MIDI action

Hi there!

I'm using Hydrogen in a live environment for beats (works pretty well!). For that, I have created multiple patterns that should be played consecutively, but since our song structures change spontaneously, I'm using the pattern mode, not the song mode. I'd now like to select the next pattern with a MIDI controller, but don't want to use one pad for each pattern. So I've implemented a `SELECT_NEXT_PATTERN_RELATIVE` action that can be used to select the next pattern. The numeric parameter is interpreted as the offset of the new pattern (so a parameter of 0 doesn't make much sense, I'm using 1). I thought this might be of use for someone else, so I'm doing that pull request. :)