@libraz/libcantus - v0.9.3
    Preparing search index...

    Type Alias SubstituteOptions

    Options controlling which substitutions substituteChord returns.

    type SubstituteOptions = {
        melodyPcs?: number[];
    }
    Index
    melodyPcs?: number[]

    Melody pitch classes that must remain chord tones. When given, only substitutions whose pitch classes contain every listed pitch class are kept, so the melody stays consonant against the new harmony.