Adaptive Infotainment Plays Tunes To Match Your Dangerous Driving

Part of the fun of watching action movies is imagining yourself as the main character, always going on exciting adventures and, of course, being accompanied by the perfect soundtrack to score the excitement and drama of your life. While having an orchestra follow you around might not always be practical, [P1kachu] at least figured out how to get some musical orchestration to sync up with how he drives his car, Fast-and-Furious style.

The idea is pretty straightforward: when [P1kachu] drives his car calmly and slowly, the music that the infotainment system plays is cool and reserved. But when he drops the hammer, the music changes to something more aggressive and in line with the new driving style. While first iterations of his project used the CAN bus, he moved to Japan and bought an old Subaru that doesn’t have CAN. The new project works on something similar called Subaru Select Monitor v1 (SSM1), but still gets the job done pretty well.

The hardware uses an Asus Tinkerboard and a Raspberry Pi with the 7″ screen, and a shield that can interface with CAN (and later with SSM1). The new music is selected by sensing pedal position, allowing him to more easily trigger the aggressive mode that his previous iterations did. Those were done using vehicle speed as a trigger, which proved to be ineffective at producing the desired results. Of course, there are many other things that you can do with CAN bus besides switching up the music in your car.

Continue reading “Adaptive Infotainment Plays Tunes To Match Your Dangerous Driving”

Freeforming The Atari Punk Console

This stunning piece of art is [Emily Velasco’s] take on the Atari Punk Console. It’s a freeform circuit that synthesizes sound using 555 timers. The circuit has been around for a long time, but her fabrication is completely new and simply incredible!

This isn’t [Emily’s] first rodeo. She previously built the mini CRT sculpture project seen to the left in the image above. Its centerpiece is a tiny CRT from an old video camera viewfinder, and it is fairly common for the driver circuit to understand composite video. And unlike CRTs, small video cameras with composite video output are easily available today for not much money. Together they bring a piece of 1980s-era video equipment into the modern selfie age. The cubic frame holding everything together is also the ground plane, but its main purpose is to give us an unimpeded view. We can admire the detail on this CRT and its accompanying circuitry representing 1982 state of the art in miniaturized consumer electronics. (And yes, high voltage components are safely insulated. Just don’t poke your finger under anything.)

With the experience gained from building that electrically simple brass frame, [Emily] then stepped up the difficulty for her follow-up project. It started with a sound synthesizer circuit built around a pair of 555 timers, popularized in the 1980s and nicknamed the Atari Punk Console. Since APC is a popular circuit found in several other Hackaday-featured projects, [Emily] decided she needed to add something else to stand out. Thus in addition to building her circuit in three-dimensional brass, two photocells were incorporated to give it rudimentary vision into its environment. Stimulus for this now light-sensitive APC were provided in the form of a RGB LED. One with a self-contained circuit to cycle through various colors and blinking patterns.

These two projects neatly bookend the range of roles brass rods can take in your own creations. From a simple frame that stays out of the way to being the central nervous system. While our Circuit Sculpture Contest judges may put emphasis the latter, both are equally valid ways to present something that is aesthetic in addition to being functional. Brass, copper, and wood are a refreshing change of pace from our standard materials of 3D-printed plastic and FR4 PCB. Go forth and explore what you can do!

Continue reading “Freeforming The Atari Punk Console”

Laser Harp Sounds Real Thanks To Karplus-Strong Wave Equation

The harp is an ancient instrument, but in its current form, it seems so unwieldy that it’s a wonder that anyone ever learns to play it. It’s one thing to tote a rented trumpet or clarinet home from school to practice, but a concert harp is a real pain to transport safely. The image below is unrelated to the laser harp project, but proves that portable harping is begging for some good hacks.

Concert grand harps are so big there’s special equipment to move them around. This thing’s called the HarpCaddy

Enter this laser harp, another semester project from [Bruce Land]’s microcontroller course at Cornell. By replacing strings with lasers aimed at phototransistors, [Glenna] and [Alex] were able to create a more manageable instrument that can be played in a similar manner. The “strings” are “plucked” with the fingers, which blocks the laser light and creates the notes.

But these aren’t just any old microcontroller-generated sounds. Rather than simply generating a tone or controlling a synthesizer, the PIC32 uses the Karplus-Strong algorithm to model the vibration of a plucked string. The result is very realistic, with all the harmonics you’d expect to hear from a plucked string. [Alex] does a decent job putting the harp through its paces in the video below, and the write-up is top notch too.

Unique musical instruments like laser harps are far from unknown around these parts. We’ve seen a few that look something like a traditional harp and one that needs laser goggle to play safely, but this one actually looks and sounds like the real thing. Continue reading “Laser Harp Sounds Real Thanks To Karplus-Strong Wave Equation”

A Scratch Instrument For Ants

If you think that this scratch instrument looks as though it should be at least… three times larger in order to be useful, you’d be wrong. This mighty pocket-sized instrument can really get the club hopping despite its diminuitive size. Despite that, the quality of the build as well as its use of off-the-shelf components for almost every part means that if you need a small, portable turntable there’s finally one you can build on your own.

[rasteri] built the SC1000 digital scratch instrument as a member of the portabilist scene, focusing on downsizing the equipment needed for a proper DJ setup. This instrument uses as Olimex A13-SOM-256 system-on-module, an ARM microprocessor, and can use a USB stick in order to load beats to the system. The scratch wheel itself uses a magnetic rotary encoder to sense position, and the slider is miniaturized as well.

If you want to learn to scratch good and learn to do other things good too, there’s a demo below showing a demonstration of the instrument, as well as a how-to video on the project page. All of the build files and software are open-source, so it won’t be too difficult to get one for yourself as long as you have some experience printing PCBs. If you need the rest of the equipment for a DJ booth, of course that’s also something you can build.

Continue reading “A Scratch Instrument For Ants”

Musical Mod Lets MRI Scanner Soothe The Frazzled Patient

Hackers love to make music with things that aren’t normally considered musical instruments. We’ve all seen floppy drive orchestras, and the musical abilities of a Tesla coil can be ear-shatteringly impressive. Those are all just for fun, though. It would be nice if there were practical applications for making music from normally non-musical devices.

Thanks to a group of engineers at Case Western Reserve University in Cleveland, there is now: a magnetic resonance imaging machine that plays soothing music. And we don’t mean music piped into the MRI suite to distract patients from the notoriously noisy exam. The music is actually being played through the gradient coils of the MRI scanner. We covered the inner working of MRI scanners before and discussed why they’re so darn noisy. The noise basically amounts to Lorenz forces mechanically vibrating the gradient coils in the audio frequency range as the machine shapes the powerful magnetic field around the patient’s body. To turn these ear-hammering noises into music, the researchers converted an MP3 of [Yo Yo Ma] playing [Bach]’s “Cello Suite No. 1” into encoding data for the gradient coils. A low-pass filter keeps anything past 4 kHz from getting to the gradient coils, but that works fine for the cello. The video below shows the remarkable fidelity that the coils are capable of reproducing, but the most amazing fact is that the musical modification actually produces diagnostically useful scans.

Our tastes don’t generally run to classical music, but having suffered through more than one head-banging scan, a half-hour of cello music would be a more than welcome change. Here’s hoping the technique gets further refined.

Continue reading “Musical Mod Lets MRI Scanner Soothe The Frazzled Patient”

Artificial Intelligence Composes New Christmas Songs

One of the most common uses of neural networks is the generation of new content, given certain constraints. A neural network is created, then trained on source content – ideally with as much reference material as possible. Then, the model is asked to generate original content in the same vein. This generally has mixed, but occasionally amusing, results. The team at [Made by AI] had a go at generating Christmas songs using this very technique.

The team decided that the easiest way to train their model would be to use note data from MIDI files. MIDI versions of Christmas songs are readily available and provide a broad base with which to train the model. For a neural network, the team chose to use a Long-short Term Memory (LSTM) architecture. This is a model which is contextually sensitive, which is important when dealing with structured formats like music or language.

The neural network generated five tunes which you can listen to on the Made by AI Soundcloud page. The team notes their time was limited, and we think that with some further work and more adherence to musical concepts such as structure and repetition, it might be possible to generate something a little more catchy.

There are other applications for AI in music, too – like these intelligent musical prostheses.

Mechanizing A Eurorack Sequencer

Eurorack has taken over the synthesizer community, and hundreds of people are building their own eurorack modules. [Michael Forrest] designed and built his own Eurorack sequencer module that doesn’t use weird things like capacitors and chips to store a signal. Instead, he’s doing it with stepper motors and some clever engineering.

The basic idea of a Eurorack sequencer is to somehow store a series of values and play them back repeatedly. Connect that sequence to a clock, and you get the same pattern of sounds out of your synth. This can be done digitally with a circular buffer, in the analog domain with a bunch of FETs and caps, or in this case, on a piece of paper glued to a stepper motor.

The key bit of mechanism for this build is a stepper motor with 96 steps per rotation. This is important, because the module is controlled by a clock pulse from the sequencer. Since 96 is evenly divisible by 8 and 16, that means this sequencer will play back in 4/4 time. That NEMA 17 motor with 200 steps per resolution simply won’t work in this situation. Rather, it will technically work, but it’ll be unusable.

The electronics for this build are surprisingly simple, with an Arduino taking in the clock pulse and sending the step signals to an H-driver. The motor spins a paper disk, which is read with a photoresistor and a LED. It’s simple enough to be fun, and yes, it is mounted to a proper Eurorack-sized panel. You can check out the video of this build below.

Continue reading “Mechanizing A Eurorack Sequencer”