Getting 40xx CMOS basic logic chips to make music was relatively easy (thanks Elliot Williams) but when I wanted to interface the multiplexer to the badge's GPIO I realized I had to interface 9v CMOS with 3.3v TTL.... enter some hacky MOSFET level shifters. More details (and video) to come.
Components
1×
4069UB Hex Inverter
Logic ICs / Gates and Inverters
For quick-and-dirty 9V logic to GPIO input, you could use diodes pointing "against" the 9V source (and maybe a pull-up resistor on the GPIO side): the logic chips will be able to pull the voltage down, but will be blocked from sending their full 9V through.
Going GPIO -> 9V Logic though, you'll want a transistor or FET, like you're suggesting.
Awesome! Can't wait to see what comes of this.
For quick-and-dirty 9V logic to GPIO input, you could use diodes pointing "against" the 9V source (and maybe a pull-up resistor on the GPIO side): the logic chips will be able to pull the voltage down, but will be blocked from sending their full 9V through.
Going GPIO -> 9V Logic though, you'll want a transistor or FET, like you're suggesting.