ldrolez / clyphx-live11 Goto Github PK
View Code? Open in Web Editor NEWClyphX advanced macros and scripting for Ableton Live 12, 11 and 10
License: GNU Lesser General Public License v3.0
ClyphX advanced macros and scripting for Ableton Live 12, 11 and 10
License: GNU Lesser General Public License v3.0
I can't manage to use [] SCENE SEL 6
to move the cursor position to scene 6.
Works in my copy of ClyphX Pro in Live 10 but not in Live 11 with this version.
If it's limited to ClyphX Pro do you have a suggested workaround to select a scene with the cursor ready for triggering?
Should note that I have tried to use MST/SEL 6
but it doesn’t work. Have tried MST/VOL <
and 2/SEL 6
and both of these work as expected changing the volume of the master track and selecting track 2 scene 6 respectively.
Have also tried calling the scene by it’s name and also just using > or < and neither of these work.
Hi. This script works great for me and I really appreciate the work done on it but one feature I miss that seems to be available in Clyphx pro is LOADVST to load vst plugins (I think pro can also load clips and sounds according to the manual). Currently I use a workaround using autohotkey but its cumbersome.
Hi,
honestly I don't understand if this is just not working in free version or if the description is faulty.
In UserSettings.txt there is written :
CONTROL_NAME = A unique one-word name (Identifier) for the control. See [IDENTIFIER NOTE] below.
MSG_TYPE = The word Note or CC.
MIDI_CHANNEL = The MIDI Channel number in the range of 1 - 16
NOTE_OR_CC = The Note or CC number in the range of 0 - 127.
ON_ACTION_LIST = The Action List to perform when the control sends an on message.
There is no ON message for a CC midi message. In Glyphx Pro manual there is written
"An X-Control will trigger its Action List upon the
control sending an on message (a MIDI message with a value that is 34 or higher)"
But this seems to be not the case for free version.
I tried simply this
vol_trk3 = cc, 1, 16, 3/vol >, 3/vol <
but all it does is turning the volume up, never down, it does not matter if I send 63/65 or 1/127 with the encoder
So please tell me, as this is nowhere documented, if this is not possible in free glyphx because then I do not have to waste anymore time on it
Thanks
I have a particular track within my set which uses (lseq) to cycle through different root notes on my push v1 using PUSH SCL ROOT. After one pass through the full sequence which is 2 loops, the PUSH SCL ROOT command ceases to function anywhere else in my session; until I close and reopen it. Almost every scene in my set uses PUSH SCL ROOT and if I avoid the track that uses (lseq) the command works fine. So it seems (lseq) is borked. Is it possible to fix this?
Hi Idolez,
great work on your end! 2.7.3 is running perfectly on my Live 11 instance.
However, are there any plans to add support for ClyphX XT as well?
I have a rather complicated multi MIDI controller setup which i would love to integrate in Live 11
I found here's version 1.0.4: https://app.box.com/s/pi11ioyjx5
Cheers
Seems that the cs command is not working.
I try it with a launchpad mk2.
Thanks
the envelope is cleared, but nothing is inserted
Hey people I have used clyph X pro before with v10 trying this now in v11 . It is working I can make cells perform actions when triggered, although I am not being lucky in triggering actions with MIDI in Xcontrol
Without getting complex
I am sending MIDI CC27 ch5 from TouchOSC bridge, Ableton can recognize the MIDI getting IN when I enable it as a MIDI Ports
But even though I am putting ClyphX just in control Surfaces with touchosc The messages are not triggering nothing. The MIDI is comming, it is just not triggering the actions (?)
In UserSettings.txt
I just have this simple exemple under USER CONTROL,
btn_1 = cc , 5, 27, 1/MUTE
EDIT: Sorry people working nice here, I was editing the wrong file. The right should be on C:\ProgramData\Ableton\Live 11 Suite\Resources\MIDI Remote Scripts\ClyphX
Hi !
I just wanted to ask you if you managed to use import subprocess in Live 11 ?
I was under the impression it was used in ClyphPro but now I cannot find a way to spawn a process with the Live bundled python 3 version.
import subprocess works well on ableton 10 / python 2.7 (seems ableton 11 ships a "light" python build with e.g. msvcrt module missing)
Thanks !
I'm wondering if is there any way to set the General playback Loop Start and End brackets to the MIDI clip size or set a start - end range with locators.
I found some documentation about how to get the red box in session view.
But it seems that has changed with Live 11.
Would it be possible to share how to get the red box or where to find it in ClyphX code?
First of all great work with ClyphX! Even the free version is a very powerful tool.
Is there any way to assign different Actions to the same knob/encoder(/fader) depending on its MIDI value. Fx when a knob is turned all the way down (0) one action is performed and when it's turned all the way up (127) a new action is performed.
Could also be different actions depending on if the knob/encoder is turned up or down (maybe something similar to one action on down and one on up with buttons).
Is something like this possible? or if not do you think it is something that could happen in the future? Thanks
Hello, I thought WAITS command is not working, but i realized Clyphx is written in Python, so i search the source code and can't find WAIT and WAITS in consts.py
Will these commands be included?
Is there a workaround for recording 2 bars in track X and after that start recording 4 bars in X+1 track?
Something like this:
[] METRO ON; ALL/ARM OFF; 3/sel empty; 3/ARM ON; SRECFIX 2;WAITS 3B; 3/ARM OFF;
4/ARM ON; SRECFIX 1; WAITS 2B; 4/ARM OFF;
Thank you.
Live 11 displays a warning
After installing Live 11.1, following directions on https://github.com/ldrolez/clyphx-live10#readme I attempted installing “The ClyphX Ableton Live script which works with Live 10 and 11”
I moved a copy of ClyphX-2.7.3 into Ableton ‘Midi Remote Scripts’; unzipped it; removed the compressed folder from Midi Remote Scripts; restarted Ableton Live 11.1; opened Preferences…MIDI Control Surface:
No reference to ClyphX is in the MIDI Control Surface list. (…Blackstar Live Logic, BLOCKS, Code Series, CTRL49, Faderport,…)
How do I install and “Add ClyphX as a new control surface in Ableton's preferences”?
(Note: This is my first post to GitHub and to ClyphX. As my understanding of ClyphX, Ableton Liove 11.1 (etc.), and Python improves I hope to be able to contribute to this project. If I'm posting in the wrong place or committing another faux pas, please let me know.)
In the live set below, there are 3 scenes:
[] BPM RAMP 32 150
If I let scene 2 play for 32 beats, and switch to another scene, everything is fine.
If I only partially play scene 2, stopping partway through the BPM ramp-up, and then switch to another scene, the BPM ramp-up restarts even though the scene that would then be playing does not have a clyphx clip. It doesn't matter if I stop all audio/clips first.
Interesting is that if I interrupt the ramp-up and switch to scene 3, which has the ramp-up's target BPM as its own, and then switch back to scene 1, then scene 1 plays with no unwanted BPM changes.
I would expect the BPM RAMP to not affect other scenes. Am I correct in this? Or is there a use for it (and perhaps way around it)?
I'm on Live 11.2 , macOS 12.4.
and start with "the software is xxx" and "this software does xxx" so one can understand what it is for.
Hey there, i was wondering if it was possible to control the modes and the scales on the launchpad95 script (that emulates the push modes) via clyphx. I was seeing inside the code and it seems that lp95 script use the same frameworks of the push, but not sure how to emulate those push actions to work with the lp95, any ideas?
thanks for your work!!!!!!!
unfortunately the nested devices dont get affected by snap
So happy to be back using ClyphX after a dry few months since upgrading to Live 11. Thank you! Syntax is neater BTW :-).
Question about using the $$ convention in X-Clips where the $$ is defined in
/Users//nativeKONTROL/ClyphX_Pro/Macros.txt
Is that still a thing, and if so, what's the new path?
Hey,
I'm often using clyphx for a project, I tried the push 3 and it's seems not compatible with clyphx
Is there any chance that the pro version will be compatible ?
using a SRECFIX less than 1 like
SRECFIX 0.5
makes the same as SRECFIX 1
in contrast
sel/addclip sel 0.5
will have the desired effect of inserting a clip of half bar
I am using ClyphX with Ableton 11 and a Push 2 in session mode. When ClyphX is activate, there is a green 8x8 grid selector box that appears, but it does not synchronize with the red 8x8 grid selector box that is recognized by Push 2. This causes track column names to become mismatched with the clips as they appear on the session grid.
working from master, not the latest release, in Live 11 it seems that while snap clips are working again in general, the 'CLYPHX SNAP' named tracks do not work at all, meaning there is no parameter morphing.
Thanks for maintaining and updating this to Live 11. Your work is really appreciated.
Hi,
I experience a crash when triggering fixed length session record ([] SRECFIX 2).
I suspect it could be related with the fact that the stop button was being removed from the clip (at least, it seems that re-adding makes the crash disappear).
Moreover, after some quick debugging it seems that the crash is happening around the following line:
self.song().trigger_session_record(length)
inside ClyphXGlobalActions.py method:
def trigger_session_record(self, track, xclip, ident, value = None):
Please find attached the offending Ableton project zipped file.
The crash appears on an Intel Mac, using Ableton Live Lite 11.2.7, ClyphX 2.7.3 (and also master).
Thanks for your support!
Hi,
if there is clyphX in the preferences entered, almost always the session view jumps away from the selected track to the last tracks. Of course, this only happens when there are too many tracks for the screen size. Unfortunately, I need so many tracks and I don't want to do without clyphX, especially because of the loop-off-feature.
Does anyone have an idea how to solve or work around the bug?
Thanks -
Manja.
Hi, more a question than an issue.
I'd like to know it you can use a RAMP in a a TRACK VOL.
Thanks
Bye
AF
Hello, first of all thank you very very much for support this great tool! Unfortunately snap rack doesn't work at all but nonetheless name of rack device being renamed properly (with identifier at the end of the name). Without rack device at snap track it works, but with [0] parameter or [S + number], any positive numbers like [1], [2].. don't work
i'm lauching a clip with the CS RING action to move an APC20 grid to a desired track and scene automatically. this is working but sometimes the window scroll will not jump to the desired track (the grid is always ok, thou).
in resume: the grid will always go where i want, what sometimes the desired track will stay out of view and i have to manually scroll to it with the horizontal bar
the actions i'm using are similar to this
[FUTURO] CS"APC20" RING T"FUTURO CLAPS" S"FUTURO"
hey man, about your Clyphx script on github, it seems that in the following example:
(PSEQ) { 1/ARM ; 2/ARM } ; { 3/ARM ; 4/ARM }
Instead of the "{ }" parenthesis doing a switch case between the two sets of brackets it simply only does "4/arm" again and again. it doesnt toggle between the two sets of brackets
No luck with any CLIP ENVCAP actually. Any ideas?
Hello, installed ClyphX minutes ago and made a quick test using clips and actions such as DUPESCENE, MUTE ON, DEL...
All work fine.
However the LOADDEV Utility (for example), doesn't work. It stops the script from working at all
I then go to preferences to reload ClyphX in the midi tab, and the limited actions work again..
Any special reason why LOADDEV would do that ?
Thank you
HI,
i am having trouble linking my LP MINI MK3 and my LP MK2 or LaunchControlXL
Neither works and i have the same LOG every time...
2022-04-08T22:50:19.805031: info: Python: INFO:_Framework.ControlSurface:804 - LOG: (ClyphX) CSLINKER ERROR: Unable to locate specified scripts!
2022-04-08T22:50:19.805079: info: RemoteScriptMessage: (ClyphX) CSLINKER ERROR: Unable to locate specified scripts!
2022-04-08T22:50:19.805562: info: Python: INFO:_Framework.ControlSurface:805 - LOG: (ClyphX) EX_VAR1 = 10
2022-04-08T22:50:19.805608: info: RemoteScriptMessage: (ClyphX) EX_VAR1 = 10
2022-04-08T22:50:19.805741: info: Python: INFO:_Framework.ControlSurface:805 - LOG: (ClyphX) EX_VAR2 = MUTE
2022-04-08T22:50:19.805785: info: RemoteScriptMessage: (ClyphX) EX_VAR2 = MUTE
This could be the relevant part of the LOG file.
What am i doing wrong?
Till I made the update for live 11.1 clyphx doesn't appears in the midi menu any more.
I try your new version for the update but not working.
It seems that the py file doesn't compiled.
Any idea?
For example, running "1/CLIP NOTESON" crashed clyphx [and disabled it for the whole track]. Instead, it should just return silently.
I believe the cause is that get_note_name_from_string can return None, but get_note_range doesn't handle that case.
2024-01-04T21:59:44.656610: info: Python: INFO:_Framework.ControlSurface:655 - LOG: (ClyphX) get_xclip_action_list returning 1/CLIP NOTESON
2024-01-04T21:59:44.656628: info: RemoteScriptMessage: (ClyphX) get_xclip_action_list returning 1/CLIP NOTESON
2024-01-04T21:59:44.656704: info: Python: INFO:_Framework.ControlSurface:655 - LOG: (ClyphX) replace_user_variables returning 1/CLIP NOTESON
2024-01-04T21:59:44.656720: info: RemoteScriptMessage: (ClyphX) replace_user_variables returning 1/CLIP NOTESON
2024-01-04T21:59:44.656893: info: Python: INFO:_Framework.ControlSurface:655 - LOG: (ClyphX) get_track_to_operate_on returning result_tracks=[1-Operator] and result_name=CLIP NOTESON
2024-01-04T21:59:44.656912: info: RemoteScriptMessage: (ClyphX) get_track_to_operate_on returning result_tracks=[1-Operator] and result_name=CLIP NOTESON
2024-01-04T21:59:44.656989: info: Python: INFO:_Framework.ControlSurface:655 - LOG: (ClyphX) format_action_name returning, track(s)=[1-Operator] and action=CLIP and args=NOTESON
2024-01-04T21:59:44.657006: info: RemoteScriptMessage: (ClyphX) format_action_name returning, track(s)=[1-Operator] and action=CLIP and args=NOTESON
2024-01-04T21:59:44.657167: info: Python: INFO:_Framework.ControlSurface:657 - LOG: (ClyphX) get_clip_to_operate_on returning clip= and clip args=NOTESON
2024-01-04T21:59:44.657190: info: RemoteScriptMessage: (ClyphX) get_clip_to_operate_on returning clip= and clip args=NOTESON
2024-01-04T21:59:44.657310: info: Python: INFO:_Framework.ControlSurface:657 - LOG: (ClyphX) Error when executing task
2024-01-04T21:59:44.657327: info: RemoteScriptMessage: (ClyphX) Error when executing task
2024-01-04T21:59:44.657370: info: RemoteScriptError: Traceback (most recent call last):
2024-01-04T21:59:44.657414: info: RemoteScriptError: File "c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\_Framework\Task.py", line 230, in do_update
2024-01-04T21:59:44.657578: info: RemoteScriptError: File "c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\_Framework\Task.py", line 51, in update
2024-01-04T21:59:44.657680: info: RemoteScriptError: File "c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\_Framework\Task.py", line 146, in do_update
2024-01-04T21:59:44.657777: info: RemoteScriptError: File "c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\_Framework\ControlSurfaceComponent.py", line 196, in wrapper
2024-01-04T21:59:44.657954: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphXTriggers.py", line 250, in on_timer
2024-01-04T21:59:44.670039: info: RemoteScriptError: self._parent.handle_action_list_trigger(self._track, clip)
2024-01-04T21:59:44.670105: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphX.py", line 256, in handle_action_list_trigger
2024-01-04T21:59:44.680363: info: RemoteScriptError: self.action_dispatch(action['track'], xtrigger, action['action'], action['args'], ident)
2024-01-04T21:59:44.680419: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphX.py", line 168, in action_dispatch
2024-01-04T21:59:44.680527: info: RemoteScriptError: self._clip_actions.do_clip_note_action(clip_action[0], t, xclip, ident, args)
2024-01-04T21:59:44.680574: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphXClipActions.py", line 604, in do_clip_note_action
2024-01-04T21:59:44.686258: info: RemoteScriptError: note_data = self.get_notes_to_operate_on(clip, args.strip())
2024-01-04T21:59:44.686305: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphXClipActions.py", line 885, in get_notes_to_operate_on
2024-01-04T21:59:44.686397: info: RemoteScriptError: note_range = self.get_note_range(new_args[0])
2024-01-04T21:59:44.686435: info: RemoteScriptError: File "C:\Users\light\Documents\Ableton\User Library\Remote Scripts\ClyphX\ClyphXClipActions.py", line 926, in get_note_range
2024-01-04T21:59:44.686513: info: RemoteScriptError: note_range = (start_note_num, start_note_num + 1)
2024-01-04T21:59:44.686556: info: RemoteScriptError: TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
Hello, im altering your code for my purpose becuase it seems to provide a lot of what i need, but ive run into a little bit of a brick wall. when a clip starting with "[]" is launched, action_dispatch gets called by handle_action_list_trigger (correct?) but when a clip without [] is launched that doesnt happen, where do i need to take a look in order to be able to evaluate every clip thats launched?
thanks for you great work and hopefully for some help
Johannes
RND function isn't working on Mac M1 Ableton version 11.3.10
It's not working on Live 11, MBP M1.
ClyphX was installed and working OK. After a crash it vanished from control surfaces list.
Tried several things and can't make it come back: restart system, delete ClyphX folder from Remote scripts and copy it back again, total rescan of plugins.
System:
Windows 10 Home Single Language Version 21H1
Live 11.2.5
Till yesterday, clyphx seems to stop working on one track. Debug don't resolve the problem.
After relaunch live 11, it work for 2 minutes and then no more. I can't really identify the problem
Just a quick question that I think I know the answer to (sadly) but just wanted to double check...
I've got a setup where a midi input has to define some variables before performing an action (as this action depends on the variable). I've tried making the midi trigger an x-clip that defines the variable but the x-clip's action is performed after the x-control even though it's last in the action list (probably due to the ≈100ms delay). So
Is it possible to define variables with a MIDI controller via X-Controls?
Or could there maybe be another way of approaching this?
i was following the tutorials from nativeKontrol on youtube to see how it's done, and reading the manual, and given that it's so simple, i don't get why i just can't get the [learn] function to work.
similarly, when i try to put more than one action in one clip for my scripts channel, the second action never fires. i tried making multiple channels for scripting but that didn't work either
The angle brackets don't show in some places in markdown. CLIP GAIN <x or >x
renders as "CLIP GAIN x"
Could use backticks or <
and >
.
Or just switching the order to CLIP GAIN >x or <x
works: "CLIP GAIN >x or <x" so that markdown doesn't think it's an HTML tag
backticks would probably be nicest so that it gets a fixed-width font
So using action like
RIGHT ; all/arm off ; sel/arm on
Makes a problem since RIGHT
changes which track is selected and sel/arm on
will get the previous selected track not the new selected at the moment . I think this works at clyp x pro in 10....
Thanks for porting it to py3 and ableton 11 by the way....
Quick notes about new things not working:
Hello,
i have the same - on my computer command recfix is no working - there is a solution? Tom
Hello, it looks like this is a known bug in Clyphx and don't know if it's been resolved or of there is a workaround.
It looks like if you jump over clyphx locators in arrangement view, they get triggered to some extent even though the project isn't playing. For example, I'm using midi clips in session view to trigger playback in arrangement view. Sometimes when you jump around (say, from one song past another), location-based actions are triggered even though that part of the song isn't played. The workaround I've seen is to put a dummy clip such as [] .
which works to some extent.
Thank you.
I figured I would leave this here in case it helps anyone.
I could not get UserSettings.txt to work in Ableton 11 until I followed some instructions on reddit(https://www.reddit.com/r/ableton/comments/jr41uz/fixed_length_recording_with_any_midi_controller/)
and installed the ClyphX/ folder within:
/Applications/Ableton Live 11.1 Beta.app/Contents/App-Resources/MIDI Remote Scripts/
to get within the .app you need to right click and 'Show Package Contents'
This is a bit annoying because you will need to constantly update UserSettings.txt within that hidden location, but it works!!
Cheers! This repo rules.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.