The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
plingploing::plingploing_t Class Reference

Run-time configuration of the plingploing music generator. More...

Public Member Functions

 plingploing_t (mhaconfig_t, mha_real_t level, mha_real_t pitch, mha_real_t k1, mha_real_t k2, mha_real_t i1, mha_real_t i2, mha_real_t bpm, mha_real_t minlen, mha_real_t maxlen, mha_real_t bassmod, mha_real_t bassperiod)
 
void process (mha_wave_t *)
 

Private Attributes

mhaconfig_t cf
 
mha_real_t pitch_
 
unsigned int bt
 
unsigned int t
 
unsigned int len
 
mha_real_t dur_
 
mha_real_t minlen_
 
mha_real_t maxlen_
 
mha_real_t bass
 
mha_real_t freq
 
mha_real_t fun1_key
 
mha_real_t fun1_range
 
mha_real_t fun1
 
mha_real_t fun2
 
mha_real_t fun2_key
 
mha_real_t fun2_range
 
mha_real_t dist
 
mha_real_t dist1
 
mha_real_t alph
 
mha_real_t rms
 
mha_real_t bassmod_
 
mha_real_t bassperiod_
 
MHAWindow::hanning_t hann1
 
MHAWindow::hanning_t hann2
 
mha_real_t level
 

Detailed Description

Run-time configuration of the plingploing music generator.

Constructor & Destructor Documentation

◆ plingploing_t()

plingploing::plingploing_t::plingploing_t ( mhaconfig_t  c,
mha_real_t  level,
mha_real_t  pitch,
mha_real_t  k1,
mha_real_t  k2,
mha_real_t  i1,
mha_real_t  i2,
mha_real_t  bpm,
mha_real_t  minlen,
mha_real_t  maxlen,
mha_real_t  bassmod,
mha_real_t  bassperiod 
)

Member Function Documentation

◆ process()

void plingploing::plingploing_t::process ( mha_wave_t s)

Member Data Documentation

◆ cf

mhaconfig_t plingploing::plingploing_t::cf
private

◆ pitch_

mha_real_t plingploing::plingploing_t::pitch_
private

◆ bt

unsigned int plingploing::plingploing_t::bt
private

◆ t

unsigned int plingploing::plingploing_t::t
private

◆ len

unsigned int plingploing::plingploing_t::len
private

◆ dur_

mha_real_t plingploing::plingploing_t::dur_
private

◆ minlen_

mha_real_t plingploing::plingploing_t::minlen_
private

◆ maxlen_

mha_real_t plingploing::plingploing_t::maxlen_
private

◆ bass

mha_real_t plingploing::plingploing_t::bass
private

◆ freq

mha_real_t plingploing::plingploing_t::freq
private

◆ fun1_key

mha_real_t plingploing::plingploing_t::fun1_key
private

◆ fun1_range

mha_real_t plingploing::plingploing_t::fun1_range
private

◆ fun1

mha_real_t plingploing::plingploing_t::fun1
private

◆ fun2

mha_real_t plingploing::plingploing_t::fun2
private

◆ fun2_key

mha_real_t plingploing::plingploing_t::fun2_key
private

◆ fun2_range

mha_real_t plingploing::plingploing_t::fun2_range
private

◆ dist

mha_real_t plingploing::plingploing_t::dist
private

◆ dist1

mha_real_t plingploing::plingploing_t::dist1
private

◆ alph

mha_real_t plingploing::plingploing_t::alph
private

◆ rms

mha_real_t plingploing::plingploing_t::rms
private

◆ bassmod_

mha_real_t plingploing::plingploing_t::bassmod_
private

◆ bassperiod_

mha_real_t plingploing::plingploing_t::bassperiod_
private

◆ hann1

MHAWindow::hanning_t plingploing::plingploing_t::hann1
private

◆ hann2

MHAWindow::hanning_t plingploing::plingploing_t::hann2
private

◆ level

mha_real_t plingploing::plingploing_t::level
private

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