devalang 0.2.0

Write music with code. Devalang is a domain-specific language (DSL) for sound designers and music hackers. Compose, automate, and control sound — in plain text.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# =================
# Plugins
# =================
# You can import plugins using the use directive.
# To install a plugin, use the command: "devalang addon install devaloop.acid"
#
# Syntax:
# `use <author>.<plugin> as <alias>`

use devaloop.acid as acidPlugin

# Now you can use the plugin's features via the alias "acidPlugin"
const acidPluginSynth = synth acidPlugin.synth

# Play a note using the plugin synth
acidPluginSynth -> note(C4)
                -> velocity(100)