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”

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.

An Englishman And 48 Gameboys Walk Into A Bar…

The original Nintendo Gameboy is perhaps one of the most revered platforms for the music known as chiptune. Primarily, artists will use the console with software like LSDJ or Nanoloop to produce their compositions. Some artists will even use two consoles when performing live. However, that’s all fairly quaint as far as [LOOK MUM NO COMPUTER] is concerned.

Back in 2016, a rig was constructed with three Gameboys. With each console having 3 oscillators and a noise channel, this gave plenty of scope. There was even a facility to detune the oscillators for a fatter sound.

Yet there remains a universal human philosophy – more is always better. In this vein, the plan is to create a monster machine consisting of 48 Gameboy consoles. This offers a somewhat maddening 144 oscillators and 48 noise channels to play with. The plan is to produce a massive synthesizer capable of producing incredibly thick, dense tones with up to six note polyphony.

The hardware side of things is at once simple and ingenious. Buttons on the consoles are connected together for remote control using ribbon cables and transistors. System clocks for the consoles are provided by a LTC1799 oscillator chip, which allows the clock to be modulated for audio effects. Initial tests with up to six Gameboys running from a single clock source have been remarkably successful.

Any mad scientist could see the genius involved in this project, and we can’t wait to see the full rig in operation. If you’re just getting started with Gameboy music, check out this primer on modding your Gameboy for hi-fi sound. Video after the break.

Continue reading “An Englishman And 48 Gameboys Walk Into A Bar…”

Wonderful Sculptural Circuits Hide Interactive Synthesizers

When it rains, it pours (wonderful electronic sculpture!). The last time we posted about freeform circuit sculptures there were a few eye-catching comments mentioning other fine examples of the craft. One such artist is [Eirik Brandal], who has a large selection of electronic sculptures. Frankly, we’re in love.

A common theme of [Eirik]’s work is that each piece is a functional synthesizer or a component piece of a larger one. For instance, when installed the ihscale series uses PIR sensors to react together to motion in different quadrants of a room. And the es #17 – #19 pieces use ESP8266’s to feed the output of their individual signal generators into each other to generate one connected sound.

Even when a single sculpture is part of a series there is still striking variety in [Eirik]’s work. Some pieces are neat and rectilinear and obviously functional, while others almost looks like a jumble of components. Whatever the style we’ve really enjoyed pouring through the pages of [Eirik]’s portfolio. Most pieces have demo videos, so give them a listen!

If you missed the last set of sculptural circuits we covered this month, head on over and take a look at the flywire circuits of Mohit Bhoite.

Thanks [james] for the tip!