delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/07/10/15:10:10

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=nRkD+p6B8SzpM4PMo1nsInXyyajvptisZAfdDGgMmZs=;
b=kHK4MupwE31NBsFMMySw+/goNoqs6T191+32aIglIOiMA1nC9eZiIjL4adGAtHH8PK
0eQfkaBJ69cXEUwL2izS+fQZobsEu8xW6uLoq6oLJcMBj6yd6R67U3JPhBMzd97MUjcg
LjRXWpFzA8qUVw2UyQdXzxAUXucDMeol+PSHNX7tgK8vx1DbJqARP28k+XZpQWu8KQeO
qIj2vucSfsqLKsce0MS74LjRr8UxyHYO4gh5QomKkGo8EYIN1v4P0SEYGVk04TOdHnhH
NVWkHYJODAQvtfNy3gkc0EEzhiqwEfyUR8ErFQ9WFD1koQuj94qIN0DYw7uyMJrzikz1
cH0Q==
MIME-Version: 1.0
X-Received: by 10.50.88.7 with SMTP id bc7mr36177730igb.37.1373483377506; Wed,
10 Jul 2013 12:09:37 -0700 (PDT)
In-Reply-To: <CALSZ9gpTm-H5X4X9JNgV66MfwTghY0=rR6fiwAZebDsanqcK6Q@mail.gmail.com>
References: <CALSZ9gpTm-H5X4X9JNgV66MfwTghY0=rR6fiwAZebDsanqcK6Q AT mail DOT gmail DOT com>
Date: Wed, 10 Jul 2013 11:09:37 -0800
Message-ID: <CAC4O8c9vYvu=NMndEZoaZPT2+L-qxxPmYCzJuexiG2zSApxinA@mail.gmail.com>
Subject: Re: [geda-user] Help storing a 7KB wave file into memory
From: Britton Kerin <britton DOT kerin AT gmail DOT com>
To: geda-user AT delorie DOT com
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

On Wed, Jul 10, 2013 at 10:03 AM, Rob Butts <r DOT butts2 AT gmail DOT com> wrote:
> I have an 8 KHz 8 bit pcm wave file that is a short sound in a .wav file on
> my computer.
>
> I'd like to get the bytes that make up the 7 KB file which I've never done
> before.  Has anyone done this; read a wave file into memory from your hard
> drive?

The sox program will convert just about any sound format to any other
(with some trouble for mp3 unless you have plugins or something),
including raw sample bytes in your choice of endianness, sample order
etc.

Britton

- Raw text -


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