Definition at line 17 of file snd_EnvGenerator.h.
 
 | 
| enum   | Status {  
  STATUS_ATTACK
,  
  STATUS_HOLD
,  
  STATUS_DECAY
,  
  STATUS_SUSTAIN
,  
  STATUS_RELEASE
 
 } | 
|   | 
 | 
| 
void  | Init (f32 initDecibel) | 
|   | 
| 
void  | Update (int msec) | 
|   | 
| 
void  | Reset (f32 initDecibel) | 
|   | 
| Status  | GetStatus () const | 
|   | 
| 
f32  | GetValue () const | 
|   | 
| void  | SetStatus (Status status) | 
|   | 
| 
void  | SetAttack (int attack) | 
|   | 
| 
void  | SetHold (int hold) | 
|   | 
| 
void  | SetDecay (int decay) | 
|   | 
| 
void  | SetSustain (int sustain) | 
|   | 
| 
void  | SetRelease (int release) | 
|   | 
 | 
| 
f32  | CalcRelease (int release) | 
|   | 
| 
s16  | CalcDecibelSquare (int scale) | 
|   | 
◆ Status
      
        
          | enum nw4r::snd::detail::EnvGenerator::Status | 
        
      
 
 
◆ GetStatus()
  
  
      
        
          | Status nw4r::snd::detail::EnvGenerator::GetStatus  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ SetStatus()
  
  
      
        
          | void nw4r::snd::detail::EnvGenerator::SetStatus  | 
          ( | 
          Status |           status | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ CALC_DECIBEL_SCALE_MAX
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::CALC_DECIBEL_SCALE_MAX | 
         
       
   | 
  
static   | 
  
 
 
◆ DECIBEL_SQUARE_TABLE_SIZE
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::DECIBEL_SQUARE_TABLE_SIZE = 128 | 
         
       
   | 
  
static   | 
  
 
 
◆ RELEASE_INIT
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::RELEASE_INIT = 127 | 
         
       
   | 
  
static   | 
  
 
 
◆ SUSTAIN_INIT
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::SUSTAIN_INIT = 127 | 
         
       
   | 
  
static   | 
  
 
 
◆ DECAY_INIT
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::DECAY_INIT = 127 | 
         
       
   | 
  
static   | 
  
 
 
◆ HOLD_INIT
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::HOLD_INIT = 0 | 
         
       
   | 
  
static   | 
  
 
 
◆ ATTACK_INIT
  
  
      
        
          | int const nw4r::snd::detail::EnvGenerator::ATTACK_INIT = 127 | 
         
       
   | 
  
static   | 
  
 
 
◆ VOLUME_INIT
  
  
      
        
          | f32 const volatile nw4r::snd::detail::EnvGenerator::VOLUME_INIT | 
         
       
   | 
  
static   | 
  
 
 
◆ DecibelSquareTable
  
  
      
        
          | s16 const nw4r::snd::detail::EnvGenerator::DecibelSquareTable[DECIBEL_SQUARE_TABLE_SIZE] | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ mStatus
  
  
      
        
          | Status nw4r::snd::detail::EnvGenerator::mStatus | 
         
       
   | 
  
private   | 
  
 
 
◆ mValue
  
  
      
        
          | f32 nw4r::snd::detail::EnvGenerator::mValue | 
         
       
   | 
  
private   | 
  
 
 
◆ mDecay
  
  
      
        
          | f32 nw4r::snd::detail::EnvGenerator::mDecay | 
         
       
   | 
  
private   | 
  
 
 
◆ mRelease
  
  
      
        
          | f32 nw4r::snd::detail::EnvGenerator::mRelease | 
         
       
   | 
  
private   | 
  
 
 
◆ mAttack
  
  
      
        
          | f32 nw4r::snd::detail::EnvGenerator::mAttack | 
         
       
   | 
  
private   | 
  
 
 
◆ mSustain
  
  
      
        
          | u8 nw4r::snd::detail::EnvGenerator::mSustain | 
         
       
   | 
  
private   | 
  
 
 
◆ mHold
  
  
      
        
          | u16 nw4r::snd::detail::EnvGenerator::mHold | 
         
       
   | 
  
private   | 
  
 
 
◆ mHoldCounter
  
  
      
        
          | u16 nw4r::snd::detail::EnvGenerator::mHoldCounter | 
         
       
   | 
  
private   |