Fasttracker

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Channel(var instrument: Int = 0, var sampleindex: Int = 0, var note: Int = 36, var command: Int = 0, var data: Int = 0, var samplepos: Double = 0.0, var samplespeed: Double = 0.0, var flags: Int = 0, var noteon: Boolean = false, var volslide: Int = 0, var slidespeed: Int = 0, var slideto: Double = 0.0, var slideupspeed: Int = 0, var slidedownspeed: Int = 0, var slidetospeed: Int = 0, var arpeggio: Int = 0, var period: Double = 640.0, var frequency: Int = 8363, var volume: Int = 64, var voiceperiod: Double = 0.0, var voicevolume: Int = 0, var finalvolume: Double = 0.0, var semitone: Int = 12, var vibratospeed: Int = 0, var vibratodepth: Int = 0, var vibratopos: Int = 0, var vibratowave: Int = 0, var volenvpos: Int = 0, var panenvpos: Int = 0, var fadeoutpos: Int = 0, var playdir: Int = 1, var volramp: Double = 0.0, var volrampfrom: Double = 0.0, var trigramp: Double = 0.0, var trigrampfrom: Double = 0.0, var currentsample: Double = 0.0, var lastsample: Double = 0.0, var oldfinalvolume: Double = 0.0)
Link copied to clipboard
class Instrument(var name: String = "", var samples: Int = 0, var sample: Array<Fasttracker.Sample> = emptyArray(), var voltype: Int = 0, var pansustain: Int = 0, var panloopend: Int = 0, var panloopstart: Int = 0, var panenvlen: Int = 0, var volenv: FloatArray = FloatArray(0), var padenv: FloatArray = FloatArray(0), var panenv: FloatArray = FloatArray(0), var volsustain: Int = 0, var volloopend: Int = 0, var volloopstart: Int = 0, var volenvlen: Int = 0, var volfadeout: Int = 0, var pantype: Int = 0, var samplemap: Uint8Buffer = Uint8Buffer(0), var vibratotype: Int = 0, var vibratosweep: Int = 0, var vibratodepth: Int = 0, var vibratorate: Int = 0)
Link copied to clipboard
class Sample(var bits: Int = 0, var stereo: Int = 0, var bps: Int = 0, var length: Int = 0, var loopstart: Int = 0, var looplength: Int = 0, var loopend: Int = 0, var looptype: Int = 0, var volume: Int = 0, var finetune: Int = 0, var relativenote: Int = 0, var panning: Int = 0, var data: FloatArray = FloatArray(0), var name: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
var bmp: Int
Link copied to clipboard
var bpm: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val effects_t0: Array<(ch: Int) -> Unit>
Link copied to clipboard
val effects_t0_e: Array<(ch: Int) -> Unit>
Link copied to clipboard
val effects_t1: Array<(ch: Int) -> Unit>
Link copied to clipboard
val effects_t1_e: Array<(ch: Int) -> Unit>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var flags: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var row: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var speed: Int
Link copied to clipboard
var stt: Int
Link copied to clipboard
Link copied to clipboard
var tick: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val voleffects_t0: Array<(ch: Int, data: Int) -> Unit>
Link copied to clipboard
val voleffects_t1: Array<(ch: Int, data: Int) -> Unit>
Link copied to clipboard
var volume: Int

Functions

Link copied to clipboard
fun advance()
Link copied to clipboard
fun calcperiod(note: Int, finetune: Int): Double
Link copied to clipboard
fun clearsong()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun createSound(soundProvider: NativeSoundProvider = nativeSoundProvider): Sound
Link copied to clipboard
suspend fun createSoundFromFile(file: VfsFile, soundProvider: NativeSoundProvider = nativeSoundProvider): Sound
Link copied to clipboard
fun effect_t0_0(ch: Int)
Link copied to clipboard
fun effect_t0_1(ch: Int)
Link copied to clipboard
fun effect_t0_2(ch: Int)
Link copied to clipboard
fun effect_t0_3(ch: Int)
Link copied to clipboard
fun effect_t0_4(ch: Int)
Link copied to clipboard
fun effect_t0_5(ch: Int)
Link copied to clipboard
fun effect_t0_6(ch: Int)
Link copied to clipboard
fun effect_t0_7(ch: Int)
Link copied to clipboard
fun effect_t0_8(ch: Int)
Link copied to clipboard
fun effect_t0_9(ch: Int)
Link copied to clipboard
fun effect_t0_a(ch: Int)
Link copied to clipboard
fun effect_t0_b(ch: Int)
Link copied to clipboard
fun effect_t0_c(ch: Int)
Link copied to clipboard
fun effect_t0_d(ch: Int)
Link copied to clipboard
fun effect_t0_e(ch: Int)
Link copied to clipboard
fun effect_t0_e0(ch: Int)
Link copied to clipboard
fun effect_t0_e1(ch: Int)
Link copied to clipboard
fun effect_t0_e2(ch: Int)
Link copied to clipboard
fun effect_t0_e3(ch: Int)
Link copied to clipboard
fun effect_t0_e4(ch: Int)
Link copied to clipboard
fun effect_t0_e5(ch: Int)
Link copied to clipboard
fun effect_t0_e6(ch: Int)
Link copied to clipboard
fun effect_t0_e7(ch: Int)
Link copied to clipboard
fun effect_t0_e8(ch: Int)
Link copied to clipboard
fun effect_t0_e9(ch: Int)
Link copied to clipboard
fun effect_t0_ea(ch: Int)
Link copied to clipboard
fun effect_t0_eb(ch: Int)
Link copied to clipboard
fun effect_t0_ec(ch: Int)
Link copied to clipboard
fun effect_t0_ed(ch: Int)
Link copied to clipboard
fun effect_t0_ee(ch: Int)
Link copied to clipboard
fun effect_t0_ef(ch: Int)
Link copied to clipboard
fun effect_t0_f(ch: Int)
Link copied to clipboard
fun effect_t0_g(ch: Int)
Link copied to clipboard
fun effect_t0_h(ch: Int)
Link copied to clipboard
fun effect_t0_i(ch: Int)
Link copied to clipboard
fun effect_t0_j(ch: Int)
Link copied to clipboard
fun effect_t0_k(ch: Int)
Link copied to clipboard
fun effect_t0_l(ch: Int)
Link copied to clipboard
fun effect_t0_m(ch: Int)
Link copied to clipboard
fun effect_t0_n(ch: Int)
Link copied to clipboard
fun effect_t0_o(ch: Int)
Link copied to clipboard
fun effect_t0_p(ch: Int)
Link copied to clipboard
fun effect_t0_q(ch: Int)
Link copied to clipboard
fun effect_t0_r(ch: Int)
Link copied to clipboard
fun effect_t0_s(ch: Int)
Link copied to clipboard
fun effect_t0_t(ch: Int)
Link copied to clipboard
fun effect_t0_u(ch: Int)
Link copied to clipboard
fun effect_t0_v(ch: Int)
Link copied to clipboard
fun effect_t0_w(ch: Int)
Link copied to clipboard
fun effect_t0_x(ch: Int)
Link copied to clipboard
fun effect_t0_y(ch: Int)
Link copied to clipboard
fun effect_t0_z(ch: Int)
Link copied to clipboard
fun effect_t1_0(ch: Int)
Link copied to clipboard
fun effect_t1_1(ch: Int)
Link copied to clipboard
fun effect_t1_2(ch: Int)
Link copied to clipboard
fun effect_t1_3(ch: Int)
Link copied to clipboard
fun effect_t1_4(ch: Int)
Link copied to clipboard
fun effect_t1_5(ch: Int)
Link copied to clipboard
fun effect_t1_6(ch: Int)
Link copied to clipboard
fun effect_t1_7(ch: Int)
Link copied to clipboard
fun effect_t1_8(ch: Int)
Link copied to clipboard
fun effect_t1_9(ch: Int)
Link copied to clipboard
fun effect_t1_a(ch: Int)
Link copied to clipboard
fun effect_t1_b(ch: Int)
Link copied to clipboard
fun effect_t1_c(ch: Int)
Link copied to clipboard
fun effect_t1_d(ch: Int)
Link copied to clipboard
fun effect_t1_e(ch: Int)
Link copied to clipboard
fun effect_t1_e0(ch: Int)
Link copied to clipboard
fun effect_t1_e1(ch: Int)
Link copied to clipboard
fun effect_t1_e2(ch: Int)
Link copied to clipboard
fun effect_t1_e3(ch: Int)
Link copied to clipboard
fun effect_t1_e4(ch: Int)
Link copied to clipboard
fun effect_t1_e5(ch: Int)
Link copied to clipboard
fun effect_t1_e6(ch: Int)
Link copied to clipboard
fun effect_t1_e7(ch: Int)
Link copied to clipboard
fun effect_t1_e8(ch: Int)
Link copied to clipboard
fun effect_t1_e9(ch: Int)
Link copied to clipboard
fun effect_t1_ea(ch: Int)
Link copied to clipboard
fun effect_t1_eb(ch: Int)
Link copied to clipboard
fun effect_t1_ec(ch: Int)
Link copied to clipboard
fun effect_t1_ed(ch: Int)
Link copied to clipboard
fun effect_t1_ee(ch: Int)
Link copied to clipboard
fun effect_t1_ef(ch: Int)
Link copied to clipboard
fun effect_t1_f(ch: Int)
Link copied to clipboard
fun effect_t1_g(ch: Int)
Link copied to clipboard
fun effect_t1_h(ch: Int)
Link copied to clipboard
fun effect_t1_i(ch: Int)
Link copied to clipboard
fun effect_t1_j(ch: Int)
Link copied to clipboard
fun effect_t1_k(ch: Int)
Link copied to clipboard
fun effect_t1_l(ch: Int)
Link copied to clipboard
fun effect_t1_m(ch: Int)
Link copied to clipboard
fun effect_t1_n(ch: Int)
Link copied to clipboard
fun effect_t1_o(ch: Int)
Link copied to clipboard
fun effect_t1_p(ch: Int)
Link copied to clipboard
fun effect_t1_q(ch: Int)
Link copied to clipboard
fun effect_t1_r(ch: Int)
Link copied to clipboard
fun effect_t1_s(ch: Int)
Link copied to clipboard
fun effect_t1_t(ch: Int)
Link copied to clipboard
fun effect_t1_u(ch: Int)
Link copied to clipboard
fun effect_t1_v(ch: Int)
Link copied to clipboard
fun effect_t1_w(ch: Int)
Link copied to clipboard
fun effect_t1_x(ch: Int)
Link copied to clipboard
fun effect_t1_y(ch: Int)
Link copied to clipboard
fun effect_t1_z(ch: Int)
Link copied to clipboard
fun effect_vol_t0_60(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_70(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_80(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_90(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_a0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_b0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_c0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_d0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_e0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t0_f0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_60(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_70(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_80(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_90(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_a0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_b0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_c0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_d0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_e0(ch: Int, data: Int)
Link copied to clipboard
fun effect_vol_t1_f0(ch: Int, data: Int)
Link copied to clipboard
open override fun initialize()
Link copied to clipboard
open override fun mix(bufs: Array<FloatArray>?, buflen: Int = bufs?.get(0)?.size ?: 1024)
Link copied to clipboard
open override fun parse(buffer: Uint8Buffer): Boolean
Link copied to clipboard
Link copied to clipboard
fun pow(a: Double, b: Double): Double
fun pow(a: Int, b: Int): Int
Link copied to clipboard
fun process_note(p: Int, ch: Int)
Link copied to clipboard
Link copied to clipboard
open override fun skip(samples: Int)