Archaeopteryx: Lambdas in Detail
summary
Archaeopteryx is a Ruby library that generates MIDI by mapping MIDI note numbers to arrays of floats — a probability matrix of gates between 0.0 and 1.0 — and uses lambdas as first‑class strategy objects invoked later. It runs on gems midi lib and mediator, represents drum patterns as float matrices (kick = 36, clap = 37), re‑evaluates definition files every few measures, and demos working live after tuning values. Several algorithms reduce to tiny implementations (five lines for pagerank, 21 for Norvig’s speller).
AI-written summary · about
chapters (13)
- 0:00Start
- 2:53LIAR
- 5:33gem install midilib gem install midiator
- 8:22PAGERANK
- 10:25PROBABILITY MATRIX
- 12:40pages == REFERRING PAGES
- 16:46TANGENT
- 17:08TROUSER SNAKE
- 20:0815 LINES
- 21:56FREQUENCY MATRIX
- 22:10INFERENCE & PREDICTION
- 22:36BAYES' THEOREM
- 27:04DRUM MACHINES








