From: "Warren W. Gay VE3WWG" <ve3wwg@home.com>
Subject: Re: In Plain Text: Tags.Internal_Tag(String'Input(Stream)) ??
Date: Thu, 28 Dec 2000 18:32:52 GMT
Date: 2000-12-28T18:32:52+00:00 [thread overview]
Message-ID: <3A4B86B4.DB440BF5@home.com> (raw)
In-Reply-To: 92fnnn$emq$1@nnrp1.deja.com
Ted Dennison wrote:
>
> In article <3A4B557F.F167C8E@home.com>,
> "Warren W. Gay VE3WWG" <ve3wwg@home.com> wrote:
> > (Apologies re: the prior post in HTML, here again in plain:)
> >
> > I want to read in WAVE file chunks using the S'Class'Input() facility.
> > Each WAVE chunk starts with a String(1..4) that identifies the chunk.
> > I have set up the external representation of each tagged record to
> > match this chunk ID, for example:
> >
> > for Riff_Form'External_Tag use "RIFF";
> >
> > However, the difficulty now is that I want to override the way the
> > Tag is read in (the Tag length is ALWAYS 4 bytes here). The Ada
> > implementation attempts to read in the lower bound and upper
> > bound of the Tag string first [ See ref to the note about
> > Tags.Internal_Tag(String'Input(Stream)) below ].
> >
> > I would prefer not to override String'Input since this would affect
> > it's behavour for all strings.
>
> You might have better luck creating your own custom stream type for WAV
> data.
I am in the process of doing that very thing. However, I am looking for
ways to more elegantly read in the various chunks (tagged records) from
the stream. S'Class'Input() comes tantalizingly close.
--
Warren W. Gay VE3WWG
http://members.home.net/ve3wwg
next prev parent reply other threads:[~2000-12-28 18:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3A4AC329.9C2A311A@home.com>
2000-12-28 6:19 ` Tags.Internal_Tag(String'Input(Stream)) ?? tmoran
2000-12-28 15:06 ` Warren W. Gay VE3WWG
2000-12-28 15:02 ` In Plain Text: " Warren W. Gay VE3WWG
2000-12-28 15:54 ` Ted Dennison
2000-12-28 18:32 ` Warren W. Gay VE3WWG [this message]
2000-12-28 19:44 ` Ted Dennison
2000-12-29 2:20 ` Warren W. Gay VE3WWG
2000-12-29 3:20 ` tmoran
2000-12-29 3:04 ` tmoran
2000-12-29 5:29 ` Ada0x Enhancement? Was: " Warren W. Gay VE3WWG
2000-12-29 7:11 ` tmoran
2000-12-29 14:32 ` Warren W. Gay VE3WWG
2000-12-30 5:55 ` External_Tag: Why? was " tmoran
2000-12-31 22:17 ` Randy Brukardt
2001-01-01 16:50 ` Warren W. Gay VE3WWG
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox