$npx skillfedfor your agent

torchcrepe

Pytorch implementation of CREPE pitch tracker

With conditionsPyPI Artificial IntelligenceReleased May 2025295.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — torchcrepe-0.0.24-py3-none-any.whl
v0.0.24 · released 2025-05-16 · 6 runtime deps: librosa, resampy, scipy, torch, torchaudio, tqdm

Yes, if you need robust pitch estimation from audio. The package is well-established (first released 2020-08-01), has low install friction, carries no known vulnerabilities, and remains actively maintained. The aging status (455 days since last release) reflects stable maturity rather than abandonment. MIT licensing poses no restrictions. Primary gotcha: PyTorch must be installed separately and configured for your hardware before use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • PyTorch must be installed first via system-dependent instructions at pytorch.org; GPU acceleration requires CUDA-compatible hardware and appropriate PyTorch build.
  • Low friction installation with a pure Python wheel.
  • The package is aging (last release 455 days ago) but the repository remains active with recent commits.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely as long as you include the original license notice.

last release 2025-05-16 (455 days) · last repo commit 2025-05-16 · 523 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 295,755 downloads/mo, #7,915 on PyPI

Verify before relying

pip install torchcrepe
import torchcrepe
audio, sr = torchcrepe.load.audio('file.wav')
pitch = torchcrepe.predict(audio, sr, hop_length=int(sr / 200.), fmin=50, fmax=550, model='tiny', device='cpu')
  • Whether the package works with recent PyTorch versions (no minimum version specified in metadata)
  • Performance characteristics and inference speed on typical hardware
  • Accuracy comparison with the original TensorFlow CREPE implementation
Same gist for agents: .md · .json

What it is and what it does

torchcrepe is a PyTorch port of the CREPE convolutional pitch estimation model, originally developed for robust pitch tracking in speech and music. It loads pre-trained model weights (available in 'tiny' and 'full' variants) converted from the original TensorFlow implementation and uses them to extract pitch and periodicity estimates from audio.

The package provides multiple entry points: direct pitch prediction from audio arrays, batch processing from files, and extraction of intermediate embeddings from the fifth max-pooling layer. It includes post-processing tools for filtering noisy periodicity values, thresholding unreliable pitch estimates, and decoding strategies (Viterbi, weighted argmax, argmax) to reduce octave errors. A command-line interface and file-to-file convenience functions support workflow integration.

Use it for

  • Extract pitch contours from speech recordings for prosody analysis or voice conversion applications.
  • Analyze melody in music recordings for transcription, similarity matching, or music information retrieval tasks.
  • Generate pitch embeddings from audio as pretrained features for downstream voice or music classification models.
  • Batch process large audio corpora to compute pitch statistics or detect voiced/unvoiced regions.
  • Build real-time pitch tracking pipelines for live audio applications using GPU acceleration.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need robust pitch estimation from audio.

The package is well-established (first released 2020-08-01), has low install friction, carries no known vulnerabilities, and remains actively maintained. The aging status (455 days since last release) reflects stable maturity rather than abandonment. MIT licensing poses no restrictions. Primary gotcha: PyTorch must be installed separately and configured for your hardware before use.

Install

torchcrepe on PyPI

Before you install

Low friction installation with a pure Python wheel. The package is aging (last release 455 days ago) but the repository remains active with recent commits. Requires PyTorch installation first, which is a system-dependent step documented in the package instructions.

PyTorch must be installed first via system-dependent instructions at pytorch.org; GPU acceleration requires CUDA-compatible hardware and appropriate PyTorch build.

License in practice

MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely as long as you include the original license notice.

Quickstart

pip install torchcrepe
import torchcrepe
audio, sr = torchcrepe.load.audio('file.wav')
pitch = torchcrepe.predict(audio, sr, hop_length=int(sr / 200.), fmin=50, fmax=550, model='tiny', device='cpu')

Verify before relying

  • Whether the package works with recent PyTorch versions (no minimum version specified in metadata)
  • Performance characteristics and inference speed on typical hardware
  • Accuracy comparison with the original TensorFlow CREPE implementation

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
librosaresampyscipytorchtorchaudiotqdm
MaintenanceAging 455 days since the last release
Last repo commit
First released
Downloads295,755 / month, #7,915 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT License

Evidence: torchcrepe-0.0.24-py3-none-any.whl

Tags

Capabilities
pitch detection audiofundamental frequency estimationcrepe pitch tracker pytorchaudio pitch extractionspeech pitch analysismusic pitch recognitionf0 estimation neural network
Topics
audio-processingpitch-detectiondeep-learning
PyPI keywords
pitchaudiospeechmusicpytorchcrepe

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “crepe pitch tracker pytorch”

  • torchcrepePyTorch implementation of the CREPE pitch tracker that estimates…
  • torchfcpeTorchFCPE estimates fundamental frequency (pitch) from audio using a…
  • torch-audiomentationsProvides PyTorch-native audio data augmentation transforms that run…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also basic-pitch · torchfcpe · torchlibrosa · pyworld · pyrubberband · torchaudio · julius · pyctcdecode · torch-audiomentations · panns-inference