Skip to content

Instantly share code, notes, and snippets.

@rbxbx
Created October 30, 2020 16:27
Show Gist options
  • Save rbxbx/1dbd010524b608792f368ebe7f527df6 to your computer and use it in GitHub Desktop.
Save rbxbx/1dbd010524b608792f368ebe7f527df6 to your computer and use it in GitHub Desktop.
var harmonics, vols;
harmonics = [1122, 2243, 3369, 4495, 5607, 6677, 7801, 8926, 10146];
vols = [-49, -34, -23, -14, -33, -34, -24, -34, -44, -55].collect({ arg item, i; item.dbamp; });
{Pan2.ar(Mix(SinOsc.ar(harmonics, 0, vols)),MouseX.kr(-1,1))}.scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment