LibPdIntegrationExamples/Assets/StreamingAssets/PdAssets/LibPd2UnityPatches/SineEnvelope.pd
2020-12-03 17:09:38 +00:00

42 lines
1,019 B
Text

#N canvas 854 131 664 489 10;
#X obj 90 6 loadbang;
#X obj 33 186 dac~;
#X obj 33 103 osc~ 440;
#X obj 33 147 *~;
#X obj 90 111 vline~;
#X obj 198 178 env~;
#X obj 198 200 / 100;
#X obj 198 221 s AmplitudeEnvelope;
#X obj 90 48 metro 2000;
#X obj 171 34 + 2000;
#X msg 90 88 1 1000 \, 0 950 1000;
#X obj 90 132 *~;
#X obj 171 10 random 1000;
#X text 8 6 A repeating;
#X text 6 17 trigger with;
#X text 7 28 a variable;
#X text 7 38 period.;
#X text 138 108 An enveloped sine;
#X text 137 118 tone \, with the;
#X text 138 129 envelope triggered;
#X text 139 139 by the above metro.;
#X text 75 177 We send the;
#X text 75 189 amplitude envelope;
#X text 75 200 of our audio to;
#X text 76 211 Unity as a float.;
#X connect 0 0 8 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 3 0 1 1;
#X connect 3 0 5 0;
#X connect 4 0 11 0;
#X connect 4 0 11 1;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 8 0 10 0;
#X connect 8 0 12 0;
#X connect 9 0 8 1;
#X connect 10 0 4 0;
#X connect 11 0 3 1;
#X connect 12 0 9 0;