From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= Newsgroups: gmane.comp.audio.sox.devel Subject: Re: 64bit audio read and write Date: Wed, 06 Jul 2016 13:22:56 +0100 Message-ID: References: <577C4A9A.2000105@flatmax.org> <20160706072934.GA24278@dcvr.yhbt.net> <577CD611.80007@flatmax.org> <577CF6B0.2010107@flatmax.org> Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467807794 16555 80.91.229.3 (6 Jul 2016 12:23:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 12:23:14 +0000 (UTC) Cc: sox-devel@lists.sourceforge.net To: Matt Flax Original-X-From: sox-devel-bounces@lists.sourceforge.net Wed Jul 06 14:23:09 2016 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org X-ACL-Warn: In-Reply-To: <577CF6B0.2010107@flatmax.org> (Matt Flax's message of "Wed, 6 Jul 2016 22:16:48 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Spam-Score: -1.3 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1bKlr5-0002I1-7B X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox.devel:494 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKlr9-0000Y1-T2 for gcasd-sox-devel@m.gmane.org; Wed, 06 Jul 2016 14:23:08 +0200 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bKlr7-0006eO-KK; Wed, 06 Jul 2016 12:23:05 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bKlr6-0006eJ-EZ for sox-devel@lists.sourceforge.net; Wed, 06 Jul 2016 12:23:04 +0000 Received: from unicorn.mansr.com ([81.2.72.234]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1bKlr5-0002I1-7B for sox-devel@lists.sourceforge.net; Wed, 06 Jul 2016 12:23:04 +0000 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 5B9BD17B3D; Wed, 6 Jul 2016 13:22:56 +0100 (BST) Matt Flax writes: > On 06/07/16 21:41, M=E5ns Rullg=E5rd wrote: >> Matt Flax writes: >> >>> On 06/07/16 17:29, Eric Wong wrote: >>>> I'm not up-to-date with the latest technology, but even 32-bit >>>> is far beyond the range of human hearing; and last I checked; >>>> available ADC/DACs can't even make full use of 24-bit (nor >>>> our ears). >>> 120 dB SPL (threshold of discomfort) is around 20 billion times louder >>> then 20 dB SPL (a whisper). That is approximately 24 bits. >>> However, we can hear down to 10 dB SPL, or lower for young people ... >>> that is approximately 40 bits of dynamic range. >> 120 dB is outright painful and damages the ears. 100 dB is already >> unpleasant. >> >> You should also check your calculations. With your limits, the required >> dynamic range would be 110 dB, which comes out to 20 bits with a bit of >> margin. >> > http://www.nal.gov.au/images/diagram-of-noise.jpg > Anything above 75 dB SPL has potential to damage your hearing, > depending on exposure time. The fact that we can hear with clarity > over such large dynamic range is extraordinary isn't it ! I tend to think it's a natural result of evolution in an environment where those sound levels occur regularly. > I think the point I am making is that you can't capture 64 bit words > of data in audio files with only 32 bit word reads/writes from file. I > wasn't aware that sox didn't have any methods for 64 bit audio data > file read and writes. From a pure data perspective, no qualms right ? Adding support for some file format with 64-bit samples is easy if you accept truncating the values to 32 bits on read and padding on write. -- = M=E5ns Rullg=E5rd ---------------------------------------------------------------------------= --- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape