Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::midi::NoteLengthShaper< MaximumActiveNotes > Class Template Reference

#include <note_utility_kernels.hpp>

Public Member Functions

constexpr NoteLengthShaper (NoteLengthSpec spec={}) noexcept
constexpr bool valid () const noexcept
MidiUtilityProcessReport process (const MidiBuffer &input, MidiBuffer &output, timebase::SamplePosition block_start, std::int32_t block_samples) noexcept
MidiUtilityProcessReport flush (MidiBuffer &output) noexcept
MidiUtilityProcessReport reset (MidiBuffer &output) noexcept
MidiUtilityProcessReport replace_spec (NoteLengthSpec spec, MidiBuffer &output) noexcept
bool empty () const noexcept

Static Public Member Functions

static constexpr MidiUtilityContract contract () noexcept
static constexpr bool valid_spec (NoteLengthSpec spec) noexcept

Constructor & Destructor Documentation

◆ NoteLengthShaper()

template<std::size_t MaximumActiveNotes = 128>
pulp::midi::NoteLengthShaper< MaximumActiveNotes >::NoteLengthShaper ( NoteLengthSpec spec = {})
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ contract()

template<std::size_t MaximumActiveNotes = 128>
constexpr MidiUtilityContract pulp::midi::NoteLengthShaper< MaximumActiveNotes >::contract ( )
inlinestaticconstexprnoexcept

◆ empty()

template<std::size_t MaximumActiveNotes = 128>
bool pulp::midi::NoteLengthShaper< MaximumActiveNotes >::empty ( ) const
inlinenoexcept

◆ flush()

template<std::size_t MaximumActiveNotes = 128>
MidiUtilityProcessReport pulp::midi::NoteLengthShaper< MaximumActiveNotes >::flush ( MidiBuffer & output)
inlinenoexcept

◆ process()

template<std::size_t MaximumActiveNotes = 128>
MidiUtilityProcessReport pulp::midi::NoteLengthShaper< MaximumActiveNotes >::process ( const MidiBuffer & input,
MidiBuffer & output,
timebase::SamplePosition block_start,
std::int32_t block_samples )
inlinenoexcept

◆ replace_spec()

template<std::size_t MaximumActiveNotes = 128>
MidiUtilityProcessReport pulp::midi::NoteLengthShaper< MaximumActiveNotes >::replace_spec ( NoteLengthSpec spec,
MidiBuffer & output )
inlinenoexcept

◆ reset()

template<std::size_t MaximumActiveNotes = 128>
MidiUtilityProcessReport pulp::midi::NoteLengthShaper< MaximumActiveNotes >::reset ( MidiBuffer & output)
inlinenoexcept

◆ valid()

template<std::size_t MaximumActiveNotes = 128>
bool pulp::midi::NoteLengthShaper< MaximumActiveNotes >::valid ( ) const
inlineconstexprnoexcept

◆ valid_spec()

template<std::size_t MaximumActiveNotes = 128>
constexpr bool pulp::midi::NoteLengthShaper< MaximumActiveNotes >::valid_spec ( NoteLengthSpec spec)
inlinestaticconstexprnoexcept

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