|
Atari coding BBS
Re: DspMod volume question |
Posted by: ggn
|
Sep,13.2013-10:03
|
When you call the player initially, you're passing a volume table like the following:
dspmod34_voltab4:
DC.W $0FFF,$0FFF,$0FFF,$0FFF
DC.W $3FFF,0,0,0
From what I recall, the value for each channel can go from 0 to $7fff. For the above table I've set the music channels lower and the sample's higher.
Now I haven't tested this, but maybe if you call dspmod34_playeron with a modified table, it'd do the trick? The only worry is if it restarts the module or not. Or of course if it has to recalculate a few internal tables depending on voice values.
If that doesn't work maybe there is a way to hack the values inside the player. If you like try my suggestion and if it doesn't work, I'll investigate further.
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|