Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11592 > unrolled thread
| Started by | James Stein <mathgroup@stein.org> |
|---|---|
| First post | 2012-09-02 08:45 +0000 |
| Last post | 2012-09-02 08:45 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Is there documentation of the format of a "sound object" James Stein <mathgroup@stein.org> - 2012-09-02 08:45 +0000
| From | James Stein <mathgroup@stein.org> |
|---|---|
| Date | 2012-09-02 08:45 +0000 |
| Subject | Re: Is there documentation of the format of a "sound object" |
| Message-ID | <k1v6c3$5bf$1@smc.vnet.net> |
Answering my own question:
I was wrong to think this line:
so1 = Import [ "Audio Track.aiff" ] ;
worked; it should have been:
so2 = Import [ "Audio Track.aiff", "AIFF" ] ;
or:
so3 = Import [ "Audio Track.AIFF" ] ;
so2 and so3 are correct; so1 is totally weird.
I was misled by the documentation for 'Import', which says:
"The format of a file is by default deduced from the file extension in
its name".
Perhaps this is a bug?
I note that both Wikipedia and Mathematica's own documentation
explicitly mention .aif, .aiff and .aifc (all lower cased) as the
extensions denoting AIFF files.
On Fri, Aug 31, 2012 at 11:28 PM, James Stein <mathgroup@stein.org> wrote:
> One simple line of code, seems to work:
> so = Import["Audio Track.aiff"];
> The imported file is a track on an audio CD (music).
>
> Per Mathematica's documentation, "so" is a "sound object".
> In my test case, "so" is a List with 616171 sub-Lists.
> Some subLists are empty, some are strings, some are weird.
> Somewhere within "so" I would expect to find one or more lists of
> 16-bit integers.
> I was not successful.
>
> Where is this stuff documented?
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web