cabal update cabal install csound-catalog
that's a nice idea. You could provide sliders happy/sad, slow/fast to influence trends. I've heard someone on the csound mailing list having programmed an automated radio without interaction except the kind of music trance/jazz/... see https://algorythmradio.com/ . Maybe you could exchange together
Hello! I am a beginner in Haskell, coming more from mathematics, Overtone/Supercollider and composing with modular synthesizers.
csound-expression so far seems very promising to me, and I would like to thank you for creating this wonderful library! I have a few questions which I was unable to answer with the tutorial: I would like to do function composition to create effect chains (and perhaps also branch effects). However some effects have signatures like
... -> Sig -> SE Sig2while others have
... -> Sig -> SE Sig. How do I deal with this specific case and a function to put the
Sig into a
Sig2or the other way around? As an example of such an attempt at function composition which does not work:
snare = at (hp 1000 10 . chorus 0.1 0.2 0.1) $ mul (adsr 0.01 0.4 0 0) pink
Also (I may simply have missed this), is there a way to have buses or use things like Jack with
snare = at (hp 1000 10) . at (chorus 0.1 0.2 0.1) $ mul (adsr 0.01 0.4 0 0) pink
fromMono :: Sig -> Sig2
what is the best way to combine scores and playback of samples? My current approach is:
clap :: D -> SE Sig2 clap _ = runSam bpm $ wav1 "clap.wav" mkpattern :: [Int] -> Sco D mkpattern lst = mel $ map (\i -> if i == 0 then rest 1 else temp (double 1.0)) lst clapp :: Sco (Mix Sig2) clapp = sco clap $ mkpattern [0,0,1,0,0,0,1,1] -- then run `dac $ mix clapp`
but I would ideally like to work with samples like with
Csound.Sam like I can do with scores? Maybe there is a good way scores and samples are separated in this way?