#include <SUBnote.h>
|
| | SUBnote (SUBnoteParameters *parameters, Controller *ctl_, float freq, float velocity, int portamento_, int midinote, bool besilent) |
| | ~SUBnote () |
| void | legatonote (float freq, float velocity, int portamento_, int midinote, bool externcall) |
| int | noteout (float *outl, float *outr) |
| void | relasekey () |
| int | finished () const |
| | SynthNote (float freq, float vel, int port, int note, bool quiet) |
| virtual | ~SynthNote () |
| void | setVelocity (float velocity_) |
|
| void | setup (float freq, float velocity, int portamento_, int midinote, bool legato=false) |
| void | computecurrentparameters () |
| void | initparameters (float freq) |
| void | KillNote () |
| void | initfilter (bpfilter &filter, float freq, float bw, float amp, float mag) |
| float | computerolloff (float freq) |
| void | computefiltercoefs (bpfilter &filter, float freq, float bw, float gain) |
| void | filter (bpfilter &filter, float *smps) |
◆ SUBnote()
◆ ~SUBnote()
◆ computecurrentparameters()
| void SUBnote::computecurrentparameters |
( |
| ) |
|
|
private |
◆ computefiltercoefs()
| void SUBnote::computefiltercoefs |
( |
bpfilter & | filter, |
|
|
float | freq, |
|
|
float | bw, |
|
|
float | gain ) |
|
private |
◆ computerolloff()
| float SUBnote::computerolloff |
( |
float | freq | ) |
|
|
private |
◆ filter()
◆ finished()
| int SUBnote::finished |
( |
| ) |
const |
|
virtual |
Return if note is finished.
- Returns
- finished=1 unfinished=0
Implements SynthNote.
◆ initfilter()
| void SUBnote::initfilter |
( |
bpfilter & | filter, |
|
|
float | freq, |
|
|
float | bw, |
|
|
float | amp, |
|
|
float | mag ) |
|
private |
◆ initparameters()
| void SUBnote::initparameters |
( |
float | freq | ) |
|
|
private |
◆ KillNote()
| void SUBnote::KillNote |
( |
| ) |
|
|
private |
◆ legatonote()
| void SUBnote::legatonote |
( |
float | freq, |
|
|
float | velocity, |
|
|
int | portamento_, |
|
|
int | midinote, |
|
|
bool | externcall ) |
|
virtual |
◆ noteout()
| int SUBnote::noteout |
( |
float * | outl, |
|
|
float * | outr ) |
|
virtual |
Compute Output Samples
- Returns
- 0 if note is finished
Implements SynthNote.
◆ relasekey()
| void SUBnote::relasekey |
( |
| ) |
|
|
virtual |
Release the key for the note and start release portion of envelopes.
Implements SynthNote.
◆ setup()
| void SUBnote::setup |
( |
float | freq, |
|
|
float | velocity, |
|
|
int | portamento_, |
|
|
int | midinote, |
|
|
bool | legato = false ) |
|
private |
◆ AmpEnvelope
◆ BandWidthEnvelope
◆ basefreq
◆ ctl
◆ firstnumharmonics
| int SUBnote::firstnumharmonics |
|
private |
◆ firsttick
◆ FreqEnvelope
◆ GlobalFilterCenterPitch
| float SUBnote::GlobalFilterCenterPitch |
|
private |
◆ globalfiltercenterq
| float SUBnote::globalfiltercenterq |
|
private |
◆ GlobalFilterEnvelope
◆ GlobalFilterFreqTracking
| float SUBnote::GlobalFilterFreqTracking |
|
private |
◆ GlobalFilterL
| Filter* SUBnote::GlobalFilterL |
|
private |
◆ GlobalFilterR
| Filter * SUBnote::GlobalFilterR |
|
private |
◆ lfilter
◆ newamplitude
| float SUBnote::newamplitude |
|
private |
◆ NoteEnabled
◆ numharmonics
| int SUBnote::numharmonics |
|
private |
◆ numstages
◆ oldamplitude
| float SUBnote::oldamplitude |
|
private |
◆ oldbandwidth
| int SUBnote::oldbandwidth |
|
private |
◆ oldpitchwheel
| int SUBnote::oldpitchwheel |
|
private |
◆ overtone_freq
◆ overtone_rolloff
◆ panning
◆ pars
◆ portamento
◆ rfilter
◆ start
◆ stereo
◆ volume
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/SUBnote.h
- /home/runner/work/lmms-fork/lmms-fork/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/SUBnote.cpp