Skip to main content

Offline audio chaptering library

Project description

Chapterchop

License: GPL v2 PyPI Python

Chapterchop — chop long audio into chapters as separate files convenient for offline listening.

Chapterchop is currently in early development. The public API may evolve before the first stable 1.0 release.

Table of Contents

About

What is Chapterchop?

Chapterchop is both a command-line tool and Python library for splitting audio into chapters. It analyzes audio using a selected chaptering method, cuts the recording into individual segments, and exports the results as separate audio files.

When is it useful?

This project was created for people who want to enjoy audio content available online without relying on a constant internet connection. Long-form content such as podcasts, audiobooks, and lectures is often easier to store and navigate when divided into chapters. Chapterchop helps automate this process.

You might find this tool useful if you:

  • listen to podcasts, audiobooks, or music offline,
  • prefer simple audio players over commercial streaming apps,
  • need to split long recordings into smaller, easier-to-navigate chapters,
  • want to archive long-form audio locally,
  • use screenless sports MP3 players.

Installation

Prerequisites

Install Chapterchop

pip install chapterchop

Usage

chapterchop split [-h] -i PATH -o PATH [-p N] [-v]

Options:

  -h, --help              Show this help message and exit
  -i PATH, --input PATH   Path to the input audio file

  -o PATH, --output PATH  Directory where output files will be written

  -p N, --parts N         Number of equally sized chapters to be created
  -v, --verbose           Show detailed processing information

Sample usage: split the audio file into five equal parts

chapterchop split -i input_file.mp3 -o ~/Desktop/output_dir -p 5 -v

License

Released under the GPL-2.0-or-later license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chapterchop-0.1.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chapterchop-0.1.0-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file chapterchop-0.1.0.tar.gz.

File metadata

  • Download URL: chapterchop-0.1.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.8.0-124-generic

File hashes

Hashes for chapterchop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88d090d73fb0e028d841b108b8207492c6b83e673904a6ea48ec7116105bec32
MD5 be3fd07f9d042a8f378bc5655d2d7943
BLAKE2b-256 78ec836c2db7c612c3520010fc35cd75de1278797e06107ff52f087fb676ce37

See more details on using hashes here.

File details

Details for the file chapterchop-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chapterchop-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.8.0-124-generic

File hashes

Hashes for chapterchop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd6050d2811436cb16e4add4731a791a20c0b4ddbc1af73a448cad962b265b6c
MD5 9d63d1cb57fc6623713d0c2583b98460
BLAKE2b-256 d0a21eadccb62f6af28130ee90418d4a01ac155d095687283510f96d8a4b1488

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page