====== WebAudio CARFAC ====== | Authors | Ron Weiss | | Affiliation | Google | | Code | [[https://github.com/google/carfac|Github Link]] | I made a webaudio frontend to Dick Lyon's CAR-FAC (cascade of asymmetric resonators with fast-acting compression) cochlear model, that listens to microphone input runs the filterbank, and computes a "stabilized auditory image" (SAI) (a sparse approximation to a "correlogram"), This is built by "transpiling" the C++ implementation of the model to javascript using http://en.wikipedia.org/wiki/Emscripten, plumbing things through using http://en.wikipedia.org/wiki/HTML5_Audio and rendering the SAIs to an HTML5 canvas. Full disclosure: Most of this hack was built a couple of weeks ago. I just added some controls to make it easy to play with the design parameters on the fly. Now I can try to puzzle out what the opaquely named variables control. Demo: http://google.github.io/carfac/cpp/carfac.html