Csound and CsoundAC API  5.17
Data Fields
SNDMEMFILE_ Struct Reference

#include <csoundCore.h>

Data Fields

double baseFreq
 base frequency (in Hz)
float data [1]
 interleaved sample data
int fileType
 TYP_WAV, TYP_AIFF, etc.
char * fullName
 full path filename
double loopEnd
 loop end (sample frames)
int loopMode
 loop mode: 0: no loop information 1: off 2: forward 3: backward 4: bidirectional
double loopStart
 loop start (sample frames)
char * name
 file ID (short name)
int nChannels
 number of channels
size_t nFrames
 file length in sample frames
struct SNDMEMFILE_nxt
int sampleFormat
 AE_SHORT, AE_FLOAT, etc.
double sampleRate
 sample rate in Hz
double scaleFac
 amplitude scale factor
double startOffs
 playback start offset frames

Field Documentation

double SNDMEMFILE_::baseFreq

base frequency (in Hz)

float SNDMEMFILE_::data[1]

interleaved sample data

int SNDMEMFILE_::fileType

TYP_WAV, TYP_AIFF, etc.

char* SNDMEMFILE_::fullName

full path filename

double SNDMEMFILE_::loopEnd

loop end (sample frames)

int SNDMEMFILE_::loopMode

loop mode: 0: no loop information 1: off 2: forward 3: backward 4: bidirectional

double SNDMEMFILE_::loopStart

loop start (sample frames)

char* SNDMEMFILE_::name

file ID (short name)

int SNDMEMFILE_::nChannels

number of channels

size_t SNDMEMFILE_::nFrames

file length in sample frames

struct SNDMEMFILE_* SNDMEMFILE_::nxt
int SNDMEMFILE_::sampleFormat

AE_SHORT, AE_FLOAT, etc.

double SNDMEMFILE_::sampleRate

sample rate in Hz

double SNDMEMFILE_::scaleFac

amplitude scale factor

double SNDMEMFILE_::startOffs

playback start offset frames