Csound API  6.03
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
SNDMEMFILE_ Struct Reference

#include <csoundCore.h>

Data Fields

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