Switching presets on the fly
-
- KVRist
- 149 posts since 31 Mar, 2014
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.
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.
- KVRian
- 763 posts since 11 Aug, 2014 from a hillside
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.
- KVRian
- 1372 posts since 28 Dec, 2012 from Meredith NH
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.
Mike
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;
}
}
}
Michael Schmalle
http://www.teotigraphix.com
Surfing on sine waves
Maschine4Bitwig - Studio, MK2, MikroMK2, MK1
http://www.teotigraphix.com/bitwig/maschine
http://www.teotigraphix.com
Surfing on sine waves
Maschine4Bitwig - Studio, MK2, MikroMK2, MK1
http://www.teotigraphix.com/bitwig/maschine
-
- KVRian
- 632 posts since 31 May, 2014
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.lem8r wrote: Anyway I would like to see such native functionality in future.
Last edited by c-wave on Sun Nov 09, 2014 10:14 pm, edited 1 time in total.
- KVRian
- 1372 posts since 28 Dec, 2012 from Meredith NH
I also wondered where hillside is and who is goatgirl. I know we all have an alias.goatgirl wrote:I took this one and made a few alterationsc-wave wrote:Goatgirl may i ask where did u get that cute little icon of yours from?
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
http://www.teotigraphix.com
Surfing on sine waves
Maschine4Bitwig - Studio, MK2, MikroMK2, MK1
http://www.teotigraphix.com/bitwig/maschine
- KVRian
- 763 posts since 11 Aug, 2014 from a hillside
I would love to tell you, but then, of course, I'd have to headbutt youTeotiGraphix wrote: I also wondered where hillside is and who is goatgirl. I know we all have an alias.
TeotiGraphix wrote: I have used my great powers of observation to summarize that goatgirl lives on a hillside.![]()
I am impressed
