All checks were successful
Build / build (push) Successful in 8m58s
37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
---
|
||
date: 2025-06-26 17:44
|
||
---
|
||
#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.](https://github.com/lfnoise/sapf)
|
||
|
||
[[SuperCollider]]を作った[[James McCartney]]が新しく作っている言語。
|
||
|
||
[[Forth]]や[[APL]]から影響を受けた[[逆ポーランド記法]]が特徴的な言語。[[uiua]]とも近いかも。
|
||
|
||
|
||
```sclang
|
||
15 .0 sinosc 200 * 300 + .0 sinosc .1 * play
|
||
```
|
||
|
||
記法をシンプル(人による)にしたけど内容としてはUGenのメタ操作にかなり向いており、SCに近いと思う。言語としては動的型付けで、配列に関数を自動展開する機能とかがSCのパターン操作とかと同じ感じでよくできてる&存外VMの実装もシンプルそう。
|
||
|
||
---
|
||
|
||
|
||
オリジナルはmacOSオンリーだが、クロスプラットフォーム向けにフォークしてる人がいる
|
||
|
||
[sapf - pulusound](https://pulusound.fi/blog/sapf/)
|
||
|
||
[GitHub - ahihi/sapf: Sound As Pure Form, cross-platform edition](https://github.com/ahihi/sapf)
|
||
|
||
[first look at sapf (Sound As Pure Form) - YouTube](https://www.youtube.com/watch?v=jN5Ij3Cazh8)
|
||
|
||
---
|
||
|
||
この動画短くて簡潔でよかた
|
||
|
||
[sapf: New Music Language Inspired by Supercollider, APL, and Forth (Sound as Pure Form) - YouTube](https://www.youtube.com/watch?v=FY2WYXOdXoM)
|