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 > FamiTracker Talk > Controlling DPCM volume Owner: Roykeru New post
Page 1 of 1 Sort:  
Controlling DPCM volume Posted: 2012-06-08 07:07 Reply | Quote
Roykeru

Avatar

Member for: 3777 days
Location: Milky Way
Status: Offline

#35577
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.


Attachments:
dpcm_volume_control.ftm (11 Kb)
Posted: 2012-06-08 10:37  (Last Edited: 2012-06-08 11:07) Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#35583
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.

Posted: 2012-06-08 15:20 Reply | Quote
Roykeru

Avatar

Member for: 3777 days
Location: Milky Way
Status: Offline

#35589
Thanks, I was curious since I've always deen told that the DPCM volume could never be changed. I guess in certain retrospects it can.

Page 1 of 1 Sort: