Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Teensy Large Piano Keyboard

  1. #1
    Junior Member
    Join Date
    Apr 2017
    Posts
    7

    Teensy Large Piano Keyboard

    My handstand coach asked if anyone could build a piano he could play with his feet while upside down. I volunteered, and this is the end result. (Sorry for Facebook video, but you don't need an account to view).

    https://www.facebook.com/invertedequ...7807492806929/

    Uses Teensy 3.5 and based on Teensy Audio Wavetable Synthesis project. Can play chords and has four different voices. Some stereo separation as well. Control panel has volume and metronome controls as well as a small display. The switches are microswitches wired in a standard key matrix. The keys are white 1/8" hardboard with additional strips on the back to stiffen them. Cut out using my home CNC machine. Black keys are CNC carved from 1" craft foam and glued to hardboard strips. Thanks to the excellent Teensy audio and other libraries the software was fairly easy to write. Most of the time was spent on the mechanical parts.

    My test of the first octave with chords and different voices. Final voices will be different.
    https://youtu.be/Xts1v71RQhM


    Some closeup photos of keyboard under construction.
    https://imgur.com/a/0vcVkEU

  2. #2
    Junior Member
    Join Date
    Aug 2018
    Posts
    2
    Very good, I have been looking for something to make an electronic organ but I can not. How are you able to implement the wavetable table?grateful

  3. #3
    Junior Member
    Join Date
    Apr 2017
    Posts
    7
    https://github.com/TeensyAudio/Wavetable-Synthesis

    I have an array of 24 AudioSynthWavetable wavetables, one for each key. A whole bunch of AudioMixer4 mixers, then declare AudioConnection patch cords to connect everything together. The exact connections depend on how you do the stereo mixing. I try to blend the left and right hand of the keyboard so they cross fade 90% to 30% across the two channels.

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,927
    Awesome. Any chance you might share the code? I'm sure others would find it really interesting.

  5. #5
    Junior Member
    Join Date
    Apr 2017
    Posts
    7
    It's a custom project for this person. Will have to ask him first.

  6. #6
    Junior Member
    Join Date
    Aug 2018
    Posts
    2
    Congratulations.! Good luck.!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •