ibxm

## Class Envelope

- java.lang.Object
- - ibxm.Envelope

-     public class Envelope
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `boolean` | `looped`
    `boolean` | `sustain`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Envelope()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `calculate_ampl(int tick)`
    `void` | `dump()`
    `int` | `next_tick(int tick, boolean key_on)`
    `void` | `set_loop_points(int start, int end)`
    `void` | `set_num_points(int num_points)`
    `void` | `set_point(int point, int tick, int ampl, boolean delta)`
    `void` | `set_sustain_point(int point)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### sustain

          public boolean sustain

    - #### looped

          public boolean looped

  - ### Constructor Detail

    - #### Envelope

          public Envelope()

  - ### Method Detail

    - #### set_num_points

          public void set_num_points(int num_points)

    - #### set_point

          public void set_point(int point,
                       int tick,
                       int ampl,
                       boolean delta)

    - #### set_sustain_point

          public void set_sustain_point(int point)

    - #### set_loop_points

          public void set_loop_points(int start,
                             int end)

    - #### next_tick

          public int next_tick(int tick,
                      boolean key_on)

    - #### calculate_ampl

          public int calculate_ampl(int tick)

    - #### dump

          public void dump()