Name | sonicsynth JSON |
Version |
1.0.0
JSON |
| download |
home_page | https://github.com/Frikallo/sonicsynth |
Summary | An audio synthesis library for sound generation and manipulation |
upload_time | 2023-05-19 05:35:10 |
maintainer | |
docs_url | None |
author | Noah Kay |
requires_python | |
license | |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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`:
```shell
pip install sonicsynth
```
## Usage
```python
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")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Frikallo/sonicsynth",
"name": "sonicsynth",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Noah Kay",
"author_email": "noahkay13@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e0/0d/107c1902061a8d64c05e63897c312437eea3fbcd4103e449a549fe1ef323/sonicsynth-1.0.0.tar.gz",
"platform": null,
"description": "# SonicSynth\r\n\r\nSonicSynth 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.\r\n\r\n## Key Features\r\n\r\n- **Sound Wave Generation**: Generate different types of sound waves, such as sine, square, triangle, and sawtooth waves, with control over frequency, amplitude, and phase.\r\n- **Envelope Generation**: Create amplitude envelopes, including ADSR (Attack, Decay, Sustain, Release), to shape the volume contour of sounds over time.\r\n- **Digital Signal Processing (DSP) Effects**: Apply filters, delays, reverbs, modulation effects, and more to manipulate the synthesized audio.\r\n- **Multi-track Composition**: Combine multiple sound waves or synthesized audio segments to create multi-track compositions, with control over volume, panning, and timing.\r\n- **Real-time Audio Playback**: Listen to the synthesized audio in real-time, facilitating interactive sound design and experimentation.\r\n- **Audio Export**: Export the synthesized audio data to common audio file formats such as WAV, MP3, and OGG.\r\n- **Comprehensive Documentation and Examples**: Detailed documentation and examples are provided to help users quickly get started and explore SonicSynth's capabilities.\r\n\r\n## Installation\r\n\r\nYou can install SonicSynth using `pip`:\r\n\r\n```shell\r\npip install sonicsynth\r\n```\r\n\r\n## Usage\r\n```python\r\nimport sonicsynth\r\n\r\n# Generate a sine wave\r\nwaveform = sonicsynth.generate_sine_wave(frequency=440, amplitude=0.5, duration=2)\r\n\r\n# Apply a low-pass filter\r\nfiltered_wave = sonicsynth.apply_low_pass_filter(waveform, cutoff_frequency=1000)\r\n\r\n# Create a multi-track composition\r\ntrack1 = sonicsynth.mix_tracks(waveform, filtered_wave, volume=0.8, panning=0.5)\r\n\r\n# Play the synthesized audio\r\nplayer = sonicsynth.Playback(44100)\r\nplayer.play(track1)\r\n\r\n# Export the audio to a WAV file\r\nsonicsynth.export_audio(track1, filename=\"output.wav\", format=\"wav\")\r\n```\r\n\r\n",
"bugtrack_url": null,
"license": "",
"summary": "An audio synthesis library for sound generation and manipulation",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/Frikallo/sonicsynth"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d67a4dc91a51b57aee88a7e6deae3c7facd0fb095c8a140419a73ee8bd077b53",
"md5": "bc023a490928f5f1195f9b3c723acc45",
"sha256": "5f7c11f7fdb0be9f6127abf556811e01aa57ae3878cd35e5046ae914c8400ae7"
},
"downloads": -1,
"filename": "sonicsynth-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc023a490928f5f1195f9b3c723acc45",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 19927,
"upload_time": "2023-05-19T05:35:08",
"upload_time_iso_8601": "2023-05-19T05:35:08.344946Z",
"url": "https://files.pythonhosted.org/packages/d6/7a/4dc91a51b57aee88a7e6deae3c7facd0fb095c8a140419a73ee8bd077b53/sonicsynth-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e00d107c1902061a8d64c05e63897c312437eea3fbcd4103e449a549fe1ef323",
"md5": "0cbf368bcd15b1f91d4f3dcc76f4faf6",
"sha256": "09b5b90df5bd584f47e75d949f9aa323d7553167e943433ccee0ac6203ca5373"
},
"downloads": -1,
"filename": "sonicsynth-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "0cbf368bcd15b1f91d4f3dcc76f4faf6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19373,
"upload_time": "2023-05-19T05:35:10",
"upload_time_iso_8601": "2023-05-19T05:35:10.714704Z",
"url": "https://files.pythonhosted.org/packages/e0/0d/107c1902061a8d64c05e63897c312437eea3fbcd4103e449a549fe1ef323/sonicsynth-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-19 05:35:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Frikallo",
"github_project": "sonicsynth",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "sonicsynth"
}