Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
Public Member Functions | Public Attributes | List of all members
DboxOscillatorBank Class Reference

Public Member Functions

 DboxOscillatorBank (string filename, int hopsize=-1, int samplerate=44100)
 
 DboxOscillatorBank (char *filename, int hopsize=-1, int samplerate=44100)
 
bool loadFile (string filename, int hopsize=-1, int samplerate=44100)
 
bool loadFile (char *filename, int hopsize=-1, int samplerate=44100)
 
bool initBank (int oversamp=1)
 
void resetOscillators ()
 
int getHopSize ()
 
void nextHop ()
 
void setLoopHops (int start, int end)
 
void play (float vel)
 
void stop ()
 
void afterTouch (float vel)
 
int getEnvelopeState ()
 
float getFrequencyScaler ()
 
void setSpeed (float sp)
 
float getSpeed ()
 
float getMaxSpeed ()
 
float getMinSpeed ()
 
void setJumpHop (int hop)
 
int getLastHop ()
 
int getCurrentHop ()
 

Public Attributes

float * oscillatorPhases
 
float * oscillatorNormFrequencies
 
float * oscillatorNormFreqDerivatives
 
float * oscillatorAmplitudes
 
float * oscillatorAmplitudeDerivatives
 
float * oscStatNormFrequenciesMean
 
float * oscStatNumHops
 
OscBankstates state
 
bool note
 
int actPartNum
 
unsigned int * actPart
 
int hopCounter
 
int lookupTableSize
 
float * lookupTable
 
float ampTh
 
int hopNumTh
 
float pitchMultiplier
 
float freqMovement
 
int filterNum
 
float filterFreqs [5]
 
float filterQ [5]
 
float filterMaxF
 
float filterAmpMinF
 
float filterAmpMaxF
 
float filterAmpMul
 

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