const classafMicromod::Micromod

sys::Obj
  afMicromod::Micromod

A music player for MOD, S3M, and XM files; see Micromod.

Sample usage:

player := Micromod(ActorPool(), File(`MyTune.mod`))
player.play(Channels.stereo)
Actor.sleep(30sec)
player.stop
make

Source

new make(ActorPool actorPool, File modFile)

Creates a MicromodPlayer for the given music file.

modFile

Source

const File modFile

The music file this player, err, plays.

play

Source

Void play(Channels channels := Channels.stereo)

Plays the music file.

stop

Source

Void stop()

Stops the music.