Skip to content

librosa 0.11.0

Download JSON

  • PyPI https://pypi.org/project/librosa/
    Repository https://github.com/librosa/librosa

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 1460
        "Any" : 37
        "Untyped" : 42
    • 97.3% coverage
    • 94.9% coverage (strict)
    • 1539 typable
      • 1460 typed
      • 42 untyped
      • 37 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 1429
        "classes" : 72
        "other" : 3
    • 217 functions (+99 overloads)
      • 1212 parameters
    • 12 classes
      • 21 methods (+0 overloads)
        • 51 parameters
      • 0 properties
    • 32 modules
      • 3 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
librosa 0.0% 0.0% 0 0
librosa._cache 100.0% 100.0% 1 0
librosa.beat 95.5% 95.5% 22 0
librosa.core.audio 100.0% 98.8% 86 3
librosa.core.constantq 100.0% 100.0% 100 0
librosa.core.convert 100.0% 97.7% 174 1
librosa.core.fft 100.0% 100.0% 3 0
librosa.core.harmonic 100.0% 100.0% 25 0
librosa.core.intervals 94.1% 94.1% 17 0
librosa.core.notation 100.0% 100.0% 25 0
librosa.core.pitch 100.0% 98.2% 55 2
librosa.core.spectrum 100.0% 98.2% 114 0
librosa.decompose 100.0% 89.5% 19 0
librosa.display 73.7% 72.4% 152 0
librosa.effects 100.0% 97.0% 66 0
librosa.feature.inverse 100.0% 91.4% 35 0
librosa.feature.rhythm 100.0% 100.0% 49 0
librosa.feature.spectral 100.0% 97.1% 171 0
librosa.feature.utils 100.0% 83.3% 12 0
librosa.filters 100.0% 96.8% 94 0
librosa.onset 100.0% 92.7% 41 0
librosa.segment 100.0% 98.1% 52 0
librosa.sequence 100.0% 100.0% 54 4
librosa.util 0.0% 0.0% 0 0
librosa.util._nnls 100.0% 75.0% 4 0
librosa.util.decorators 100.0% 100.0% 13 0
librosa.util.deprecation 100.0% 62.5% 8 0
librosa.util.exceptions 0.0% 0.0% 0 0
librosa.util.files 100.0% 100.0% 15 0
librosa.util.matching 100.0% 100.0% 9 3
librosa.util.utils 100.0% 98.4% 122 3
librosa.version 100.0% 100.0% 1 0

Incomplete Annotations

librosa.beat (1 missing, 0 any)

Symbol Typable Typed Any
attr tempo 1 0 0

librosa.core.audio (0 missing, 1 any)

Symbol Typable Typed Any
func resample 9 9 1

librosa.core.convert (0 missing, 4 any)

Symbol Typable Typed Any
func frequency_weighting 4 4 1
func hz_to_note 3 3 1
func multi_frequency_weighting 4 4 1
func note_to_hz 3 3 1

librosa.core.intervals (1 missing, 0 any)

Symbol Typable Typed Any
attr INTERVALS 1 0 0

librosa.core.pitch (0 missing, 1 any)

Symbol Typable Typed Any
func estimate_tuning 8 8 1

librosa.core.spectrum (0 missing, 2 any)

Symbol Typable Typed Any
func perceptual_weighting 5 5 1
func iirt 11 11 1

librosa.decompose (0 missing, 2 any)

Symbol Typable Typed Any
func decompose 7 7 1
func nn_filter 6 6 1

librosa.display (40 missing, 2 any)

Symbol Typable Typed Any
func specshow 27 27 1
meth ChromaFormatter.init 3 2 0
attr ChromaFormatter.key 1 0 0
attr ChromaFormatter.unicode 1 0 0
meth AdaptiveWaveplot.init 8 7 0
attr AdaptiveWaveplot.times 1 0 0
attr AdaptiveWaveplot.samples 1 0 0
attr AdaptiveWaveplot.steps 1 0 0
attr AdaptiveWaveplot.envelope 1 0 0
attr AdaptiveWaveplot.sr 1 0 0
attr AdaptiveWaveplot.max_samples 1 0 0
attr AdaptiveWaveplot.transpose 1 0 0
meth ChromaSvaraFormatter.init 5 4 0
attr ChromaSvaraFormatter.Sa 1 0 0
attr ChromaSvaraFormatter.mela 1 0 0
attr ChromaSvaraFormatter.abbr 1 0 0
attr ChromaSvaraFormatter.unicode 1 0 0
meth TimeFormatter.init 3 2 0
attr TimeFormatter.unit 1 0 0
attr TimeFormatter.lag 1 0 0
meth FJSFormatter.init 8 7 0
attr FJSFormatter.fmin 1 0 0
attr FJSFormatter.major 1 0 0
attr FJSFormatter.unison 1 0 0
attr FJSFormatter.unicode 1 0 0
attr FJSFormatter.intervals 1 0 0
attr FJSFormatter.n_bins 1 0 0
attr FJSFormatter.bins_per_octave 1 0 0
attr FJSFormatter.frequencies_ 1 0 0
meth LogHzFormatter.init 2 1 0
attr LogHzFormatter.major 1 0 0
func waveshow 13 13 1
meth NoteFormatter.init 5 4 0
attr NoteFormatter.octave 1 0 0
attr NoteFormatter.major 1 0 0
attr NoteFormatter.key 1 0 0
attr NoteFormatter.unicode 1 0 0
meth ChromaFJSFormatter.init 5 4 0
attr ChromaFJSFormatter.unison 1 0 0
attr ChromaFJSFormatter.unicode 1 0 0
attr ChromaFJSFormatter.intervals 1 0 0
attr ChromaFJSFormatter.intervals_ 1 0 0

librosa.effects (0 missing, 2 any)

Symbol Typable Typed Any
func pitch_shift 8 8 1
func time_stretch 4 4 1

librosa.feature.inverse (0 missing, 3 any)

Symbol Typable Typed Any
func mfcc_to_audio 8 8 1
func mel_to_audio 14 14 1
func mel_to_stft 6 6 1

librosa.feature.spectral (0 missing, 5 any)

Symbol Typable Typed Any
func tonnetz 5 5 1
func chroma_stft 14 14 1
func zero_crossing_rate 6 6 1
func melspectrogram 12 12 1
func mfcc 10 10 1

librosa.feature.utils (0 missing, 2 any)

Symbol Typable Typed Any
func delta 7 7 1
func stack_memory 5 5 1

librosa.filters (0 missing, 3 any)

Symbol Typable Typed Any
func wavelet 11 11 1
func semitone_filterbank 6 6 1
func constant_q 12 12 1

librosa.onset (0 missing, 3 any)

Symbol Typable Typed Any
func onset_strength 12 12 1
func onset_strength_multi 15 15 1
func onset_detect 11 11 1

librosa.segment (0 missing, 1 any)

Symbol Typable Typed Any
func path_enhance 10 10 1

librosa.util._nnls (0 missing, 1 any)

Symbol Typable Typed Any
func nnls 4 4 1

librosa.util.deprecation (0 missing, 3 any)

Symbol Typable Typed Any
func rename_kw 7 7 3

librosa.util.utils (0 missing, 2 any)

Symbol Typable Typed Any
func pad_center 5 5 1
func fix_length 5 5 1

Type-Ignore Comments

Flavor Count
type: ignore 16