aleatora-0.2.1
توضیحات
Compose music with streams.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aleatora-0.2.1 |
| نام | aleatora |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ian Clester |
| ایمیل نویسنده | ijc@ijc8.me |
| آدرس صفحه اصلی | https://github.com/ijc8/aleatora |
| آدرس اینترنتی | https://pypi.org/project/aleatora/ |
| مجوز | - |
# Aleatora
Aleatora is a music composition framework, implemented as a Python library, built around the abstraction of lazy, effectful streams.
What does that mean? Like most audio synthesis frameworks, Aleatora lets you build up complex sounds by connecting generators in an audio graph (function composition + parallel composition). Unlike most, it also lets you build things up _horizontally_: streams can be composed sequentially, so the audio graph _change over time_ on its own (based on the computation described in the graph itself).
Additionally, streams may contain any kind of data type, not just samples. So you can use the same basic abstraction, and all the operations that it offers, to work with strings, events, arrays, MIDI data, etc., just as well as with individual audio samples.
## Installation
First, set up the environment:
virtualenv venv -p python3 # or pypy3 for better performance
source venv/bin/activate
Then, get the stable version of Aleatora:
pip install aleatora # for optional features, append a list like `[speech,foxdot]` (or `[all]`)
Or, get the latest version instead:
pip install git+https://github.com/ijc8/aleatora.git
To ensure installation succeeded and that you can get sound out, try playing a sine tone:
```python
from aleatora import *
play(osc(440))
```
## [Documentation](https://aleatora.readthedocs.io/)
نیازمندی
| مقدار | نام |
|---|---|
| - | mido |
| - | numpy |
| - | oscpy |
| - | sounddevice |
| - | gtts |
| ~=0.1.7 | streamp3 |
| ~=0.1.0 | FoxDotPatterns |
| ~=0.0.9 | popsicle |
| ==1.3.0 | pyFluidSynth |
| ~=2.3.1 | cppyy |
| ~=0.2.0 | ffmpeg-python |
| ~=0.1.0 | FoxDotPatterns |
| ~=0.0.9 | popsicle |
| ~=0.2.0 | ffmpeg-python |
| ==1.3.0 | pyFluidSynth |
| - | gtts |
| ~=0.1.7 | streamp3 |
| ~=2.3.1 | cppyy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aleatora-0.2.1:
pip install aleatora-0.2.1.whl
نصب پکیج tar.gz aleatora-0.2.1:
pip install aleatora-0.2.1.tar.gz