Quantization Grid Settings

Post Reply New Topic
RELATED
PRODUCTS

Post

Hi All,

Wondering if there's a way to read/set the quantization grid settings in the API? Specifically, i'm interested in setting the quantization grid (4th, 8th, 16th; straight, triplet, quintole...) of newly created clips based on the setting of the main arranger view. Seems like something the API would support, I just can't for the life of me find it in the documentation.

Thanks!

Post

ultratot wrote: Tue May 18, 2021 6:57 pm Hi All,

Wondering if there's a way to read/set the quantization grid settings in the API? Specifically, i'm interested in setting the quantization grid (4th, 8th, 16th; straight, triplet, quintole...) of newly created clips based on the setting of the main arranger view. Seems like something the API would support, I just can't for the life of me find it in the documentation.

Thanks!
Do you mean

Code: Select all

Transport::defaultLaunchQuantization()
?

Post

No, afraid not. I saw that one. That sets the number of bars before the next launched clip starts. What i'm looking for is a setting to apply the quantize grid, such that when you apply quantization, that's the grid it snaps to. For lack of clear explanation, I can say there are key-command mappable parameters in the "Shortcuts" menu called "Larger Beat Grid", "Next Beat Grid Subdivision", etc. I'm just trying to access those functions via script.

Post

ultratot wrote: Wed May 19, 2021 8:49 am No, afraid not. I saw that one. That sets the number of bars before the next launched clip starts. What i'm looking for is a setting to apply the quantize grid, such that when you apply quantization, that's the grid it snaps to. For lack of clear explanation, I can say there are key-command mappable parameters in the "Shortcuts" menu called "Larger Beat Grid", "Next Beat Grid Subdivision", etc. I'm just trying to access those functions via script.
You can execute the key commands via the API. Look at the methods:
Action[] getActions ()
Action getAction (String id)
in Application.

Post Reply

Return to “Controller Scripting”