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 > Bug Reports & Feature Requests > NSF export bug in N163 Owner: FamiPunk221 New post
Page 1 of 1 Sort:  
NSF export bug in N163 Posted: 2012-10-22 18:28  (Last Edited: 2012-10-22 20:13) Reply | Quote
FamiPunk221



Member for: 3529 days
Status: Offline

#40898
Hi Everybody! I found a bug which only at the export with the expansion chip N163.
As I exported the NSF file (expansion chip N163) the channels at Winamp (Plugin Notso Fatso) where at the wrong places, the first channel at FamiTracker is at the first channel, at the export to NSF they are at the wrong place (Last Channel form 1 to 8 at Winamp Notso Fatso), Namco 1 is at CHN 8 and Namco 2 is at CHN 7 and so on at the NSF export, is that normal?!

[color=red][i]Moved to bug reports section[/i]

Posted: 2012-10-22 18:54  (Last Edited: 2012-10-22 18:55) Reply | Quote
za909

Avatar

Member for: 3962 days
Location: Hungary
Status: Offline

#40899
Yes, that's actually how the chip works. It lets the game (or in this case the nsf) configure how many channels are active, but it's not enabling channels the way you'd think. If you enable 1 channel it actually enables channel 8, if you enable 3 channels it enables 8, 7, and 6, etc.
Famitracker and most nsf players still show them 1-8 instead of 8-1 for the sake of convenience.

_______________________
Rectangular sh*t ©
Posted: 2012-10-22 19:12 Reply | Quote
FamiPunk221



Member for: 3529 days
Status: Offline

#40900
so, its not a bug?

Posted: 2012-10-22 20:12 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#40901
No.

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Posted: 2012-10-22 21:25 Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4137 days
Location: Plantation, Florida
Status: Offline

#40907
<Actually making this an N163 export bug thread>

Using the pitch macro to slide down and a 1xx effect results in the pitch dropping, but with a high-pitched squeal.



_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Posted: 2012-10-22 21:30  (Last Edited: 2012-10-22 21:32) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#40908
[quote=Im_a_Track_Man]<Actually making this an N163 export bug thread>[/quote]
Try harder.

[quote=Im_a_Track_Man]Using the pitch macro to slide down and a 1xx effect results in the pitch dropping, but with a high-pitched squeal.[/quote]
The squeal you hear is the aliasing at work. Try it with only 1 channel you'll see the squeal disappears. The more channels you enable, the more aliasing you get.

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Posted: 2012-10-22 22:07 Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4137 days
Location: Plantation, Florida
Status: Offline

#40909
[quote=jrlepage]Try harder.[/quote]

Ok...

[quote=jrlepage]The squeal you hear is the aliasing at work.[/quote]

This squeal happens only in the NSF in the channel used.

It's strange because as I was typing this I was creating an FTM and NSF to test, however it only seems to happen in this song I'm covering...

The beat plays normally, it's just accompanied by a REALLY loud whine.

(in BUGTEST it doesn't happen, but when used in a song [Cracktro_tune1] it does)

_______________________
[BURNING LOVE]
[url=http://www.youtube.com/user/ImATrackMan]YouTube
[url=https://twitter.com/ImATrackMan]Twitter (Stay off my lawn, kids)
Attachments:
bugtest.ftm (1 Kb)
bugtro_tune1.ftm (8 Kb)
bugtro_tune1.nsf (7 Kb)
bugtest.nsf (6 Kb)
Posted: 2012-10-22 22:23 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#40910
As pointed out, the channels are used from back to front when taking the number of enabled channels into account, that makes it more logical to count the channels backwards rather than forward. So this is only the result of your NSF player counting the channels in the opposite direction due to the way they are located in the memory. Try any 4 channel N163 game and you'll see that only the last 4 channels are used.

_______________________
Programmer and developer
Page 1 of 1 Sort: