Your shopping cart is empty.

switching tracks + arming them

Submitted by flood on Mon, 11/11/2019 - 16:41
flood
Control Surface Studio User

Hi. I'm wanting to select and arm a track to a next or prev instrument with my akai ewi 4000s wind controller with live. i have 2 buttons on the side of the ewi that send midi cc numbers. i would like to hit the 1st button for a previous track+arm and the second button for a next track+arm so i can quickly select the next instrument in my track list and be able to play it upon selection. I use Reason 11 and just bought live a week ago. In reason this was a simple midi learn situation. then just click up and down a list of instruments with the 2 ewi 4000s momentary buttons and the track would automatically change+armed itself for instant use when selected. i just want that in ableton. if i understand your checklist then i need to buy the control surface studio to achieve this. right? i really only would like to do only this but in time id like to also setup my KMI softstep 2 midi foot controller to control more aspects of live too to help me loop from my feet. but, any instructions on how to do this would be appreciated. thanks for your time and i hope i posted in the right spot. :)
im using...
windows 10
live 10 suite
akai ewi 4000s midi wind controller connected via midi wireless system called midibeam by panda audio
motu 624 audio interface

Topic Category: 

10 Responses

Comments

John Carney
Forum Admin
#1

Hi,

Yes this can be done with Control Surface Studio. You would setup 2 'Highlight Navigation' buttons to move the track selection left/right. And also add a Reaction which will auto arm the selected track.
See my post here on how to setup the reaction: https://remotify.io/community/question/arm-selected-track#comment-1342.

Thanks

flood
Control Surface Studio User
#2

Thank You! CSS looks great btw!
unfortunately im unable to get it to work after several hours of reading the manual online, youtube videos and reading your instructions over and over. very stressful day. :(

does your instructions from the other users post still apply to me since im using two buttons and not a single encoder when doing reactions? would i not use 2 reactions to comunicate and represent the two buttons? idk.

i installed ableton just by excepting the default save locations. i see mac represents with pics in the videos and manual but not pc. unfortunately im new to all this and im not sure if my locations of the midi remote scripts folder is right and if im in the right log.txt file. although it said in a green box install was successful when i loaded the script to live. i question this because my css script doesnt show up in Lives preference control surface drop down menu.
Ableton Live Location C:\ProgramData\Ableton\Live 10 Suite\Program\Ableton Live 10 Suite.exe
MIDI Remote Script Folder location: C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\
Live Version: 10.1.4
Log.txt location: C:\Users\Johnny\AppData\Roaming\Ableton\Live 10.1.4\Preferences\Log.txt

after i setup my two button + 1 reaction etc... then i found the .py file pertaining to my script name and opened it and followed these instructions.
6. Search for this line:
self.song().view_arm_follow_track_selection()
and replace it with this
self._arm_follow_track_selection()
found it under def midi
So i selected over
song().view
and hit backspace to make it look like
self._arm_follow_track_selection()
is that right or wrong?

i closed ableton and reopened it and css floodarm is not in the ableton preferences surface controllers. no css in the drop down menu.
im deleting my scripts in css and im gonna try again with the getting started video. step 1 and so on.....again.

but does this error message pin point whats wrong in all cases?

Error message
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_floodarm\__init__.py", line 1, in
from css_floodarm import css_floodarm
File "
C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_floodarm\css_floodarm.py
", line
84
if (self.midi_cc_ch_0_val_99 == ):
^
SyntaxError
:
invalid syntax
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_flood_nextprev_arm_tracks\__init__.py", line 1, in
from css_flood_nextprev_arm_tracks import css_flood_nextprev_arm_tracks
File "
C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_flood_nextprev_arm_tracks\css_flood_nextprev_arm_tracks.py
", line
84
if (self.midi_cc_ch_0_val_99 == ):
^
SyntaxError
:
invalid syntax
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_floodarm\__init__.py", line 1, in
from css_floodarm import css_floodarm
File "
C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_floodarm\css_floodarm.py
", line
84
if (self.midi_cc_ch_0_val_99 == ):
^
SyntaxError
:
invalid syntax
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_flood_nextprev_arm_tracks\__init__.py", line 1, in
from css_flood_nextprev_arm_tracks import css_flood_nextprev_arm_tracks
File "
C:\ProgramData\Ableton\Live 10 Suite\Resources\MIDI Remote Scripts\css_flood_nextprev_arm_tracks\css_flood_nextprev_arm_tracks.py
", line
84
if (self.midi_cc_ch_0_val_99 == ):
^
SyntaxError
:
invalid syntax

sorry for the long message and thank you so much for your help Mr Carney.

John Carney
Forum Admin
#3

Hi,

From the error messages it sounds like you have setup a reaction condition incorrectly.
This line: if (self.midi_cc_ch_0_val_99 == ):

I would recommend deleting your reactions first and make sure you can get a script working first.

Just have the 2 navigation buttons in your script and install that that into live.
Check that it shows up in Live's preferences and then check that your 2 buttons move the track highlight.

Once you have that working you can then move onto adding the reactions. Going one step a time is best :)

flood
Control Surface Studio User
#4

Thank you so much for your help. I'll get right on it.

flood
Control Surface Studio User
#5

Hi! I'm happy to say i can move from track to track with my two ewi buttons. perfect! I'm ready for the next step! :)

flood
Control Surface Studio User
#6

I made the reaction and installed it.
i went to my script file css_mio_tryout.py
opened css_mio_tryout.py and found the line
self.song().view_arm_follow_track_selection()
and replace it with this
self._arm_follow_track_selection()
jpg files of before i made changes and after are at the bottom
then i saved the css_mio_tryout.py and closed it.
then went to ableton preferences and the css mio tryout was no longer in the list.

in setting up the reaction in css im still worried that only button 1 cc99 is being told what to do and button 2 cc98 isnt represented.
pic below of my reaction setup page
the instructions on the other users page refer to one encoder when i have 2 buttons. i dont know how to setup 2 buttons.
what do i do with the json file on the other users page? you dont refer to that file in your instructions so i just disregard it.
Binary Data autoarm_test.json
Image icon code-to-tweak.png
Image icon autoarm.gif

hope the jpgs help reveal the problem.

please send me a pic of it performed correctly in css and .py like i did.
or a more detailed step by step list of instructions
or i could call you.
respectfully anything to fix this.

thank you very much again for your time and effort with me. i appreciate it.

John Carney
Forum Admin
#7

Hey, the guide you have followed is a little bit out of date now. You don't need to edit the script code directly anymore as you can use the 'self' option instead.

You do need 2 reactions (attach one to each button).
In the reaction section for each of them, select self and then enter: ._arm_follow_track_selection

See my attached screenshots.

flood
Control Surface Studio User
#8

thanks ill try it with your new instructions

flood
Control Surface Studio User
#9

NOW it works. thank you for your help and have a good day.

John Carney
Forum Admin
#10

Yay! :D