Skip to content

Commit 7cf987b

Browse files
committed
version 0.1
1 parent d663d7f commit 7cf987b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

plugins/TrianglePTR/TrianglePTR.sc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ TrianglePTR : MultiOutUGen {
77
*kr { |freq=1.0, phase=0.0, sync=0.0, width=0.5|
88
^this.multiNew('control', freq, phase, sync, width);
99
}
10+
init { arg ... theInputs;
11+
inputs = theInputs;
12+
^this.initOutputs(2, rate);
13+
}
1014
checkInputs {
1115
^this.checkValidInputs;
1216
}

plugins/TrianglePTR/TrianglePTR.schelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ examples::
2121

2222
code::
2323

24-
{ TrianglePTR.ar(freq:440.0) }.play
24+
{ TrianglePTR.ar(freq:440.0)[0] }.play
2525

2626
::

0 commit comments

Comments
 (0)