MEAP The Library

MOZZI
MEAP The Class
C++ tips
Mozzi Reworks
mOscil
mSample
Generators
mDust
mNoise
mOperator
mSineLFO
mEnvSection
Effects
mBitcrusher
mChorus
mDigitalDelay
mFlanger
mPlateReverb
mSchroederReverb
DSP
mDelayLine
mFeedbackComb
mFeedforwardComb
mFIR
mIIR
mNaturalComb
mOnePoleLPF
mResonz
mRingz
mSchroederAllpass
mInstruments
mDrumRack
mFM4Instrument
mMarimbaInstrument
mPopInstrument
mRompler
mStringInstrument
mStringSynthInstrument
Composition
mMML
mTransitionTable
Utilities
mEventDelayMicros
mRandomDistribution

class: mOscil


an improved version of MOZZI’s Oscil class

Description

A copy of MOZZI’s Oscil class with a few improvements as follows:

Aside from these two changes, everything functions identical to MOZZI’s Oscil so full documentation can be found on their website

Template Parameters

template <uint16_t NUM_TABLE_CELLS, uint32_t UPDATE_RATE, class T = int8_t, uint8_t INTERP = mINTERP_NONE>

NUM_TABLE_CELLS: length of wavetable being used

UPDATE_RATE: how often the .next() function will be called

T: bitrate of the wavetable being used (likely int8_t or int16_t)

INTERP: interpolation type used in playback. Either mINTERP_NONE or mINTERP_LINEAR

Class Methods

Example

Relevant Tutorials