public class Channel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int[] |
current_note |
private int |
effect_tick |
private int |
fade_out_volume |
private boolean |
fast_volume_slides |
private int |
fine_tune |
private int[] |
global_volume |
private Instrument |
instrument |
private int |
key_add |
private boolean |
key_on |
private int |
left_gain |
private boolean |
linear_periods |
private static int |
LOG_2_1712 |
private static int |
LOG_2_29024 |
private static int |
LOG_2_8287 |
private static int |
LOG_2_8363 |
private int |
log_2_sampling_rate |
private Module |
module |
private int |
panning |
private int |
panning_envelope_tick |
int |
pattern_loop_row |
private int |
period |
private int |
porta_period |
private int |
portamento_param |
private int |
random_seed |
private int |
retrig_param |
private int |
right_gain |
private Sample |
sample |
private int |
sample_frac |
private int |
sample_idx |
private boolean |
silent |
private static int[] |
sine_table |
private int |
step |
private int |
tremolo_add |
private int |
tremolo_depth |
private int |
tremolo_speed |
private int |
tremolo_tick |
private int |
tremolo_wave |
private int |
trigger_tick |
private int |
vibrato_add |
private int |
vibrato_depth |
private int |
vibrato_speed |
private int |
vibrato_tick |
private int |
vibrato_wave |
private int |
volume |
private int |
volume_envelope_tick |
private int |
volume_slide_param |
Constructor and Description |
---|
Channel(Module mod,
int sampling_rate,
int[] global_vol) |
Modifier and Type | Method and Description |
---|---|
private void |
auto_vibrato() |
private void |
calculate_amplitude() |
private void |
calculate_frequency() |
private void |
fine_vibrato() |
private void |
global_volume_slide() |
private int |
key_to_period(int key) |
private void |
panning_slide() |
private void |
portamento_down() |
private void |
portamento_up() |
void |
resample(int[] mixing_buffer,
int frame_offset,
int frames,
int quality) |
void |
reset() |
private void |
retrig_volume_slide() |
void |
row(int key,
int inst_idx,
int volume_column,
int effect,
int effect_param) |
private void |
set_envelope_tick(int tick) |
private void |
set_global_volume(int vol) |
void |
set_panning(int pan) |
private void |
set_period(int p) |
private void |
set_portamento_param(int param) |
private void |
set_retrig_param(int param) |
private void |
set_sample_index(int index) |
private void |
set_tremolo_depth(int depth) |
private void |
set_tremolo_speed(int speed) |
private void |
set_tremolo_wave(int wave) |
private void |
set_vibrato_depth(int depth) |
private void |
set_vibrato_speed(int speed) |
private void |
set_vibrato_wave(int wave) |
private void |
set_volume_slide_param(int param) |
void |
set_volume(int vol) |
void |
tick() |
private void |
tone_portamento() |
private void |
tremolo() |
private void |
tremor() |
private void |
trigger(int key,
int instrument_idx,
int volume_column,
int effect) |
private void |
update_envelopes() |
void |
update_sample_idx(int samples) |
private void |
vibrato() |
private void |
volume_slide() |
private int |
waveform(int phase,
int wform) |
public int pattern_loop_row
private Module module
private Instrument instrument
private Sample sample
private int[] global_volume
private int[] current_note
private boolean linear_periods
private boolean fast_volume_slides
private boolean key_on
private boolean silent
private int sample_idx
private int sample_frac
private int step
private int left_gain
private int right_gain
private int volume
private int panning
private int fine_tune
private int period
private int porta_period
private int key_add
private int tremolo_speed
private int tremolo_depth
private int tremolo_tick
private int tremolo_wave
private int tremolo_add
private int vibrato_speed
private int vibrato_depth
private int vibrato_tick
private int vibrato_wave
private int vibrato_add
private int volume_slide_param
private int portamento_param
private int retrig_param
private int volume_envelope_tick
private int panning_envelope_tick
private int effect_tick
private int trigger_tick
private int fade_out_volume
private int random_seed
private int log_2_sampling_rate
private static final int LOG_2_29024
private static final int LOG_2_8287
private static final int LOG_2_8363
private static final int LOG_2_1712
private static final int[] sine_table
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()
private void set_vibrato_speed(int speed)
private void set_vibrato_depth(int depth)
private void set_vibrato_wave(int wave)
private void set_tremolo_speed(int speed)
private void set_tremolo_depth(int depth)
private void set_tremolo_wave(int wave)
private void vibrato()
private void fine_vibrato()
private void tremolo()
private void set_portamento_param(int param)
private void tone_portamento()
private void portamento_up()
private void portamento_down()
private void set_period(int p)
private void set_global_volume(int vol)
private void set_volume_slide_param(int param)
private void global_volume_slide()
private void volume_slide()
private void panning_slide()
private void set_retrig_param(int param)
private void tremor()
private void retrig_volume_slide()
private void set_sample_index(int index)
private void set_envelope_tick(int tick)
private void trigger(int key, int instrument_idx, int volume_column, int effect)
private void update_envelopes()
private void auto_vibrato()
private int waveform(int phase, int wform)
private int key_to_period(int key)
private void calculate_amplitude()
private void calculate_frequency()