MAXIMILIAN
Public Member Functions | Public Attributes | List of all members
maxiSample Class Reference

Public Member Functions

long getLength ()
 
 DECLARE_F64_ARRAY (amplitudes)
 
maxiSampleoperator= (const maxiSample &source)
 
bool load (string fileName, int channel=0)
 
bool save ()
 
bool save (string filename)
 
bool read ()
 
string getSummary ()
 
bool isReady ()
 
void setSample (DOUBLEARRAY_REF _sampleData)
 
void setSampleAndRate (DOUBLEARRAY_REF _sampleData, int sampleRate)
 
void clear ()
 
void trigger ()
 
void loopRecord (double newSample, const bool recordEnabled, const double recordMix, double start, double end)
 
void reset ()
 
double play ()
 
double playLoop (double start, double end)
 
double playOnce ()
 
double playOnZX (double trigger)
 
double playOnZXAtSpeed (double trig, double speed)
 
double playOnZXAtSpeedFromOffset (double trig, double speed, double offset)
 
double playOnZXAtSpeedBetweenPoints (double trig, double speed, double offset, double length)
 
double loopSetPosOnZX (double trigger, double position)
 
double playOnceAtSpeed (double speed)
 
void setPosition (double newPos)
 
double playUntil (double end)
 
double playUntilAtSpeed (double end, double speed)
 
double playAtSpeed (double speed)
 
double playAtSpeedBetweenPointsFromPos (double frequency, double start, double end, double pos)
 
double playAtSpeedBetweenPoints (double frequency, double start, double end)
 
double play4 (double frequency, double start, double end)
 
void normalise (double maxLevel)
 
void autoTrim (float alpha, float threshold, bool trimStart, bool trimEnd)
 

Public Attributes

short myChannels
 
int mySampleRate
 
short myBitsPerSample
 
maxiTrigger zxTrig
 
string myPath
 
int myChunkSize
 
int mySubChunk1Size
 
int readChannel
 
short myFormat
 
int myByteRate
 
short myBlockAlign
 

The documentation for this class was generated from the following files: