File: AuditoryModeling.sc

package info (click to toggle)
supercollider-sc3-plugins 3.7.1~repack-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,332 kB
  • ctags: 11,704
  • sloc: cpp: 140,180; lisp: 14,746; ansic: 2,133; xml: 86; makefile: 82; haskell: 21; sh: 8
file content (30 lines) | stat: -rw-r--r-- 820 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Meddis : UGen {	
	*ar { 
		arg input, mul=1.0, add=0.0;
		^this.multiNew('audio', input).madd(mul, add)
	}
	*kr {
		arg input, mul=1.0, add=0.0;
		^this.multiNew('control', input).madd(mul, add)
	}
}


HairCell : UGen {	
	*ar { 
		arg input, spontaneousrate=0.0, boostrate=200.0, restorerate=1000.0, loss=0.99, mul=1.0, add=0.0;
		^this.multiNew('audio', input,  spontaneousrate, boostrate, restorerate, loss).madd(mul, add)
	}
	*kr {
		arg input, spontaneousrate=0.0, boostrate=200.0, restorerate=1000.0, loss=0.99, mul=1.0, add=0.0;
		^this.multiNew('control', input,  spontaneousrate, boostrate, restorerate, loss).madd(mul, add)
	}
}

Gammatone : UGen {	
	*ar { 
		arg input, centrefrequency=440.0, bandwidth= 200.0, mul=1.0, add=0.0;
		^this.multiNew('audio', input, centrefrequency, bandwidth).madd(mul, add)
	}

}