This is a template to make a ScalaCollider based application. It assumes that SuperCollider (scsynth) is independently installed on the system. The source code uses Scala 3.
The project is made available under the GNU Affero General Public License v3 (or newer), the same as the most recent version of ScalaCollider.
Simply open MyScalaColliderApp.scala
and add your own code.
To run via sbt, simply execute sbt run
. To build a standalone application, run sbt assembly
.
The resulting jar can be executed via java -jar MyScalaColliderApp.jar
.
We have included the sbt
script from sbt-extras project
which uses a BSD-style license, so if you do
not want to install sbt, you can just execute ./sbt run
.