import Vivid
let (freq,_) = pI "freq" (Just 440)
defineSD $ sdNamed "foooo" () $ do
s <- sinOsc (freq_ 440)
out 0 [s, s]
d1 $ sound "foooo" # freq "400"
no synth or sample named 'foooo' could be found.
instrument not found: nil
[ "#bundle", 15955788339759360291,
[ 12, 1003, 1 ],
[ 12, 1002, 1 ],
[ "/g_new", 1103, 1, 2 ],
[ "/s_new", "dirt_gate2", -1, 1, 1103, "in", 18, "out", 20, "amp", 0.4, "sample", 0, "sustain", 0.999, "fadeInTime", 0, "fadeTime", 0.001 ]
]
(
SynthDef(\foo, { |out, freq = 440|
blah blah blah
OffsetOut.ar(out, DirtPan.ar(sound, ~dirt.numChannels, pan, env))
}).add
);
Would love to get this to work! Thanks for making Vivid.
I tried to get Vivid and Tidal + SuperDirt working together based on this post:
http://lurk.org/groups/haskell-art/messages/topic/46bqOK1iOsiMy0fgOWMZa4
But it's not recognised by SuperDirt:
Most SuperDirt synths have this kind of format:
So maybe it's the difference in output destination that's causing the issue?
Would love to get this to work! Thanks for making Vivid.