#include <synth.h>
|
| | voice () |
| virtual void | setup (int sr) |
| | reset voice to default state (used when a voice is to be reused)
|
| virtual void | reset ()=0 |
| | reset voice to default state (used when a voice is to be reused)
|
| virtual void | note_on (int note, int vel)=0 |
| | a note was pressed
|
| virtual void | note_off (int vel)=0 |
| | a note was released
|
| virtual bool | get_active ()=0 |
| | check if voice can be removed from active voice list
|
| virtual void | render_to (float(*buf)[2], int nsamples)=0 |
| | render voice data to buffer
|
| virtual void | steal ()=0 |
| | very fast note off
|
| virtual int | get_current_note ()=0 |
| | return the note used by this voice
|
| virtual float | get_priority () |
| virtual | ~voice () |
| | empty virtual destructor
|
◆ voice()
◆ ~voice()
| virtual dsp::voice::~voice |
( |
| ) |
|
|
inlinevirtual |
◆ get_active()
| virtual bool dsp::voice::get_active |
( |
| ) |
|
|
pure virtual |
◆ get_current_note()
| virtual int dsp::voice::get_current_note |
( |
| ) |
|
|
pure virtual |
◆ get_priority()
| virtual float dsp::voice::get_priority |
( |
| ) |
|
|
inlinevirtual |
◆ note_off()
| virtual void dsp::voice::note_off |
( |
int | vel | ) |
|
|
pure virtual |
◆ note_on()
| virtual void dsp::voice::note_on |
( |
int | note, |
|
|
int | vel ) |
|
pure virtual |
◆ render_to()
| virtual void dsp::voice::render_to |
( |
float(*) | buf[2], |
|
|
int | nsamples ) |
|
pure virtual |
render voice data to buffer
◆ reset()
| virtual void dsp::voice::reset |
( |
| ) |
|
|
pure virtual |
◆ setup()
| virtual void dsp::voice::setup |
( |
int | sr | ) |
|
|
inlinevirtual |
reset voice to default state (used when a voice is to be reused)
◆ steal()
| virtual void dsp::voice::steal |
( |
| ) |
|
|
pure virtual |
◆ released
| bool dsp::voice::released |
◆ sample_rate
| int dsp::voice::sample_rate |
◆ sostenuto
| bool dsp::voice::sostenuto |
◆ stolen
The documentation for this class was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/LadspaEffect/calf/veal/src/calf/synth.h