delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/03/30/08:44:44

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <20140330124349.8644.qmail@stuge.se>
Date: Sun, 30 Mar 2014 14:43:49 +0200
From: Peter Stuge <peter AT stuge DOT se>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Wav to C array ~ 16 bit to 12 bit
Mail-Followup-To: geda-user AT delorie DOT com
References: <CALSZ9gpoxnz9V-CbisKqmdwQyTtVf6G9nCe2Wt=4p4su-afFBQ AT mail DOT gmail DOT com> <5336E080 DOT 5080600 AT buffalo DOT edu> <533721CC DOT 9000408 AT buffalo DOT edu>
MIME-Version: 1.0
In-Reply-To: <533721CC.9000408@buffalo.edu>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Stephen R. Besch wrote:
> now I think that the best technique is to formally rescale the data

If you're going to do this often then a fixed point integer division
will get you very close to the same results with only a fraction of
the computation needed.


//Peter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019