Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Source and development > Sound Driver acts funny? Owner: Denine New post
Page 1 of 1 Sort:  
Sound Driver acts funny? Posted: 2012-05-08 18:22 Reply | Quote
Denine



Member for: 3958 days
Location: Zaks castle
Status: Offline

#34811
Hi,
Recently, I was developing a game.One guy decided to help me out with music, however, after including source into my game, music just sound strange, like instruments were changed.After some digging, I was 100% sure I included everything propely.Then i decided to export NES file.And guess what? It also had instruments changed.NSF version plays nicely-excatly how it should.After some more digging, I'v found something...unsettling-Music was sounding differently with with other emulator.After checking a few emulators, only [url=http://www.qmtpro.com/~nes/nintendulator/]Nintendulator (most accruate NES emulator) seems to play music correctly.Also, NES file genereated with famitracker works fine with hardware.
Now, question:
Is this fault of emulators? I guess they are not 100% compatible?

Thanks for your time.

Posted: 2012-05-08 18:54 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#34812
Are you using an MMC3 mapper? I had problems before trying to use that mapper with the Famitracker driver (never figured out the root problem).

Posted: 2012-05-08 18:59  (Last Edited: 2012-05-08 19:23) Reply | Quote
Denine



Member for: 3958 days
Location: Zaks castle
Status: Offline

#34813
No, I'm using NROM.
Besides, Famitracker can generate only NROM, right?(If no expansion chip is included).

Edit:
Oh, you mean I should try MMC3?
Ok, I tried, but it's all the same.

I attached example "problem.ftm".
Square 1 and 2 will not play\play (very) incorrectly in Nestopia.(but correctly in FCEU\Nintendulator\NessterJ).
Noise Channel will fail in FCEU and nestopia.
All channels will play correctly in Nintendulator.
I just want to know if it's emulator fault?
Important note: I'm not talking about music in my game, but about just exporting NES file from famitracker for testing.


Attachments:
problem.ftm (1 Kb)
Posted: 2012-05-08 21:38  (Last Edited: 2012-05-08 21:45) Reply | Quote
Dwedit

Avatar

Member for: 4972 days
Location: Chicago
Status: Offline

#34818
Clear the RAM to zeroes. Famitracker's NES ROM is clearing out 0300-03FF, but using 0200-02FF.

Posted: 2012-05-08 22:33 Reply | Quote
Denine



Member for: 3958 days
Location: Zaks castle
Status: Offline

#34823
Yes, thank you:D
Now, jsr should fix this in next release.It's nothing big, a few people will use "export to NES file" option, but it's not like hours of work to get fix done, right?
Again, thanks, Dwedit:D

Posted: 2012-05-09 04:08 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#34825
Good find, Dwedit!

Page 1 of 1 Sort: