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

  • Home
  • SEARCH
  • 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 514419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:31:22+00:00 2026-05-13T07:31:22+00:00

I am going to apologize in advance for being extremely vague, but my knowledge

  • 0

I am going to apologize in advance for being extremely vague, but my knowledge in this area is somewhat limited so I don’t know the neccessary “keywords” to make my point/question clear. Sorry.

What I want to do is to find a way to obtain access to raw audio data as it is being output, say, when some external application is playing back music, when data is passed from the microphone to the output device and so on. I want to have access to that data in real time (well, almost real time, anyway), so that I can analyze/visualize it, etc.

I know, that it is certainly possible, as I’ve done it a long time ago in Java (I think I was using Processing and Minim libraries). This was done in windows by enabling a sort of “loopback” input device on the sound card (I think my vendor called it “Wave Out Mix” or something). How would one approach the same problem under a Linux-based OS?

I intend to use python for the analyzing/visualization part, however I can work in C if it is neccessary to get to the raw data.

Thanks in advance for any information.

  • 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-13T07:31:22+00:00Added an answer on May 13, 2026 at 7:31 am

    Whether you can access the “wave out” or “loopback” depends on your sound card and drivers.

    The native sound API on Linux is called ALSA. Search for the ALSA docs and sample code and you should be able to get some code to record from your sound card, then hopefully set up your mixer so that you’re recording from “wave out” instead of from the microphone.

    The older Linux sound API (/dev/dsp) is called OSS. It’s slightly simpler and ALSA emulates most of this API – but ALSA is the preferred solution if you want full access to your sound card.

    You may want to check out Jack – it’s a system for routing the audio output from one application to the input of another, in a big chain or all sorts of other configurations. There are lots and lots of compatible programs, and if everything you need already supports Jack, then you’ll find it’s by far the most straightforward API for this type of thing.

    Finally, this may sound stupid, but you can get an analog loopback cable – a male-to-male stereo mini jack – and loop it from your headphone jack to your line in jack, and record “wave out” that way, no matter what soundcard you have. It’s a stupid hack with an analog hole, but it does work, and depending on what you’re trying to record, it may be good enough.

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

Sidebar

Related Questions

I apologize for being rather vague here, but I'm working on a project involving
This is going to be lengthy, so I apologize ahead of time. But I
I apologize in advance for asking this question, I know similar questions have already
Apologies if this has been answered already, but I'm going through the posts here
This is probably going to be a really simple explanation, but I'm going to
I'm diving into iPhone development, so I apologize in advance if this is a
This question is going to be rather long, so I apologize preemptively. In Python
I apologize for being a bit verbose in advance: if you want to skip
[I apologize in advance for the complexity of the problem... but what good problem
Let me apologize in advance for the simplicity of this question (I heard Jeff's

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.