Inside Macintosh: Sound
| Previous | Chapter contents | Chapter top | Section top | Next |
Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
You can use the following constants to specify a chunk ID, a 4-byte value that identifies the type of a chunk in an AIFF or AIFF-C file.
CONST
{IDs for AIFF and AIFF-C file chunks}
FormID = 'FORM'; {ID for Form Chunk}
FormatVersionID = 'FVER'; {ID for Format Version Chunk}
CommonID = 'COMM'; {ID for Common Chunk}
SoundDataID = 'SSND'; {ID for Sound Data Chunk}
MarkerID = 'MARK'; {ID for Marker Chunk}
InstrumentID = 'INST'; {ID for Instrument Chunk}
MIDIDataID = 'MIDI'; {ID for MIDI Data Chunk}
AudioRecordingID = 'AESD'; {ID for Recording Chunk}
ApplicationSpecificID = 'APPL'; {ID for Application Chunk}
CommentID = 'COMT'; {ID for Comment Chunk}
NameID = 'NAME'; {ID for Name Chunk}
AuthorID = 'AUTH'; {ID for Author Chunk}
CopyrightID = '(c) '; {ID for Copyright Chunk}
AnnotationID = 'ANNO'; {ID for Annotation Chunk}
The Form Chunk. A Form Chunk contains information about the format of the file, and contains all the other chunks of the file.
The Format Version Chunk. A Format Version Chunk contains an indication of the version of the AIFF-C specification according to which this file is structured (AIFF-C only).
The Common Chunk. A Common Chunk contains information about the sampled sound, such as the sampling rate and sample size.
The Sound Data Chunk. A Sound Data Chunk contains the sample frames that comprise the sampled sound.
The Marker Chunk. A Marker Chunk contains markers that point to positions in the sound data.
The Instrument Chunk. An Instrument Chunk defines basic parameters that an instrument (such as a sampling keyboard) can use to play back the sound data.
The MIDI Data Chunk. A MIDI Chunk contains MIDI data.
The Audio Recording Chunk. An Audio Recording Chunk contains information pertaining to audio recording devices.
The Application Chunk. An Application Chunk contains application-specific information.
The Comment Chunk. A Comment Chunk contains a comment.
The Name Chunk. A Name Chunk contains the name of the sampled sound.
The Author Chunk. An Author Chunk contains one or more names of the authors (or creators) of the sampled sound.
The Copyright Chunk. A Copyright Chunk contains a copyright notice for the sampled sound.
The Annotation Chunk. An Annotation Chunk contains a comment.
Inside Macintosh: Sound
| Previous | Chapter contents | Chapter top | Section top | Next |
Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.