SonicSynth
SonicSynth is an audio synthesis library that provides a high-level interface for generating and manipulating various types of sounds. It allows users to create custom sound waves, apply digital signal processing (DSP) effects, and export the synthesized audio data to various audio file formats.
Key Features
- Sound Wave Generation: Generate different types of sound waves, such as sine, square, triangle, and sawtooth waves, with control over frequency, amplitude, and phase.
- Envelope Generation: Create amplitude envelopes, including ADSR (Attack, Decay, Sustain, Release), to shape the volume contour of sounds over time.
- Digital Signal Processing (DSP) Effects: Apply filters, delays, reverbs, modulation effects, and more to manipulate the synthesized audio.
- Multi-track Composition: Combine multiple sound waves or synthesized audio segments to create multi-track compositions, with control over volume, panning, and timing.
- Real-time Audio Playback: Listen to the synthesized audio in real-time, facilitating interactive sound design and experimentation.
- Audio Export: Export the synthesized audio data to common audio file formats such as WAV, MP3, and OGG.
- Comprehensive Documentation and Examples: Detailed documentation and examples are provided to help users quickly get started and explore SonicSynth's capabilities.
Installation
You can install SonicSynth using pip:
pip install sonicsynth
Usage
import sonicsynth
# Generate a sine wave
waveform = sonicsynth.generate_sine_wave(frequency=440, amplitude=0.5, duration=2)
# Apply a low-pass filter
filtered_wave = sonicsynth.apply_low_pass_filter(waveform, cutoff_frequency=1000)
# Create a multi-track composition
track1 = sonicsynth.mix_tracks(waveform, filtered_wave, volume=0.8, panning=0.5)
# Play the synthesized audio
player = sonicsynth.Playback(44100)
player.play(track1)
# Export the audio to a WAV file
sonicsynth.export_audio(track1, filename="output.wav", format="wav")
Metadata
Release files for sonicsynth 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sonicsynth-1.0.0.tar.gz | 19.4 kB | Without provenance | Details for sonicsynth-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonicsynth-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sonicsynth-1.0.0-py3-none-any.whl |
Total release size: 39.3 kB
Release files / sonicsynth-1.0.0.tar.gz
| Download URL | sonicsynth-1.0.0.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09b5b90df5bd584f47e75d949f9aa323d7553167e943433ccee0ac6203ca5373
|
|
BLAKE2b-256 checksum How to use checksums |
e00d107c1902061a8d64c05e63897c312437eea3fbcd4103e449a549fe1ef323
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / sonicsynth-1.0.0-py3-none-any.whl
| Download URL | sonicsynth-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f7c11f7fdb0be9f6127abf556811e01aa57ae3878cd35e5046ae914c8400ae7
|
|
BLAKE2b-256 checksum How to use checksums |
d67a4dc91a51b57aee88a7e6deae3c7facd0fb095c8a140419a73ee8bd077b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for sonicsynth 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.