This is the first draft of an Autonomous Bassline Generator. The melodies are generated by a mathematical algorithm using the value of the Melody control as a seed. So it’s deterministic, not random.
An ATtiny44/84 chip generates Pulse-Width Modulated waves, into an analog resonant band-pass filter, whose frequency is modulated by a photocell. The ATtiny also is flashing an LED to the envelope of the notes, so you can either point the photocell at this LED to get cool old-skool analogue filter sounds, or point it at light/darkness in the room to control it manually. There’s Tap Tempo, as well as IR send/receive for syncing up to other devices!