I see. So effect 105 slides period of a value 5*4 for each tick, of course skipping tick #0... it sounds like it is meaningful.
Correct.
I've got to confess that I'm not using periods at all. Actually I calculate the frequency value using the 3pla: note number, relative note for the sample and finetune... with 'simple' math and using some precalculated arrays. So I'm trying to avoid the overhead of having everything expressed in periods and to do the conversion each time. After all, isn't that portamento slide just kind of 'dinamic changes' in the finetune value?
I guess that's what we all try to achieve when doing our first mod player but sooner or later this will bite you in the neck. For amiga periods this will be rather difficult because the scale is logarithmic...
just stick to periods like all players do, you might not yet understand why, but if you don't everything will be much more complicated in the end.
I'm not considering it at all, in fact. And my plans -at least actually- are that I won't support that. After all I'm not really trying to write an XM Player, there are already good ones, even on NDS, of course you know
I see... But actually that's not true, you are already trying pretty hard, at least it seems like that to me
But mind you, supporting amiga and linear frequencies is just a matter of having two routines:
int computePeriod(int note, int finetune, PeriodType type /* linear or logarithmic*/);
int computeFrequency(int period, PeriodType type /* linear or logarithmic*/);
The rest is really the same.
Good xm players on the NDS? Which one? Mikmod?