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

Atari demoscene BBS
 
Re: Devpac-3 Including files Help
Posted by: baah Jun,15.2012-13:49 

"If you mix 2 samples just by adding their bytes together you will overflow (adding 2 8-bit numbers will at worst result in a 9-bit number). So you need to shift right the samples before adding them."

If you have them 8 bits in memory, it's better to shift right AFTER addition (only one shift, better precision). Maybe ggn was speaking about having them pre-shifted in memory, ie 7 bits?








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Devpac-3 Including files Help Pete Jun,13.2012-06:07
  Re: Devpac-3 Including files Help saulot Jun,13.2012-08:02
    Re: Devpac-3 Including files Help Pete Jun,14.2012-02:37
    Re: Devpac-3 Including files Help Pete Jun,14.2012-04:41
      Re: Devpac-3 Including files Help ggn Jun,14.2012-08:59
        Re: Devpac-3 Including files Help baah Jun,15.2012-13:49
          Re: Devpac-3 Including files Help evil Jun,15.2012-14:22
            Re: Devpac-3 Including files Help ggn Jun,15.2012-17:57
              Re: Devpac-3 Including files Help Pete Jun,17.2012-11:00


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