Switching presets on the fly

Official support for: bitwig.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi!
Is there any way to switch presets of a sampler or drum machine in live situation triggering some midi clip with automation?

I have live set with one extra channel having drum machine container to play along with a track. I wan to switch presets of a drum machine with scene launch button to change samples for each song. Or map some controller button/rotary for this purpose.

Post

I have the Launchkey mini (using Launchkey 49 script) and in one of the modes there, you can cycle through presets on Bitwig devices, so it should be possible. Though I have not examined the code to see what is needed.

Post

To actually switch a preset from a controller, you would need a bit of script since its in the API and there is nothing to my knowledge with MIDI learn in the DAW for changing a preset.

Pseudo code that would get the job done, minus errors from my over critical brain. :)

Code: Select all

var CC_NEXT_DEVICE = 42;
var CC_PREV_DEVICE = 43;

var cursorDevice = null;

function init ()
{
    cursorDevice = host.createEditorCursorDevice ();
}

function onMidi (status, data1, data2)
{
    // only iff MIDI cc is 42, 43 and the value sent is 127
    if (isChannelController (status) && data2 == 127)
    {
        switch (data1)
        {
            case CC_NEXT_DEVICE:
                cursorDevice.switchToNextPreset ();
                break;
            case CC_PREV_DEVICE:
                cursorDevice.switchToPreviousPreset ();
                break;
        }
    }
}
Mike
Michael Schmalle
http://www.teotigraphix.com
Surfing on sine waves

Maschine4Bitwig - Studio, MK2, MikroMK2, MK1
http://www.teotigraphix.com/bitwig/maschine

Post

That was my plan B)
Thanks!

Anyway I would like to see such native functionality in future.

Post

lem8r wrote: Anyway I would like to see such native functionality in future.
Ditto! For built-in patches I can do that with my Nektar already, but cannot do the same to access the programs newly introduced in BW beta.
Last edited by c-wave on Sun Nov 09, 2014 10:14 pm, edited 1 time in total.

Post

goatgirl wrote:I have the Launchkey mini (using Launchkey 49 script)
I use the same, great little keyboard for bitwig! :phones:

Post

Inf1ux wrote: I use the same, great little keyboard for bitwig! :phones:
Nice one :party:

Post

Goatgirl may i ask where did u get that cute little icon of yours from?

Post

c-wave wrote:Goatgirl may i ask where did u get that cute little icon of yours from?
I took this one and made a few alterations :)

Post

goatgirl wrote:
c-wave wrote:Goatgirl may i ask where did u get that cute little icon of yours from?
I took this one and made a few alterations :)
I also wondered where hillside is and who is goatgirl. I know we all have an alias. :)

I have used my great powers of observation to summarize that goatgirl lives on a hillside. ;-)

Mike
Michael Schmalle
http://www.teotigraphix.com
Surfing on sine waves

Maschine4Bitwig - Studio, MK2, MikroMK2, MK1
http://www.teotigraphix.com/bitwig/maschine

Post

TeotiGraphix wrote: I also wondered where hillside is and who is goatgirl. I know we all have an alias. :)
I would love to tell you, but then, of course, I'd have to headbutt you :hihi:
TeotiGraphix wrote: I have used my great powers of observation to summarize that goatgirl lives on a hillside. ;-)

I am impressed :)

Post Reply

Return to “Bitwig”