Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Gradually increasing tempo Owner: kingcandy New post
Page 2 of 2 Sort: Goto Page: << Previous [1] [2]
Posted: 2014-05-16 23:44 Reply | Quote
rainwarrior

Avatar

Member for: 5559 days
Location: Canada
Status: Offline

#57445
He actually said yes, sort of. No to it being a feature of Famitracker, but yes to helping modify an NSF to do it.

Hacking a handful of NSFs is probably less work in the long run than maintaining it as a feature.

Posted: 2014-05-16 23:58 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6392 days
Location: Canada
Status: Offline

#57446
rainwarrior wrote:
No to it being a feature of Famitracker

That's exactly what I meant.

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2014-05-20 01:08 Reply | Quote
kingcandy



Member for: 4453 days
Status: Offline

#57534
Ok, jsr, now that I submitted an nsf here, how do I modify the rutine so it plays at an increasingly faster speed?

Posted: 2014-05-22 21:55 Reply | Quote
jsr
Administrator

Avatar

Member for: 7334 days
Location: Sweden
Status: Offline

#57601
It's quite easy actually. Get the latest NSF sources, open player.s and go to line 126, where the code is for handling song restart. To increase tempo by one, you may add this code:

Quote:
inc var_Tempo
jsr ft_calculate_speed


Then all you need to do is to follow rainwarrior's guide to make the NSF.

_______________________
Programmer and developer
Posted: 2014-05-22 23:39  (Last Edited: 2014-05-23 00:25) Reply | Quote
kingcandy



Member for: 4453 days
Status: Offline

#57607
I tried that, but the nsf was silent, and the nes rom generated
garbage.
edit: I got the nes rom to compile, but even with the modification, the tempo isn't increasing like it should. am I doing something wrong?

Posted: 2014-05-23 06:17 Reply | Quote
rainwarrior

Avatar

Member for: 5559 days
Location: Canada
Status: Offline

#57612
you probably want to add more than 1 to the temo (inc var_Tempo puts a +1 on it)

replace "inc var_Tempo" with:

lda var_Tempo
clc
adc #13
sta var_Tempo

This will increase tempo by 13 each time. Change it to a value you like.

Posted: 2014-05-23 06:49 Reply | Quote
kingcandy



Member for: 4453 days
Status: Offline

#57613
tried that but the nsf broke.

Page 2 of 2 Sort: Goto Page: << Previous [1] [2]