Page 1 of 1

### Triplet programming

Posted: Wed Sep 24, 2014 2:03 am
Using 1D command

T16 at speed 3
00 Note
01
02 Note 1D 0002
03
04
05 Note 1D 0001
06
07

T32 at speed 3 // T16 at speed 6
00 Note
01 Note 1D 0001
02 Note 1D 0002
03

T32 at speed 6
00 Note .. .... : 00 Note 1D 0002
01 Note 1D 0001 : ......................

I worked this out with a pen and paper, it is correctly divided but for some reason it adds shuffle or swing at speed 6. Sounds smoother at speed 3

### Re: Triplet programming? LFO ftw!

Posted: Thu Oct 02, 2014 6:13 am
I just cheat and use a square-wave, 100% power, amp LFO and dial the ticks frequency in just right. Just remember to reset the phase of the LFO at start of pattern in question.

Here's an example.
https://soundcloud.com/0_doyle/audiomas ... tro-bounce

The rising bass triplets near the beginning are actually a continuous 01 slide with slowly accelerating XXYY value. The triplet comes in entirely from the LFO, which I then pull the power completely off of for the end of pattern arp/slide.

I found this a good deal easier than farting around with the TPL or the 1D command. What do you think? Is it convincing?

### Re: Triplet programming

Posted: Thu Oct 02, 2014 7:17 am
as they say, there is more than one way to skin a cat. I haven't skinned a cat in Sunvox yet but am fairly sure it could be done with the correct combination of modules.

Your method works in your electro bounce example, however an LFO would not work for drum samples or synths where envelope controlled elements are involved.

### Re: Triplet programming

Posted: Thu Dec 24, 2015 10:50 am
Interesting, I didn't even notice the tick delay effect. I was fuxing around with the 40-5F "delay event by %" this morning and it isn't as rational as working with ticks as the timescale.

Were you able to get a general purpose solution for all triplet divisions for all note spacing?

### Re: Triplet programming

Posted: Thu Dec 24, 2015 2:08 pm
T32 at speed 3 // T16 at speed 6
00 Note
01 Note 1D 0001
02 Note 1D 0002
03
The delay values should be doubled at speed 6 to make up the same portion of a line:

00 Note
01 Note 1D 0002
02 Note 1D 0004
03
general purpose solution
ticks per triplet / 3

### Re: Triplet programming

Posted: Wed Dec 04, 2019 2:06 am
If your song is in 6/8, ie. triplets all the way, you can set the time grid to 3 in the project properties, keeping time grid2 at 4 (for bar divisions)

### Re: Triplet programming

Posted: Wed Dec 04, 2019 9:57 am
yeah patterns of 96.