Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
rise_fall_generator.hpp File Reference

Two-segment modulation source built on the breakpoint envelope engine. More...

#include <pulp/signal/breakpoint_envelope.hpp>
#include <array>
#include <cmath>
#include <cstdint>

Go to the source code of this file.

Classes

class  pulp::signal::RiseFallGeneratorT< SampleType >

Namespaces

namespace  pulp
namespace  pulp::signal

Typedefs

using pulp::signal::RiseFallGenerator = RiseFallGeneratorT<float>
using pulp::signal::RiseFallGenerator64 = RiseFallGeneratorT<double>

Enumerations

enum class  pulp::signal::RiseFallStage : std::uint8_t { pulp::signal::idle , pulp::signal::rising , pulp::signal::falling }

Detailed Description

Two-segment modulation source built on the breakpoint envelope engine.

Rise and fall times are milliseconds. Levels are finite values in the caller's real unit and are not normalized. One-shot mode holds the low level after the fall. Looping mode is continuous because its first and final breakpoints share the same low level.