module ZXUtils::MusicBox::Instrument

MusicBox Instrument

An instrument consists of the ZXUtils::AYMusic commands.

To create a custom instrument you need to include the Instrument module in your class representing the given music track.

class InstrumentFoo1
    include ZXUtils::MusicBox::Instrument
    #... instrument commands follow
end

Such an instrument can be included with the MusicBox::SongCommands.import_instrument command of the Song.

Alternatively use MusicBox::SongCommands.instrument command to define instruments directly in the Song.

Commands

For the list of available commands see InstrumentCommands and CommonInstrumentCommands.