Search site Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2013

Sillyventure 2013
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

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]

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:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2013 Dead Hackers Society Contact: Anders Eriksson