Python library for audio and music analysis
This report presents the forensic synthetic code analysis of librosa/librosa, a Python project with 8,497 GitHub stars. SynthScan v2.0 examined 55,818 lines of code across 112 source files, recording 619 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 13.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 619 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/effects.py | 641 | def _signal_to_frame_nonsilent( | CODE |
| LOW | librosa/core/convert.py | 1551 | def fourier_tempo_frequencies( | CODE |
| LOW | librosa/core/convert.py | 2021 | def multi_frequency_weighting( | CODE |
| LOW | librosa/core/pitch.py | 364 | def _cumulative_mean_normalized_difference( | CODE |
| LOW | librosa/util/matching.py | 53 | def __match_interval_overlaps(query, intervals_to, candidates): # pragma: no cover | CODE |
| LOW⚡ | tests/test_sequence.py | 677 | def test_trans_local_nstates_fail(n): | CODE |
| LOW⚡ | tests/test_sequence.py | 683 | def test_trans_local_width_fail(width): | CODE |
| LOW⚡ | tests/test_sequence.py | 687 | def test_trans_local_wrap_const(): | CODE |
| LOW | tests/test_sequence.py | 45 | def test_viterbi_multichannel(): | CODE |
| LOW | tests/test_sequence.py | 121 | def test_viterbi_negative_minprob(): | CODE |
| LOW | tests/test_sequence.py | 137 | def test_viterbi_discriminative_negative_minprob(): | CODE |
| LOW | tests/test_sequence.py | 210 | def test_viterbi_bad_transition(trans, rng): | CODE |
| LOW | tests/test_sequence.py | 245 | def test_viterbi_discriminative_example(transition_min_prob): | CODE |
| LOW | tests/test_sequence.py | 282 | def test_viterbi_discriminative_multi(): | CODE |
| LOW | tests/test_sequence.py | 348 | def test_viterbi_discriminative_example_init(): | CODE |
| LOW | tests/test_sequence.py | 399 | def test_viterbi_discriminative_bad_transition(x_disc, trans): | CODE |
| LOW | tests/test_sequence.py | 414 | def test_viterbi_discriminative_bad_init(p_init, trans, x_disc): | CODE |
| LOW | tests/test_sequence.py | 429 | def test_viterbi_discriminative_bad_marginal(x_disc, trans, p_state): | CODE |
| LOW | tests/test_sequence.py | 444 | def test_viterbi_discriminative_bad_obs(x, trans): | CODE |
| LOW | tests/test_sequence.py | 449 | def test_viterbi_binary_example(): | CODE |
| LOW | tests/test_sequence.py | 488 | def test_viterbi_binary_multi(): | CODE |
| LOW | tests/test_sequence.py | 525 | def test_viterbi_binary_example_init(): | CODE |
| LOW | tests/test_sequence.py | 567 | def test_viterbi_binary_bad_transition(x_data, trans): | CODE |
| LOW | tests/test_sequence.py | 578 | def test_viterbi_binary_bad_init(x_data, trans, p_init): | CODE |
| LOW | tests/test_sequence.py | 589 | def test_viterbi_binary_bad_marginal(p_state, trans, x_data): | CODE |
| LOW | tests/test_sequence.py | 600 | def test_viterbi_binary_bad_obs(x, trans): | CODE |
| LOW | tests/test_sequence.py | 614 | def test_trans_uniform_badshape(n): | CODE |
| LOW | tests/test_sequence.py | 704 | def test_trans_local_nowrap_const(): | CODE |
| LOW | tests/test_sequence.py | 721 | def test_trans_local_wrap_var(): | CODE |
| LOW | tests/test_sequence.py | 738 | def test_trans_local_nowrap_var(): | CODE |
| LOW | tests/conftest.py | 41 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW⚡ | tests/test_features.py | 353 | def test_spectral_flatness_synthetic(S, flatness_ref): | CODE |
| LOW⚡ | tests/test_features.py | 361 | def test_spectral_flatness_errors(S, amin): | CODE |
| LOW⚡ | tests/test_features.py | 367 | def test_spectral_flatness_badtype(S): | CODE |
| LOW⚡ | tests/test_features.py | 717 | def test_fourier_tempogram_fail_badwin(y, sr, win_length, window): | CODE |
| LOW⚡ | tests/test_features.py | 722 | def test_fourier_tempogram_fail_noinput(): | CODE |
| LOW⚡ | tests/test_features.py | 730 | def test_fourier_tempogram_audio(y_chirp, hop_length): | CODE |
| LOW⚡ | tests/test_features.py | 1084 | def test_tempogram_ratio_aggregate(y_clicks, tg_ex): | CODE |
| LOW⚡ | tests/test_features.py | 1092 | def test_tempogram_ratio_with_tg(y_clicks, tg_ex): | CODE |
| LOW⚡ | tests/test_features.py | 1102 | def test_tempogram_ratio_with_bpm(y_clicks, tg_ex): | CODE |
| LOW | tests/test_features.py | 125 | def test_stack_memory_ndim_badshape(data, delay, n_steps): | CODE |
| LOW | tests/test_features.py | 147 | def test_spectral_centroid_synthetic(S_ideal, freq): | CODE |
| LOW | tests/test_features.py | 159 | def test_spectral_centroid_errors(S): | CODE |
| LOW | tests/test_features.py | 167 | def test_spectral_centroid_empty(y, sr, S): | CODE |
| LOW | tests/test_features.py | 183 | def test_spectral_bandwidth_synthetic(S_ideal, freq, norm, p): | CODE |
| LOW | tests/test_features.py | 201 | def test_spectral_bandwidth_onecol(S_ideal, freq): | CODE |
| LOW | tests/test_features.py | 209 | def test_spectral_bandwidth_flat(): | CODE |
| LOW | tests/test_features.py | 229 | def test_spectral_bandwidth_errors(S): | CODE |
| LOW | tests/test_features.py | 243 | def test_spectral_rolloff_synthetic(S, freq, pct): | CODE |
| LOW | tests/test_features.py | 266 | def test_spectral_rolloff_errors(S, pct): | CODE |
| LOW | tests/test_features.py | 284 | def test_spectral_contrast_log(y_chirp): | CODE |
| LOW | tests/test_features.py | 296 | def test_spectral_contrast_flat(linear): | CODE |
| LOW | tests/test_features.py | 307 | def test_spectral_contrast_maximum(linear): | CODE |
| LOW | tests/test_features.py | 338 | def test_spectral_contrast_errors(S, freq, fmin, n_bands, quantile): | CODE |
| LOW | tests/test_features.py | 482 | def test_poly_features_synthetic(poly_S, poly_coeffs, poly_freq): | CODE |
| LOW | tests/test_features.py | 563 | def test_tempogram_fail_noinput(): | CODE |
| LOW | tests/test_features.py | 573 | def test_tempogram_fail_badwin(y, sr, win_length, window): | CODE |
| LOW | tests/test_features.py | 764 | def test_fourier_tempogram_invert(sr, hop_length, win_length, center, window): | CODE |
| LOW | tests/test_features.py | 811 | def test_cens_nosmooth_nonorm(cens_cqt): | CODE |
| LOW | tests/test_features.py | 1032 | def test_chroma_vqt_threshold(y_chirp): | CODE |
| 256 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | docs/conf.py | 108 | # ---------------------------------- | STRING |
| MEDIUM⚡ | docs/conf.py | 110 | # ---------------------------------- | STRING |
| MEDIUM⚡ | docs/conf.py | 113 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM⚡ | docs/conf.py | 115 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | docs/examples/plot_audio_playback.py | 31 | # ------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_audio_playback.py | 49 | # -------------------- | COMMENT |
| MEDIUM | docs/examples/plot_audio_playback.py | 60 | # ------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_audio_playback.py | 95 | # ------------------ | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 35 | # ------------------------------ | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 37 | # ------------------------------ | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 56 | # -------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 58 | # -------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 75 | # ------------- | COMMENT |
| MEDIUM | docs/examples/plot_dynamic_beat.py | 77 | # ------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 87 | # -------------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 110 | # -------------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 125 | # -------------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 149 | # ---------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 208 | # ----------------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 262 | # ----------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 292 | # ---------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 334 | # -------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 373 | # ---------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 420 | # ------------- | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 489 | # ---------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 32 | # --------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 34 | # --------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 63 | # ----------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 65 | # ----------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 87 | # ---------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 89 | # ---------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 131 | # -------------------------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 133 | # -------------------------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 166 | # ----------------------------- | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 168 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | docs/examples/plot_music_sync.py | 240 | # ------------- | COMMENT |
| MEDIUM⚡ | docs/examples/plot_music_sync.py | 242 | # ------------- | COMMENT |
| MEDIUM⚡ | docs/examples/plot_music_sync.py | 251 | # ---------- | COMMENT |
| MEDIUM⚡ | docs/examples/plot_music_sync.py | 253 | # ---------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/effects.py | 70 | CODE | |
| LOW | librosa/effects.py | 198 | CODE | |
| LOW | librosa/effects.py | 312 | CODE | |
| LOW | librosa/onset.py | 31 | CODE | |
| LOW | librosa/onset.py | 217 | CODE | |
| LOW | librosa/onset.py | 445 | CODE | |
| LOW | librosa/sequence.py | 70 | CODE | |
| LOW | librosa/sequence.py | 85 | CODE | |
| LOW | librosa/sequence.py | 128 | CODE | |
| LOW | librosa/sequence.py | 143 | CODE | |
| LOW | librosa/sequence.py | 157 | CODE | |
| LOW | librosa/sequence.py | 172 | CODE | |
| LOW | librosa/sequence.py | 185 | CODE | |
| LOW | librosa/display.py | 1441 | CODE | |
| LOW | librosa/display.py | 2065 | CODE | |
| LOW | librosa/display.py | 2673 | CODE | |
| LOW | librosa/display.py | 2992 | CODE | |
| LOW | librosa/display.py | 3176 | CODE | |
| LOW | librosa/display.py | 3939 | CODE | |
| LOW | librosa/segment.py | 361 | CODE | |
| LOW | librosa/segment.py | 376 | CODE | |
| LOW | librosa/segment.py | 391 | CODE | |
| LOW | librosa/beat.py | 45 | CODE | |
| LOW | librosa/beat.py | 60 | CODE | |
| LOW | librosa/beat.py | 75 | CODE | |
| LOW | librosa/beat.py | 89 | CODE | |
| LOW | librosa/beat.py | 320 | CODE | |
| LOW | librosa/filters.py | 589 | CODE | |
| LOW | librosa/core/constantq.py | 42 | CODE | |
| LOW | librosa/core/constantq.py | 209 | CODE | |
| LOW | librosa/core/constantq.py | 415 | CODE | |
| LOW | librosa/core/constantq.py | 594 | CODE | |
| LOW | librosa/core/constantq.py | 820 | CODE | |
| LOW | librosa/core/constantq.py | 1285 | CODE | |
| LOW | librosa/core/spectrum.py | 58 | CODE | |
| LOW | librosa/core/spectrum.py | 395 | CODE | |
| LOW | librosa/core/spectrum.py | 646 | CODE | |
| LOW | librosa/core/spectrum.py | 809 | CODE | |
| LOW | librosa/core/spectrum.py | 990 | CODE | |
| LOW | librosa/core/spectrum.py | 1522 | CODE | |
| LOW | librosa/core/spectrum.py | 2358 | CODE | |
| LOW | librosa/core/spectrum.py | 2377 | CODE | |
| LOW | librosa/core/spectrum.py | 2396 | CODE | |
| LOW | librosa/core/spectrum.py | 2669 | CODE | |
| LOW | librosa/core/spectrum.py | 2920 | CODE | |
| LOW | librosa/core/audio.py | 1731 | CODE | |
| LOW | librosa/core/pitch.py | 182 | CODE | |
| LOW | librosa/core/pitch.py | 626 | CODE | |
| LOW | librosa/core/harmonic.py | 465 | CODE | |
| LOW | librosa/feature/spectral.py | 46 | CODE | |
| LOW | librosa/feature/spectral.py | 194 | CODE | |
| LOW | librosa/feature/spectral.py | 355 | CODE | |
| LOW | librosa/feature/spectral.py | 535 | CODE | |
| LOW | librosa/feature/spectral.py | 687 | CODE | |
| LOW | librosa/feature/spectral.py | 919 | CODE | |
| LOW | librosa/feature/spectral.py | 1137 | CODE | |
| LOW | librosa/feature/spectral.py | 1296 | CODE | |
| LOW | librosa/feature/spectral.py | 1426 | CODE | |
| LOW | librosa/feature/spectral.py | 1576 | CODE | |
| LOW | librosa/feature/spectral.py | 1843 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/effects.py | 35 | CODE | |
| LOW | librosa/onset.py | 14 | CODE | |
| LOW | librosa/decompose.py | 13 | CODE | |
| LOW | librosa/sequence.py | 36 | CODE | |
| LOW | librosa/__init__.py | 202 | CODE | |
| LOW | librosa/display.py | 49 | CODE | |
| LOW | librosa/segment.py | 27 | CODE | |
| LOW | librosa/beat.py | 12 | CODE | |
| LOW | librosa/filters.py | 36 | CODE | |
| LOW | librosa/core/convert.py | 4 | CODE | |
| LOW | librosa/core/notation.py | 4 | CODE | |
| LOW | librosa/core/intervals.py | 4 | CODE | |
| LOW | librosa/core/constantq.py | 4 | CODE | |
| LOW | librosa/core/spectrum.py | 4 | CODE | |
| LOW | librosa/core/audio.py | 4 | CODE | |
| LOW | librosa/core/pitch.py | 4 | CODE | |
| LOW | librosa/core/harmonic.py | 5 | CODE | |
| LOW | librosa/util/files.py | 4 | CODE | |
| LOW | librosa/util/matching.py | 4 | CODE | |
| LOW | librosa/util/_nnls.py | 11 | CODE | |
| LOW | librosa/util/utils.py | 5 | CODE | |
| LOW | librosa/util/decorators.py | 5 | CODE | |
| LOW | librosa/feature/utils.py | 4 | CODE | |
| LOW | librosa/feature/spectral.py | 4 | CODE | |
| LOW | librosa/feature/inverse.py | 4 | CODE | |
| LOW | librosa/feature/rhythm.py | 4 | CODE | |
| LOW | tests/test_effects.py | 4 | CODE | |
| LOW | tests/test_notation.py | 6 | CODE | |
| LOW | tests/test_notation.py | 13 | CODE | |
| LOW | tests/test_constantq.py | 6 | CODE | |
| LOW | tests/test_constantq.py | 8 | CODE | |
| LOW | tests/test_constantq.py | 21 | CODE | |
| LOW | tests/test_core.py | 6 | CODE | |
| LOW | tests/test_core.py | 21 | CODE | |
| LOW | tests/test_core.py | 28 | CODE | |
| LOW | tests/test_core.py | 28 | CODE | |
| LOW | tests/test_core.py | 28 | CODE | |
| LOW | tests/test_display.py | 25 | CODE | |
| LOW | tests/test_convert.py | 6 | CODE | |
| LOW | tests/test_util.py | 4 | CODE | |
| LOW | tests/test_multichannel.py | 15 | CODE | |
| LOW | tests/test_multichannel.py | 19 | CODE | |
| LOW | tests/test_multichannel.py | 20 | CODE | |
| LOW | tests/test_multichannel.py | 23 | CODE | |
| LOW | tests/test_onset.py | 17 | CODE | |
| LOW | tests/test_filters.py | 23 | CODE | |
| LOW | tests/test_filters.py | 24 | CODE | |
| LOW | tests/test_intervals.py | 7 | CODE | |
| LOW | tests/test_intervals.py | 14 | CODE | |
| LOW | tests/test_segment.py | 4 | CODE | |
| LOW | tests/test_cache.py | 8 | CODE | |
| LOW | docs/conf.py | 257 | CODE | |
| LOW | docs/conf.py | 158 | CODE | |
| LOW | docs/examples/plot_audio_playback.py | 17 | CODE | |
| LOW | docs/examples/plot_audio_playback.py | 18 | CODE | |
| LOW | docs/examples/plot_pcen_stream.py | 25 | CODE | |
| LOW | docs/examples/plot_presets.py | 16 | CODE | |
| LOW | docs/examples/plot_music_sync.py | 25 | CODE | |
| LOW | scripts/audit_docstring_examples.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | librosa/_cache.py | 36 | # Initialize the memory object | COMMENT |
| MEDIUM | librosa/display.py | 2409 | # The following code centers the FFT bins at their frequencies | COMMENT |
| MEDIUM | librosa/display.py | 2516 | # The following code centers the FFT bins at their frequencies | COMMENT |
| MEDIUM | librosa/display.py | 2903 | # Create the adaptive drawing object | COMMENT |
| MEDIUM | librosa/display.py | 3144 | # Create a proxy artist if we have a label to set | COMMENT |
| MEDIUM | librosa/display.py | 3348 | # Create the adaptive drawing object | COMMENT |
| MEDIUM | librosa/core/audio.py | 854 | # Create an empty stereo output buffer | COMMENT |
| MEDIUM | tests/test_display.py | 1367 | # Create a chirp | COMMENT |
| MEDIUM | docs/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | docs/examples/plot_pcen_stream.py | 66 | # Create a handle for storing the block STFT outputs | COMMENT |
| MEDIUM | docs/examples/plot_music_sync.py | 154 | # Create a connection patch between the aligned time points | COMMENT |
| MEDIUM | scripts/pull_dois.py | 59 | # Create a Request object with a User-Agent header. | COMMENT |
| MEDIUM | scripts/audit_docstring_examples.py | 121 | # Create a visitor instance and visit the nodes | COMMENT |
| MEDIUM | scripts/create_author_list.py | 67 | # Create a Request object and add a User-Agent header (GitHub requires it). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/core/audio.py | 1501 | epsilon: float, | COMMENT |
| LOW | librosa/core/audio.py | 1521 | # DEN_{M} from eqn 16 of Marple. | COMMENT |
| LOW | librosa/core/audio.py | 1561 | # SNIP - we are now done with order M and advance. M-1 <- M | COMMENT |
| LOW | tests/test_features.py | 541 | # F#:dim is [0, 6, 9] | COMMENT |
| LOW | tests/test_core.py | 2981 | # [3, 4, 5], | COMMENT |
| LOW | tests/test_filters.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/conf.py | 221 | COMMENT | |
| LOW | docs/conf.py | 341 | ] | COMMENT |
| LOW | docs/examples/plot_viterbi.py | 61 | # into a likelihood (probability) by logistic mapping | COMMENT |
| LOW | docs/examples/plot_viterbi.py | 101 | # We'll assume that a silent frame is equally likely to be followed | COMMENT |
| LOW | docs/examples/plot_spectral_harmonics.py | 41 | y, sr = librosa.loadx('libri2', duration=5) | COMMENT |
| LOW | docs/examples/plot_spectral_harmonics.py | 81 | # are indicated by bright colors toward the bottom of the | COMMENT |
| LOW | docs/examples/plot_spectral_harmonics.py | 121 | # From the f0 contour and the harmonic energy measurements, | COMMENT |
| LOW | docs/examples/plot_patch_generation.py | 61 | COMMENT | |
| LOW | docs/examples/plot_patch_generation.py | 101 | # The animation below illustrates each patch in approximate | COMMENT |
| LOW | docs/examples/plot_audio_playback.py | 61 | # As a slightly more advanced example, we can | COMMENT |
| LOW | docs/examples/plot_audio_playback.py | 81 | # | COMMENT |
| LOW | docs/examples/plot_audio_playback.py | 101 | # | COMMENT |
| LOW | docs/examples/plot_audio_playback.py | 121 | COMMENT | |
| LOW | docs/examples/plot_audio_playback.py | 141 | # be, so be aware that normalization can be disabled. | COMMENT |
| LOW | docs/examples/plot_dynamic_beat.py | 61 | # This is because the beat tracker is assuming a single (average) tempo across the | COMMENT |
| LOW | docs/examples/plot_hprss.py | 81 | # whether a horizontal (harmonic) or vertical (percussive) filter responds higher | COMMENT |
| LOW | docs/examples/plot_display.py | 61 | # %% | COMMENT |
| LOW | docs/examples/plot_display.py | 81 | # We'll be using this format for the rest of the examples, | COMMENT |
| LOW | docs/examples/plot_display.py | 101 | librosa.display.colorbar_db(img) | COMMENT |
| LOW | docs/examples/plot_display.py | 141 | # `specshow`. For example, without the `hop_length`, we wouldn't know how to | COMMENT |
| LOW | docs/examples/plot_display.py | 201 | fig.colorbar(img, ax=ax) | COMMENT |
| LOW | docs/examples/plot_display.py | 281 | img = librosa.display.specshow(ccov, y_axis='chroma', x_axis='chroma', | COMMENT |
| LOW | docs/examples/plot_display.py | 301 | # colormap. Colors are so that the center value (default `div_thresh=0`) | COMMENT |
| LOW | docs/examples/plot_display.py | 361 | fig.colorbar(img1, ax=[ax[0], ax[1]]) | COMMENT |
| LOW | docs/examples/plot_display.py | 421 | # As mentioned above, `specshow` can automatically scale the values | COMMENT |
| LOW | docs/examples/plot_display.py | 441 | librosa.display.colorbar_db(imgdb) | COMMENT |
| LOW | docs/examples/plot_display.py | 481 | # Phase displays use a cyclic colormap (`twilight_shifted`) when the data is constrained | COMMENT |
| LOW | docs/examples/plot_presets.py | 21 | COMMENT | |
| LOW | docs/examples/plot_vocal_separation.py | 61 | ####################################### | COMMENT |
| LOW | docs/examples/plot_vocal_separation.py | 141 | ########################################### | COMMENT |
| LOW | docs/examples/plot_music_sync.py | 161 | con.set_in_layout(False) # This is needed to preserve layout | COMMENT |
| LOW | docs/examples/plot_music_sync.py | 201 | # %% | COMMENT |
| LOW | docs/examples/plot_music_sync.py | 241 | # Next steps... | COMMENT |
| LOW | scripts/get_latest_release.sh | 1 | #!/bin/sh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/onset.py | 31 | CODE | |
| LOW | librosa/sequence.py | 502 | CODE | |
| LOW | librosa/sequence.py | 870 | CODE | |
| LOW | librosa/sequence.py | 1175 | CODE | |
| LOW | librosa/display.py | 1441 | CODE | |
| LOW | librosa/display.py | 2015 | CODE | |
| LOW | librosa/display.py | 2065 | CODE | |
| LOW | librosa/display.py | 2544 | CODE | |
| LOW | librosa/display.py | 3719 | CODE | |
| LOW | librosa/display.py | 254 | CODE | |
| LOW | librosa/segment.py | 1332 | CODE | |
| LOW | librosa/beat.py | 89 | CODE | |
| LOW | librosa/beat.py | 576 | CODE | |
| LOW | librosa/filters.py | 915 | CODE | |
| LOW | librosa/core/convert.py | 2211 | CODE | |
| LOW | librosa/core/convert.py | 2515 | CODE | |
| LOW | librosa/core/notation.py | 200 | CODE | |
| LOW | librosa/core/notation.py | 626 | CODE | |
| LOW | librosa/core/intervals.py | 28 | CODE | |
| LOW | librosa/core/intervals.py | 302 | CODE | |
| LOW | librosa/core/spectrum.py | 58 | CODE | |
| LOW | librosa/core/spectrum.py | 2396 | CODE | |
| LOW | librosa/core/audio.py | 223 | CODE | |
| LOW | librosa/core/audio.py | 1002 | CODE | |
| LOW | librosa/util/matching.py | 66 | CODE | |
| LOW | librosa/util/utils.py | 797 | CODE | |
| LOW | tests/test_features.py | 941 | CODE | |
| LOW | tests/test_core.py | 2713 | CODE | |
| LOW | tests/test_onset.py | 302 | CODE | |
| LOW | tests/test_filters.py | 169 | CODE | |
| LOW | tests/test_beat.py | 186 | CODE | |
| LOW | scripts/audit_docstring_examples.py | 116 | CODE | |
| LOW | scripts/create_author_list.py | 58 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/effects.py | 58 | __all__ = [ | CODE |
| LOW | librosa/onset.py | 28 | __all__ = ["onset_detect", "onset_strength", "onset_strength_multi", "onset_backtrack"] | CODE |
| LOW | librosa/decompose.py | 29 | __all__ = ["decompose", "hpss", "nn_filter"] | CODE |
| LOW | librosa/sequence.py | 55 | __all__ = [ | CODE |
| LOW | librosa/display.py | 99 | __all__ = [ | CODE |
| LOW | librosa/segment.py | 54 | __all__ = [ | CODE |
| LOW | librosa/beat.py | 41 | __all__ = ["beat_track", "plp"] | CODE |
| LOW | librosa/filters.py | 57 | __all__ = [ | CODE |
| LOW | librosa/core/convert.py | 31 | __all__ = [ | CODE |
| LOW | librosa/core/notation.py | 31 | __all__ = [ | CODE |
| LOW | librosa/core/constantq.py | 36 | __all__ = ["cqt", "hybrid_cqt", "pseudo_cqt", "icqt", "griffinlim_cqt", "vqt"] | CODE |
| LOW | librosa/core/spectrum.py | 39 | __all__ = [ | CODE |
| LOW | librosa/core/audio.py | 35 | __all__ = [ | CODE |
| LOW | librosa/core/pitch.py | 25 | __all__ = ["estimate_tuning", "pitch_tuning", "piptrack", "yin", "pyin"] | CODE |
| LOW | librosa/core/harmonic.py | 22 | __all__ = ["salience", "interp_harmonics", "f0_harmonics"] | CODE |
| LOW | librosa/util/files.py | 19 | __all__ = [ | CODE |
| LOW | librosa/util/matching.py | 17 | __all__ = ["match_intervals", "match_events"] | CODE |
| LOW | librosa/util/_nnls.py | 22 | __all__ = ["nnls"] | CODE |
| LOW | librosa/util/utils.py | 43 | __all__ = [ | CODE |
| LOW | librosa/util/decorators.py | 25 | __all__ = ["moved", "deprecated", "vectorize"] | CODE |
| LOW | librosa/feature/utils.py | 17 | __all__ = ["delta", "stack_memory"] | CODE |
| LOW | librosa/feature/spectral.py | 26 | __all__ = [ | CODE |
| LOW | librosa/feature/inverse.py | 25 | __all__ = ["mel_to_stft", "mel_to_audio", "mfcc_to_mel", "mfcc_to_audio"] | CODE |
| LOW | librosa/feature/rhythm.py | 27 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/examples/plot_dynamic_beat.py | 100 | # In this example, the result is not perfect: `tempo_dynamic` contains jagged and | COMMENT |
| HIGH | docs/examples/plot_display.py | 274 | # In this example, notice that we used 'time' for both axis labels. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | librosa/core/audio.py | 542 | .. note:: This function is primarily useful for demonstration purposes, | STRING |
| MEDIUM | docs/examples/plot_audio_playback.py | 143 | # in the same cell, you can use | COMMENT |
| MEDIUM | docs/examples/plot_display.py | 449 | # example above, you can use `vscale='dB[power]'` to indicate this. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/beat.py | 585 | # NOTE: when we can bump the minimum numba to 0.58, we can eliminate this branch and just use | COMMENT |
| LOW | librosa/beat.py | 652 | # No back-link found, so just use the current score | COMMENT |
| LOW | librosa/core/intervals.py | 482 | # Otherwise, just return intervals as floats | COMMENT |
| LOW | librosa/core/audio.py | 1862 | # Normally, just add a click here | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | librosa/util/matching.py | 375 | # Check if right should be chosen | COMMENT |
| LOW | librosa/util/utils.py | 1249 | # Check if we're a local peak | COMMENT |
| LOW | scripts/pull_dois.py | 70 | # Check if there's a "next" page link in the JSON's "links" section. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | librosa/beat.py | 466 | # Step 2: get the fourier tempogram | STRING |
| LOW⚡ | librosa/beat.py | 474 | # Step 3: pin to the feasible tempo range | STRING |
| LOW⚡ | librosa/beat.py | 498 | # Step 5: invert the Fourier tempogram to get the pulse | STRING |
| LOW⚡ | librosa/beat.py | 503 | # Step 6: retain only the positive part of the pulse cycle | STRING |
| LOW | librosa/beat.py | 455 | # Step 1: get the onset envelope | STRING |
| LOW | librosa/beat.py | 487 | # Step 3: Discard everything below the peak | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | librosa/beat.py | 466 | # Step 2: get the fourier tempogram | STRING |
| LOW⚡ | librosa/beat.py | 474 | # Step 3: pin to the feasible tempo range | STRING |
| LOW⚡ | librosa/beat.py | 498 | # Step 5: invert the Fourier tempogram to get the pulse | STRING |
| LOW⚡ | librosa/beat.py | 503 | # Step 6: retain only the positive part of the pulse cycle | STRING |
| LOW | librosa/beat.py | 455 | # Step 1: get the onset envelope | STRING |
| LOW | librosa/beat.py | 487 | # Step 3: Discard everything below the peak | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_util.py | 1275 | def test_shear_sparse_1d_raises(): | CODE |
| LOW | tests/test_util.py | 1278 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/pull_dois.py | 88 | # Example usage | COMMENT |