Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 822899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:51:53+00:00 2026-05-15T02:51:53+00:00

So basically I would like somehow that given an audio file as input (most

  • 0

So basically I would like somehow that given an audio file as input (most likely mp3 or I can use some audio engine that will handle other types too) from my computer to control some LED lights so they will be something like an oscilloscope, like the one in winamp.

What would I need to be able to do this? I’m interested in building thing up all by myself, coding, hardware, etc..

I’m going with C++ on Windows.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:51:54+00:00Added an answer on May 15, 2026 at 2:51 am

    Here is a possible approach (high level description):

    You could have a simple micro controller (MCU) in a basic circuit with a number of LEDs connected. LED connection circuitry should be easy to find. Most MCU manufacturers will also give a sample test/LED flash circuit in the product datasheet, along with a sample program.

    The MCU could interface with your PC via a parallel port (I have used an ATmega8 for which the input pins were level compatible with the parallel port pins). It could also interface using a more sophisticated/higher level approach – via serial/usb port using a UART to serial or UART to USB module with your MCU. You could then output different values via the parallel/serial/usb from a PC application to the MCU, and have the MCU code flash the LEDs as required. There are some articles around that power LEDs from the parallel port itself though this is not recommended. I have used inpout32.dll for accessing the parallel port registers directly. The .NET framework provides a SerialPort class you could use if not using the parallel port approach.

    As for the music side of things, I’ve never dealt with audio files in software. There should be some libraries around and you could perhaps scale amplitude/frequency variations over time to a numerical scale displayable on the LEDs you have. Since this implies you want a basic audio player I am sure you could find some info on the audio side of things for PC apps.

    EDIT:

    With my answer I assumed this is for a personal project and proposed an approach that would be easy on the budget – a few $ at the local electronics store should get you everything. This is a good start, but as the other answers suggest there are likely better solutions that scale. Starting with a kit – pre-made MCU board might be easier but more expensive! It would likely be worth the cost if it is for a professional project though!

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to basically get all the events that i get invited to
Basically, I would like to decode a given HTML document, and replace all special
Basically I would like to store the address of a pointer in a buffer.
Basically I would like to tell MSTest to execute a bit of code before
Having another tough one here guys, basically I would like to check if a
I would like to create a custom data type which basically behaves like an
I would like to set a variable in bash called test_var Basically, I want
I would like to add a preprocessor to HTML pages. Basically, I have a
I would like to have fuzzy looking border around my Canvas control. Basically, I
Basically, I would like to remove an item from a list whilst inside the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.