Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / SCClassLibrary / Common / Audio / PhysicalModel.sc
blob1cf62d273e369f1e2ed9f7791b411c95d5a6382b
1 Spring : UGen {
2         *ar { arg in=0.0, spring=1, damp=0;
3                 ^this.multiNew('audio', in, spring, damp)
4         }
6         *kr { arg in=0.0, spring=1, damp=0;
7                 ^this.multiNew('control', in, spring, damp)
8         }
12 //Friction : UGen {
13 //      *ar { arg in=0.0, spring=1, thresh=0.5;
14 //              ^this.multiNew('audio', in, spring, thresh)
15 //      }
17 //}
19 Ball : UGen {
20         *ar { arg in=0.0, g=1, damp=0, friction=0.01;
21                 ^this.multiNew('audio', in, g, damp, friction)
22         }
24         *kr { arg in=0.0, g=1, damp=0, friction=0.01;
25                 ^this.multiNew('control', in, g, damp, friction)
26         }
30 TBall : UGen {
31         *ar { arg in=0.0, g=10, damp=0, friction=0.01;
32                 ^this.multiNew('audio', in, g, damp, friction)
33         }
35         *kr { arg in=0.0, g=10, damp=0, friction=0.01;
36                 ^this.multiNew('control', in, g, damp, friction)
37         }