Tag Archives: music

Create a beat by nodding your head

via Arduino Blog

If you are really enjoying a song, you may start to bob your head to the tunes, but what if you could instead create actual music with this subtle movement? That’s exactly what Andrew Lee’s “Nod Bang” system accomplishes.

An accelerometer mounted to a pair of headphones senses nods in order to dictate the beat, while four 3D-printed arcade buttons are used to select which sounds will be played. An Arduino takes these inputs and passes them to a computer via a MIDI USB interface. The board also controls lights on the buttons for visual feedback.

Be sure to check it out in action below and read Lee’s entire write-up here.

Building an 8-step keyboard sequencer with Arduino

via Arduino Blog

Sequencers, as YouTuber “LOOK MUM NO COMPUTER” explains, are musical devices that go through a sequence of tones one by one. While this can be done quite simply with a 4017 counter chip, if you instead substitute in an Arduino board for the counter, you can make your gadget behave normally, go backwards, or even act as a sort of keyboard using input buttons.

This particular project employs a Nano for control, giving it a conveniently small form factor to fit inside your equipment.

Since the start of building modular synths, ive always been looking for an arduino powered sequencer. but never really happy with the projects that were about. because it was still menu dives and button combinations. which is not what you wanna be messing about with! you may aswell use a computer and a mouse ha.

Be sure to check out LOOK MUM NO COMPUTER’s entire build process and a demo of the keyboard sequencer in the video below. You can also find circuit diagrams and Arduino code in the project’s write-up here.

Algo-rhythmic PianoAI

via Raspberry Pi

It’s no secret that we love music projects at Pi Towers. On the contrary, we often shout it from the rooftops like we’re in Moulin Rouge! But the PianoAI project by Zack left us slack-jawed: he built an AI on a Raspberry Pi that listens to his piano playing, and then produces improvised, real-time accompaniment.

Jamming with PIanoAI (clip #1) (Version 1.0)

Another example of a short teaching and then jamming with piano with a version I’m more happy with. I have to play for the Pi for a little while before the Pi has enough data to make its own music.

The PianoAI

Inspired by a story about jazz musician Dan Tepfer, Zack set out to create an AI able to imitate his piano-playing style in real time. He began programming the AI in Python, before starting over in the open-source programming language Go.

The Go language gopher mascot with headphones and a MIDI keyboard

The Go mascot is a gopher. Why not?

Zack has published an excellent write-up of how he built PianoAI. It’s a very readable account of the progress he made and the obstacles he had to overcome while writing PianoAI, and it includes more example videos. It’s hard to add anything to Zack’s own words, so I shan’t try.

Paper notes for PianoAI algorithm

Some of Zack’s notes for his AI

If you just want to try out PianoAI, head over to his GitHub. He provides a detailed guide that talks you through how to implement and use it.

Music to our ears

The Raspberry Pi community never fails to amaze us with their wonderful builds, not least when it comes to musical ones. Check out this cool-looking synth by Toby Hendricks, this geometric instrument by David Sharples, and this pyrite-disc-reading music player by Dmitry Morozov. Aren’t they all splendid? And the list goes on and on

Which instrument do you play? The recorder? The ocarina? The jaw harp? Could you create an AI like Zack’s for it? Let us know in the comments below, and share your builds with us via social media.

The post Algo-rhythmic PianoAI appeared first on Raspberry Pi.

Vinyl Shelf Finder

via Raspberry Pi

It is a truth universally acknowledged that a person in possession of a large record collection must be in want of a good shelving system. Valentin Galea has solved this problem by developing the Vinyl Shelf Finder. In this build, a web-based app directs a pan-and-tilt laser to point out your record of choice among your collection.

Vinyl Shelf Finder demo by Valentin Galea

Ta-dah!

Collector’s issues

People love to collect stuff. Stamps; soap bars; Troll dolls; belly button fluff (no, really); if you can think of a tangible item, someone out there in the world is collecting it. Of course, every collector needs to solve two issues — which system to use for cataloguing and sorting their collection, and how to best retrieve items from it. This is where Valentin’s Vinyl Shelf Finder comes in. He says:

My vinyl collection is pretty modest — about 500 records in one vertical shelf and a couple of boxes. This is enough to get cumbersome when I’m searching for specific stuff, so I came up with the idea of a automated laser pointer finder.

The Vinyl Shelf Finder

Valentin keeps an online record of his vinyl collection using Discogs. He entered each LP’s shelf position into the record, and wrote a Node.js app to access the Discogs database. The mobile app has a GUI from which he chooses records based on their name and cover image. To build the hardware, he mounted a Pimoroni Pan-Tilt HAT on a Raspberry Pi, and affixed a laser pointer to the HAT. When he selects a record in the app, the pan-and-tilt laser moves to point out the LP’s location.

Valentin Galea on Twitter

my latest hobby prj: #vinyl finder – with lazers and #raspberrypi #iot and #nodejs – https://t.co/IGGzQDgUFI https://t.co/7YBE3svGyE

Not only does the app help Valentin find records – he has also set it up to collect listening statistics using the Last.fm API. He plans to add more sophisticated statistics, and is looking into how to automate the entry of the shelf positions into his database.

If you’re interested in the Vinyl Shelf Finder, head over to Valentin’s GitHub to learn more, and to find out about updates he is making to this work in progress.

GUI of Valentin Galea's Vinyl Shelf Finder app

 

Vinyl + Pi

We’ve previously blogged about Mike Smith’s kaleidoscopic Recordshelf build — maybe he and Valentin could team up to create the ultimate, beautiful, practical vinyl-shelving system!

If you listen to lots of LP records and would like to learn about digitising them, check out this Pi-powered project from Mozilla HQ. If, on the other hand, you have a vinyl player you never use, why not make amazing art with it by hacking it into a CNC Wood Burner?

Are you a collector of things common or unusual? Could Raspberry Pi technology help make your collection better? Share your ideas with us in the comments!

The post Vinyl Shelf Finder appeared first on Raspberry Pi.

Motorgan is an electromagnetic organ

via Arduino Blog

What do you get when you combine three small motors with a guitar pickup and a touch keypad? That would be the Motorgan by Moscow-based media artist Dmitry Morozov (aka ::vtol::). The result is a unique Arduino Mega-controlled instrument that looks and sounds like he somehow combined a V8 engine with a pipe organ.

The electromagnetic/electromechanical organ uses two differently sized PC cooling fans, as well as a gear motor to produce various sounds. A separate keypad is used for each motor, and each of the 24 keys can be tuned with a potentiometer, which reportedly allows one to “make any kind of music.”

The speed of each motor is controlled by voltage changes via touch keyboard with 24 keys. Keyboard is split into three parts (registers) for each motor, so it’s possible to play chords/polyphonic lines by taking one note from each register. Electromagnetic fields produced by motors are picked up with a single coil guitar pickup.

As you might suspect, it’s not exactly an easy instrument to play, but the results are certainly stunning, or perhaps you might even say “shocking.” Be sure to check out ::vtol::’s latest project in the video below!

NOMNOM is an audiovisual DJ machine

via Arduino Blog

Perhaps you enjoy various flavors of electronic music, and would love to try making your own. Although this seems like a fun idea, after considering the amount of equipment and knowledge that you need to get started, many people simply move on to something else. On the other hand, the NOMNOM machine, seen here, allows you to create tunes visually using YouTube clips as samples.

The device has 16 buttons which can start and stop up to 16 clips displayed via a JavaScript web application. An Arduino Uno takes input from these buttons as well as four potentiometers to modify the clip sounds, and sends the appropriate signals to the computer running the app. There are also four knobs that control the repetition rate, volume, speed and playable length of each selected video. This enables you to make really interesting music without the normally steep learning curve.

For more details, you can check out the project log on Hackaday.io or on GitHub. NOMNOM will also be making an appearance at the World Maker Faire in New York City this fall, so be sure to see it in person if you’re there!