public class Module
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
channel_gain |
private Instrument |
default_instrument |
private Pattern |
default_pattern |
int |
default_speed |
int |
default_tempo |
boolean |
fast_volume_slides |
int |
global_volume |
private int[] |
initial_panning |
private Instrument[] |
instruments |
boolean |
linear_periods |
boolean |
pal |
private Pattern[] |
patterns |
int |
restart_sequence_index |
private int[] |
sequence |
java.lang.String |
song_title |
Constructor and Description |
---|
Module() |
Modifier and Type | Method and Description |
---|---|
int |
get_initial_panning(int channel) |
Instrument |
get_instrument(int instrument_index) |
int |
get_num_channels() |
int |
get_num_instruments() |
int |
get_num_patterns() |
Pattern |
get_pattern_from_sequence(int sequence_index) |
Pattern |
get_pattern(int pattern_index) |
int |
get_sequence_length() |
void |
set_initial_panning(int channel,
int panning) |
void |
set_instrument(int instrument_index,
Instrument instrument) |
void |
set_num_channels(int num_channels) |
void |
set_num_instruments(int num_instruments) |
void |
set_num_patterns(int num_patterns) |
void |
set_pattern(int pattern_index,
Pattern pattern) |
void |
set_sequence_length(int sequence_length) |
void |
set_sequence(int sequence_index,
int pattern_index) |
public java.lang.String song_title
public boolean linear_periods
public boolean fast_volume_slides
public boolean pal
public int global_volume
public int channel_gain
public int default_speed
public int default_tempo
public int restart_sequence_index
private int[] initial_panning
private int[] sequence
private Pattern[] patterns
private Instrument[] instruments
private Pattern default_pattern
private Instrument default_instrument
public int get_num_channels()
public void set_num_channels(int num_channels)
public int get_initial_panning(int channel)
public void set_initial_panning(int channel, int panning)
public int get_sequence_length()
public void set_sequence_length(int sequence_length)
public void set_sequence(int sequence_index, int pattern_index)
public int get_num_patterns()
public void set_num_patterns(int num_patterns)
public Pattern get_pattern_from_sequence(int sequence_index)
public Pattern get_pattern(int pattern_index)
public void set_pattern(int pattern_index, Pattern pattern)
public int get_num_instruments()
public void set_num_instruments(int num_instruments)
public Instrument get_instrument(int instrument_index)
public void set_instrument(int instrument_index, Instrument instrument)