# Quantisation Script Idea

Hello XRNS Developer,

i’m not in coding of C# or Python, but i’ve got an idea long times ago for quantisation in renoise and maybe is someone interessted to do this.

In 90% of all case we make music in x/4 time and then its possible to make a quantisation of a selection or a track.

Renoise used 1/96 resolution.

That means in

speed 1 - 1 row = 1 tick
speed 2 - 1 row = 2 ticks
speed 3 - 1 row = 3 ticks

and so far

I take an example :

We would make a song in 4/4 time, choose speed 3 for him and we say, that every 8th row is 1/4 time (and its highlighted).
Now we have a grid. All parameter are readable from the renoise preferences or song settings.

Now we have :

in 1/4 time = row 00 - 07

00, 01, 02, 03, 04, 05 06, 07 -> 32th note
00, 02, 04, 06 -> 16th note
00, 01 D1, 02 D2, 04, 05 D1, 06 D2 -> 16th triplets
00, 02 D2, 05 D1 -> 8th triplets
00, 04 -> 8th note
00 -> 4th note

the same in every 1/4 time in 1 bar = 32 rows = 96 ticks

you will draw a bow for 1 bar with

1/4 triplet = 00 , 05 D1, 09 D2 , 16, 21 D1, 26 D2
big triplet = 00, 09 D2, 21 D1

In every 1/4 you got a repeat, depends on your thinking time scale (in this case 4/4)

This all can you programm for every speed and highlighted bar grid.
The rest would be done by the user. I mean what he selected and how many rows has 1 sequence.

In some cases (i.e. speed 6) its impossible to get triplet or 32th notes in one column, but this script must open a new one the the same track.

I think that would be a great improvement for renoise working.

greets

pow

That sounds great… would it work?

Yes, it works with all X/4 times. You must only select the precise time parts and then it absolute possible to quantise in your time scale what you want.

But everybody must program this extension
I can’t and got no time to learn C# or Python.