Skip to content

Instantly share code, notes, and snippets.

@colinbdclark
Last active July 21, 2017 16:07
Show Gist options
  • Save colinbdclark/7c9115b90916e3219763fea8669bd0a7 to your computer and use it in GitHub Desktop.
Save colinbdclark/7c9115b90916e3219763fea8669bd0a7 to your computer and use it in GitHub Desktop.
Record an audio buffer from the microphone using Flocking
fluid.defaults("flock.microphoneRecorder", {
gradeNames: "flock.synth",
synthDef: {
ugen: "flock.ugen.writeBuffer",
options: {
duration: 15,
numOutputs: 1
},
buffer: "recording",
sources: {
ugen: "flock.ugen.audioIn"
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment