I’m not fond of the idea of shadow scripts and adding new OPs to deal with them. If you add shadow scripts named 1s through 8s and update the existing OPs to handle the new script names that would be ok. I also think having more scripts (9-32/64) would be nice. You could access them slowly using [, ] or quickly using the param nob.

I ran into memory limits when I went past 15 or 16 scripts (including metro and init). You’d have to reduce the number of scenes to make it fit.

How did you have more than 8/10 scripts?

Modifying the firmware. It’s open source, so you can do whatever you want, but the hardware will only do so much.

If you’re up to compiling your own firmware, I put a patch (not my work, just implemented from textual description in another thread) here (runs great here, use at own risk):

4 Likes

I’d be happy just to gain that last line in each script. Since there are 8 lines on the display, why not allow 7 lines of script? Does that empty line serve any purpose beyond a visual cue?

Changing SCRIPT_MAX_COMMANDS to 7 in state.h leads to…

LN      teletype.elf
/avr32-tools/lib/gcc/avr32/4.4.7/../../../../avr32/bin/ld: address 0x80086610 of teletype.elf section `.flash_nvram' is not within region `FLASH'
/avr32-tools/lib/gcc/avr32/4.4.7/../../../../avr32/bin/ld: address 0x80086610 of teletype.elf section `.flash_nvram' is not within region `FLASH'
collect2: ld returned 1 exit status
../libavr32/asf/avr32/utils/make/Makefile.avr32.in:459: recipe for target 'teletype.elf' failed
make[1]: *** [teletype.elf] Error 1
make[1]: Leaving directory '/target/module'
Makefile:24: recipe for target 'teletype.zip' failed
make: *** [teletype.zip] Error 2

The libavr32 stuff is above my pay grade though.

IIRC that means the flash memory size has been exceeded. TT is a tightly constrained system, where bytes of storage do matter…

I figured that’s what it’d mean, probably not helping that I’ve also got the 12-scripts mod.

Can anybody chime in on the experience with/stability of the 12-scripts mod? I’m thinking it could be useful to move some scripts that don’t need input triggers to the extra four and free up those triggers for nicer stuff. Gaining some lines (no pun intended) is also a big benefit of course…

I’ve been running the 16_scripts_24_scenes patch since October, no problem at all here.

I haven’t used the 12 scripts patch for a long time, just tried applying it now to current git, threw a few error, should be fixed now…

I just now made a patch that gives 16 scripts of 7 lines in 23 scenes (untested), if you’re up for testing that :slight_smile:

2 Likes

Thanks! I think I’ll try the 12-one for now, don’t want to spoil myself with too many scripts :joy: Let’s see how that goes!

1 Like

To anyone running the 16_scripts_24_scenes patch: I’ve made a few fixes over the last couple of days:

  • fixed a bug where switching scene or saving scene would jump to PRM knob pos without touching the knob
  • names on the tt are now displayed as 11-18 (not the akward A,B,C,D,E,F,H,J), although the akward names are still used when reading/writing to USB stick
  • shortcuts shift-alt + F1-F8 now jumps to editing scripts 11-18 (like alt + F1-F8 normally jumps to editing scripts 1-8

NB: These changes are not in the 12 scripts patch…

3 Likes

I have the urge to try this out even though I have yet to run out of scripts!

2 Likes

I absolutely always have to run grid or sub scripts in shadow to not occupy an input, even though I hardly make use of all 8 inputs :smile: keeps me “sane”

@a773 thank you for sharing your mods!

Glad you like it! Should you elaborate on what you mean by “shadow”?

sorry for the confusion. that was the original proposal of scannerdarkly a few years back that never materialized. meaning a script that isn’t coupled to an input.

Ah, so you’re referring to scripts 11-18 in “my” patch? I’m just trying to understand :+1:

1 Like

That is such a good point! I’m indulging in grid ops and having extra space to set up how the grid works etc in dedicated scripts, out of the way, makes tons of sense. Good thinking!

2 Likes

yes exactly. although they would have become aliases #1, #2 etc. if I recall correctly, instead of sequentially (11-18).

1 Like

Minor update: you can now trigger scripts 11-18 with shift + F1-F8 (16 scripts/24 scenes patch only)

1 Like