public class IBXM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Channel[] |
channels |
private int |
current_row |
private int |
current_sequence_index |
private int |
current_tick_samples |
static int |
FP_MASK |
static int |
FP_ONE |
static int |
FP_SHIFT |
private int[] |
global_volume |
private int[] |
mixing_buffer |
private Module |
module |
private int |
next_row |
private int |
next_sequence_index |
private int[] |
note |
private int |
pattern_loop_channel |
private int |
pattern_loop_count |
private int |
resampling_quality |
private int |
sampling_rate |
private int |
tick_counter |
private int |
tick_length_samples |
private int |
ticks_per_row |
static java.lang.String |
VERSION |
private int[] |
volume_ramp_buffer |
private int |
volume_ramp_length |
Constructor and Description |
---|
IBXM(int sample_rate) |
Modifier and Type | Method and Description |
---|---|
int |
calculate_song_duration() |
private void |
clear_vol_ramp_buffer() |
void |
get_audio(byte[] output_buffer,
int frames) |
private void |
mix_tick() |
private boolean |
next_row() |
private boolean |
next_tick() |
void |
seek(int sample_position) |
private void |
set_global_volume(int volume) |
void |
set_module(Module m) |
void |
set_resampling_quality(int quality) |
void |
set_sequence_index(int sequence_index,
int row) |
private void |
set_speed(int speed) |
private void |
set_tempo(int bpm) |
private void |
volume_ramp() |
public static final java.lang.String VERSION
public static final int FP_SHIFT
public static final int FP_ONE
public static final int FP_MASK
private int sampling_rate
private int resampling_quality
private int volume_ramp_length
private int tick_length_samples
private int current_tick_samples
private int[] mixing_buffer
private int[] volume_ramp_buffer
private Module module
private Channel[] channels
private int[] global_volume
private int[] note
private int current_sequence_index
private int next_sequence_index
private int current_row
private int next_row
private int tick_counter
private int ticks_per_row
private int pattern_loop_count
private int pattern_loop_channel
public void set_module(Module m)
public void set_resampling_quality(int quality)
public int calculate_song_duration()
public void set_sequence_index(int sequence_index, int row)
public void seek(int sample_position)
public void get_audio(byte[] output_buffer, int frames)
private void mix_tick()
private boolean next_tick()
private boolean next_row()
private void set_global_volume(int volume)
private void set_speed(int speed)
private void set_tempo(int bpm)
private void volume_ramp()
private void clear_vol_ramp_buffer()