Skip to content

Instantly share code, notes, and snippets.

@moxuse
Created August 31, 2011 10:07
Show Gist options
  • Save moxuse/1183231 to your computer and use it in GitHub Desktop.
Save moxuse/1183231 to your computer and use it in GitHub Desktop.
Mic Input Convolution
(
Instr("convo",{arg amp=0,note=60;
var input, kernel;
input=AudioIn.ar(1)*amp;
kernel= Mix.ar(LFSaw.ar([note,note+5,note+3,note+15].midicps,0,1.0));
Out.ar(0,Convolution.ar(input,kernel, 1024, 0.5).dup);
},[\amp,[1,127,\linear,1]]).test;
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment