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
I know that controlling the DPCM volume in the NES is impossible, so I was wondering if anyone can explain why the DPCM volume changes when I use the Zxx command in the example I posted. I also noticed that some .nsf players are effected by this while some others are not.
The DPCM DAC is not linear, output levels are more scrunched (quieter) when the value is high, and more spread out (louder) when the value is high.
If your wave does not use the full range of the DPCM output, starting it higher or lower with Zxx will make it quieter or louder, respectively.
By the way, after the first Zxx, you don't need a second one. Most DPCM samples will self-centre, and will stick to a consistent part of the range. The "tilt" function in the DPCM editor is actually intended to combat quiet samples by inserting zeroes into the stream at random; by doing this you can make the sample return to 0 at its end (accomplishing what a Z00 would do), so that the next sample will play at full volume again.