Re: low level sound file access somehow?
Re: low level sound file access somehow?
- Subject: Re: low level sound file access somehow?
- From: pwicker <email@hidden>
- Date: Sun, 9 Jan 2005 16:06:20 +0100
On Jan 9, 2005, at 3:34 PM, Ben Dougall wrote:
That's what AudioFile API is doing. The "pixel" from the audio point of
view would be the sample for lpcm encoding and maybe the packet for,
say, mp3 encoding. Even in mp3 encoding styles, it is still possible to
access individual samples after the conversion of the encoded packet to
the native format (lpcm float 32) using the Apple AUConverter. You
cannot directly - ie randomly - access any sample at a given offset in
a file. You must first read a bunch of samples using the AudioFile API
(eg AudioFileReadBytes or AudioFileReadPackets). Once you get these
samples in a memory buffer then you can access anyone anyhow.
hello,
how can i get low level access to sound files? with images you can
access them on a pixel by pixel basis knowing where in the image the
pixel is and the value(s) of a particular pixel, once having found out
the format details. how can i go about that with sounds?
is it possible to do that for numerous sound formats using core audio?
(core audio, one of who's features is to act as an in between, hiding
details/particulars of various sound formats from you right?) i'm not
even completely sure what the basic parameters of sound are. with
images you've got so many pixels by so many pixels all of which are a
particular depth and the number of channels (the number of values per
pixel). does core audio allow you to get that type of information
about a specified sound file, and then access it in the kind of basic,
raw way i'm describing? if so roughly how, if not any suggestions how
to go about that?
so what i'm hoping for is that core audio can kind of channel various
sound formats into a standardised basic format, shielding you from
various sound format (aif, mp3 etc) details, give you the "dimension"
details of the particular sound you're looking at, and then allow you
to access that sound "pixel" by "pixel".
any ideas / pointers to relevant documentation much appreciated.
thanks, ben.
Philippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden