Categories
Uncategorized

More PCBWay Boards

I’ve been working on a number of projects the past few months, and many of them require custom printed circuit boards. A few weeks ago as I was finishing up the design of a new board I got an email from the crew at PCBWay. (You might remember that I had boards made by them a few years ago.)

As luck would have it I was just exporting some Gerber files so the timing was great! I got my boards created by PCBWay and they arrived about two weeks ago. It took me a bit of time to wrap other projects and get things soldered up and programmed, but the boards worked great. Often you don’t get PCBs right the first time, but luckily all my connections were fine (It’s a fairly simple board) but there are a few things I might want to change about the dimensions and the mounting holes.

I’ve been using this as a supplemental USB keyboard. For testing I’ve programmed it to be function keys F13 through F20 (which can then be assigned to key commands for certain applications, like OBS: Open Broadcaster Software.) I’ve also set it up as a MIDI device to trigger sound effects using my SoundProp application. It can also serve as a toggle for your mic and camera in videoconferencing software like Zoom, Google Meet, Microsoft Teams, etc. It’s pretty robust in its capabilities.

I still need to finish up an enclosure for it, and then do more rigorous testing, but so far the boards and functionality have been great. (If there’s interest in these devices, I’ll probably drop a few into the Etsy Shop.)

Categories
Uncategorized

SoundProp – Sound Effects with Processing & MIDI

Sometimes you forget to document things, and sometimes you try to get ahead of the game. Back around 2009 I was one of the organizers of Web414, Milwaukee’s Web Community Meetup, and at some point Gabe and I turned it into a live talk show. Yeah, I don’t know how we managed to do that, but… it happened. We had guests and we interviewed them, and even had a musical guest once! Anyway, one of the things I did was add sound effects to things because… well, I love that kind of shit. So yeah, my first “Sound Effect Board” was a web page on my web site I called ShowProp which used Flash to play some sound effects at the push of a button. (Still there, still mostly works. Here’s another silly web/sound thing from 2010, Evil-O-Mator.)

Where was I? Oh yeah, sound effects! Typically I was the co-host while Gabe was the primary host, so I would work the sound effects board at the appropriate (or inappropriate time.) It was fun.

And then I started messing around with Processing in 2010 and eventually started a re-write of ShowProp that would run locally on my computer rather than a Flash-enabled web page. (Flash is Dead! Sort of…) Processing is still very much alive, and I use it fairly often for creative coding, and hey, I figured since it’s 2020 it was time to update things.

I should mention that in 2019 I got my first “real” MIDI device, an Arturia Beat Step. A local synth guy was selling it for… wow, less than half the price of a new one. (I guess I got a deal!) I say my first “real” MIDI device because I’ve built them before, for myself, for museum exhibits, etc. but I had never bought a commercial unit before. Since I had this around, and I enjoy screwing around with MIDI, I dug into MIDI support in Processing, and…

I ended up redoing my old ShowProp sketch to be SoundProp, which is a Processing sketch that accepts MIDI input and plays sounds. It’s the second fanciest sound board style device I’ve used this year. (Yeah, I use others.) I also discovered the sound playing capabilities of Processing have greatly improved over the years, so that was an added bonus.

So basically, my sketch has a bunch of audio files, and each is mapped to a MIDI pitch which is sent by one of the 16 pads. Now, because it’s MIDI and not key commands it always works, no matter what application is in the front. No fumbling around to pull up the right window before you press a key or click a mouse. All the Sounds! All the Time!

The UI is quite minimal. It’s just a window that is 250 pixels by 130 pixels. I typically just launch the application and minimize it. (And hey, this will run as a native—well, Java—application on macOS, Windows, and Linux… in theory.)

If I get around to it I’ll clean it up and upload the code, and maybe create a video showing it work, though it’s not really that exciting, but hey… 2020, whaddaya want!?