0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CLIだけでSuperColliderを起動してTidalCyclesで音を鳴らす

Posted at

はじめに

TidalCyclesを使って音を鳴らすにあたり、SuperColliderのGUIアプリケーションを操作したり、AtomやVSCodeといったエディタでTidalCyclesのコードを記述する必要があります。
しかし、一応CLIのみで音を鳴らせるので、その方法を記述します。
※ macosとLinuxについてはこちらの方法で実現できることは確認していますが、Windowsについては確認していません。

方法

sclangを実行しSCサーバーを立ち上げてSuperDirtを起動する

$ sclang
$ SuperDirt.start

sclangの実行についてパスが通っていない場合、macosについては /Applications/SuperCollider.app/Contents/MacOS/sclangで起動できます。

ghciを起動してTidalCyclesで音を鳴らす

BootTidal.hsを利用します。

$ ghci
ghci> (BootTidal.hsのソースをコピー&ペーストして実行)
tidal> d1 $ "bd bd bd bd"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?