delorie.com/archives/browse.cgi | search |
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=KNtnEht4Q9ulOPnsrUrvbIp/3tzrOChyQE0TTZQSmmg=; | |
b=QrAStGPRQI5HetyT/a2WY3X0f5KIUUW19vEzVpDdrF49GUoWE5X57/ohyjbUV3imAZ | |
qEQ6t346bUi9SdyWIWHH0julM6PZ6l281GXUT6/KXBMMHg2cmz26LGQMVIXezRZpkSXt | |
SIXcK6CC26fanP+6k96mncB/YyOgxc61z2vyhVaemQKj85YhmhLHsaM3yUhdTTpDboOf | |
ALjM9WHzuxBC4hvWB8KfLQqIvromn+U0d9CqK6ldKKmvxXSCRdiVDFUNL4fajPo7GBAs | |
zg+QvspKbnDC9zHoqUOzOi6uNFJI2Rkb4FNf4UNh3a4v6cvXOd3mzCN9dewlPpF6mgWC | |
t9wA== | |
MIME-Version: | 1.0 |
X-Received: | by 10.52.66.104 with SMTP id e8mr16889518vdt.5.1373483430651; Wed, |
10 Jul 2013 12:10:30 -0700 (PDT) | |
In-Reply-To: | <CACNnPRnWKG+MK6N4ybF5XFd14prWg7fBB5=GwUSei924AOZuAQ@mail.gmail.com> |
References: | <CALSZ9gpTm-H5X4X9JNgV66MfwTghY0=rR6fiwAZebDsanqcK6Q AT mail DOT gmail DOT com> |
<CACNnPRnWKG+MK6N4ybF5XFd14prWg7fBB5=GwUSei924AOZuAQ AT mail DOT gmail DOT com> | |
Date: | Wed, 10 Jul 2013 15:10:30 -0400 |
Message-ID: | <CALSZ9grTi0F+1f=o4Vf76BFK4+O3LMfYtw9H1BB+WNG6AOv+mg@mail.gmail.com> |
Subject: | Re: [geda-user] Help storing a 7KB wave file into memory |
From: | Rob Butts <r DOT butts2 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 |
--20cf307abd8ffd65c304e12d07e5 Content-Type: text/plain; charset=ISO-8859-1 Once I get it I want to store it in memory on a board and then DtoA it to a speaker when needed. On Wed, Jul 10, 2013 at 2:27 PM, Abhijit Kshirsagar <abhijit86k AT gmail DOT com>wrote: > Yes you can. Tools like octave have the ability to read and write wave > files. Alternatively, you can read the file in binary mode using c or > perhaps python. > > The wave format is pretty simple- the first few bytes have info about > sampling rate, channels, etc, and then is the stream of data itself. > The exact details are on numerous websites... > > What do you want to do with the data once you get it? > > -Abhijit > > -- > ~Abhijit > --20cf307abd8ffd65c304e12d07e5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Once I get it I want to store it in memory on a board and = then DtoA it to a speaker when needed.</div><div class=3D"gmail_extra"><br>= <br><div class=3D"gmail_quote">On Wed, Jul 10, 2013 at 2:27 PM, Abhijit Ksh= irsagar <span dir=3D"ltr"><<a href=3D"mailto:abhijit86k AT gmail DOT com" targe= t=3D"_blank">abhijit86k AT gmail DOT com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Yes you can. Tools like octave have the abil= ity to read and write wave<br> files. Alternatively, you can read the file in binary mode using c or<br> perhaps python.<br> <br> The wave format is pretty simple- the first few bytes have info about<br> sampling rate, channels, etc, and then is the stream of data itself.<br> The exact details are on numerous websites...<br> <br> What do you want to do with the data once you get it?<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> -Abhijit<br> <br> --<br> ~Abhijit<br> </font></span></blockquote></div><br></div> --20cf307abd8ffd65c304e12d07e5--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |