Author: Anders Eriksson (217-210-224-39-no51.tbcn.telia.com)
Date: 02-16-2007 18:15
I think you got things a little bit wrong.
In a tracker, the replay frequency is changed depending on which note you hit. So if you have a mod editor on the PC and a mod editor on the ST, they use the same frequency for the same note. Eg, the instrument frequency are rescaled in realtime.
Then what differs is the output mixing sample frequency - but this is not dependent on the input instrument samples.
Here is a list of each MOD-note period:
OCT1 OCT2 OCT3
C 856 428 214
C# 808 404 202
D 762 381 190
D# 720 360 180
E 678 339 170
F 640 320 160
F# 604 302 151
G 570 285 143
G# 538 269 135
A 508 254 127
A# 480 240 120
B 453 226 113
To convert these periods into sample rate, use this formula:
7093789.2
Rate = ---------
Period*2
It should equal the frequency for a PAL Amiga, which is what the MOD-format is built after.
So basicly, a C-note would have sample rate of approx:
OCT1: 4.144 kHz
OCT2: 8.287 kHz
OCT3: 16.574 kHz
--
Anders Eriksson
support@atari.org
|