#34035 - gbawiz - Wed Jan 12, 2005 10:17 pm
Hello,
Im a bit confused with the subject of periods.
I have been reading about them and the documents say that you should not store the note as period values (even although they are stored that way in the MOD file itself).
What should they be stored as?
Another question is regarding the period values.
When I looked into the file with a fileviewer and interpreted the period values according to the period table also shown in the documents I find that the corresponding note stored is different from that shown in the tracker when I load the file.
for example:
a period value of
254 in the table indicates A-2 but in tracker it is A-5
214 in table indicates C-3 but tracker says C-6
339 in table indicates E-2 but tracker says E-5
They are all showing up in tracker with 3 added (three octaves?)
Why is this, any ideas?
Thanks
#34106 - ProblemBaby - Thu Jan 13, 2005 6:14 pm
DekuTree: does it exist a formula like that for linear freq table?
Now Ive a big LUT (about 32kb) with all possible Periods it works splendid but maybe its a bit of waste!
#34325 - gbawiz - Mon Jan 17, 2005 10:25 pm
Hello and thanks guys for the advice.
Im a bit confused with the idea of finetuning.
I read about the case that it is better to store the notes as note-numbers and use these numbers to access a lookuptable to get the amiga period values which are then converted to Hz.
I have a couple of questions:
1. why use the note-number & lookup table method instead of storing period values.
2. I assume that the fine-tune settings are stored in the sample information only but I was wondering how these fine-tune values are applied to the note-numbers which finally result in the frequency to play.
Thanks in advance for any advice, much appreciated
#34365 - gbawiz - Tue Jan 18, 2005 3:37 pm
Im a bit confused about the finetuning,
looking at a clip of the period table from FMODDOC.TXT shown below, there the finetune is mentioned.
Do these finetunes refer to the value which is stored in the sample information block for each sample?
Also are there any other finetuning settings not in sample (i.e in any effects or song info) and if so then which get priority?
--------------------------------------------------------------------------------------
; Tuning 0, Normal
dc.w 856,808,762,720,678,640,604,570,538,508,480,453 ; C-1 to B-1
dc.w 428,404,381,360,339,320,302,285,269,254,240,226 ; C-2 to B-2
dc.w 214,202,190,180,170,160,151,143,135,127,120,113 ; C-3 to B-3
; Tuning 1
dc.w 850,802,757,715,674,637,601,567,535,505,477,450 ; same as above
dc.w 425,401,379,357,337,318,300,284,268,253,239,225 ; but with
dc.w 213,201,189,179,169,159,150,142,134,126,119,113 ; finetune +1
; Tuning 2
dc.w 844,796,752,709,670,632,597,563,532,502,474,447 ; etc,
dc.w 422,398,376,355,335,316,298,282,266,251,237,224 ; finetune +2
dc.w 211,199,188,177,167,158,149,141,133,125,118,112
--------------------------------------------------------------------------------------
#36389 - gbawiz - Fri Feb 18, 2005 5:23 pm
Hello all,
I have been looking at programming my mod player after getting the mixing stuff out of the way.
I have been reading about the method of creating a period table which generates periods which correspond to all note periods and all notes with finetunes applied.
I have a couple of queries:
1.) how are effects applied when using a period table?
2.) Are period tables necessary, why not use the magic formula instead?
Thanks