4 ms·
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).
by throwaway_yy2Di 10y ago
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 https://i.imgur.com/aIufLHn.png