CyberSpy

Rantings from a guy with way too much free time

Making some Noise - Teensy, TGA-Pro, and MIDI

2018-05-04 programming Rob Baruch
Making Some Noise (and maybe even Music)! In this blog post, I’ll share my experiences using the Teensy and TGA-Pro Guitar Audio Shield to process audio - both using an audio processing codec as well as MIDI. I’ve also included the Yamaha UX16 USB-to-MIDI controller to aid in patching my MIDI channels into the inputs of the Guitar Audio shield. Teensy - Yet antother cheap USB uController board. At the hear of this project is the Teensy 3. Continue reading

Happy Halloween!

2017-10-31 music
Happy Halloween! Some music to go along with the spooky holiday! Here’s some more halloween midi music to entertain you. Remember you can convert or play it directly with fluidsynth or mplay, respectively. — Enjoy!

Maestro Cue the Music!

2017-10-29 musings
Now it’s time to get conducting. We’ve learned all about L-systems, midi magic, tools like MISEP that generates musical patterns. Now we can take it all together and generate some algorithmically inspired music! To do this, I’mg going to reach for the isobar kit I mentioned in the first post. Rather than spend time writing the tedious algorithms to perform the mappings, this fine python library offers a rich collection of algorithmic generators and mappings - for chromatic, velocity, and rhythmic elements. Continue reading

Listen to my MISPELling

2017-10-23 musings
expremigen - a lesson in MISPEL Expremigen is an expressive midi generation library written in python by shimpe. It’s an exceptional tool to create musical compositions which can be rendered into MIDI and played out to an audio device. In this post, we’re going to cover how to setup your OSX-based computer to play a midi file and then dive into using the python library, expremigen and it’s MIDI Specification Language (MISPEL) to generate some midi compositions. Continue reading

Generating Music with Formal Grammars

2017-10-19 musings
What’s your Grammar Know about Music? Well, not your Grandma, but grammar, a field of computer science that formalizes language theory. For those unfamiliar with the topic, it’s a bit similar to the grammar lessons that tortured you in grade school, except with a twist of math! Why do we care about grammars when we are contemplating generating music algorithmically? It turns out using a special type of generative grammar known as an L-system is a great way to programmatically create our compositions. Continue reading

Experimenting with Programatically-Generated (Sheet) Music

2017-10-16 musings
Music Math Mashup - A Multi-part Series on Music, Math, and Programming Today, I thought I’d experiment with smashing music and software together - let’s take a look at different algorithms and tools that allows us to experiment with the generation of music, along with the visualization, and performance of our generated scores. There’s a lot here, and we’re going to tackle it in multiple blog posts, so don’t get overwhelmed thinking about all of it at once! Continue reading