[livecode] Re: Vivid: Brief, triggered sounds

From: <amindfv_at_gmail.com>
Date: Sat, 7 Jul 2018 01:36:17 -0400

I unfortunately need to log out but here's something to get you started:

foo = sd (1 :: I "gate") $ do
   e <- adsrGen 0.2 0.1 0.6 0.7 (Curve_Curve (-4)) (gate_ (V::V "gate"))
   s <- e ~* sinOsc (freq_ $ midiCPS 50)
   out 0 [s,s]

main = do
   s <- synth foo ()
   wait 1
   release s

> El 6 jul 2018, a las 23:03, Jeffrey Brown <jeffbrown.the_at_gmail.com> escribió:
>
> So far I'm able from Vivid to create continuously-running signal architectures and change their parameters over time. Next I want to create a "snare" (some noise with a brief amplitude envelope) and a "kick" (a sine wave with a quickly descending frequency).
>
> Is there an idiom for that?
>
>
> --
> Jeff Brown | Jeffrey Benjamin Brown
> Website | Facebook | LinkedIn(spammy, so I often miss messages here) | Github
> _______________________________________________
> Livecode mailing list -- livecode_at_we.lurk.org
> To unsubscribe send an email to livecode-leave_at_we.lurk.org


_______________________________________________
Livecode mailing list -- livecode_at_we.lurk.org
To unsubscribe send an email to livecode-leave_at_we.lurk.org
Received on Sat Jul 07 2018 - 05:36:35 BST

This archive was generated by hypermail 2.4.0 : Sun Aug 20 2023 - 16:02:23 BST