Euphoria
eu::minsynth::Envelope Struct Reference

#include <synth.h>

Public Member Functions

float get_live (float wave, float start_time, float current_time) const
 
float get_dead (float wave, float end_time, float current_time) const
 

Public Attributes

float time_to_start = 0.01f
 
float time_to_end = 0.01f
 

Detailed Description

Definition at line 285 of file synth.h.

Member Function Documentation

◆ get_dead()

float eu::minsynth::Envelope::get_dead ( float  wave,
float  end_time,
float  current_time 
) const

Definition at line 666 of file synth.cc.

◆ get_live()

float eu::minsynth::Envelope::get_live ( float  wave,
float  start_time,
float  current_time 
) const

Definition at line 649 of file synth.cc.

Member Data Documentation

◆ time_to_end

float eu::minsynth::Envelope::time_to_end = 0.01f

Definition at line 288 of file synth.h.

◆ time_to_start

float eu::minsynth::Envelope::time_to_start = 0.01f

Definition at line 287 of file synth.h.


The documentation for this struct was generated from the following files: