programming-language

sapf:Sound as Pure Form

GitHub - lfnoise/sapf: Sound As Pure Form - a Forth-like language for audio synthesis using lazy lists and APL-like auto-mapping.

SuperColliderを作ったJames McCartneyが新しく作っている言語。

ForthAPLから影響を受けた逆ポーランド記法が特徴的な言語。uiuaとも近いかも。

15 .0 sinosc 200 * 300 + .0 sinosc .1 * play

記法をシンプル(人による)にしたけど内容としてはUGenのメタ操作にかなり向いており、SCに近いと思う。言語としては動的型付けで、配列に関数を自動展開する機能とかがSCのパターン操作とかと同じ感じでよくできてる&存外VMの実装もシンプルそう。


オリジナルはmacOSオンリーだが、クロスプラットフォーム向けにフォークしてる人がいる

sapf - pulusound

GitHub - ahihi/sapf: Sound As Pure Form, cross-platform edition

first look at sapf (Sound As Pure Form) - YouTube


この動画短くて簡潔でよかた

sapf: New Music Language Inspired by Supercollider, APL, and Forth (Sound as Pure Form) - YouTube