LMMS
Loading...
Searching...
No Matches
dsp::block_voice< Base > Class Template Reference

#include <synth.h>

Inheritance diagram for dsp::block_voice< Base >:

Public Member Functions

 block_voice ()
virtual void reset ()
virtual void render_to (float(*buf)[2], int nsamples)

Public Attributes

unsigned int read_ptr

Detailed Description

template<class Base>
class dsp::block_voice< Base >

An "optimized" voice class using fixed-size processing units and fixed number of channels. The drawback is that voice control is not sample-accurate, and no modulation input is possible, but it should be good enough for most cases (like Calf Organ).

Constructor & Destructor Documentation

◆ block_voice()

template<class Base>
dsp::block_voice< Base >::block_voice ( )
inline

Member Function Documentation

◆ render_to()

template<class Base>
virtual void dsp::block_voice< Base >::render_to ( float(*) buf[2],
int nsamples )
inlinevirtual

◆ reset()

template<class Base>
virtual void dsp::block_voice< Base >::reset ( )
inlinevirtual

Member Data Documentation

◆ read_ptr

template<class Base>
unsigned int dsp::block_voice< Base >::read_ptr

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