SoundFontInfoLib  2.21.6
Library for parsing and rendering SF2 files
SF2::Render::Envelope Namespace Reference

Representation of an envelope with various states that have timing characteristics and levels. More...

Classes

class  Generator
 Generator of values for the SF2 volume/filter envelopes. More...
 
class  Stage
 Configuration for a single stage of an envelope. More...
 

Typedefs

using Stages = Stage[static_cast< int >(StageIndex::release)+1]
 Collection of states for all of the stages in an envelope. More...
 

Enumerations

enum class  StageIndex {
  idle = -1 , delay = 0 , attack , hold ,
  decay , sustain , release
}
 

Functions

const char * StageName (StageIndex stageIndex)
 

Detailed Description

Representation of an envelope with various states that have timing characteristics and levels.

Typedef Documentation

◆ Stages

using SF2::Render::Envelope::Stages = typedef Stage[static_cast<int>(StageIndex::release) + 1]

Collection of states for all of the stages in an envelope.

Enumeration Type Documentation

◆ StageIndex

Enumerator
idle 
delay 
attack 
hold 
decay 
sustain 
release 

Function Documentation

◆ StageName()

const char* SF2::Render::Envelope::StageName ( StageIndex  stageIndex)
inline

References attack, decay, delay, hold, idle, release, and sustain.