|
audiofile/AFinitcompression(3d) -- configure the audio compression type and parameters in an AFfilesetup structure for an audio track
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is a positive integer which identifies an audio track in a file configuration. Since all currently supported file formats contain one audio track per file, the constant value AF_DEFAULT_TRACK should always be used here. compression is a positive integer symbolic constant which indicates the type of audio compression for the audio track. pvlist is an AUpvlist structure, previously created by a call to AU... |
audiofile/afInitDataOffset(3d) -- initialize the audio data byte
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is an integer which identifies an audio track in setup. Since all currently supported file formats contain only one audio track, the value AF_DEFAULT_TRACK should always be used here. offset is a positive value which specifies the offset in bytes for the audio data associated with track. The data type AFfileoffset is large enough to hold any data offset allowed by the filesystem. count is a positive val... |
audiofile/AFinitfilefmt(3d) -- initialize the audio file format type in an AFfilesetup structure
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). filefmt is a symbolic integer constant which specifies an audio file format supported by the audio file library. |
audiofile/afInitFormatParams(3d) -- initialize the audio data format in an AFfilesetup for a specified audio track via dmParams
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is an integer which identifies an audio track in setup. Since all currently supported file formats contain only one audio track, the value AF_DEFAULT_TRACK should be used here for now. params a DMparams list, previously created by a call to dmParamsCreate(3dm). |
audiofile/AFinitinstids(3d) -- specify a list of instrument parameter chunk identifiers to be stored in an AFfilesetup structure.
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). instids is an array of positive integer ID's which are used to reference instrument configurations in a file after it is created by afOpenFile(3dm). ninsts is the number of instrument configurations requested in setup. For AIFF-C (AIFF), this number should be either 0 or 1. The various other file formats supported by the Audio File Library have different support different numbers of instrument configurations... |
audiofile/AFinitloopids(3d) -- initialize a list of loop ID's for a given instrument in an AFfilesetup structure
|
setup expects an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). inst is an integer which identifies an instrument configuration to be included in a new file when the file is created. Of the currently supported audio file formats, only AIFF-C (AIFF) files contain instrument configurations, with a maximum of one per file. For this reason, the value AF_DEFAULT_INST should always be used for this argument for now. loopids is an array of unique positive integer values to ... |
audiofile/AFinitmarkids(3d) -- specify a list of marker ID's for a new audio file in an AFfilesetup structure
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). trackid is an integer which specifies an audio track in the file configuration. Since all currently supported audio file formats contain exactly one audio track, the value AF_DEFAULT_TRACK should always be used here for now. markids is an array of unique positive integer values to be used as handles for the marker structures in a file which is opened with setup. You typically allocate four marker structures s... |
audiofile/AFinitmarkname(3d) -- initialize the name/comment for a specified marker in an AFfilesetup structure
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is a positive integer value which specifies an audio track in a file configuration. Since all currently supported file formats contain exactly one audio track, the value AF_DEFAULT_TRACK should always be used here for now. markid a positive integer value which identifies a marker structure configured into track previously by afInitMarkIDs(3dm). namestr is a character string which will be written into th... |
audiofile/AFinitmiscids(3d) -- initialize the list of miscellaneous data chunk ID's in an AFfilesetup file configuration structure, initializ
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(). miscids is an array of (unique) positive integer ID's which are used to reference miscellaneous data chunks in a new audio file after it is created by passing setup to afOpenFile(3dm). nmisc The total number of miscellaneous chunks in the file configuration. See the audio file format man pages aifc(4), next(4), wave(4), bicsf(4), and sounddesigner2(4) for formatspecific information. chunkid is one of the chunk ... |
audiofile/afInitPCMMapping(3d) -- configure the PCM mapping for an audio track in an AFfilesetup structure
|
setup expects an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is an integer which identifies an audio track in setup. Since all currently supported file formats contain one audio track, the value AF_DEFAULT_TRACK should always be used here. slope is a positive double-precision floating point value which specifies an amplitude scaling factor for the waveform to be associated with track. intercept is a positive, negative, or zero double-precision floating point... |
audiofile/AFinitsampfmt(3d) -- initialize the audio data format in an AFfilesetup for a specified audio track
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). track is an integer which identifies an audio track in setup. Since all currently supported file formats contain only one audio track, the value AF_DEFAULT_TRACK should always be used here. sampfmt an integer constant which denotes a sample format. sampwidth a positive integer value which specifies the number of bits in a sample data point. channels is a positive integer value which indicates the number of in... |
audiofile/AFinittrackids(3d) -- initialize the list of audio track identifiers in an AFfilesetup structure.
|
setup is an AFfilesetup structure, previously created by a call to afNewFileSetup(3dm). trackids is an array of positive integer id's which are handles for audio tracks in a new file after it is opened with write access. Since all currently supported file formats contain only one audio track, the trackids array should always contain one ID, AF_DEFAULT_TRACK. ntracks The number of audio tracks in the file configuration. For all currently supported file formats, ntracks is always 1.... |
audiofile/AFintro(3d) -- Introduction to the Silicon Graphics Audio File Library (AF)
|
The Silicon Graphics Audio File Library (AF) provides a uniform programming interface to standard digital audio file formats. Thirteen audio file formats are currently supported by the library: Extended AIFF-C standard AIFF (older version) NeXT/Sun SND/AU WAVE (RIFF) Berkeley/IRCAM/CARL SoundFile MPEG1 audio bitstream Sound Designer II Audio Visual Research Amiga IFF/8SVX SampleVision VOC SoundFont2 Raw (headerless) Note that the library will continue to support additional file formats and data ... |