@libraz/libcantus - v1.1.0
    Preparing search index...

    Variable TRANSPOSING_INSTRUMENTSConst

    TRANSPOSING_INSTRUMENTS: Readonly<
        {
            clarinetBb: "-M2";
            trumpetBb: "-M2";
            sopranoSax: "-M2";
            tenorSax: "-M9";
            bassClarinet: "-M9";
            clarinetA: "-m3";
            hornF: "-P5";
            englishHorn: "-P5";
            clarinetEb: "m3";
            altoSax: "-M6";
            baritoneSax: "-M13";
            trumpetD: "M2";
            piccolo: "P8";
            doubleBass: "-P8";
            contrabassoon: "-P8";
            guitar: "-P8";
        },
    > = ...

    The interval from a written pitch to the pitch the instrument sounds, one entry per built-in instrument.

    Each value is an interval name as parseInterval reads it, in the written-to-sounding direction: a leading '-' marks an instrument that sounds below what it reads, which is most of them. A transposition wider than an octave is named by its compound interval rather than reduced, because the octave is exactly what separates the tenor saxophone from the soprano and the baritone from the alto.

    import { TRANSPOSING_INSTRUMENTS } from '@libraz/libcantus';
    TRANSPOSING_INSTRUMENTS.clarinetA; // '-m3' — sounds a minor third lower
    TRANSPOSING_INSTRUMENTS.piccolo; // 'P8' — sounds an octave higher