ledfx
    Preparing search index...

    Interface PitchlineEffectConfig

    Specific configuration for the 'pitchLine' effect.

    interface PitchlineEffectConfig {
        blur?: number;
        fade_rate?: number;
        mirror?: boolean;
        note_max?: number;
        note_min?: number;
        pitch_lowpass?: number;
        silence_floor?: number;
        smoothing?: number;
        type: "pitchLine";
        width?: number;
    }
    Index
    blur?: number

    Amount to blur the effect

    2.0
    

    0.0

    10

    fade_rate?: number

    How quickly the trail behind the point fades. Lower leaves a longer tail showing where the line has been.

    0.2
    

    0.0

    1.0

    mirror?: boolean

    Mirror the effect

    False
    
    note_max?: number

    Note at the end of the strip, as a MIDI number

    64
    

    21

    108

    note_min?: number

    Note at the start of the strip, as a MIDI number. A bassline sits around 33-54; a vocal or lead line around 55-84. A narrow range gives bigger, clearer movement.

    28
    

    21

    108

    pitch_lowpass?: number

    Low-pass the audio before detecting pitch, in Hz. An octave-up error is the detector locking onto the second harmonic, so removing it helps: on a real bassline, 100Hz cut octave errors from 12% to 5%. Set 0 to use the shared detector instead. Only sensible for low sources - leave off for vocals.

    0
    
    silence_floor?: number

    Level in dBFS below which the stem counts as silent and the point goes dark. A separated stem always carries residue, so this has to be judged on level. Scored against a hand-labelled track, -30 agreed with where the bass actually played 74% of the time and -27 got 82%, while -45 false-lit 87% of the silent passages. Lower it if quiet notes are being cut.

    -30
    

    -80

    -10

    smoothing?: number

    Frames of median filtering. Higher is steadier but lags behind the music: about 67ms at 9 frames, 33ms at 5. Lower it if the line feels delayed against your other effects.

    9
    

    1

    31

    type: "pitchLine"
    width?: number

    Width of the point, as a fraction of the strip

    0.05
    

    0.005

    0.5