File: Meddis.schelp

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 (36 lines) | stat: -rw-r--r-- 1,091 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
31
32
33
34
35
36
class:: Meddis
summary:: Meddis cochlear hair cell model
related:: Classes/Gammatone,Classes/HairCell
categories:: UGens>Analysis, UGens>Filters

Description::


Implementation of a hair cell model based on Implementation details of a computation model of the inner hair-cell/auditory-nerve synapse 
(Ray Meddis, Michael J. Hewitt and Trevor M. Shackleton JASA 87(4) April 1990)
The model is currently hard-coded for the 'medium spontaneous rate' parameters.  
The functional effect is like half wave rectification and low pass filtering, with a more physiologically plausible mechanism.

Model output is scaled by 100 from the JASA paper settings to obtain a sensible output range for audio signals in SuperCollider.  

classmethods::

method::ar

argument::input
input to be processed (essentially, basilar membrane motion at a particular point, affecting an inner hair cell's stereocilia)
 


Examples::

code::

//try passing a signal through the hair cell
x = { Meddis.ar(SinOsc.ar(440)) }.play;
x.free;

//recursive hair cell compression
{ Meddis.ar(Meddis.ar(SoundIn.ar)) }.play;

::