-
Open up SuperCollider
-
cmd+o
penFoxDot/supercollider.sc
-
cmd+enter
execute each of these separatelys.options.sampleRate = 48000; s.reboot; FoxDot.start
-
from this directory
source venv/bin/activate
(or activate.fish depending on shell) -
cd FoxDot
-
python -m FoxDot
-
make sure to
deactivate
the venv when you're done
-
Open up SuperCollider
-
cmd+o
penFoxDot/supercollider.sc
-
cmd+enter
executeSuperDirt.start
- Open up Atom. Open a
.tidal
file. cmd+enter
away
- Open 2 panes
cmd+k
,cmd+right
(/down/up/left) cmd+shift+p
> REPL Haskell- write code in the empty pane and
cmd+enter
Note, the install didn't go well with cabal
so I was told to use stack
.
The Atom config and Sublime Repl have been edited to stack ghc -- --interactive -XOverloadedStrings
instead of ghci
. The extramuros client.js was also edited to include this.
code block sending was done via Chain of Command
adding this keyconfig to sublime (cmd+shift+p
> keyconfig)
{
{
"keys": ["super+enter"],
"command": "chain",
"args": {
"commands": [
["expand_selection_to_paragraph"],
["repl_transfer_current"]
]
},
"context": [{"key": "selector", "operator": "equal", "operand": "source.haskell"}]
}
}
lein projectname
(I chose overtone. that will be the general purpose workbench)- chaned project.clj if needed
lein deps
-
auto-load overtone.live as per not-working-yet sublime
-
add
:main overtone.core
to project.clj -
src/projectname/core.clj
(ns projectname.core) (use 'overtone.live)
-
-
temp project.clj as per overtone#393
... :dependencies [[org.clojure/clojure "1.9.0-alpha19"] [overtone "0.10.2"]]
-
~/.overtone/config.clj
as per overtone#394 (but doesn't work..):sc-args {:hw-sample-rate 44100}
-
~/Library/Application Support/SuperCollider/startup.scd
as per overtone#394 and http://doc.sccode.org/Reference/StartupFile.html BUT THIS WILL AFFECT SuperCollider!!Server.internal.options.sampleRate = 44100;
- If you wanna use Sublime
subl projectname
(or just skip to next step)- open
project.clj
cmd+shift+p
SublimeREPL: Clojure
- or just the terminal:
lein repl
(use 'overtone.live)
(if you haven't changed core.clj)
Shouldn't need Loopback
- Open Audio MIDI Setup
- as input, use/create Aggregate device w/ Soundflower (2ch) + Built-in Output
- as output, use/create Muilt-Output Device w/ Soundflower (2ch) + Built-in Output
- open up the force in Chrome, connect audio-in
- open up supercollider, start it w/ defaults
- play some music.
You can now switch your output / input to whatever you want now but the force will listen only to SC’s output (
Haskell. Possible OSC integration?
python web server
if you have your own venv for Troop w/ its own FoxDot install,
when you update the FoxDot install via pip install FoxDot --upgrade
, make
sure to upen FoxDot python -m FoxDot
and enable SC3 Plugins from the menu
Sharing Text Buffer over network. Built for Live Coding.
Works well with tidal. There is an option for visuals and code can be sent back to be executed in js. I'm not sure if that means a canvas can be opened of if there is a standard tidal visuals package this is refering to.
- Read the
README.md
- Multi-Output device w/ SoundFlower (2ch) and Built-in Output
- Select that as default
- Start up SuperCollider (it should have selected that as output)