Organic
所属分类:硬件设计
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2023-11-04 20:32:08
上 传 者:
sh-1993
说明: 一种用于生成音频合成的编程语言
(A programming language for generative audio synthesis)
文件列表:
CMakeLists.txt (1500, 2024-01-02)
examples/ (0, 2024-01-02)
examples/cascade.organic (917, 2024-01-02)
examples/chord_swell.organic (1679, 2024-01-02)
examples/groovy_bass.organic (511, 2024-01-02)
examples/siren.organic (543, 2024-01-02)
include/ (0, 2024-01-02)
include/AudioFile.h (56326, 2024-01-02)
include/RtAudio.h (41612, 2024-01-02)
include/audiosource.h (2360, 2024-01-02)
include/controller.h (2742, 2024-01-02)
include/effect.h (1020, 2024-01-02)
include/event.h (785, 2024-01-02)
include/interpret.h (613, 2024-01-02)
include/object.h (1577, 2024-01-02)
include/organic.h (905, 2024-01-02)
include/parse.h (930, 2024-01-02)
include/token.h (5580, 2024-01-02)
include/utils.h (783, 2024-01-02)
src/ (0, 2024-01-02)
src/RtAudio.cpp (411514, 2024-01-02)
src/audiosource.cpp (6132, 2024-01-02)
src/controller.cpp (5770, 2024-01-02)
src/effect.cpp (3235, 2024-01-02)
src/event.cpp (1103, 2024-01-02)
src/interpret.cpp (1680, 2024-01-02)
src/main.cpp (624, 2024-01-02)
src/object.cpp (2041, 2024-01-02)
src/organic.cpp (3599, 2024-01-02)
src/parse.cpp (10616, 2024-01-02)
src/token.cpp (22223, 2024-01-02)
src/utils.cpp (821, 2024-01-02)
# Organic
Organic is a programming language for generative audio synthesis, with the goal of providing electronic musicians with a flexible yet easy-to-learn way to create unique music.
## Table of Contents
1. [Using Organic](https://github.com/ERSUCC/Organic/blob/master/#using-organic)
2. [Organic Syntax](https://github.com/ERSUCC/Organic/blob/master/#organic-syntax)
3. [Building Organic](https://github.com/ERSUCC/Organic/blob/master/#building-organic)
## Using Organic
Organic is a command-line interpreter, run from the Command Prompt (Windows) or the Terminal (Mac/Linux). To run it, first open the command-line and navigate to the location where you installed the program. If you're on Windows, run the command `organic` (Windows) or `./organic` (Mac/Linux). In both cases, you will need to provide at least one input, which is the path to your Organic code. Here is a full example (Mac/Linux):
```
./organic /Users/johndoe/Documents/play_a_sine.organic
```
This is all you need to know for the simplest usage of Organic, but the next section further details the `organic` command and its other arguments.
### Program Arguments
TODO
## Organic Syntax
TODO
## Building Organic
This section details the process of building Organic yourself, rather than using one of the released binary files.
First, make sure you have the necessary dependencies installed. Organic relies on RtAudio for cross-platform audio output, which can be found here: [https://github.com/thestk/rtaudio](https://github.com/ERSUCC/Organic/blob/master/https://github.com/thestk/rtaudio). Currently the only provided method for building Organic is CMake, which can be found here: [https://cmake.org/download/](https://github.com/ERSUCC/Organic/blob/master/https://cmake.org/download/).
Once you have installed the necessary dependencies and downloaded the Organic source code, open the command-line and navigate to the directory where you installed the source code. To build with CMake, run the following commands:
```
mkdir build
cd build
cmake ..
cmake --build .
```
This will create the `organic` binary in the `build` directory. Move it wherever you would like, and return to [Using Organic](https://github.com/ERSUCC/Organic/blob/master/#using-organic).
近期下载者:
相关文件:
收藏者: