Skip to content

Commit ea74b66

Browse files
author
Nathan Ho
committed
add .sc file
1 parent 166c18c commit ea74b66

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

BoringMixer.sc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BoringMixer : UGen {
2+
*ar { |left, right|
3+
^this.multiNew('audio', left, right);
4+
}
5+
checkInputs {
6+
[0, 1].do { |i|
7+
(inputs[i].rate != 'audio').if {
8+
^"input % is not audio rate".format(i).throw;
9+
};
10+
};
11+
^this.checkValidInputs;
12+
}
13+
}

0 commit comments

Comments
 (0)