Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
DspMod volume question Thadoss Sep,12.2013-23:39
  Re: DspMod volume question Thadoss Sep,13.2013-00:47
    Re: DspMod volume question ggn Sep,13.2013-10:03
      Re: DspMod volume question ggn Sep,13.2013-10:14
    Re: DspMod volume question evil Sep,13.2013-13:32
      Re: DspMod volume question Thadoss Sep,13.2013-13:46


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson