HairCell:
Filter:
Classes (extension) | UGens > Analysis | UGens > Filters

HairCell : UGen : AbstractFunction : Object
ExtensionExtension

Simple cochlear hair cell model

Description

Simple hair cell model. Greater size input (positive values only, ie only in one direction as in real inner hair cells) opens the ion channels more to receive chemicals at rate minrate+(input*rate). If the accumulated chemical reaches 1.0 units, the cell fires, going to output value 1.0, and then decaying each sample with a loss factor. There is a limited store of chemicals, which is constantly being replenished at rate restorerate. The flow variables here are frequencies; they state how many times the store could be replenished per second (restorerate), how long the hair cell takes to fire without any external input (spontaneous firing rate spontaneousrate, can be 0, otherwise baseline firing rate) and the amount that input boosts the chemical flow rate leading to cell fire (boostrate).

Class Methods

HairCell.ar(input, spontaneousrate: 0.0, boostrate: 200.0, restorerate: 1000.0, loss: 0.99, mul: 1.0, add: 0.0)

Arguments:

input

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

spontaneousrate
boostrate
restorerate
loss

Inherited class methods

Undocumented class methods

HairCell.kr(input, spontaneousrate: 0.0, boostrate: 200.0, restorerate: 1000.0, loss: 0.99, mul: 1.0, add: 0.0)

Instance Methods

Inherited instance methods

Examples