From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,45f8ab3299844d35 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-11 10:14:48 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newspeer.monmouth.com!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: mark_lundquist@my-deja.com Newsgroups: comp.lang.ada Subject: Re: reading file Date: Thu, 11 Jan 2001 17:57:56 GMT Organization: Deja.com Message-ID: <93ks6t$f3d$1@nnrp1.deja.com> References: <93g1bv$b5m$1@eol.dd.chalmers.se> NNTP-Posting-Host: 130.213.203.244 To: danielnilsson@hem3.passagen.se X-Article-Creation-Date: Thu Jan 11 17:57:56 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt) X-Http-Proxy: 1.1 x57.deja.com:80 (Squid/1.1.22) for client 130.213.203.244 X-MyDeja-Info: XMYDJUIDmark_lundquist Xref: supernews.google.com comp.lang.ada:3915 Date: 2001-01-11T17:57:56+00:00 List-Id: In article <93g1bv$b5m$1@eol.dd.chalmers.se>, "Daniel Nilsson" wrote: > Hi. > I am a pretty unexperienced ADA programmer. > I want to write a mp3 player (doesn't have to be very optimized), MP3 player in Ada, sounds like fun... Just out of curiosity... are you a "very experienced programmer" in general? > and the > first problem I came across is that I don't know how to read the mp3 files, Do you have access to a description of the MP3 file format? > and how shall I process the data read (a byte can take any value, even > non-ascii). What specifically are you asking here? The fact that you mention "ascii" is a hint that maybe there's some misunderstanding, but without more detail it's hard to tell. Are you trying to figure out how to represent a byte in Ada? If so... the predefined type for a byte is Interfaces.Signed_8 or Interfaces.Unsigned_8, depending on whether you want to do signed or unsigned math on it. If you aren't going to do any math on them, then it doesn't matter... Ask more questions... good luck Mark Sent via Deja.com http://www.deja.com/