Studio One 4 Script "select next Faderbank" (1-8, 9-16, etc.) possible?
-
- KVRist
- 331 posts since 2 Apr, 2013
Hi,
in Bitwig the Bitwig Studio Extension "Flexi DrivenByMoss" allows a Midicontroller with 8 Faders and Knobs to control many more Tracks. I assigned my 8 Faders and Knobs of my (old) PCR 500 to Volume and Pan of track 1 - 8. Repeating the command "Select Next Bank Page" the 8 Faders and Knobs are automatically assigned to track 9 - 16, 17 - 24, 25 - 32 and with "Select Previous Bank Page" i can go back, while the selected Bank is focussed.
Is that possible to achieve with a script in Studio One 4?
in Bitwig the Bitwig Studio Extension "Flexi DrivenByMoss" allows a Midicontroller with 8 Faders and Knobs to control many more Tracks. I assigned my 8 Faders and Knobs of my (old) PCR 500 to Volume and Pan of track 1 - 8. Repeating the command "Select Next Bank Page" the 8 Faders and Knobs are automatically assigned to track 9 - 16, 17 - 24, 25 - 32 and with "Select Previous Bank Page" i can go back, while the selected Bank is focussed.
Is that possible to achieve with a script in Studio One 4?
-
- KVRist
- 105 posts since 16 Nov, 2016
Yes, , you'll have to create a custom surface.xml with a Scrollbank element which can be controlled through a scroll button with a pageleft and pageright direction.
If you are familiar with Studio One's surface xml it's quite easy.
For example something like this
For <controls>
Faders
Pan
Scroll buttons
<Mappings> mapped in a <ScrollBank>
If you are familiar with Studio One's surface xml it's quite easy.
For example something like this
For <controls>
Faders
Code: Select all
<Control name="fader[0]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#21"/> </Control>
<Control name="fader[1]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#22"/> </Control>
<Control name="fader[2]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#23"/> </Control>
etc.
Code: Select all
<Control name="pan[0]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#31"/> </Control>
<Control name="pan[1]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#32"/> </Control>
<Control name="pan[2]" type="fader" options="transmit receive"> <MidiMessage status="#B0" address="#33"/> </Control>
etc.Code: Select all
<Control name="pageleft" type="trigger" options="receive"> <MidiMessage status="#B0" address="#0E"/> </Control>
<Control name="pageright" type="trigger" options="receive"> <MidiMessage status="#B0" address="#0F"/> </Control>Code: Select all
<DeviceMapping device="MixerConsole">
<ScrollBank target="RemoteBank" pagesize="8" name="MixerBank">
<foreach variable="$channel" count="8">
<!-- Strip items -->
<Strip>
<Value control="fader[$channel]" param="volume"/>
<Toggle control="pan[$channel]" param="selected"/>
</Strip>
</foreach>
<!-- Bank Scroll Buttons -->
<ScrollButton control="pageleft" direction="pageleft"/>
<ScrollButton control="pageright" direction="pageright"/>
</ScrollBank>
</DeviceMapping>-
- KVRist
- Topic Starter
- 331 posts since 2 Apr, 2013
Hi daw-one,
thank you very much! I am very much looking forward to it if i succeed, i can't say i am familiar, but ...
As i said, i already have "configured" a "Neues Keyboard.surface.xml. I will backup this one and make a new one with your example.
Is it possible to control the Scrollbank element through 2 buttons (1 for left(down) 1 for right (up) bank? I have only my srollwheel on the mouse.
I assume i have to delete all the control settings in the section "Controls" i have already made?
Where (position) do i have to put your example lines, please?
I mean especially the code of the section <Mappings> mapped in a <ScrollBank>, has it to be placed right after "ControlSurface", before the "Controls" section starts?
thank you very much! I am very much looking forward to it if i succeed, i can't say i am familiar, but ...
As i said, i already have "configured" a "Neues Keyboard.surface.xml. I will backup this one and make a new one with your example.
Is it possible to control the Scrollbank element through 2 buttons (1 for left(down) 1 for right (up) bank? I have only my srollwheel on the mouse.
I assume i have to delete all the control settings in the section "Controls" i have already made?
Where (position) do i have to put your example lines, please?
I mean especially the code of the section <Mappings> mapped in a <ScrollBank>, has it to be placed right after "ControlSurface", before the "Controls" section starts?
You do not have the required permissions to view the files attached to this post.
-
- KVRist
- Topic Starter
- 331 posts since 2 Apr, 2013
i don't understand why there are no midi channels in your example, like in my xml
"<Control name="controlb0002" title="Spur 1" type="fader" options="receive public">
<MidiMessage status="#B0" channel="0" address="#2"/>
</Control>
<Control name="controlb0102" title="Spur 2" type="fader" options="receive public">
<MidiMessage status="#B0" channel="1" address="#2"/>
</Control>"
"<Control name="controlb0002" title="Spur 1" type="fader" options="receive public">
<MidiMessage status="#B0" channel="0" address="#2"/>
</Control>
<Control name="controlb0102" title="Spur 2" type="fader" options="receive public">
<MidiMessage status="#B0" channel="1" address="#2"/>
</Control>"
-
- KVRist
- 105 posts since 16 Nov, 2016
The example is for two MIDI buttons.babyblue wrote: Wed Jan 23, 2019 8:26 pm Is it possible to control the Scrollbank element through 2 buttons (1 for left(down) 1 for right (up) bank? I have only my srollwheel on the mouse.
Not necessarily, as long as they don't use the same MIDI controllers as the ones used for the faders and pans.babyblue wrote: Wed Jan 23, 2019 8:26 pmI assume i have to delete all the control settings in the section "Controls" i have already made?
Within a <Mappings></Mappings> element after <Controls></Controls> before the </ControlSurface> closing tag.babyblue wrote: Wed Jan 23, 2019 8:26 pmWhere (position) do i have to put your example lines, please?
I mean especially the code of the section <Mappings> mapped in a <ScrollBank>, has it to be placed right after "ControlSurface", before the "Controls" section starts?
In your example MIDI is received from MIDI channel 1 (0) and channel 2 (1). In my example MIDI is received from all channels. But you can also add a channel if you like.babyblue wrote: Wed Jan 23, 2019 9:59 pm i don't understand why there are no midi channels in your example, like in my xml
You say you want to use it with a PCR 500, you do realize Studio One does not support pickup or soft take over? So when switching bank and moving a fader will result in a fader jump unless you use a touch strip, motorized fader or endless encoder.
-
- KVRist
- Topic Starter
- 331 posts since 2 Apr, 2013
Hi, i appreciate your helpfulness very much! Yes, jumping faders is a problem but not as big as my personal problem, my inabillity.
I made changes according your example to fader 1-3 (address #21, #22, #23) and buttons (left #14) and next (right #15) but nothing
happens, when i move the three faders or pressing the two buttons left/right
I made changes according your example to fader 1-3 (address #21, #22, #23) and buttons (left #14) and next (right #15) but nothing
happens, when i move the three faders or pressing the two buttons left/right
You do not have the required permissions to view the files attached to this post.
-
- KVRist
- 105 posts since 16 Nov, 2016
You use a <mapping> element. It should be <Mappings>, with an 's'.babyblue wrote: Thu Jan 24, 2019 5:45 pm I made changes according your example to fader 1-3 (address #21, #22, #23) and buttons (left #14) and next (right #15) but nothing
happens, when i move the three faders or pressing the two buttons left/right
Secondly your faders on your edirol are CC 21, 22 and 23 while in the surface file it are CC 33, 34 and 35 (hexadecimal 21, 22, 23). If you want to use CC 21, 22 or 23 you should use address="21" without the # in front or the hexadecimal address="#15" for CC 21. The later is PreSonus's standard.