[obsidian] vault backup: 2025-06-26 18:06:30
All checks were successful
Build / build (push) Successful in 8m58s

This commit is contained in:
2025-06-26 18:06:30 +09:00
parent ee958e9540
commit c5e6905d9e
6 changed files with 57 additions and 1 deletions

36
content/sapf.md Normal file
View File

@ -0,0 +1,36 @@
---
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)