Use two buttons to move volume slider up and down

Hi

Im trying to use two buttons on a bluetooth external midi controller (Livid Guitar Wing) to move the volume slider on a track in Ableton Live up and down.

Can anyone give me a hint on how to do this or point me to a thread where this has already been discussed.

 

I will try to add a Screen shot of my desktop to help explain.

 

Thanks so much for any help.


Attachments:

Hi and thanks for asking.

According to this web page : http://wiki.lividinstruments.com/wiki/Guitar_Wing#MIDI_Map

The Guitar Wing puts out note 41 for volume up on the button you indicated and 40 for volume down on the button you indicated. What we need to do is convert these to a controller MIDI message that is not currently being used in Ableton Live and then use Ableton Live MIDI learn function for the slider you want to control.

So MT Pro will be in the middle and you need to set Ableton Live to capture the output of Ableton Live.

So Guitar Wing -> MT Pro -> Ableton Live Control

I the attached file I’m using BMT1 as my alias for Guitar Wing (for testing because I don’t have one).

I’m using BMT2 as output to Ableton Live. So Ableton Live needs to be set up to receive from BMT2.

See the attached illustration for setting up Ableton Live.

In the project file I used as output CC7 (volume) on MIDI channel 1 but if you are using this elsewhere already, you will need to change this to an unused controller and channel of your choice for using MIDI learn in Ableton Live.

Translator for Volume Dp looks for Note 1 41 and increments the global variable gd which also get sent to Live as the value of the the control message (CC 7).

Translator for Volume Down looks for Note 40 and decrements the global variable gd which also get sent to Live as the value of the control message

So both notes are essentially sending out the same controller and channel with a different value.

Let me know if you have further questions.

Steve

bome@sniz.biz

Independent Bome Programming Specialist

Bome Q&A moderator

 


Attachments:
![](upload://4I5J0A4kJRpG8mbInU1Nbm1Dn6K.png)
1508347503898_Guitar-Wing-Volume-2017-10-18.bmtp

Wow!

Thanks Steve!

That reply was ultra fast. Yes I got it to work. I will dive into this to see what you did and how it works but was wondering if there is a value or parameter I can adjust so that when I push the buttons up or down they move the slider in bigger increments or…

when holding the devices arrow buttons up or down they could continuously move up or down the slider either direction until releasing the buttons once again.

 

Thanks again.

Hi, yes, for greater increments look at the rules and change the increment value.
ie
change gd=gd+1 to gd=gd+3 change gd=gd-1 to gd=gd-3

For continuous movement while holding a button, we will need to trigger a timer and then use the timer to trigger the output at a pre-defined interval until you release the button. I’ll poke at it and send an update later today.

Steve
bome@sniz.biz
Independent Bome Programming Specialist
Bome Q&A moderator

Thanks!

I’ll mess around with rules and school my self a bit on timers too

Here is an updated project file.

It has 6 translators as follows

0-Volume Up – Monitors for Note On MIDI channel 1 note 41 and starts a Note-Up timer at 50ms intervals when pressed

1-Volume Up Off – Monitors for Note Off Midi channel 1 note 41 and Kills the Note-up Timer.

2-Note-Up Timer – When started sends CC7 with current cc value every 50 ms as defined by Volume up translator above. Increments the value gd by 1 every time it fires.

3-Volume Down – Monitors for Note On MIDI channel 1 note 40 and starts a Note-Down timer at 50ms intervals when pressed

4-Volume Down Off – Monitors for Note Off Midi channel 1 note 40 and Kills the Note-Done Timer.

5-Note-Down Timer – When started sends CC7 with current cc value every 50 ms as defined by Volume Down translator above. Decrements the value gd by 1 every time it fires.

There are two ways you can control the speed.

1) Increase/Descrease the timer frequencey in Translators 0 and 2.
or
2) Change the value of the increment/decrement in Translators 4 and 5.

I hope this helps!

Steve

bome@sniz.biz

Independent Bome Programming Specialist

Bome Q&A moderator

 


Attachments:
1508354225529_Guitar-Wing-Volume-2017-10-18a.bmtp

Awesome
it works!
I’ll mess with the speed control now.
Thanks again!