-
-
Notifications
You must be signed in to change notification settings - Fork 33
Using AREPL with FoxDot
Almenon edited this page Aug 19, 2019
·
10 revisions
set AREPL.showGlobalVars to False - this offers a big speed improvement when importing FoxDot
Go through normal foxdot setup (start up supercollider, FoxDot.start...), open arepl (see readme), type in from FoxDot import * #$end
, wait a few seconds for it to load, type in your code, and use control+enter to run it.
from arepldump import dump
from FoxDot import * #$end
# these are the instruments you can use
print(SynthDefs)
# pluck is one of the instruments
p1 >> pluck()
# the sound will start to get annoying fast, but you can easily stop it
p1.stop()
# play around with the notes!
p1 >> pluck([0,2,4])
# you can use help on certain functions to see documentation
help(P[0].amen)
# see https://github.com/Qirky/FoxDot for more documentation
# and https://github.com/Qirky/FoxDot-Worksheet