Skip to main content

A digital additive synthesizer that provides a flexible way to create new virtual instruments with their own timbres.

Project description

Build Status codecov Maintainability PyPI version

[Sine]thesizer

Overview

It is a digital additive synthesizer that provides a flexible way to create new virtual instruments with their own timbres.

The list of implemented and planned features is as follows:

  • Balance between freedom for user and simplicity of input formats
  • Stereo sound
  • Sound effects (e.g., vibrato, overdrive, reverb, etc)
  • Partial support of subtractive synthesis and FM synthesis
  • Custom amplitude envelopes
  • Noises and drums
  • Rich collection of presets

Installation

To install a stable version, run:

pip install sinethesizer

Usage

This synthesizer converts MIDI files and special text files to WAV files with resulting audio tracks.

For a MIDI file, it can be done with the following command:

python -m sinethesizer \
    -i path/to/track.midi \
    -p path/to/presets.yml \
    -m path/to/mapping.yml \
    -o path/to/output.wav

However, MIDI files do not carry information about source location and sound effects. Here, TSV (Tab-Separated Values) files of special schema can be used as a more self-contained alternative to MIDI. To process such file, run:

python -m sinethesizer \
    -i path/to/track.tsv \
    -p path/to/presets.yml \
    -o path/to/output.wav

Below table provides links to detailed information about input files that are required from a user.

Option Description Example
-i path/to/track.tsv Track definition Scale
-p path/to/presets.yml Timbres definition Demo timbres
-m path/to/mapping.yml Mapping from MIDI instrument IDs to timbres Demo mapping

If something is still unclear, you can read the source code — it is structured and has built-in documentation. Also your questions are welcome.

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

sinethesizer-0.3.0.tar.gz (26.3 kB view hashes)

Uploaded Source

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