Anyone Can Play Guitar (With Ruby)
summary
A computer is taught to play blues guitar by modeling strings, tunings and amps with real code not metaphors: string gauges (9s vs 13s) and tune down a half step are encoded, a Tuner class handles tuning, a Note object replaces arrays to preserve note and octave, and an Amplifier base plus Tube and SolidState variants add tube preamp warmth or clarity via module composition. A Hybrid composes preamp and power amp, amps are injected into Guitar, output shows note octave tone and volume and the system actually plays audio at kevinjmerphy.com/playguitar.
AI-written summary · about
chapters (5)
related talks
26mHow to teach your computer to play guitar
29mCode, Play & Rock 'n' Roll: A WebAudio Experiment
14mTaming the Guitar AND Functional Programming!
25mJavaScript, JavaScript…. Rocks You!
33mCode, Play & Rock 'n' Roll: A WebAudio Experiment
39mA Vue into Rock & Roll part 2
41mIt's More Fun to Compute
21mLive Coding Music with Ruby
