News for hackers. Stuff that matters.
Re:Synthesizing a Plucked String Sound with the Karplus-Stro... by throwaway_yy2Di on Friday June 17, 2016 @11:15AM (#11923109)
Mathematica is one the most useful tools for this kind of experimental programming. A minimum implementation can be a single REPL line (if you prefer FP style). That's one line from blank page to "play audio"; it's hard to understand how enabling it is to have such shallow barriers to experimenting, it's like cheating.

    ListPlay@ Flatten@ NestList[
       0.996*#& /@ MovingAverage[# ~Join~ {First[#]}, 2]&,
       RandomReal[1.0, {80}], 100]
https://i.imgur.com/aIufLHn.png

There are no comments on this comment yet.