← 全部工具

alda

热度 85 更新于 开发与构建

Music programming language for musicians

homebrewauto-collected

安装

Homebrew
brew install alda

通过 Homebrew 安装。

<p align="center" <a href="http://alda.io" <img src="alda-logo-horizontal.svg" alt="alda logo" width=360 height=128 </a

<p align="center" <b<a href="#installation"Installation</a</b | <b<a href="doc/index.md"Docs</a</b | <b<a href="CHANGELOG.md"Changelog</a</b | <b<a href="#contributing"Contributing</a</b

<br <br

<a href="http://slack.alda.io" Join us on Slack! </a </p </p

Alda is a text-based programming language for music composition. It allows you to compose and play back music using only your text editor and the command line.

piano:
  o3
  g8 a b > c d e f+ g | a b > c d e f+ g4
  g8 f+ e d c < b a g | f+ e d c < b a g4
  << g1/>g/>g/b/>d/g

For more examples, see these example scores.

The language's design equally favors aesthetics, flexibility and ease of use.

(Why compose music this way instead of in a graphical sheet music notation program? See [this blog post][alda-blog-post] for a brief history and rationale.)

[alda-blog-post]: https://blog.djy.io/alda-a-manifesto-and-gentle-introduction/

Features

  • Easy to understand, markup-like syntax.
  • Designed for musicians who don't know how to program, as well as programmers

who don't know how to music.

  • A score is a text file that can be played using the alda command-line tool.
  • Interactive REPL lets you enter Alda code and hear the

results in real time.

  • Supports [writing music

programmatically](doc/writing-music-programmatically.md) (for algorithmic composition, live coding, etc.)

  • Create MIDI music using any of the instruments in the [General MIDI Sound