CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Typedefs
SoundFile.h File Reference
`#include "CSL_Core.h"`
`#include "Oscillator.h"`
`#include <string.h>`

Go to the source code of this file.

## Classes
class | csl::SoundFileMetadata
| Class SndFileMetadata holds the ID3 tags of a sound file. More...
class | csl::Abst_SoundFile
| Here's the abstract sound file reader/writer class, a sample player UGen. The concrete subclasses represent sound file APIs, not individual formats. More...
class | csl::SoundCue
| SoundCue – a pointer to a segment of a sound file. More...

## Namespaces
namespace | csl
| AdditiveInstrument.h – Sum-of-sines synthesis instrument class.

## Macros
#define | kSoundFileRead 0
| Sound file constants.
#define | kSoundFileWrite 1
#define | kSoundFileReadWrite 2
#define | kSoundFileFormatWAV 0
#define | kSoundFileFormatAIFF 1
#define | kSoundFileFormatSND 2
#define | kSoundFileFormatEBICSF 3
#define | kSoundFileFormatRaw 4
#define | kSoundFileFormatOther 5

## Typedefs
typedef int | csl::SoundFileMode
typedef int | csl::SoundFileFormat

## Macro Definition Documentation

#define kSoundFileRead 0

Sound file constants.

Definition at line 54 of file SoundFile.h.

Referenced by csl::LSoundFile::initFromSndfile(), csl::JSoundFile::openForRead(), csl::CASoundFile::openForRead(), csl::MP3File::openForRead(), and csl::LSoundFile::openForRead().

#define kSoundFileWrite 1

Definition at line 55 of file SoundFile.h.

Referenced by csl::JSoundFile::openForWrite(), and csl::LSoundFile::openForWrite().

#define kSoundFileReadWrite 2

Definition at line 56 of file SoundFile.h.

Referenced by csl::LSoundFile::openForReadWrite().

#define kSoundFileFormatWAV 0

Definition at line 59 of file SoundFile.h.

Referenced by csl::JSoundFile::format(), csl::LSoundFile::format(), csl::LSoundFile::mimeType(), csl::FileIO::open(), csl::JSoundFile::openForWrite(), csl::LSoundFile::openForWrite(), and csl::LSoundFile::sndfileNameType().

#define kSoundFileFormatAIFF 1

Definition at line 60 of file SoundFile.h.

Referenced by csl::MP3File::decodeMP3(), csl::CASoundFile::format(), csl::JSoundFile::format(), csl::LSoundFile::format(), csl::LSoundFile::mimeType(), csl::FileIO::open(), csl::JSoundFile::openForWrite(), csl::LSoundFile::openForWrite(), and csl::LSoundFile::sndfileNameType().

#define kSoundFileFormatSND 2

Definition at line 61 of file SoundFile.h.

Referenced by csl::LSoundFile::format(), csl::FileIO::open(), csl::LSoundFile::openForWrite(), and csl::LSoundFile::sndfileNameType().

#define kSoundFileFormatEBICSF 3

Definition at line 62 of file SoundFile.h.

#define kSoundFileFormatRaw 4

Definition at line 63 of file SoundFile.h.

Referenced by csl::LSoundFile::format(), and csl::LSoundFile::openForWrite().

#define kSoundFileFormatOther 5

Definition at line 64 of file SoundFile.h.

Referenced by csl::JSoundFile::format(), and csl::LSoundFile::sndfileNameType().