Remote SL knobs instead of encoders script , it's working ..

Discuss music production with Ableton Live.
Post Reply
mr-e
Posts: 344
Joined: Thu Dec 30, 2004 7:43 am

Remote SL knobs instead of encoders script , it's working ..

Post by mr-e » Fri Oct 27, 2006 1:52 pm

Hi,
wrote a little User Remote Script that allows the knobs of the Remote SL to be used in automap ... alongside the default automap sliders, buttons , encoders ...

Save the script below as "documents and settings\username\application data\ableton\live 6.0.1\preferences\user remote scripts\MyRemoteSlScript\UserConfiguration.txt"
(mac users : sry , don't know where the ableton\preferences dir is located ... shouldn't be hard to find)

next:
- go to your ableton preferences --> midi
- leave the remote sl settings as they are
- select "MyRemoteSlScript" as your second control surface
- input : remote sl midi[2]
- output : remote sl midi[2]

note:
if you want to use your knobs for midi mapping : copy your SL template to a second template in the remote SL with different CC's for the knobs -> by switching templates you can choose to use automap for the knobs or not while keeping automap functionality for the other sliders , buttons , encoders ...

the script:

Code: Select all

# Config File for User-defined Instant Mappings

# We assume that the controls on your MIDI controller
# send CCs. All controls, except the sliders for volume
# and the encoders for device parameters, are expected 
# to use the global channel. CCs are counted from 0-127 
# and channels from 0-15.

[Globals]
# The channel that the controller should send on
GlobalChannel: 0
# If your controller is connected via USB, replace ControllerName
# with the name of the respective port. Live will then try to 
# recognize the ports for you when you select your Instant-Mappings
InputName: REMOTE SL MIDI [2]
OutputName: REMOTE SL MIDI [2]

[DeviceControls]
# The Encoders will control the device parameters (you can also
# use knobs or sliders). Replace the -1's with the CCs sent by 
# the respective controls on your controller. You can also set
# the channel for each controller if it differs from the global
# channel (if you leave the channel of an encoder at -1, Live
# will assume that the encoder uses the global channel).
Encoder1: 8
Encoder2: 9
Encoder3: 10
Encoder4: 11
Encoder5: 12
Encoder6: 13
Encoder7: 14
Encoder8: 15
EncoderChannel1: -1
EncoderChannel2: -1
EncoderChannel3: -1
EncoderChannel4: -1
EncoderChannel5: -1
EncoderChannel6: -1
EncoderChannel7: -1
EncoderChannel8: -1
# Enter the respective map mode for the encoders here. The following
# map modes are available:
# - Absolute
# - Absolute14Bit
# - LinearSignedBit 
# - LinearSignedBit2
# - LinearTwoCompliment
# - LinearBinaryOffset
# - AccelSignedBit 
# - AccelSignedBit2
# - AccelTwoCompliment
# - AccelBinaryOffset
# Consult the controller's documentation to find out which mode to use.
EncoderMapMode: Absolute
# Buttons used here are expected to not be toggles (i.e., sending 
# value 0 every second time you press it).
Bank1Button: -1
Bank2Button: -1
Bank3Button: -1
Bank4Button: -1
Bank5Button: -1
Bank6Button: -1
Bank7Button: -1
Bank8Button: -1
NextBankButton: -1
PrevBankButton: -1
LockButton: -1

[MixerControls]
# Again enter the appropriate CCs for the respective controls.
# If all sliders use the global channel to send their data,
# you can leave the channels at -1. You can, of course, use
# encoders or knobs instead of sliders.
VolumeSlider1: -1
VolumeSlider2: -1
VolumeSlider3: -1
VolumeSlider4: -1
VolumeSlider5: -1
VolumeSlider6: -1
VolumeSlider7: -1
VolumeSlider8: -1
Slider1Channel: -1
Slider2Channel: -1
Slider3Channel: -1
Slider4Channel: -1
Slider5Channel: -1
Slider6Channel: -1
Slider7Channel: -1
Slider8Channel: -1
MasterVolumeSlider: -1
MasterSliderChannel: -1
Send1Knob1: -1
Send1Knob2: -1
Send1Knob3: -1
Send1Knob4: -1
Send1Knob5: -1
Send1Knob6: -1
Send1Knob7: -1
Send1Knob8: -1
Send2Knob1: -1
Send2Knob2: -1
Send2Knob3: -1
Send2Knob4: -1
Send2Knob5: -1
Send2Knob6: -1
Send2Knob7: -1
Send2Knob8: -1
TrackArmButton1: -1
TrackArmButton2: -1
TrackArmButton3: -1
TrackArmButton4: -1
TrackArmButton5: -1
TrackArmButton6: -1
TrackArmButton7: -1
TrackArmButton8: -1
VolumeMapMode: Absolute
SendsMapMode: Absolute

[TransportControls]
# The transport buttons are also expected not to be toggles.
StopButton: -1
PlayButton: -1
RecButton: -1
LoopButton: -1
RwdButton: -1
FfwdButton: -1

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Re: Remote SL knobs instead of encoders script , it's workin

Post by slzero » Thu Nov 02, 2006 2:02 am

mr-e wrote:Hi,
wrote a little User Remote Script that allows the knobs of the Remote SL to be used in automap ... alongside the default automap sliders, buttons , encoders ...
m-re, this one is to use SL knobs instead of encoders.
Can you tell me in specifics, how do you go about adding new controls instead of replacing in automap?

DeadlyKungFu
Posts: 3603
Joined: Tue Aug 09, 2005 8:26 pm

Post by DeadlyKungFu » Thu Nov 02, 2006 2:07 am

there are two .txt files here
C:\Program Files\Ableton\Live 6.0.1\Resources\MIDI Remote Scripts\_Tools
that the Abes wrote to show people how to make their own automaps. So, you can change, add and tweak your automaps.

I haven't had time to check this out, seems pretty straightforward. It'll be great to see some user developed maps. Hell, you could have different automaps on different presets!! 80

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Post by slzero » Thu Nov 02, 2006 4:20 am

DeadlyKungFu wrote:
I haven't had time to check this out, seems pretty straightforward.

DeadlyKungFu, you are right! Most of it indeed seems straightforward.
I am still not very clear on it yet for mapping controls, yet.
Can you help me with one thing though.

Can you give me specific example of what I should put in that script to map a button to do a SOLO function for one of Live's tracks ? Thereafter, I will try and figure out the rest. Thanks

DeadlyKungFu
Posts: 3603
Joined: Tue Aug 09, 2005 8:26 pm

Post by DeadlyKungFu » Thu Nov 02, 2006 4:26 am

looking at the above file, it doesn't look like SOLO is an automapped control, the automap feature set is decided and hard coded (my assumptions). MAYBE if you monkied around with 'out of the box' thinking you could play with the assignments and find a back door.

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Post by slzero » Thu Nov 02, 2006 5:38 am

DeadlyKungFu wrote:looking at the above file, it doesn't look like SOLO is an automapped control, the automap feature set is decided and hard coded (my assumptions). MAYBE if you monkied around with 'out of the box' thinking you could play with the assignments and find a back door.
Well, I have done some reading and accordingly you are supposed to be able to map all midi controls onto the un-used controls in Automap template for Live in the SL unit.
And, since I have already been able to map SOLO function using the MIDI LEARN feature of ableton, it proves that SOLO is indeed a midi function without any doubt and not hard coded as you suggested.

What I am looking to achive here is, instead of mapping SOLO function by using Live's MIDI LEARN feature, I want to map the same SOLO midi function in Automap template so it stays there permanently.

The MIDI LEARN feature always requires a default Live project pre-saved and that is inconvenient for my numerous existing Live projects from before.

DeadlyKungFu
Posts: 3603
Joined: Tue Aug 09, 2005 8:26 pm

Post by DeadlyKungFu » Thu Nov 02, 2006 5:47 am

midi learn is a different protocol than automap, both use midi but from what I can tell the feature set of automap is set, what the limitations are, I don't know.

From here it's up to you to tweak around and see what happens. If you have the time/energy/drive, just put random stuff into the device file and see what happens.

where did you read that you can map ALL the controls to automap? I'm not doubting you, just talking shop. ;)

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Post by slzero » Thu Nov 02, 2006 6:37 am

DeadlyKungFu wrote:midi learn is a different protocol than automap, both use midi but from what I can tell the feature set of automap is set, what the limitations are, I don't know.

From here it's up to you to tweak around and see what happens. If you have the time/energy/drive, just put random stuff into the device file and see what happens.

where did you read that you can map ALL the controls to automap? I'm not doubting you, just talking shop. ;)
Here is one from SL's Getting Started Guide, page 4:
=============================
EDIT MODE [TEMPLATE INDIVIDUAL EDIT]

This is the Template Individual Edit Mode, in which the nature of each assignable control (the data assigned to it and the way it behaves when pressed/moved/rotated in any of the 40 onboard Templates can be defined.
Pressing the EDIT button when using a particular Template will move to the edit mode for that Template so that it can be modified.
=======================================

There are also other places I have read this as well.
For example, the pdf help file that is included with the SL's editor program downloadable from Novations website.

DeadlyKungFu
Posts: 3603
Joined: Tue Aug 09, 2005 8:26 pm

Post by DeadlyKungFu » Thu Nov 02, 2006 6:55 am

that's midi assignments, not automap.

i'd encourage you to just try settings out, experiment.

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Post by slzero » Thu Nov 02, 2006 7:02 am

DeadlyKungFu wrote:
where did you read that you can map ALL the controls to automap? I'm not doubting you, just talking shop. ;)
Here is another one from the same Getting Started Guide of SL, page 3, end of 1st paragraph.

====================================================
All Templates can be edited on the unit itself or using the Template Editor (available for free from www.novationmusic.com), whilst brand new Templates can also be created by the same means and saved in any of the 40 Template memory slots.
====================================================

The problem I am facing is that neither editing on the unit works for me nor using the SL editor program. And the worse part is that no clear step-by-step instructions exist. I have written to Novation and awaiting reply.

I have tried both methods several times but did not succeed. I verified that my 2-way data communications between my pc and the unit are functional, i.e. the SL unit works. Also the fact that I can dump single or all templates back and from from the unit to pc and vice versa without a problem. It's the step-by-step editing details for specific midi functions that I have not come across yet.

slzero
Posts: 18
Joined: Wed Oct 25, 2006 4:57 pm

Post by slzero » Thu Nov 02, 2006 7:06 am

DeadlyKungFu wrote:that's midi assignments, not automap.

i'd encourage you to just try settings out, experiment.

Well, going back to the pdf guide, there are 40 templates and 4 of them are Automap on page 3. And in my previous quotes all 40 templates (which include Automap) based on their document can be edited.

forge
Posts: 17422
Joined: Wed Apr 21, 2004 9:47 am
Location: Queensland, AU
Contact:

Post by forge » Sun Oct 07, 2007 4:22 am

Hey - I just borrowed someone's Remote zero SL and have got this script to do what I wanted it to with the knobs and left everyhing else as normal

tried in both 6.0.10 and 7.0b1 and all that I can use is the knobs - the other automapped functions (like the volume faders and buttons) no longer work - anyone else find this?

everything else has been left at -1

I'm in Vista

forge
Posts: 17422
Joined: Wed Apr 21, 2004 9:47 am
Location: Queensland, AU
Contact:

Post by forge » Sun Oct 07, 2007 5:32 am

well in case anyone's interested I managed to get it working - bizarre though it is by enabling the normal Remote SL script in the prefs - before I was just changing it to the user one

odd

LOFA
Posts: 3365
Joined: Mon Jan 10, 2005 7:10 pm

Post by LOFA » Sun Oct 07, 2007 3:01 pm

I'm glad that you got this working and that you brought it to my atttention.

Thanks!

mike holiday
Posts: 2433
Joined: Mon Jun 28, 2004 8:52 pm
Location: NOW

Post by mike holiday » Sun Oct 07, 2007 3:14 pm

i'm not using remote SL


but has anyone managed to get sedns to work using this script?


i had sends working in 6.0.3, but no releases since
dual 1.8 G4 10.4.9 w/768 ram & A&H xone 3D


"I ain't often right but I've never been wrong"

Post Reply