Author Topic: How do I make triple rhythms in OpenMPT?  (Read 1026 times)

Offline IdaeChop

  • Shy artist
  • Posts: 1
  • Operating System: ubuntu
How do I make triple rhythms in OpenMPT?
« on: February 07, 2022, 01:30:51 »
I want to add triplet rhythm to OpenMPT, the one like this https://www.youtube.com/watch?v=Siowg_ONsZI
How should I do it?

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,530
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: How do I make triple rhythms in OpenMPT?
« Reply #1 on: February 07, 2022, 08:10:39 »
Mixing triplets with non-dotted note length is something where you always have to compromise in a tracker, but there are various ways to achieve them still:

1. If you don't want to mix them with non-dotted notes (like 8ths and 16ths), you can simply reduce the rows per beat from 4 to 3 (or from 8 to 6 if you are working at double pattern resolution).

2. Use note delay commands. For example, this is how you would place triplets at a speed of 6 ticks per row:
Code: [Select]
ModPlug Tracker  IT
|C-501......
|C-501...SD2
|C-501...SD4
|...........
|C-501......
|C-501...SD2
|C-501...SD4
|...........
For other speed settings you can calculate the distance in ticks between notes as (rows per beat * ticks per row) / 3. In this particular example that formula gives you 4*6/3=8, so after the first row of 6 ticks, it adds another 2 ticks to place the triplet.

3. If you work at a high enough pattern detail (e.g. 24 rows per beat) no workaround is necessary, but arguably that high pattern speed makes it much harder to follow the module, so this solution is probably less practical.
« Last Edit: February 07, 2022, 12:35:22 by Saga Musix »
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,530
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Re: How do I make triple rhythms in OpenMPT?
« Reply #2 on: February 08, 2022, 13:12:03 »
Some more hints that only work with certain kinds of instruments such as pads or sustained lead sounds:

1. Use volume envelopes. In the attached example file, instrument 2 has a looped volume envelope that creates sections of 8 ticks in length (this is the same "8" as seen in the formula from the second suggestion in my previous post).

2. Similarly, you can use the Tremor effect to create repetitive volume on-off segments of length 8 (both tremor parameters need to add up to 8, or whatever is result of the formula from point 2 in my previous post). This is demonstrated in the second pattern of the attached example file.

Another trick is using the retrigger command (e.g. Q08), though that is very similar to using note delays like in the previous post. Unlike the previous two points this works with all types of instruments, but short samples may need to be padded with a silent loop at the end, because in the IT format a sample that has already stopped playing cannot be retriggered by command Qxy. Compared to using SDx commands, this does not trigger New Note Actions, so using SDx is still preferable in most situations.
« Last Edit: March 13, 2022, 19:43:25 by Saga Musix »
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.