Duplicate script errors

0

MacBook M2 Pro 2023 running Sonoma 14.6.1

Live 11.3.35

CSS 2.8.5

Hi there John.

I’ve come across an intractable issue within CSS and some of my scripts. I recently transferred everything across from an Intel Mac to a silicon M2 pro now running CSS 2.8.5. 

My rig uses 2 scripts, one for a Novation SLMK2 and one for a Novation launch control XL. Both use Midi channel 1 and have different CC’s assigned to the different hardware controls with no overlap between the 2 different hardware devices.

SLMK2

css_slmk2_impro_v39, works perfectly within Live with my setup. However I have made some recent changes in the Live session requiring small tweaks to v39. To do this I duplicated it, named it v39 (Copy), and before changing it and to test it, successfully loaded it into Live, but with v39 (Copy) there are so many weird issues. This seems to point to some larger problem I’m not seeing.

I’ve checked and rechecked the controls not working or exhibiting strange behaviour but can’t see any difference between v39 and v39 (Copy) yet the scripts behave very differently. Renaming it v40 or the like doesn’t help.

There are so many issues I won’t list them all. I’m hoping you might be able to see something obvious within the log text. I’ve spent an enormous amount of time troubleshooting this, replacing script controls, duplicating and tweaking the script, loading and reloading and poring over the Error Logs but not being a programmer I find interpreting the log text a bit of a mystery. I include the 2 scripts, original and copy and the Log txt file from v39 (Copy)  I’d appreciate any help with this thanks. 

Novation LCXL

As a test I duplicated the Novation LCXL script v19 and named it V20 and it works fine. I was able to tweak the script easily and it now functions as I want.

Another issue is that after migration to the M2 Pro my controller template for the SLMK2 has been showing a Duplicate midi / data warning on Slider 4 (CC17 on Channel 1) I’ve checked and rechecked the SLMK2 hardware controls AND the controller template and cannot find a duplicate anywhere. Thinking it was a possible glitch I deleted the slider input on the Controller template and created a new one set to CC15 but this doesn’t correspond to the SLMK2 Hardware controller (CC17). I could change the SLMK2 hardware controller CC17 to 15 but I have a second controller (a Novation LC XL that uses CC15 on Channel 1 and not a lot of leftover CC’s) 

I can save the script using that controller template but when I go to close it I get a “close without saving” message because of the controller issue. 

Any ideas what could be happening there or how to troubleshoot that please?

I’ve tried loading folders with json files, log.txt and screenshots, but uploading folders doesn’t seem to be an option. Tricky as I want to upload error logs and controller template.

JohnC Answered question October 11, 2024
Attached Files:
0

If you were using CSS version previous to 2.8 then importing your script json will likely have some issues.
For each mapping , check that the mode and controller input is set correctly and check that the other individual mapping settings are correct.

Maikoos Posted new comment October 14, 2024

Hi there John,
I’ve resolved the issues with errors in duplicate script in V2.8.5
(Please see below)
I’m posting this in case anybody else encounters a similar problem in the transfer and duplication of scripts from CSS 2.7 to 2.8.5

My main performance rig script which I’ll call v39 transferred fine and worked well within CSS 2.8.5 without issues.
However when I made a duplicate of v39, renamed it v40, suddenly half of the mappings no longer worked in v40 even though they were the same as the ones in v39. After a week of trouble shooting and checking mappings, controller templates, hardware inputs, importing and reimporting, duplicating and experimenting I’ve found that the issue is under Track selection in the mapping. Under the track number, “Relative to session box” – needs to be set to “No”, “Include folded tracks” – Yes

However in v39 “Relative to session box” – are set to YES and the script works perfectly.

In v40 these have to be set to NO otherwise the mappings don’t work. Why it works in v39 and not in v40 I have no idea but it works.
Hope this helps anybody with similar issues.

You are viewing 1 out of 1 answers, click here to view all answers.