Created
October 27, 2020 18:50
-
-
Save jarmitage/0958f69318d88f2e1bfb487147acb2ab to your computer and use it in GitHub Desktop.
TidalCycles Template OSC Target (1.0.0 ≤ 1.6.2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Target | |
:{ | |
tmpTarget = Target {oName = "Template", | |
oAddress = "127.0.0.1", | |
oPort = 8000, | |
oLatency = 0.2, | |
oWindow = Nothing, | |
oSchedule = Pre BundleStamp | |
} | |
:} | |
-- OSC Specs | |
:{ | |
tmpOSCSpecs = [OSC "/path/{path}/" $ ArgList [("parameter", Nothing), | |
("delta", Just $ VF 0), | |
("cycle", Just $ VF 0), | |
("cps", Just $ VF 0)], | |
OSC "/path/{path2}/" $ ArgList [("parameter2", Nothing), | |
("delta", Just $ VF 0), | |
("cycle", Just $ VF 0), | |
("cps", Just $ VF 0)]] | |
:} | |
-- Parameters | |
:{ | |
let path = pF "path" | |
path2 = pF "path2" | |
parameter = pF "parameter" | |
parameter2 = pF "parameter2" | |
:} | |
-- Parameter shortcuts/groups | |
:{ | |
let pa = parameter | |
pa2 = parameter2 | |
:} | |
-- OSC Map | |
tmpOscMap = (tmpTarget, tmpOSCSpecs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment