Oscilloscope Piano Tuning 101

fft on scope

[Todd Harrison] recently wrote in to tip us off on his submission to the Tektronix oscilloscope contest – using a scope to tune a piano. In his video he demonstrates how a Fast Fourier Transform can be used to determine the fundamental frequency of the note being played. This is a quick and easy way to determine if that key is in tune, and if not, how far off it is from the desired frequency and in which direction.

He goes on to explain that a scope can only be used as a starting reference point since “mathematically correct” tuning on a piano doesn’t sound right to the human ear. It turns out that when struck, the stretched wires in the piano behave less than ideally. In the case of a piano, the overtones (the other peaks shown on the scope higher in frequency than the fundamental) are actually slightly sharper (higher in frequency) than the expected harmonic whole-number multiple of the fundamental frequency.  As a result, the frequency ranges of each octave must be “stretched” in order to accommodate this and sound correct when multiple notes are played together across octaves.

Typically, only the A4 key is actually tuned to its correct frequency of 440Hz and all of the other keys are manually tuned off of this baseline. The amount of necessary stretch applied to each octave increases as you get further away from this initial reference point in either direction and is unique to each and every individual instrument – thus there is no universal device capable of perfect tuning. Although [Todd] admits that he won’t attempt to tune the entire piano himself using this technique, he finds it a convenient way to keep the most heavily played center sections of the piano closer to true between professional tunings.

If you have any interesting or unique uses for your Techtronix scope, you can enter the contest here. Just don’t forget to tip us off too!  Thanks [Todd]!

Pidato Box Adds Vibrato Effect To Digital Pianos

piano_vibrato_box

[Joren] likes his digital piano, but it was missing one key component that he wanted to use: the ability to produce vibrato while playing. Vibrato can be done in several different ways on regular pianos, but it seemed as if there was not a lot of consideration given to the effect when designing digital pianos.

He enjoys playing all sorts of music, including solos from Franz Liszt which suggest using vibrato at times, so he decided to build himself a vibrato box. Constructed with a bit of assistance from the friendly folks at Hackerspace Ghent, his “Pidato” incorporates an Arduino and three-axis accelerometer to get the job done.

The Arduino is connected to both the MIDI output of the piano as well as to the accelerometer, which he has mounted on his wrist. While playing, all he needs to do is simply move his hand rapidly to produce the vibrato sound as you can see in the video below. The Arduino code filters out any other sorts of movements to ensure that he does not accidentally trigger the effect when it is not desired.

Check out the video below for a quick demonstration of the Pidato box.

Continue reading “Pidato Box Adds Vibrato Effect To Digital Pianos”

Playing Piano With Optical Sensors

[Sebastian] is trying to improve the responsiveness of an electric keyboard. He was unsatisfied with the lack of adequate sensitivity to keystroke. The first step in his process was to measure how fast the quickest keystroke actually is. By setting up an LED and phototransistor and taking some measurements he found that sampling at 1 kHz would be more than adequate.

With initial testing complete he ordered some CNY70 transmissive/reflective light sensors that can be place below the keys. He measures the sensor with the ADC on an ATmega16 microcontroller. Running at 16 MHz he can sample each of the eight analog-to-digital converter channels at 1202 Hz. After doing a bunch of math he put together some lookup tables that are used to translate the ADC data into midi signals. We’ve embedded a video of one sensor controlling the midi program PianoTeq. [Sebastian] also sent us a schematic of one node in the sensor network (see it after the break).

When everything is said and done he plans to use eleven ATmega16 microcontrollers to address the 88 keys, with an additional microcontroller to act as the master using a two-wire interface for communications.

Update: [Sebastian] put up a webpage with a fairly verbose description. Reading it straight from the source really clears up a lot of questions.

 

Continue reading “Playing Piano With Optical Sensors”

Bassoforte And Other New Instruments

[youtube=http://www.youtube.com/watch?v=lhp6P9Ygsoc]

[Diego Stocco] makes music with instruments he assembled. For instance, his Bassoforte uses piano keys, the neck and strings from an electric bass, and what look like some cymbals. Throw in a hammer from that piano and a double bass bow (plus heavy use of audio software) and he’s in business. Big business actually, his work has been in video games such as The Conduit and in feature films like Sherlock Holmes where he worked with Hans Zimmer. Bassoforte isn’t his only invention, he’s got several more including the Experibass string family on one instrument, the Light Controlled Oscillator, and sand music using the fine aggregate along with some piezoelectric film transducers.

[Thanks LuciusMare]

Midi Piano Instructor

[youtube=http://www.youtube.com/watch?v=i7AfiCQQ4nE]

The MIDI piano instructor is a tool aimed at those who wish to learn to play piano, but don’t want to take lessons. The LED bar mounted above the keys lights up to show you exactly what key to press and when. We’ve seen this available in some electronic keyboards for some time, but this unit would be able to fit any standard sized keyboard.  Check the page for schematics and pictures.

[via Flickr]

Extreme Piano Transplant

We always wondered what happens to ancient pianos when the internals can no longer be kept in a playable condition. [Jean Philippe Roch] gutted his elderly upright and fit a Korg Triton inside. After the break you can watch a few videos including a slide show of the work log.  [Jean] separates the Korg keyboard from its case and places it in the empty upright piano rank. He then mounts the Korg’s controls in the front panel and adds motorized control to reveal this hidden secret. The project is finished with speakers in the bottom portion of the upright and blue LED lighting effects.

The result is a pretty nice show-piece. It’s not as hacky as vocoding, but we really love the finished look.

Continue reading “Extreme Piano Transplant”

The Subway Never Sounded So Good

[youtube=http://www.youtube.com/watch?v=ivg56TX9kWI]

Reader [Philippe] tipped us off about this video showing a set of subway steps being turned into a piano keyboard (english translation). The creators wanted to make taking the stairs rather than riding the escalator a bit more fun. They added pressure sensors to each step, then covered them with white and black keys to resemble a keyboard. When a passenger puts their weight on a step, the corresponding pitch is played out loud.

We may have lied in the title as this doesn’t really compare to hearing Josh Bell play for pocket change at your train stop. But coming across this setup on an otherwise mundane commute would really brighten up our day.