LMMS
Loading...
Searching...
No Matches
lmms::DrumSynth Class Reference

#include <DrumSynth.h>

Public Member Functions

 DrumSynth ()=default
int GetDSFileSamples (QString dsfile, int16_t *&wave, int channels, sample_rate_t Fs)

Private Member Functions

float LoudestEnv ()
int LongestEnv ()
void UpdateEnv (int e, long t)
void GetEnv (int env, const char *sec, const char *key, QString ini)
float waveform (float ph, int form)
std::size_t GetPrivateProfileString (const char *sec, const char *key, const char *def, char *buffer, std::size_t size, QString file)
int GetPrivateProfileInt (const char *sec, const char *key, int def, QString file)
float GetPrivateProfileFloat (const char *sec, const char *key, float def, QString file)

Constructor & Destructor Documentation

◆ DrumSynth()

lmms::DrumSynth::DrumSynth ( )
default

Member Function Documentation

◆ GetDSFileSamples()

int lmms::DrumSynth::GetDSFileSamples ( QString dsfile,
int16_t *& wave,
int channels,
sample_rate_t Fs )

◆ GetEnv()

void lmms::DrumSynth::GetEnv ( int env,
const char * sec,
const char * key,
QString ini )
private

◆ GetPrivateProfileFloat()

float lmms::DrumSynth::GetPrivateProfileFloat ( const char * sec,
const char * key,
float def,
QString file )
private

◆ GetPrivateProfileInt()

int lmms::DrumSynth::GetPrivateProfileInt ( const char * sec,
const char * key,
int def,
QString file )
private

◆ GetPrivateProfileString()

std::size_t lmms::DrumSynth::GetPrivateProfileString ( const char * sec,
const char * key,
const char * def,
char * buffer,
std::size_t size,
QString file )
private

◆ LongestEnv()

int lmms::DrumSynth::LongestEnv ( )
private

◆ LoudestEnv()

float lmms::DrumSynth::LoudestEnv ( )
private

◆ UpdateEnv()

void lmms::DrumSynth::UpdateEnv ( int e,
long t )
private

◆ waveform()

float lmms::DrumSynth::waveform ( float ph,
int form )
private

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