Skip to main content

random_audio

A Python CLI tool to generate a mash-up of audio clips. An excellent use case is when you have potentially embarassing audio clips of your friends and you'd like to embarass them further.

Installation

Run pip install random_audio.

Usage

usage: random_audio [-h] [-s A B] [-n N] [-o O] [-v] directory

Make a randomized mash-up of audio clips.

positional arguments:
  directory   Directory to read audio files from, must contain only the audio
              files.

optional arguments:
  -h, --help  show this help message and exit
  -s A B      Each clip is speeded up X times, where X is A random number
              between A and B. A and B must be greater than 1, and A less than
              B. Omit this option to have all clips play at normal speed.
              (default: None)
  -n N        Number of times a random clip is picked and added to the mash-
              up. (default: 15)
  -o O        Name of output file. (default: output.mp3)
  -v          Enable verbose mode. (default: False)

Example Usage

All audio clips are in a folder audio/ in the current directory, we want to output to masterpiece.mp3 and want our clips to be speeded up by a factor in the range 2-3:

random_audio -s 2 3 -o masterpiece.mp3 audio/

Release files for random-audio 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for random-audio 1.0.1
File Size Uploaded
random_audio-1.0.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for random-audio 1.0.1
File Interpreter ABI Platform
random_audio-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / random_audio-1.0.1.tar.gz

Download URL random_audio-1.0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6d80c0c165bbb4c1d6f8fc461d3f04ed7e8614ef679b8471808c2a2567dfea51
BLAKE2b-256 checksum
How to use checksums
ddffc68daab9b16acaed63d1bc4340e92a4577a6e203365d2969989ecca3ca3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / random_audio-1.0.1-py3-none-any.whl

Download URL random_audio-1.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d8c3c4c4d6876f1519abb73510777cbac35b5e8273f9d640015d2ca5a8aa6cc
BLAKE2b-256 checksum
How to use checksums
d0487886e238c43ff5f1d60a77b861c071fd9715c441b101ea2708c900bc62e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page