Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Native VGM player for the NGP(C)
#9
I've added tables and code to get the pitch for the tone channels correct. Alas, I suspect that the shift register used for implmenting the noise channel on the T6W28 is 15 bits, and not 16 like on the chips used in the SMS/GG.

Since those basslines you hear in some of the songs are done using the noise channel's "periodic noise" mode (where it outputs a square wave), it'll have the wrong pitch (off by 6.67%) and duty cycle. A C1 would become a C+1/D-1, and a B1 would become something in between B1 and C2, etc.

The duty cycle I can do nothing about, but the pitch could be corrected. The problem is that there's only 4K of RAM for the Z80, and each of these pitch correction tables take up 2K, so I can have one that will make the tone channels sound ok, or one that will make the basslines sound ok, but not both.
Reply


Messages In This Thread
Native VGM player for the NGP(C) - by mic_ - 04-14-2012, 03:19 AM
RE: Native VGM player for the NGP(C) - by Morden - 04-14-2012, 03:34 AM
RE: Native VGM player for the NGP(C) - by Flavor - 04-14-2012, 02:23 PM
RE: Native VGM player for the NGP(C) - by mic_ - 04-14-2012, 06:04 PM
RE: Native VGM player for the NGP(C) - by mic_ - 04-14-2012, 08:30 PM
RE: Native VGM player for the NGP(C) - by Morden - 04-15-2012, 12:20 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-15-2012, 02:11 AM
RE: Native VGM player for the NGP(C) - by Flavor - 04-15-2012, 12:31 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-15-2012, 05:36 PM
RE: Native VGM player for the NGP(C) - by mic_ - 04-16-2012, 04:47 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-17-2012, 04:37 AM
RE: Native VGM player for the NGP(C) - by Flavor - 04-17-2012, 07:34 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-21-2012, 07:01 PM
RE: Native VGM player for the NGP(C) - by Flavor - 04-22-2012, 10:29 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-22-2012, 05:34 PM
RE: Native VGM player for the NGP(C) - by Flavor - 04-22-2012, 11:25 PM
RE: Native VGM player for the NGP(C) - by mic_ - 04-23-2012, 05:17 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-28-2012, 05:42 PM
RE: Native VGM player for the NGP(C) - by Morden - 05-01-2012, 01:42 AM
RE: Native VGM player for the NGP(C) - by mic_ - 05-01-2012, 03:48 AM
RE: Native VGM player for the NGP(C) - by Morden - 05-01-2012, 04:20 AM
RE: Native VGM player for the NGP(C) - by mic_ - 05-02-2012, 04:00 PM
RE: Native VGM player for the NGP(C) - by sodthor - 04-17-2013, 01:06 AM
RE: Native VGM player for the NGP(C) - by mic_ - 04-17-2013, 01:22 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)