User Controller Scripts - Help!

Discuss music production with Ableton Live.
Post Reply
logic_user99
Posts: 1965
Joined: Fri Oct 26, 2007 3:58 pm
Location: Nottingham, UK

User Controller Scripts - Help!

Post by logic_user99 » Thu Mar 11, 2010 11:22 am

Hollaback. I'm having no luck whatsoever with this here task of setting up my Block as a control surface in Live 7. It works just fine under regular MIDI control, but I want the encoders to 'blue hand' the macro knobs, and 16 of the pads to control the visible pads on a drumrack.

I've got the UserScript text file in the right place, and set up as best I can, but it's still not playing ball. It shows up in the list and an even be 'locked' to a device but it still ain't playing!

Come correct me! What am I doing wrong?
Macbook | Live 7.0.18 |

8O
Posts: 5502
Joined: Fri Mar 28, 2008 9:29 am
Location: Berlin

Re: User Controller Scripts - Help!

Post by 8O » Thu Mar 11, 2010 11:35 am

Hi, I thought you were selling your Block...?

Anyway, what's your midi preferences settings? What've you got in the remote surfaces section?

Edit: and maybe the contents of your script file would be useful to check over...
Image

logic_user99
Posts: 1965
Joined: Fri Oct 26, 2007 3:58 pm
Location: Nottingham, UK

Re: User Controller Scripts - Help!

Post by logic_user99 » Thu Mar 11, 2010 11:47 am

8O wrote:Hi, I thought you were selling your Block...?

Anyway, what's your midi preferences settings? What've you got in the remote surfaces section?

Edit: and maybe the contents of your script file would be useful to check over...
The sale's still on the cards, although I suddenly felt compelled to try this out last night!

Moar details to follow...
Macbook | Live 7.0.18 |

logic_user99
Posts: 1965
Joined: Fri Oct 26, 2007 3:58 pm
Location: Nottingham, UK

Re: User Controller Scripts - Help!

Post by logic_user99 » Thu Mar 11, 2010 8:55 pm

Here's the config file text; I've highlighted the changes in red. It's in a folder called 'block (Controls)' in the right place (!) within the 7.0.10 directory and Live seems to pick it up but there's still no blue hand action. Help?
# Config File for User-defined Instant Mappings

# We assume that the controls on your MIDI controller
# send CCs (except for pads). All controls that do not have
# an explicit channel setting are expected to use the
# global channel. CCs & Notes are counted from 0-127
# and channels from 0-15.

[Globals]
# The channel that the controller should send on
GlobalChannel: 1 (controller is sending on Ch2)
# 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: block (Controls) (name as it appears in Live - it changes to 'block Input' when I've got it mapped as a surface; neither seem to work)
OutputName: block (Controls)
# If your controller has pads that send notes, you can use them to
# play the visible pads in your DrumRacks. Just replace the -1 for
# the note (and channel) of the respective pad. The arrangement of
# the pads in the DrumRacks is as follows:
# 1 2 3 4
# 5 6 7 8
# 9 10 11 12
# 13 14 15 16
# (If you leave the channel of a pad at -1, Live will assume that
# the pad uses the global channel) (these pads are the corresponding notes on the block)
Pad1Note: 4
Pad2Note: 12
Pad3Note: 20
Pad4Note: 28
Pad5Note: 5
Pad6Note: 13
Pad7Note: 21
Pad8Note: 29
Pad9Note: 6
Pad10Note: 14
Pad11Note: 22
Pad12Note: 30
Pad13Note: 7
Pad14Note: 15
Pad15Note: 23
Pad16Note: 31
Pad1Channel: -1
Pad2Channel: -1
Pad3Channel: -1
Pad4Channel: -1
Pad5Channel: -1
Pad6Channel: -1
Pad7Channel: -1
Pad8Channel: -1
Pad9Channel: -1
Pad10Channel: -1
Pad11Channel: -1
Pad12Channel: -1
Pad13Channel: -1
Pad14Channel: -1
Pad15Channel: -1
Pad16Channel: -1

[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: 3
Encoder2: 2
Encoder3: 1
Encoder4: 0
Encoder5: 5
Encoder6: 4
Encoder7: 6
Encoder8: 7
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
Macbook | Live 7.0.18 |

Post Reply