Skip to main content

A command line utility to slice MP3 files into pieces.

Project description

Audio Slice

Description

This tool slices an MP3 file in to a specified number of pieces. Using this command line tool, you can extract multiple audio files from one master file.

Current Development Status

This tool is still in its early stages and can only be described as "quick and dirty". You should be comfortable with everything that comes along with that descriptor.

Usage Dependencies

Here are the required dependencies to use this tool:

Installation

The easiest way to install this tool is to use PIP. No other method of installation is officially supported at this time.

Installing Audio Slice can be achieved by running the following command once you have PIP installed:

pip install audio-slice

Usage

slice --piece <start_in_seconds> <end_in_seconds> <filename>

Example:

slice --piece 24.3 34.1 --piece 35.3 41.2 never_gonna_give_you_up.mp3

A few things to note about using the tool:

  1. You can create as many slices of the audio as you need to; even if they overlap. You simply need to add another --piece <start> <end> option to the command line.
  2. The tool will place the output files in the same directory as the input file.
  3. You specify the start and end of a slice in seconds that can include greater precision. (Ex: 74.3)
  4. Currently, this only works with MP3s.

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

audio-slice-0.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

audio_slice-0.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

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