public class ScreamTracker3
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int[] |
effect_map |
private static int[] |
effect_s_map |
Constructor and Description |
---|
ScreamTracker3() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
ascii_text(byte[] buffer,
int offset,
int length) |
private static int |
get_instrument_offset(byte[] s3m_file,
int instrument_idx) |
private static int |
get_num_instruments(byte[] s3m_file) |
private static int |
get_num_pattern_orders(byte[] s3m_file) |
private static int |
get_num_patterns(byte[] s3m_file) |
private static int |
get_pattern_length(byte[] s3m_file,
int pattern_offset) |
private static int |
get_pattern_offset(byte[] s3m_file,
int pattern_idx) |
private static int |
get_sample_data_length(byte[] s3m_file,
int instrument_offset) |
private static int |
get_sample_data_offset(byte[] s3m_file,
int instrument_offset) |
static boolean |
is_s3m(byte[] header_96_bytes) |
static Module |
load_s3m(byte[] header_96_bytes,
java.io.DataInput data_input) |
private static byte[] |
read_more(byte[] old_data,
int new_length,
java.io.DataInput data_input) |
private static byte[] |
read_s3m_file(byte[] header_96_bytes,
java.io.DataInput data_input) |
private static Instrument |
read_s3m_instrument(byte[] s3m_file,
int instrument_idx,
boolean signed_samples) |
private static Pattern |
read_s3m_pattern(byte[] s3m_file,
int pattern_idx,
int[] channel_map) |
private static int[] |
read_s3m_sequence(byte[] s3m_file) |
private static int |
unsigned_short_le(byte[] buffer,
int offset) |
private static final int[] effect_map
private static final int[] effect_s_map
public static boolean is_s3m(byte[] header_96_bytes)
public static Module load_s3m(byte[] header_96_bytes, java.io.DataInput data_input) throws java.io.IOException
java.io.IOException
private static int[] read_s3m_sequence(byte[] s3m_file)
private static Instrument read_s3m_instrument(byte[] s3m_file, int instrument_idx, boolean signed_samples)
private static Pattern read_s3m_pattern(byte[] s3m_file, int pattern_idx, int[] channel_map)
private static byte[] read_s3m_file(byte[] header_96_bytes, java.io.DataInput data_input) throws java.io.IOException
java.io.IOException
private static int get_num_pattern_orders(byte[] s3m_file)
private static int get_num_instruments(byte[] s3m_file)
private static int get_num_patterns(byte[] s3m_file)
private static int get_instrument_offset(byte[] s3m_file, int instrument_idx)
private static int get_sample_data_offset(byte[] s3m_file, int instrument_offset)
private static int get_sample_data_length(byte[] s3m_file, int instrument_offset)
private static int get_pattern_offset(byte[] s3m_file, int pattern_idx)
private static int get_pattern_length(byte[] s3m_file, int pattern_offset)
private static byte[] read_more(byte[] old_data, int new_length, java.io.DataInput data_input) throws java.io.IOException
java.io.IOException
private static int unsigned_short_le(byte[] buffer, int offset)
private static java.lang.String ascii_text(byte[] buffer, int offset, int length)