module Sound.Tidal.MIDI.RMControllerMIDI where
import Sound.Tidal.Params
import Sound.Tidal.MIDI.Control
rmController :: ControllerShape
rmController = ControllerShape {controls = [
mCC length_p 5,
mCC tAmp_p 95,
mCC tMute_p 94,
mCC tSolo_p 93,
mCC tMtype_p 15,
mCC activeScene_p 92
],
-- duration = ("dur", 0.05),
-- velocity = ("vel", 0.5),
latency = 0.2}
oscKeys = toShape rmController
(length, length_p) = pF "length" (Just 0)
(tAmp, tAmp_p) = pF "tAmp" (Just 0)
(tMute, tMute_p) = pF "tMute" (Just 0)
(tSolo, tSolo_p) = pF "tSolo" (Just 0)
(tMtype, tMtype_p) = pF "tMtype" (Just 0)
(activeScene, activeScene_p) = pF "activeScene" (Just 0)
You will also need to import it in tidal-midi.cabal with the appropriate name.
After importing, do a clean install with cabal install
you can use orbits for that. also the effects in SuperDirt are global. you’ll need to specify the orbit, e.g
# orbit "2"