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 7757835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:11:50+00:00 2026-06-01T13:11:50+00:00

I would like to be able to dynamically read and write audio data in

  • 0

I would like to be able to dynamically read and write audio data in realtime. I noticed the python “audioscope” which opens the unix/linux /dev/dsp file and reads raw bytes from it.

However, I am using a Mac OSX 10.5.8, and dual booting linux is quite difficult (I have tried.) I was wondering whether there was a particular ‘standard’ python module that could read and write audio data (perhaps storing snapshots of the data in numpy arrays.) I plan on having on thread read/store data, and another thread respond by sending new signals.

As of now, I want to use the audio jack in my computer, but at some point, I would like to be able to use usb sound cards in a similar manner. At that point, I would like to be able to control multiple signals (using a usb port expander.)

I have been looking around for a while, and I found a few libraries used for audio processing, but they are usually based around reading and writing files, not dynamic data processing. Perhaps the best library is not an audio library at all. I actually plan to use this to control circuits, but google lead me to audio as the best way to use my computer to do so.

Anyway, I was hoping for some suggestions.

  • 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-06-01T13:11:52+00:00Added an answer on June 1, 2026 at 1:11 pm

    The Enthought Tool Suite has examples for real time audio processing. They are in the chaco/advanced example folder, spectrum.py, spec_waterfall.py. They use the chaco plotting library and pyaudio to do real-time audio. (Here’s another live FFT based on pyaudio and the WCK Graph library.) They’re really awesome, and will give you live feedback for what’s happening on on your microphone. You can modify this data as it comes in, and do whatever you want to it before displaying it.

    What is the end goal of what you’d like to do? You said ‘control circuits’, what kind of circuits would you like to control? If you post what you’d like to do, there may be a better way that someone can think of.

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

Sidebar

Related Questions

I would like to be able to automate data entry to an Open Office
I have a let statement in which I would like to dynamically destructure a
What I would like to do is be able to dynamically a block of
I would like to be able to see the contents of dynamically allocated array
I would like to be able to cast a value dynamically where the type
I would like to be able to choose which properties is added to my
I would like to be able to dynamically insert a div at the end
I would like to be able to dynamically retrieve the current executing module or
I would like to be able to set a background on our homepage which
Would like to be able to set colors of headings and such, different font

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.