public class Channel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
pattern_loop_row |
Constructor and Description |
---|
Channel(Module mod,
int sampling_rate,
int[] global_vol) |
Modifier and Type | Method and Description |
---|---|
void |
resample(int[] mixing_buffer,
int frame_offset,
int frames,
int quality) |
void |
reset() |
void |
row(int key,
int inst_idx,
int volume_column,
int effect,
int effect_param) |
void |
set_panning(int pan) |
void |
set_volume(int vol) |
void |
tick() |
void |
update_sample_idx(int samples) |
public Channel(Module mod, int sampling_rate, int[] global_vol)
public void reset()
public void resample(int[] mixing_buffer, int frame_offset, int frames, int quality)
public void update_sample_idx(int samples)
public void set_volume(int vol)
public void set_panning(int pan)
public void row(int key, int inst_idx, int volume_column, int effect, int effect_param)
public void tick()