A Transistor-less Sound Synthesizer

A synthesizer without transistors could almost be the basis of a trick question, surely without transistors it must be using a vacuum tube or similar. Not [Dr. Cockroach]’s synth though, instead of transistors it uses coupled pairs of LEDs and light-dependent resistors as its active components. Its oscillator circuit comes courtesy of [Patrick Flett], and uses a pair of LED/LDR combinations to alternately charge and discharge a capacitor. This feeds another LDR/LED pair that appears to act as a buffer to drive a bridge rectifier, with a final amplifier following it.

The result oscillates, though at frequencies in the low audio range with a cluster of harmonics thrown in. Its sound is best described as something akin to a small single-cylinder motorcycle engine at the lower frequencies, and is something we see could have all sorts of interesting possibilities.

This approach of using LDR-based active devices may be something of a dead end that could have had its day back in the 1930s, but it’s nevertheless an entertaining field to explore. It’s not the first time we’ve followed [Dr. Cockroach] at it, in the past we’ve seen the same technique applied to logic gates.

Have a listen to the synth in the video below the break. Continue reading “A Transistor-less Sound Synthesizer”

Axe Hacks: Spinning Knobs And Flipping Switches

From a guitar hacking point of view, the two major parts that are interesting to us are the pickups and the volume/tone control circuit that lets you adjust the sound while playing. Today, I’ll get into the latter part and take a close look at the components involved — potentiometers, switches, and a few other passive components — and show how they function, what alternative options we have, and how we can re-purpose them altogether.

In that sense, it’s time to heat up the soldering iron, get out the screwdriver, and take off that pick guard / open up that back cover and continue our quest for new electric guitar sounds. And if the thought of that sounds uncomfortable, skip the soldering iron and grab some alligator clips and a breadboard. It may not be the ideal environment, but it’ll work.

Continue reading “Axe Hacks: Spinning Knobs And Flipping Switches”

Fail Of The Week: Putting Guitar Strings On A Piano

The piano is a bit of an oddball within the string instrument family. Apart from rarely seeing people carry one around on the bus or use its case to discretely conceal a Tommy Gun, the way the strings are engaged in the first place — by having little hammers attached to each key knock the sound of of them — is rather unique compared to the usual finger or bow movement. Still, it is a string instrument, so it’s only natural to wonder what a piano would sound like if it was equipped with guitar strings instead of piano wire. Well, [Mattias Krantz] went on to actually find out the hard way, and shows the results in this video.

After a brief encounter with a bolt cutter, the point of no return was reached soon on. Now, the average piano has 88 keys, and depending on the note, a single key might have up to three strings involved at once. In case of [Mattias]’ piano — which, in his defense, has certainly seen better days — a total of 210 strings had to be replaced for the experiment. Guitars on the other hand have only six, so not only did he need 35 packs of guitar strings, the gauge and length variety is quite limited on top. What may sound like a futile endeavor from the beginning didn’t get much better over time, and at some point, the strings weren’t long enough anymore and he had to tie them together. Along with some inevitable breakage, he unfortunately ran out of strings and couldn’t finish the entire piano, though it seems he still managed to roughly cover a guitar’s frequency range, so that’s an appropriate result.

We’re not sure if [Mattias] ever expected this to actually work, but it kinda does — there is at least some real sound. Are the results more than questionable though? Oh absolutely, but we have to admire the audacity and perseverance he showed to actually pull through with this. It took him 28 hours just to get the guitar strings on, and another good amount of time to actually get them all in tune. Did it pay off? Well, that depends how you look at it. It definitely satisfied his and other’s curiosity, and the piano produces some really unique and interesting sounds now — but check for yourself in the video after the break. But that might not be for everyone, so luckily there are less final ways to change a piano’s sound. And worst case, you can always just turn it into a workbench.

(Thanks for the tip, [Keith])

Continue reading “Fail Of The Week: Putting Guitar Strings On A Piano”

Tube Amp Is Modeled With The Power Of AI

There is a certain magic and uniqueness to hardware, particularly when it comes to audio. Tube amplifiers are well-known and well-loved by audio enthusiasts and musicians alike. However, that uniqueness also comes with the price of the fact that gear takes up space and cannot be configured outside the bounds of what it was designed to do. [keyth72] has decided to take it upon themselves to recreate the smooth sound of the Fenders Blues Jr. small tube guitar amp. But rather than using hardware or standard audio software, the magic of AI was thrown at it.

In some ways, recreating a transformation is exactly what AI is designed for. There’s a clear and recordable input with a similar output. In this case, [keyth72] recorded several guitar sessions with the guitar audio sent through the device they wanted to recreate. Using WaveNet, they created a model that applies the transform to input audio in real-time. The Gain and EQ knobs were handled outside the model itself to keep things simple. Instructions on how to train your own model are included on the GitHub page.

While the model is simply approximating the real hardware, it still sounds quite impressive, and perhaps the next time you need a particular sound of your home-built amp or guitar pedal, you might reach for your computer instead.
Continue reading “Tube Amp Is Modeled With The Power Of AI”

Procedural Barcode Synth Is As Simple As Black And White

We are no stranger to peculiar and wonderful musical instruments here at Hackaday. [James Bruton] has long been fascinated with barcode scanners as an input source for music and now has a procedural barcode-powered synth to add to his growing collection of handmade instruments. We’ve previously covered his barcode guitar, which converts a string of numbers from the PS/2 output to pitches. This meant having a large number of barcodes printed as each pitch required a separate barcode. As you can imagine, this makes for a rather unwieldy and large instrument.

Rather than looking at the textual output of the reader, [James] cracked it open and put it to the oscilloscope. Once inside, he found a good source that outputs a square wave corresponding to the black and white lines that the barcode sees. Since the barcodes [James] is using don’t have the proper start and stop codes, the barcode reader continuously scans.  Normally it would stop the laser to send the text over the USB or PS/2 connection. A simple 5v to 3.3v level shifter feeds that square wave into a Teensy board, which outputs the audio.

A video showcasing a similar technique inspired [James] with this project. The creators of that video have a huge wall of different patterns of black and white lines. [James’s] next stroke of brilliance was to have a small HDMI display to generate the barcodes on the fly. A Raspberry Pi 4 reads in various buttons via GPIO and displays the resulting barcode on the screen. A quick 3d printed shell rounds out the build nicely, keeping things small and compact. All the code and CAD files are up on GitHub.

Continue reading “Procedural Barcode Synth Is As Simple As Black And White”

Starshine Is A MIDI Controller For The Musically Shy

What keeps people from playing music? For one thing, it’s hard. But why is it hard? In theory, it’s because theory is confusing. In practice, it’s largely because of accidentals, or notes that sound sour compared to the others because they aren’t from the same key or a complementary key.

What if there were no accidentals? Instruments like this exist, like the harmonica and the autoharp. But none of them look as fun to play as [Bardable]’s Starshine, the instrument intended to be playable by everyone. The note buttons on the outside are laid out and programmed such that [Bardable] will never play off-key.

We love the game controller form factor, which was also a functional choice. On the side that faces the player, there’s a PSP joystick and two potentiometers for adding expression with your thumbs. The twelve buttons on this side serve several functions like choosing the key and the scale type depending on the rocker switch position. A second rocker lets [Bardable] go up or down an octave on the fly. There’s also an OLED to show everything from the note being played to the positions of the potentiometers. If you want to know more, [Bardable] made a subreddit for this and other future instruments, and has a full tour video after the break.

If this beginner-friendly MIDI controller isn’t big enough for you, check out Harmonicade’s field of arcade buttons.

Continue reading “Starshine Is A MIDI Controller For The Musically Shy”

Raspberry Pi Crazy Guitar Rig Turns You Into A Hard ‘N Heavy One-Man Band

It’s a common problem: you’re at a party, there’s a guitar, and your plan to impress everyone with your Wonderwall playing skills is thwarted by the way too loud overall noise level. Well, [Muiota betarho] won’t have that issue ever again, and is going to steal the show anywhere he goes from now on with his Crazy Guitar Rig 2.0, an acoustic guitar turned electric — and so much more — that he shows off in three-part video series on his YouTube channel. For the impatient, here’s video 1, video 2, and video 3, but you’ll also find them embedded after the break.

To start off the series, [Muiota betarho] adds an electric guitar pickup, a set of speakers, and an amplifier board along with a battery pack into the body of a cheap acoustic guitar. He then dismantles a Zoom MS-50G multi-effect pedal and re-assembles it back into the guitar itself with a 3D-printed cover. Combining a guitar, effect pedal, amp and speaker into one standalone instrument would make this already an awesome project as it is, but this is only the beginning.

Touch screen and controls closeup
RPi touch screen running SunVox, plenty of buttons, and integrated multi-effect pedal on the left

So, time to add a Raspberry Pi running SunVox next, and throw in a touch screen to control it on the fly. SunVox itself is a free, but unfortunately not open source, cross-platform synthesizer and tracker that [Muiota betarho] uses to add drum tracks and some extra instruments and effects. He takes it even further in the final part when he hooks SunVox up to the Raspberry Pi’s GPIO pins. This allows him to automate things like switching effects on the Zoom pedal, but also provides I/O connection for external devices like a foot switch, or an entire light show to accompany his playing.

Of course, adding a magnetic pickup to an acoustic guitar, or generally electrifying acoustic instruments like a drum kit for example, isn’t new. Neither is using a single-board computer as effect pedal or as an amp in your pocket. Having it all integrated into one single device on the other hand rightfully earns this guitar its Crazy Guitar Rig name.

(Thanks for the tip, [alex]!)

Continue reading “Raspberry Pi Crazy Guitar Rig Turns You Into A Hard ‘N Heavy One-Man Band”