|
LMMS
|
#include <ADnote.h>
Classes | |
| struct | Global |
| struct | Voice |
Public Member Functions | |
| ADnote (ADnoteParameters *pars, SynthParams &spars, WatchManager *wm=0, const char *prefix=0) | |
| ~ADnote () | |
| void | legatonote (LegatoParams pars) |
| int | noteout (float *outl, float *outr) |
| void | releasekey () |
| bool | finished () const |
| void | entomb (void) |
| virtual SynthNote * | cloneLegato (void) override |
| Public Member Functions inherited from zyncarla::SynthNote | |
| SynthNote (SynthParams &pars) | |
| virtual | ~SynthNote () |
| void | setVelocity (float velocity_) |
Additional Inherited Members | |
| Public Attributes inherited from zyncarla::SynthNote | |
| class Allocator & | memory |
| Protected Attributes inherited from zyncarla::SynthNote | |
| class zyncarla::SynthNote::Legato | legato |
| const Controller & | ctl |
| const SYNTH_T & | synth |
| const AbsTime & | time |
| WatchManager * | wm |
The "additive" synthesizer
| ADnote::ADnote | ( | ADnoteParameters * | pars, |
| SynthParams & | spars, | ||
| WatchManager * | wm = 0, | ||
| const char * | prefix = 0 ) |
| ADnote::~ADnote | ( | ) |
Destructor
Implements zyncarla::SynthNote.
Computes relative frequency for unison and unison's vibratto. Note: Must be called before setfreq* functions.
|
private |
Compute parameters for next tick
Compute the Oscillator's samples. Affects tmpwave_unison and updates oscposhi/oscposlo
Compute the Oscillator's samples. Affects tmpwave_unison and updates oscposhi/oscposlo
Computes the Frequency Modulated Oscillator.
| FMmode | modulation type 0=Phase 1=Frequency |
Computes the Oscillator samples with morphing. updates tmpwave_unison
Computes the Ring Modulated Oscillator.
Make a note die off next buffer compute
Implements zyncarla::SynthNote.
|
inlineprivate |
Fadein in a way that removes clicks but keep sound "punchy"
|
virtual |
|
inlineprivate |
Get modulator's base frequency
|
private |
Initializes All Parameters
|
private |
Deallocate Note resources and voice resources
|
virtual |
|
virtual |
|
virtual |
Release the key for the note and start release portion of envelopes.
Implements zyncarla::SynthNote.
Changes the frequency of an oscillator.
| nvoice | voice to run computations on |
| in_freq | new frequency |
Set the frequency of the modulator oscillator
| float zyncarla::ADnote::amplitude |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| float* zyncarla::ADnote::position |
| float* zyncarla::ADnote::step |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| struct { ... } zyncarla::ADnote::unison_vibratto[NUM_VOICES] |
|
private |