Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::AhdsrEnvelope Class Reference

#include <instrument_envelope.hpp>

Public Member Functions

 AhdsrEnvelope ()=default
bool prepare (const AhdsrEnvelopeConfig &config) noexcept
void reset () noexcept
void note_on () noexcept
void note_off () noexcept
float next_sample () noexcept
void render (std::span< float > destination) noexcept
EnvelopeStage stage () const noexcept
float value () const noexcept
bool active () const noexcept

Constructor & Destructor Documentation

◆ AhdsrEnvelope()

pulp::audio::AhdsrEnvelope::AhdsrEnvelope ( )
default

Member Function Documentation

◆ active()

bool pulp::audio::AhdsrEnvelope::active ( ) const
inlinenoexcept

◆ next_sample()

float pulp::audio::AhdsrEnvelope::next_sample ( )
noexcept

◆ note_off()

void pulp::audio::AhdsrEnvelope::note_off ( )
noexcept

◆ note_on()

void pulp::audio::AhdsrEnvelope::note_on ( )
noexcept

◆ prepare()

bool pulp::audio::AhdsrEnvelope::prepare ( const AhdsrEnvelopeConfig & config)
noexcept

◆ render()

void pulp::audio::AhdsrEnvelope::render ( std::span< float > destination)
noexcept

◆ reset()

void pulp::audio::AhdsrEnvelope::reset ( )
noexcept

◆ stage()

EnvelopeStage pulp::audio::AhdsrEnvelope::stage ( ) const
inlinenoexcept

◆ value()

float pulp::audio::AhdsrEnvelope::value ( ) const
inlinenoexcept

The documentation for this class was generated from the following file: