element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Members
Members
Blog Custom Trombone Kazoo Controller for Trombone Champ
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Members requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: thereminhero
  • Date Created: 5 Oct 2022 12:06 PM Date Created
  • Views 65596 views
  • Likes 8 likes
  • Comments 6 comments
  • controller
  • trombone
  • arduino nano
  • kazoo
  • tof sensor
Related
Recommended

Custom Trombone Kazoo Controller for Trombone Champ

thereminhero
thereminhero
5 Oct 2022
Custom Trombone Kazoo Controller for Trombone Champ

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

How it works

The Time-of-Flight (ToF) sensor measures the approximate distance between the main trombone section (bell brace) and the slider brace. It sends this data over USB Serial to the PC running my custom software, which combines this with audio data from the microphone. The mouse is then moved relative to the changing distance from the sensor, and clicked whenever a loud sound is heard. The click is held for the duration of the sound. In other words, the audio pitch doesn't matter, just the volume. It's up to your accuracy with the trombone slider to nail the notes! 

Hardware

Components used:

  • Trombone Kazoo
  • Arduino Nano
  • VL53L1X Time-of-Flight (ToF) sensor
  • Microphone attached to computer running the game (any will do)

Tools needed:

  • Soldering iron + solder
  • Hot Glue

imageimage

Software

The latest windows software release and Arduino sketch can be found on my GitHub

Game Configuration

  • Ensure that the game is configured in windowed mode so that the audio monitor can be seen.
  • Run the audio delay compensation calibration
  • Enable inverse mode
  • Increase the mouse sensitivity (2x or higher)
  • You will need to adjust the starting position of the mouse for every song to ensure the full range of motion is available
  • Use the 'm' key to toggle mouse control on or off - this works even if the control software is in the background

Controller Configuration

  • You can change the calibration of the controller further with the Configure button
  • It lets you switch COM ports if you have multiple
  • It lets you switch between ASIO and Windows default driver for the audio capture (this might be buggy at the moment, later versions will be more stable)
  • Make sure to set your default mic in windows to the one you want to use
  • Sign in to reply
  • dougw
    dougw 3 months ago

    Very cool....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • e14phil
    e14phil 3 months ago in reply to thereminhero

    Im waiting with bated breath! 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • thereminhero
    thereminhero 3 months ago in reply to robogary

    The video is embedded but not live yet. live at 6:50pm UK time

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • robogary
    robogary 3 months ago

    Could you please post the video directly into the blog  ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • thereminhero
    thereminhero 3 months ago in reply to cstanton

    Detail added, video and github will be live at 6:50pm UK time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube