Yes, this is possible!
If you want the equivalent of:
SynthDef(\foo, {
Out.ar(0, SinOsc.ar(freq: 440) ! 2)
}).add
You'd say:
defineSD $ sdNamed "foo" () $ do
s <- sinOsc (freq_ 440)
out 0 [s, s]
Typically in Vivid you don't use "sdNamed" - you just use "sd". But since Tidal
calls syn
I've extracted the OSC message format code from Vivid into a new package:
hackage.haskell.org/package/vivid-osc
Its main goals are to be lightweight, easy to use, and well-tested.
Enjoy!
Tom
--
Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/76QLp0WMBadn8UvIqD4gWw
To leave Ha
Happy to report, the new years eve playlist at my party last night was played
with Vivid, and it went very well!
We heard a couple of xruns on one song because I hadn't been freeing buffers
after playback, but a minute of livecoding fixed it and the rest of the night
went flawlessly.
Keeping a
Ahh, I guess it's been a while since I posted about Vivid on this list - it's a
general-purpose package for supercollider in haskell:
hackage.haskell.org/package/vivid
Tom
> El 1 ene 2018, a las 23:06, Jeffrey Brown escribió:
>
> Aja! Sound samples here: http://vivid-synth.com/
>
> On Mon,