Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Request importing NSF File to FTM Owner: radel999 New post
Page 7 of 8 Sort: Goto Page: << Previous [1] [2] [3] [4] [5] [6] [7] [8] Next >>
Posted: 2011-07-05 06:32 Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19467
Approval isn't an issue right now. I haven't written anything worth putting into FamiTracker yet.

If/when I have done that, I will give it to jsr to use as he wishes.

Posted: 2011-07-05 07:41  (Last Edited: 2011-07-05 07:42) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6535 days
Location: Canada
Status: Offline

#19468
Oh. I thought you were releasing it to the public as soon as you were done. :o

Posted: 2011-07-05 09:02 Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19470
That's exactly what I want a plugin system for!

Posted: 2011-07-05 17:01 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6535 days
Location: Canada
Status: Offline

#19471
Ahh I understand now. Thanks!

Posted: 2011-07-06 21:33  (Last Edited: 2011-07-07 06:49) Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19510
The odyssey continues with FDS!

Approximating pitch modulation with Pxx was a pain; my first thought was to sample it once per frame, but then I ran into a case where it was running at very high frequency! So... I ended up taking the average per frame over all ticks, which seems to work pretty well.

Edit: Just found out the FDS modulation can go up to like 1700Hz or so... this thing could do FM! Interesting... I should probably implement that capability.


Attachments:
ggg.ftm (32 Kb)
Posted: 2011-07-06 21:59  (Last Edited: 2011-07-06 22:43) Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19511
Also have been experimenting with PAL support, but the pitch comes out slightly low. Not sure why; I'm using the register values vs. FamiTracker's SoundGenerator note lookup tables (after resetting it to PAL).

It's kind of weird too, if I export a PAL NSF from 0.3.6, it will import at the correct pitch, but a PAL NSF from 0.3.7b imports low like the game NSFs I've tried. The issue might also be with NotSo Fatso (or even with NSFPlug; how do I know which one is correct?).

Another random thought: did europeans use arpeggio a lot more because they sound nicer at the slightly slower 50hz?

Edit: Hmm, the emulators I've tried seem to agree with the lower pitch I'm getting. Maybe NSFPlug is playing back at the wrong pitch and the results I'm getting are correct.


Attachments:
hhh.ftm (124 Kb)
Posted: 2011-07-06 22:56 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6535 days
Location: Canada
Status: Offline

#19515


Posted: 2011-07-06 23:00 Reply | Quote
kinkinkijkin

Avatar

Member for: 5918 days
Location: Not where my face is
Status: Offline

#19517
PAL is a lower speed, so it's gonna play waveforms slower, causing them to be longer, and therefore lower.

Posted: 2011-07-06 23:04 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6535 days
Location: Canada
Status: Offline

#19518
Random question: Is pattern length detection planned to be a feature somewhere down the road? If not, may I humbly suggest a manual pattern length option in the pre-conversion process?

Posted: 2011-07-06 23:28 Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19520
kinkinkijkin: Err, it's not really that simple. PAL games don't play slower, they play the sound at the rate it's supposed to for that system, which if you do things right should be the same pitch as you expect. There's the 60 vs 50hz vsync thing, but also a different clock rate on the PAL chip (unrelated to vsync). What I suspect is that NSFPlug is playing back PAL NSFs with NTSC clock speed but at PAL vsync rate, resulting in an incorrectly high playback pitch (the tempo is correct though). I think I should do some tests with the FamiTracker NSF exporter too.

And no, I have no plans for pattern length detection.

If I eventually write a plugin system I would probably make a tool for reflowing pattern data over a different length.

Posted: 2011-07-07 01:43 Reply | Quote
TechEmporium

Avatar

Member for: 6037 days
Status: Offline

#19529
Well, when you create PAL NSFs with FamiTracker, they export & play in other players at the proper vsync frequency. Considering that NSFPlug was programmed only with NTSC NSFs in mind, I'm not surprised that PAL NSFs mess things up with the player.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2011-07-07 05:35 Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19532
Everything plays at the correct vsync frequency (rhythm/tempo is fine), it's the CPU clock frequency (oscillator pitch) that's different in NSFPlug, I think. FamiTracker 0.3.7b also seems to be doing something weird with this, which I've started a thread for.

Posted: 2011-07-07 11:07 Reply | Quote
radel999



Member for: 5562 days
Status: Offline

#19541
im wait for Wai Wai World 2 Stage 1-1

_______________________
Im radel999
Posted: 2011-07-07 11:27 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6535 days
Location: Canada
Status: Offline

#19542
radel999 wrote:
im wait for Wai Wai World 2 Stage 1-1

rainwarrior wrote:
I don't really want to take a billion requests right now, sorry.

Might I suggest reading the discussion before contributing? Helps avoiding cases like this.

Anyway, as has also already been mentioned, the tool will probably be ready within a month, so you won't need to hold your breath for very long. You would've caught that too if you had merely skimmed through the discussion prior to posting.

Posted: 2011-07-08 02:45  (Last Edited: 2011-07-08 03:54) Reply | Quote
rainwarrior

Avatar

Member for: 5702 days
Location: Canada
Status: Offline

#19567
When I got to VRC7 I thought it was going to be easy... some of it was. Figuring out that volume values are inverted took waaaay too long. I abuse 3FF for pitch bends (not sure quite how well this works in 900bpm mode), and approximate with Pxx for pitch bends after note release.

Edit: this version's a little better; was using note release instead of halt (didn't realize release did something special for FamiTracker's VRC7).


Attachments:
iii.ftm (56 Kb)
Page 7 of 8 Sort: Goto Page: << Previous [1] [2] [3] [4] [5] [6] [7] [8] Next >>