6.0.0-rc4Source

Nt FM QML Types

QML types for Nt FM: a sound is one declarative element.

Using the Module

target_link_libraries(app PRIVATE Nt::FMQml)

Nt FM QML makes FM sound effects and chip music declarative. Register the types once, then import QtFM in a document:

QtFM::registerQmlTypes(); // "import QtFM" in documents

See Using Nt FM for the sounds themselves.

Classes

QtFM::FmChipThe FmChip type holds the chips that FmSound::chip names, as FmChip.OPL2.
QtFM::FmEngineThe FmEngine singleton is the engine that every Nt FM QML type plays through.
QtFM::FmMusicThe FmMusic type plays chip music: VGM, VGZ, DRO and IMF files.
QtFM::FmPatchThe FmPatch singleton makes patches: generated, parsed or mutated.
QtFM::FmPatchValueThe FmPatchValue type holds one patch in QML, as FmPatch makes it.
QtFM::FmSequenceThe FmSequence type plays notes on a tempo grid, for jingles.
QtFM::FmSoundThe FmSound type is one sound effect: a patch, and how it plays.
QtFM::FmSoundBankThe FmSoundBank type loads a bank of patches, by name.