mwg API
    Preparing search index...

    Variable MUSIC_GENERATOR_VERSIONConst

    MUSIC_GENERATOR_VERSION: 1

    Bump when the composer's output for a given scene changes, so a save can tell its music is no longer reproducible.

    import { MUSIC_GENERATOR_VERSION } from '@datamoc/mwg/music';

    const saved = { scene: { id: 'harbour', seed: 7 }, generator: MUSIC_GENERATOR_VERSION };
    console.log(saved.generator === MUSIC_GENERATOR_VERSION); // true while the same music comes out