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=MrDwNVgjahqq/nCqw/+Ne4q0fRZuyxQsdjaX4xFVEzk=; b=bdjU2XQaoyUcE1scYLJ1FXqNfVoqwNEe1N1LxuKwgpkB3BeR9ejAGl6xoFzrvDQHqg pOqmpJiW0UAPC5NHoaWoQTBge/yebdLGK98C6Ldnw2QINzJIJXr9JHIjlvCMGh20U+iP LXJPsK+ebetycVx7vZqMCnMt0KkxevQeikkaxWsJD3k1SveFBZy3iOyMMy73PLGX8szt vKEEUhJevzXRAa/86M43GEIix9JYAPMef5XOARcEDjlylLYamcmcL56GX3afEP8Ew9Xb x1ndPR+hKqMHfIYB+z6doK2g1W51B9RoPY/bWTl14F/FmcyEheAoQ0QwU+TeSNeLMQ08 ErIA== MIME-Version: 1.0 X-Received: by 10.52.117.174 with SMTP id kf14mr8952357vdb.26.1373562956185; Thu, 11 Jul 2013 10:15:56 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jul 2013 13:15:56 -0400 Message-ID: Subject: Re: [geda-user] Help storing a 7KB wave file into memory From: Rob Butts To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=bcaec54859741489f404e13f8c46 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 Precedence: bulk --bcaec54859741489f404e13f8c46 Content-Type: text/plain; charset=ISO-8859-1 All good questions! I'm not sure how I'm going to read that file into memory. At this point I'd like to see what is in it and thought it might help me figure out how to read it into memory. I'll be using a microchip micro. I've never done anything like this so I'm just trying to figure it out. On Thu, Jul 11, 2013 at 12:37 PM, Gareth Edwards < gareth AT edwardsfamily DOT org DOT uk> wrote: > On 11 July 2013 17:17, Rob Butts wrote: > > That gave me a .raw file but I can't open it to see the data and if I > double > > click on the file I get an Open With window suggesting a slew of > > applications. > > > > The bytes of that file are the bytes of the audio data. Why do you > need to see them? (hexl-mode in Emacs or any other hex editor will let > you if you really think you need to) > > You said you were going to "store it in memory on a board and then > DtoA it to a speaker when needed." - how do you intend to get it into > the board memory? > --bcaec54859741489f404e13f8c46 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
All good questions!

I'm not sur= e how I'm going to read that file into memory.=A0 At this point I'd= like to see what is in it and thought it might help me figure out how to r= ead it into memory.

I'll be using a microchip micro.=A0 I've never done anyth= ing like this so I'm just trying to figure it out.


On Thu, Jul 11, 2013 at= 12:37 PM, Gareth Edwards <gareth AT edwardsfamily DOT org DOT uk> wrote:
On 11 July 2013 17:17, Rob= Butts <r DOT butts2 AT gmail DOT com>= wrote:
> That gave me a .raw file but I can't open it to see the data and i= f I double
> click on the file I get an Open With window suggesting a slew of
> applications.
>

The bytes of that file are the bytes of the audio data. Why do you need to see them? (hexl-mode in Emacs or any other hex editor will let
you if you really think you need to)

You said you were going to "store it in memory on a board and then
DtoA it to a speaker when needed." - how do you intend to get it into<= br> the board memory?

--bcaec54859741489f404e13f8c46--