Csound and CsoundAC API  5.17
Data Fields
SNDMEMFILE_ Struct Reference

#include <csoundCore.h>

Data Fields

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

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