Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Community => Topic started by: YuGiOhJCJ on July 19, 2013, 11:59:26

Title: How to set the sample size to cover exactly 4 rows
Post by: YuGiOhJCJ on July 19, 2013, 11:59:26
Hello,

In the sample editor, I can chose the sample size.
If the sample size is low, the played note will cover a low number of rows (if it is very low, it can cover zero rows and only some ticks in the row).
If the sample size is big, the played note will cover a big number of rows (if it is very big, it can cover more than one pattern).

The problem is how to determine the sample size to cover exactly a number of rows (or ticks).

As example, I have BPM 125 and speed 6 (the default MilkyTracker values).
It means that I have 6 ticks per row.
I think the BPM and speed must be take in account to answer this question.

How to set the sample size to cover exactly 4 rows ?

Thank you.
Regards.
Title: Re: How to set the sample size to cover exactly 4 rows
Post by: Saga Musix on July 19, 2013, 19:46:19
The tick duration is (sampling frequency * 5) / (tempo * 2) samples, so if we assume a sampling frequency of 44092 Hz (can't get closer to the standard 44.1KHz in the XM format), that would be 44092 * 5 / (125 * 2) = 881 samples pro tick. 4 rows = 6 * 4 = 24 ticks, so 21144 samples in total.