EPOK RUNTIME
Instrument Synth
instrument_synth.hpp · the instrument synth module
Module
the instrument synth module.
Include this module
C++ include
#include "instrument_synth.hpp"Types
AttenuationTableStruct declared by the instrument-synth module for the instrument synth module.StructControlsStruct declared by the instrument-synth module for the instrument synth module.StructErrorEnum declared by the instrument-synth module for the instrument synth module.EnumOctaveTableOne-cent knots, generated at compile time.StructOutputStruct declared by the instrument-synth module for the instrument synth module.StructStateClass declared by the instrument-synth module for the instrument synth module.ClassFunctions and methods
activePerforms `active` as part of the instrument synth module.MethodadvancePerforms `advance` as part of the instrument synth module.Methodadvance_phasePerforms `advance phase` as part of the instrument synth module.Functionattenuation_for_gain_q16Performs `attenuation for gain q16` as part of the instrument synth module.Functionattenuation_gain_q15Performs `attenuation gain q15` as part of the instrument synth module.FunctionAttenuationTableConstructs `epok::instrument::synth::detail::AttenuationTable` for the instrument synth module.constructorclampPerforms `clamp` as part of the instrument synth module.FunctionconcavePerforms `concave` as part of the instrument synth module.FunctionControlsConstructs `epok::instrument::synth::Controls` for the instrument synth module.constructorconvexPerforms `convex` as part of the instrument synth module.Functioncopy_blockPerforms `copy block` as part of the instrument synth module.Function templatecopy_initialThe immutable prepared source must outlive this voice, like its bank.Methodcopy_valuePerforms `copy value` as part of the instrument synth module.Function templateerrorPerforms `error` as part of the instrument synth module.Methodfast_pow2_cents_q30Performs `fast pow2 cents q30` as part of the instrument synth module.Functiongain_at_whole_centibelPerforms `gain at whole centibel` as part of the instrument synth module.Functionlfo_rate_q48Performs `lfo rate q48` as part of the instrument synth module.Functionlocal_bank_spanPerforms `local bank span` as part of the instrument synth module.FunctionOctaveTableConstructs `epok::instrument::synth::detail::OctaveTable` for the instrument synth module.constructoroutputPerforms `output` as part of the instrument synth module.Methodpow2_cents_q30Tenth-order integer exp2 on [0,1), followed by an integral power-of-two.FunctionreleasePerforms `release` as part of the instrument synth module.MethodresetResets reset as part of the instrument synth module.Methodsame_controlsPerforms `same controls` as part of the instrument synth module.Functionscale_q15Performs `scale q15` as part of the instrument synth module.Functionsource_changedPerforms `source changed` as part of the instrument synth module.Functionsource_q30Performs `source q30` as part of the instrument synth module.Functionstart`bank.data` must outlive this state.Methodstart_validatedPSX loader has validated the immutable bank and the kernel has validated controls/note data.Methodstart_voiceHost source-preview adapters may construct the same neutral wire structs without fabricating an EPSB container.MethodStateConstructs `epok::instrument::synth::State` for the instrument synth module.constructortime_microsecondsPerforms `time microseconds` as part of the instrument synth module.Functiontriangle_q15Performs `triangle q15` as part of the instrument synth module.Functionupdate_controlsUpdates controls as part of the instrument synth module.MethodvalidPerforms `valid` as part of the instrument synth module.MethodFields, variables and values
ArithmeticOverflowNamed value `ArithmeticOverflow` in `epok::instrument::synth::Error`.Enum valueattenuation_tableExposes `attenuation_table` on the `epok::instrument::synth::detail` namespace for the instrument synth module.VariablebendExposes `bend` on `epok::instrument::synth::Controls` for the instrument synth module.Fieldbend_range_centsExposes `bend_range_cents` on `epok::instrument::synth::Controls` for the instrument synth module.FieldccExposes `cc` on `epok::instrument::synth::Controls` for the instrument synth module.Fieldchannel_pressureExposes `channel_pressure` on `epok::instrument::synth::Controls` for the instrument synth module.Fieldcoarse_tuningExposes `coarse_tuning` on `epok::instrument::synth::Controls` for the instrument synth module.Fieldconcave_q30SF2 2.04 section 8.2.4's 96 dB concave curve sampled at every native seven-bit input.Variablefine_tuningExposes `fine_tuning` on `epok::instrument::synth::Controls` for the instrument synth module.FieldfinishedExposes `finished` on `epok::instrument::synth::Output` for the instrument synth module.Fieldgain_q15Exposes `gain_q15` on `epok::instrument::synth::Output` for the instrument synth module.FieldInvalidBankNamed value `InvalidBank` in `epok::instrument::synth::Error`.Enum valueInvalidControlsNamed value `InvalidControls` in `epok::instrument::synth::Error`.Enum valueInvalidNoteNamed value `InvalidNote` in `epok::instrument::synth::Error`.Enum valueInvalidZoneNamed value `InvalidZone` in `epok::instrument::synth::Error`.Enum valuemodulation_envelope_q15Neutral control signals for host-only dynamic filter preview.Fieldmodulation_lfo_q15Exposes `modulation_lfo_q15` on `epok::instrument::synth::Output` for the instrument synth module.FieldNoneNamed value `None` in `epok::instrument::synth::Error`.Enum valueoctave_tableExposes `octave_table` on the `epok::instrument::synth::detail` namespace for the instrument synth module.Variablepan_permilleExposes `pan_permille` on `epok::instrument::synth::Output` for the instrument synth module.Fieldpitch_cents_x100One unit is 0.01 cent.Fieldpoly_pressureExposes `poly_pressure` on `epok::instrument::synth::Controls` for the instrument synth module.Fieldq16Exposes `q16` on the `epok::instrument::synth::detail` namespace for the instrument synth module.Variableq30Exposes `q30` on the `epok::instrument::synth::detail` namespace for the instrument synth module.VariablereservedNatural word alignment for bounded PSX copies.Fieldreverb_send_permilleExposes `reverb_send_permille` on `epok::instrument::synth::Output` for the instrument synth module.FieldUnsupportedDestinationNamed value `UnsupportedDestination` in `epok::instrument::synth::Error`.Enum valuevaluesExposes `values` on `epok::instrument::synth::detail::AttenuationTable` for the instrument synth module.FieldvaluesExposes `values` on `epok::instrument::synth::detail::OctaveTable` for the instrument synth module.Fieldvibrato_lfo_q15Exposes `vibrato_lfo_q15` on `epok::instrument::synth::Output` for the instrument synth module.Field