Old 05-08-2021, 08:21 AM   #1
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,903
Default OSC track limit of 511 tracks? (FIXED)

Hi,

I'm using OSC to activate touch on specific tracks for writing live automation (via script) using Touch automation mode.

I'm using the Bank Select (DEVICE_TRACK_BANK_SELECT) OSC message to select the relevant track bank for the touch message.

I'm then sending the Touch message (TRACK_VOLUME_TOUCH or TRACK_PAN_TOUCH) using the correct track offset within the selected bank.

What I've found out - that no matter what bank size I use - it is impossible to activate 'touch' on any track above 511.

I would assume this would be the case for any control surface - unable to access any track in the project > 511?

I have already tried altering the DEVICE TRACK COUNT - (to 64 and 4096 for example), but it still works great up to track 511, but track 512 and above it doesn't register the touch message on the track. So it would suggest the limit is not with selecting the appropriate bank, but some internal value that generates the track number from the bank and touch messages it receives.


Is there a reason for this limit? - it seems arbitrary to me. We use track counts way above 512, so would it be possible to have this limit increased?


Many thanks,
Leon.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal

Last edited by lb0; 05-11-2021 at 03:05 AM.
lb0 is offline   Reply With Quote
Old 05-08-2021, 04:15 PM   #2
rncwalker
Human being with feelings
 
Join Date: Apr 2016
Location: South Fl.
Posts: 279
Default

I just got to ask, What do you need more that 511 tracks for?


Robert
rncwalker is offline   Reply With Quote
Old 05-08-2021, 04:24 PM   #3
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,903
Default

Quote:
Originally Posted by rncwalker View Post
I just got to ask, What do you need more that 511 tracks for?


Robert
There are a number of reasons why you might want that many - film/orchestral templates being one - where each track has an instance of Kontakt on it loaded with a single instrument/articulation - ready to play/audition if needed.

I have seen templates as big as 2000-3000 tracks.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Old 05-08-2021, 04:28 PM   #4
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,354
Default

Quote:
Originally Posted by rncwalker View Post
I just got to ask, What do you need more that 511 tracks for?
Also, many people organize stems by folder. For example, I have around 140 tracks of just folders/subfolders so it's pretty easy to get above 511 tracks without trying that hard.
Klangfarben is offline   Reply With Quote
Old 05-09-2021, 05:57 PM   #5
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 13,364
Default

Upping the limit to 2048 tracks... hope that's enough for a while!

(due to the way the OSC touch support is implemented, it requires about 13 bytes of state per track, so that means OSC devices will use an extra 20kb of RAM or so, which isn't a lot...)
Justin is online now   Reply With Quote
Old 05-10-2021, 12:11 AM   #6
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 3,903
Default

Quote:
Originally Posted by Justin View Post
Upping the limit to 2048 tracks... hope that's enough for a while!

(due to the way the OSC touch support is implemented, it requires about 13 bytes of state per track, so that means OSC devices will use an extra 20kb of RAM or so, which isn't a lot...)
Awesome - thank you. That will help a lot. I'm only using OSC for this because I'm unaware of another way to trigger the touch state of a track from Reascript.

Of course - if there was another way to activate/deactivate the touch state (for volume/pan) for a media track (eg. by a parameter in SetMediaTrackinfo_Value or a CSurf function) - I would use that instead.
__________________
Projects - Reascripts - Lua:
LBX Stripper | LBX Chaos Engine | LBX Floating FX Positioner | LBX SRD Smart Knobs
Donate via Paypal
lb0 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.