Posts

Showing posts with the label Humblebrag

Solar Joy

Image
The wife and I recently had solar panels installed on our roof, an east-facing bank and a west-facing bank. Not a big rig, we don't have a very large house. Just enough for the 2 of us. The house and the solar 😀 It was turned on around midday on January 29, so it hasn't quite run for 2 weeks yet, yet it's about to clock over 100kg of coal saved, and 250kg of CO2 not released! I'm not even that interested in how much it's saving off our electricity bill, it impresses me because I'd be hard pressed to claim a carbon saving rate like that from using a bicycle and trains instead of driving for the same period! Even when I was still working and commuting 5 days a week!

Quantise Pulse Period Timing to MIDI Note Numbers

Image
My top secret guitar pedal is NOT a guitar synth, but it does output MIDI notes... Well, it will output MIDI notes, velocity and channel data when it's actually developed, but it's not a synth. It's still in a crude, analog prototype iteration right now. No, it's not a guitar synth, but the idea is audacious and groundbreaking. Nope. Still not telling. There's loads of stuff it already does, combining more than just guitar, to create... Nah, still not telling! Cruel, aren't I? Be patient. However, tonight, I can proudly say that MIDI note numbers can be "quantised" from period timing. Schmidtt trigger, edge detection, the pulseIn() function, a lookup table... IN 12 FREAKIN' LINES OF CODE! Mathematically, elegantly et voila! MIDI notes can be made to happen. In a sim, so far. On the command line. But those 12 lines of code will actually cut down to about 8, in an actual "pedal." Yeah, there's heaps else to do, too, but this t...