Skip to content

Instantly share code, notes, and snippets.

@moxuse
Created October 11, 2014 11:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moxuse/125f9d733f377dab32bd to your computer and use it in GitHub Desktop.
Save moxuse/125f9d733f377dab32bd to your computer and use it in GitHub Desktop.
of_seminar_hatiouzi_2014 SC OSCSend Sample
s.boot;
(
SynthDef("click",{
Out.ar(0,ClipNoise.ar(0.02) * EnvGen.ar(Env.perc(0.0,0.05,1,-2), 1, doneAction: 2));
}).store
)
(
~function = {
NetAddr("localhost", 9000).sendMsg("/rad", 100.rand);
};
Pbind(\instrument, "click" ,\dur, 0.125, \osc, Pfunc(~function,inf)).play;
}
@moxuse
Copy link
Author

moxuse commented Oct 11, 2014

セッション1初級コースのPdとの oF連携サンプルの "OscReceiveBasic" でレシーブできます

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment