Skip to main content

Programmatic music synthesis

Project description

# chaudio

chaudio is a python module to programmatically create music.

chaudio contains audio processing utilities for converting audio, and applying effects to already generated songs

Licensed under the GNU GPLv3

[Installation Guide](

[Getting Started Guide](

## Installing

[Installation Guide](

It is available on pypi, so run pip3 install chaudio.

Python3 is the officially supported language, but an effort is made to be compatable with python2, so you can try pip install chaudio. Please open an [issue]( if either of these fails.

### From Source

Clone this repo, and then run python3 install (or python install)

## Documentation

For documentation, usage examples, visit our [readthedocs page](

## Usage

[Getting Started Guide](

### Examples

Located in examples/, multiple example use cases of chaudio are shown.

To run with the development version of chaudio, prepend the PYTHONPATH environment.

PYTHONPATH=$PWD python3 examples/{FILE}

Or, if chaudio is installed, just run:

python3 examples/{FILE}

#### examples/

This creates a WAV file (simple.wav) that contains 5 seconds of the note A4 as a sin waveform.

#### examples/

This takes an input, and an optional output (default is addnoise.wav).

It reads in a file, adds static, then outputs the result to output.

Run like python3 examples/ simple.wav -o simple_static.wav (assuming you’ve ran examples/

#### examples/

This example shows how to create an entire song, efficiently and rubustly. The result is arranged.wav

## Installation

You need either version of python (2 and 3 work, 3 is recommended), as well as numpy, scipy, and simpleaudio.

You can easily install with pip:

either pip install chaudio, or, for python3, pip3 install chaudio

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

chaudio-0.0.8.tar.gz (176.0 kB view hashes)

Uploaded source

Built Distribution

chaudio-0.0.8-py3-none-any.whl (324.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page