Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::RiseFallGeneratorT< SampleType > Class Template Reference

#include <rise_fall_generator.hpp>

Public Types

using Engine = BreakpointEnvelopeT<SampleType, 3>

Public Member Functions

 RiseFallGeneratorT () noexcept
BreakpointEnvelopeStatus prepare (double sample_rate) noexcept
bool set_levels (SampleType low, SampleType high) noexcept
bool set_times_ms (double rise_ms, double fall_ms) noexcept
void set_rise_curve (ModulationCurve curve) noexcept
void set_fall_curve (ModulationCurve curve) noexcept
void set_looping (bool looping) noexcept
void trigger () noexcept
void reset () noexcept
SampleType next () noexcept
void process (std::span< SampleType > output) noexcept
SampleType current () const noexcept
bool active () const noexcept
bool looping () const noexcept
double rise_ms () const noexcept
double fall_ms () const noexcept
SampleType low () const noexcept
SampleType high () const noexcept
RiseFallStage stage () const noexcept

Member Typedef Documentation

◆ Engine

template<typename SampleType = float>
using pulp::signal::RiseFallGeneratorT< SampleType >::Engine = BreakpointEnvelopeT<SampleType, 3>

Constructor & Destructor Documentation

◆ RiseFallGeneratorT()

template<typename SampleType = float>
pulp::signal::RiseFallGeneratorT< SampleType >::RiseFallGeneratorT ( )
inlinenoexcept

Member Function Documentation

◆ active()

template<typename SampleType = float>
bool pulp::signal::RiseFallGeneratorT< SampleType >::active ( ) const
inlinenoexcept

◆ current()

template<typename SampleType = float>
SampleType pulp::signal::RiseFallGeneratorT< SampleType >::current ( ) const
inlinenoexcept

◆ fall_ms()

template<typename SampleType = float>
double pulp::signal::RiseFallGeneratorT< SampleType >::fall_ms ( ) const
inlinenoexcept

◆ high()

template<typename SampleType = float>
SampleType pulp::signal::RiseFallGeneratorT< SampleType >::high ( ) const
inlinenoexcept

◆ looping()

template<typename SampleType = float>
bool pulp::signal::RiseFallGeneratorT< SampleType >::looping ( ) const
inlinenoexcept

◆ low()

template<typename SampleType = float>
SampleType pulp::signal::RiseFallGeneratorT< SampleType >::low ( ) const
inlinenoexcept

◆ next()

template<typename SampleType = float>
SampleType pulp::signal::RiseFallGeneratorT< SampleType >::next ( )
inlinenoexcept

◆ prepare()

template<typename SampleType = float>
BreakpointEnvelopeStatus pulp::signal::RiseFallGeneratorT< SampleType >::prepare ( double sample_rate)
inlinenodiscardnoexcept

◆ process()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::process ( std::span< SampleType > output)
inlinenoexcept

◆ reset()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::reset ( )
inlinenoexcept

◆ rise_ms()

template<typename SampleType = float>
double pulp::signal::RiseFallGeneratorT< SampleType >::rise_ms ( ) const
inlinenoexcept

◆ set_fall_curve()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::set_fall_curve ( ModulationCurve curve)
inlinenoexcept

◆ set_levels()

template<typename SampleType = float>
bool pulp::signal::RiseFallGeneratorT< SampleType >::set_levels ( SampleType low,
SampleType high )
inlinenodiscardnoexcept

◆ set_looping()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::set_looping ( bool looping)
inlinenoexcept

◆ set_rise_curve()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::set_rise_curve ( ModulationCurve curve)
inlinenoexcept

◆ set_times_ms()

template<typename SampleType = float>
bool pulp::signal::RiseFallGeneratorT< SampleType >::set_times_ms ( double rise_ms,
double fall_ms )
inlinenodiscardnoexcept

◆ stage()

template<typename SampleType = float>
RiseFallStage pulp::signal::RiseFallGeneratorT< SampleType >::stage ( ) const
inlinenoexcept

◆ trigger()

template<typename SampleType = float>
void pulp::signal::RiseFallGeneratorT< SampleType >::trigger ( )
inlinenoexcept

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