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

Public Member Functions

 TractClass (UIClass &newUI)
 
void init (GlottisClass *newGlottis, float newBlockTime)
 
void reshapeTract (float deltaTime)
 
void calculateReflections ()
 
void calculateNoseReflections ()
 
void runStep (sample_t glottalOutput, sample_t turbulenceNoise, sample_t lambda)
 
void finishBlock ()
 
void addTransient (int position)
 
void processTransients ()
 
void addTurbulenceNoise (sample_t turbulenceNoise)
 
void addTurbulenceNoiseAtIndex (sample_t turbulenceNoise, float index, float diameter)
 

Public Attributes

UIClassUI
 
GlottisClassGlottis
 
int n
 
int bladeStart
 
int tipStart
 
int lipStart
 
std::vector< sample_t > R
 
std::vector< sample_t > L
 
std::vector< sample_t > junctionOutputR
 
std::vector< sample_t > junctionOutputL
 
std::vector< sample_t > maxAmplitude
 
std::vector< sample_t > diameter
 
std::vector< sample_t > restDiameter
 
std::vector< sample_t > targetDiameter
 
std::vector< sample_t > newDiameter
 
std::vector< sample_t > A
 
int noseLength
 
int noseStart
 
std::vector< sample_t > noseR
 
std::vector< sample_t > noseL
 
std::vector< sample_t > noseJunctionOutputR
 
std::vector< sample_t > noseJunctionOutputL
 
std::vector< sample_t > noseReflection
 
std::vector< sample_t > noseDiameter
 
std::vector< sample_t > noseA
 
std::vector< sample_t > noseMaxAmplitude
 
std::vector< sample_t > reflection
 
std::vector< sample_t > newReflection
 
sample_t reflectionLeft
 
sample_t reflectionRight
 
sample_t reflectionNose
 
sample_t newReflectionLeft
 
sample_t newReflectionRight
 
sample_t newReflectionNose
 
float glottalReflection
 
float lipReflection
 
int lastObstruction
 
float fade
 
float movementSpeed
 
std::vector< Transient > transients
 
sample_t lipOutput
 
sample_t noseOutput
 
float velumTarget
 
float blockTime
 

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