Tag Archives: music

This color wheel instrument lets you ‘hear’ the rainbow

via Arduino Blog

How we see colors is an interesting concept, and as a conversation starter about the physics of color and sound, maker Marcin Poblocki created his own ‘Color Instrument.’

Poblocki’s device rotates a wheel of colors around under a TCS3200/TCS230 sensor via a continuous rotation-modded SG90 servo motor. An Arduino Nano then spits out the tone corresponding to the color it senses using a small speaker, allowing for simple songs to be produced according to hue arrangements. 

It’s a neat idea that could be taken in many different directions. At the very least, it would certainly spark conversation, perhaps questioning, as noted in the project write-up, why the color pink isn’t included in the natural light spectrum.

Bind MIDI inputs to LED lights using a Raspberry Pi

via Raspberry Pi

Blinky lights and music created using a Raspberry Pi? Count us in! When Aaron Chambers shared his latest project, Py-Lights, on Reddit, we were quick to ask for more information. And here it is:

Controlling lights with MIDI commands

Tentatively titled Py-Lights, Aaron’s project allows users to assign light patterns to MIDI actions, creating a rather lovely blinky light display.

For his example, Aaron connected a MIDI keyboard to a strip of RGB LEDs via a Raspberry Pi that ran his custom Python code.

Aaron explains on Reddit:

The program I made lets me bind “actions” (strobe white, flash blue, disable all colors, etc.) to any input and any input type (hold, knob, trigger, etc.). And each action type has a set of parameters that I bind to the input. For example, I have a knob that changes a strobe’s intensity, and another knob that changes its speed.

The program updates each action, pulls its resulting color, and adds them together, then sends that to the LEDs. I’m using rtmidi for reading the midi device and pigpio for handling the LED output.

Aaron has updated the Py-Lights GitHub repo for the project to include a handy readme file and a more stable build.

The post Bind MIDI inputs to LED lights using a Raspberry Pi appeared first on Raspberry Pi.

Sync modular synths and electronic instruments with a DIY kit

via Raspberry Pi

The Raspberry Pi community is wonderfully collaborative, with people all over the world supporting each other to make things they care about. It’s part of a much wider maker movement, and a new project from seismic industries, called spink0, brings the power of Raspberry Pi to another DIY community in the music world: modular synthesizer enthusiasts.

spink0 Raspberry Pi Zero W eurorack modular synth

Modular synths

Modular synthesizers are dedicated machines for creating and controlling electrically generated sounds. Unlike the ubiquitous electronic keyboards, they don’t offer pre-set sounds. Instead, they allow players to deeply manipulate the nature of sounds: by connecting different modules with each other via cables, players use signals from one module to affect and alter the sounds from another, and generally get very creative with not just the musical notes but the sound itself.

MOTM modular - Synth patch for second commission (by Charles Hutchins)

A low to middling number of cables

Modular synths have seen a huge growth in popularity in the last few years. This year’s BBC Proms even featured an improvised modular synthesizer performance in the Royal Albert Hall.

Recent developments in technology, and enterprising module creators, have made these machines much more accessible, largely through a modular synth format called eurorack. A thriving DIY community has also grown, with people assembling their own modular synths using kits or even building their own modules from scratch.

spink0 syncs music

Enter the Raspberry Pi Zero W, just the right size for adding sophisticated computing power to a eurorack module. The spink0 eurorack module uses the power of a Zero W to allow musicians to keep their eurorack synth music in time with music created with more common electronic instruments like drum machines and computers. The Zero W connects to a wireless network and uses the Ableton Link protocol to share timing information across this network. It converts this digital data into the analogue square wave clock pulses that modular synths use for musical timing.

spink-0 jam with launchpad and ableton

jam with spink-0. launchpad, the two spinks and ableton are synchronized with their integrated LINK protocol via a WLAN accesspoint provided by the 2nd spink module. Tempochange in Ableton at 0:37

With spink0, seismic industries have developed shaduzLABS’ original prototype pink-0 into an open-source DIY kit including PCBs and a panel that rather neatly integrate a Pi Zero into a eurorack module (a CLK/RST generator, to be exact).

spink0 PCBs — Raspberry Pi Zero W eurorack module.

The PCBs that seismic industries designed for spink0

Pi-powered electronic music jam sessions

This opens up a whole world of jamming potential to musicians who use these esoteric machines to make their sounds. A group of electronic musicians can get together, connect over a wireless network, and improvise ideas, all kept in time across the network. Thanks to spink0, eurorack synths can coexist with computers and even iPads and other tablets.

spink0 Raspberry Pi Zero W eurorack modular synth

spink0 without its top panel

Now anyone can link their modular synth with other music machines and computers for collaborative jams! Seismic industries offer the DIY kit, plus full instructions and code, so you can solder yours at home, or you can buy spink0 preassembled if you wish.

The post Sync modular synths and electronic instruments with a DIY kit appeared first on Raspberry Pi.

Notable Board Books are an Arduino-powered way to enjoy music

via Arduino Blog

Annelle Rigsby found that her mother, who suffers from Alzheimer’s, is delighted to hear familiar songs. While Annelle can’t always be there to help her enjoy music, she and her husband Mike came up with what they call the Notable Board Book that automatically plays tunes.

The book itself is well laid-out, with song text and familiar photos printed on the pages. Electronics for the book are in a prototype state using an Arduino Uno and an Adafruit Sound Board to store and replay the audio bits.

Page detection is handled by an array of photocells, and it is meant to turn on automatically when picked up via a series of tilt switches. When a switch is triggered, a relay can then hold the book on until the song that is playing is done, or for a predetermined amount of time.

Your own Grand Theft Auto San Andreas radio

via Raspberry Pi

Relive the San Andreas glory days with this Grand Theft Auto radio built by Raphaël Yancey.

Raphaël Yancey on Twitter

With the “tuned” status LED. https://t.co/PuIi6sY78V

…and now I have Barracuda stuck in my head.

The music of GTA

Anyone who has played Grand Theft Auto knows that one of the best parts of the series is the radio stations: a mix of classic tunes and often comical DJ interludes make driving haphazardly through the streets of San Andreas a joy.

GTA

And much like fans of the Fallout series, many of us GTA players are guilty of listening to the in-game music outside of gaming sessions.

Hacking a radio

Maker Raphaël Yancey loves the San Andreas tunes so much, he decided to build his own Grand Theft Auto radio, complete with the MP3s available from Rockstar, the game’s creators.

Raphaël used a 1970s Optalix TO100 portable radio for this project, along with a Raspberry Pi 3. While this would be enough to create a music player, he also added two potentiometers for volume control and frequency tuning, as shown in the video above.

GTA Radio

Python code allows the potentiometers to move within a virtual frequency range of 88.7Mhz to 108.0Mhz, with five stations to find along the way. A LED comes on whenever the player finds a station, and the Pi then plays the music.

You can find Raphaël’s complete code for building your own GTA radio here. We’re keen to see what other game-based music projects our community will come up with. Here at Pi Towers, we have a spare Fallout Pip-Boy that’s aching to play the sweet sounds of the post-apocalyptic Commonwealth…

Raspberry Pi and music

The integration of Raspberry Pi within music projects is a theme we’re very fond of. From rejuvenated jukeboxes such as Tijuana Rick’s 1960’s Wurlitzer, to The Nest, a USB music download system built into Table Mountain, we’ve seen a host of imaginative projects and are always eager to discover more.

So if you’ve used a Raspberry Pi in your music project, whether it be a jukebox, a guitar pedal, or an instrument, be sure to share it with us.

The post Your own Grand Theft Auto San Andreas radio appeared first on Raspberry Pi.

Invent new sounds with Google’s NSynth Super

via Raspberry Pi

Discover new sounds and explore the role of machine learning in music production and sound research with the NSynth Super, an ongoing project from Google’s Magenta research team that you can build at home.

Google Open NSynth Super Testing

Uploaded by AB Open on 2018-04-17.

What is the NSynth Super?

Part of the ongoing Magenta research project within Google, NSynth Super explores the ways in which machine learning tools help artists and musicians be creative.

Google Nsynth Super Raspberry Pi

“Technology has always played a role in creating new types of sounds that inspire musicians — from the sounds of distortion to the electronic sounds of synths,” explains the team behind the NSynth Super. “Today, advances in machine learning and neural networks have opened up new possibilities for sound generation.”

Using TensorFlow, the Magenta team builds tools and interfaces that let  artists and musicians use machine learning in their work. The NSynth Super AI algorithm uses deep neural networking to investigate the character of sounds. It then builds new sounds based on these characteristics instead of simply mixing sounds together.

Using an autoencoder, it extracts 16 defining temporal features from each input. These features are then interpolated linearly to create new embeddings (mathematical representations of each sound). These new embeddings are then decoded into new sounds, which have the acoustic qualities of both inputs.

The team publishes all hardware designs and software that are part of their ongoing research under open-source licences, allowing you to build your own synth.

Build your own NSynth Super

Using these open-source tools, Andrew Black has produced his own NSynth Super, demoed in the video above. Andrew’s list of build materials includes a Raspberry Pi 3, potentiometers, rotary encoders, and the Adafruit 1.3″ OLED display. Magenta also provides Gerber files for you to fabricate your own PCB.

Google Nsynth Super Raspberry Pi

Once fabricated, the PCB includes a table of contents for adding components.

The build isn’t easy — it requires soldering skills or access to someone who can assemble PCBs. Take a look at Andrew’s blog post and the official NSynth GitHub repo to see whether you’re up to the challenge.

Google Nsynth Super Raspberry Pi Google Nsynth Super Raspberry Pi Google Nsynth Super Raspberry Pi

Music and Raspberry Pi

The Raspberry Pi has been widely used for music production and music builds. Be it retrofitting a boombox, distributing music atop Table Mountain, or coding tracks with Sonic Pi, the Pi offers endless opportunities for musicians and music lovers to expand their repertoire of builds and instruments.

If you’d like to try more music-based projects using the Raspberry Pi, you can check out our free resources. And if you’ve used a Raspberry Pi in your own musical project, please share it with us in the comments or via our social network accounts.

The post Invent new sounds with Google’s NSynth Super appeared first on Raspberry Pi.