Comments (5)
I guess I know why.
2023-11-05T07:02:26.083022: info: Python: INFO:_Framework.ControlSurface:82 - LOG: (ClyphX) nativeKONTROL LOG ------- ClyphX v2.7.3 for Live 11 ------- Live Version: 11.3.13 ------- END LOG
2023-11-05T07:02:26.083052: info: RemoteScriptMessage: (ClyphX) nativeKONTROL LOG ------- ClyphX v2.7.3 for Live 11 ------- Live Version: 11.3.13 ------- END LOG
2023-11-05T07:02:26.110221: info: Python: INFO:_Framework.ControlSurface:109 - LOG: (ClyphX) ------- Attempting to read UserSettings file: C:\apps-mus\Ableton\Live 11 Intro\Resources\MIDI Remote Scripts/ClyphX/UserSettings.txt-------
2023-11-05T07:02:26.110272: info: RemoteScriptMessage: (ClyphX) ------- Attempting to read UserSettings file: C:\apps-mus\Ableton\Live 11 Intro\Resources\MIDI Remote Scripts/ClyphX/UserSettings.txt-------
2023
There are two problems in one.
- It is looking for "MIDI Remote Scripts" but in the user library folder is called just "Remote Scripts", differently.
- sys.path does not contain any User Library folders, so it is looking only in application installation folder only anyway.
Seems like the following slapdash workaround worked for me:
( looked how AbletonOSC finds it's own log folder within User Library)
Replaced in ClyphX.py:
mrs_path = ''
for path in sys.path:
if 'MIDI Remote Scripts' in path:
mrs_path = path
break
user_file = mrs_path + FOLDER + 'UserSettings.txt'
->
import os
module_path = os.path.dirname(os.path.realpath(__file__))
user_file = module_path + '/UserSettings.txt'
Now it finds UserSettings.txt just fine:
2023-11-05T07:29:18.368806: info: Python: INFO:_Framework.ControlSurface:368 - LOG: (ClyphX) ------- Attempting to read UserSettings file: C:\Users\Admin\Documents\Ableton\User Library\Remote Scripts\ClyphX/UserSettings.txt-------
2023-11-05T07:29:18.368855: info: RemoteScriptMessage: (ClyphX) ------- Attempting to read UserSettings file: C:\Users\Admin\Documents\Ableton\User Library\Remote Scripts\ClyphX/UserSettings.txt-------
2023-11-
X-Controls started to work after that.
p.s.
Maybe moving Clyphx to Ableton installation MIDI Remote Scripts folder would work, I did not check it, as I do not like the idea of messing with main installation. Moving only UserSettings.txt there does not work, as it prevents Clyphx from loading at all, probably due to some naming collision.
from clyphx-live11.
Hi, from what I see in the code it should work. Maybe a strange character after '<' ?
Which editor did you use?
from clyphx-live11.
Hi, there is no strange character. I am using VSCODE
But it doesn't matter too much anymore as I wrote my own control surface in the meanwhile.;
from clyphx-live11.
Live 10 or 11?
from clyphx-live11.
11.2.5
from clyphx-live11.
Related Issues (20)
- ClyphX vanished after working OK HOT 1
- Push actions to Launchpad95 script?
- Crash on fixed length record (on clip with stop button removed) HOT 1
- Red Box HOT 1
- Snap Rack doesn't work in Live 11 HOT 2
- Clyphx XT for Live 11 HOT 2
- MIDI Triggers with knobs/encoders HOT 1
- Define variables with X-Control
- push 3 compatibility HOT 5
- RND function HOT 4
- Metronome Rhythm command HOT 1
- RAMP in TRACK VOL HOT 3
- Modify the ReadMe.md HOT 1
- CLIP NOTES actions crash if invalid note name is specified
- Reference.md angle brackets need escaping HOT 1
- Live 12 beta testing bugs HOT 2
- Loop start / end
- Fixed length recording with follow actions not starting immediately HOT 1
- MIDI NOTE not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clyphx-live11.