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

#include <Sfxr.h>

Public Member Functions

 SfxrSynth (const SfxrInstrument *s)
virtual ~SfxrSynth ()=default
void resetSample (bool restart)
void update (SampleFrame *buffer, const int32_t frameNum)
bool isPlaying () const

Private Attributes

const SfxrInstruments
bool playing_sample
int phase
double fperiod
double fmaxperiod
double fslide
double fdslide
int period
float square_duty
float square_slide
int env_stage
int env_time
int env_length [3]
float env_vol
float fphase
float fdphase
int iphase
std::array< float, 1024 > phaser_buffer
int ipp
float noise_buffer [32]
float fltp
float fltdp
float fltw
float fltw_d
float fltdmp
float fltphp
float flthp
float flthp_d
float vib_phase
float vib_speed
float vib_amp
int rep_time
int rep_limit
int arp_time
int arp_limit
double arp_mod

Constructor & Destructor Documentation

◆ SfxrSynth()

lmms::SfxrSynth::SfxrSynth ( const SfxrInstrument * s)

◆ ~SfxrSynth()

virtual lmms::SfxrSynth::~SfxrSynth ( )
virtualdefault

Member Function Documentation

◆ isPlaying()

bool lmms::SfxrSynth::isPlaying ( ) const

◆ resetSample()

void lmms::SfxrSynth::resetSample ( bool restart)

◆ update()

void lmms::SfxrSynth::update ( SampleFrame * buffer,
const int32_t frameNum )

Member Data Documentation

◆ arp_limit

int lmms::SfxrSynth::arp_limit
private

◆ arp_mod

double lmms::SfxrSynth::arp_mod
private

◆ arp_time

int lmms::SfxrSynth::arp_time
private

◆ env_length

int lmms::SfxrSynth::env_length[3]
private

◆ env_stage

int lmms::SfxrSynth::env_stage
private

◆ env_time

int lmms::SfxrSynth::env_time
private

◆ env_vol

float lmms::SfxrSynth::env_vol
private

◆ fdphase

float lmms::SfxrSynth::fdphase
private

◆ fdslide

double lmms::SfxrSynth::fdslide
private

◆ fltdmp

float lmms::SfxrSynth::fltdmp
private

◆ fltdp

float lmms::SfxrSynth::fltdp
private

◆ flthp

float lmms::SfxrSynth::flthp
private

◆ flthp_d

float lmms::SfxrSynth::flthp_d
private

◆ fltp

float lmms::SfxrSynth::fltp
private

◆ fltphp

float lmms::SfxrSynth::fltphp
private

◆ fltw

float lmms::SfxrSynth::fltw
private

◆ fltw_d

float lmms::SfxrSynth::fltw_d
private

◆ fmaxperiod

double lmms::SfxrSynth::fmaxperiod
private

◆ fperiod

double lmms::SfxrSynth::fperiod
private

◆ fphase

float lmms::SfxrSynth::fphase
private

◆ fslide

double lmms::SfxrSynth::fslide
private

◆ iphase

int lmms::SfxrSynth::iphase
private

◆ ipp

int lmms::SfxrSynth::ipp
private

◆ noise_buffer

float lmms::SfxrSynth::noise_buffer[32]
private

◆ period

int lmms::SfxrSynth::period
private

◆ phase

int lmms::SfxrSynth::phase
private

◆ phaser_buffer

std::array<float, 1024> lmms::SfxrSynth::phaser_buffer
private

◆ playing_sample

bool lmms::SfxrSynth::playing_sample
private

◆ rep_limit

int lmms::SfxrSynth::rep_limit
private

◆ rep_time

int lmms::SfxrSynth::rep_time
private

◆ s

const SfxrInstrument* lmms::SfxrSynth::s
private

◆ square_duty

float lmms::SfxrSynth::square_duty
private

◆ square_slide

float lmms::SfxrSynth::square_slide
private

◆ vib_amp

float lmms::SfxrSynth::vib_amp
private

◆ vib_phase

float lmms::SfxrSynth::vib_phase
private

◆ vib_speed

float lmms::SfxrSynth::vib_speed
private

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