Note that there are some explanatory texts on larger screens.

plurals
  1. POInput from 20+ microphones
    primarykey
    data
    text
    <p>I've been asked (if it's possible) to write a program monitoring the input of at least 20 microphones, on a single computer.</p> <p>Currently I'm prototyping in python (2.6), on a Ubuntu system using Alsa. My attempts so far have created quite a few questions...</p> <p>Ubuntu is a requirement, Alsa isn't, and python is an ideal.</p> <p>For hardware, one suggestion is multiple sound cards. The other is a series of usb hubs and microphone adaptors (like <a href="http://www.aliexpress.com/product-fm/311098204-Headset-Adapter-100pcs-lot-USB-3d-Audio-Sound-Card-Microphone-wholesalers.html" rel="noreferrer">these</a>) (In which case the devices would all be identical and on the same USB bus)</p> <p><strong>Questions:</strong></p> <p>How can I simultaneously record multiple microphones from a single sound card? (e.g. using line-in as well as mic, bonus for anyone who know how I can use more than just two inputs!)</p> <p>In the USB setup, how can I identify which position a sound card (usb adapter) in plugged in to a USB hub (or chain of USB hubs).</p> <p>If a solution is raw access to the microphones via USB, is a devices position on a usb bus depend only on which port on a USB hub they are plugged into, or do could it change between powering the computer on and off?</p> <p>Last, if using raw access, how do I best get the data (no current experience with pyUSB) and what conversion (if any) is required from raw -> audio?</p> <p><strong>Edit:</strong></p> <p>By monitor, I've been asked to record input to disk (ideally above a set threshold, which the speex codec looks ideal for), monitor volume levels, provide graphic feedback and set up at least one output that cycles through all active microphones.</p> <p>Python isn't a long term requirement, just the easiest way I've found so far to get the PCM data from a sound card (microphone only however)</p> <p>I am intending to have the polling of the soundcards and data processing take place in separate threads, an area that I haven't got much experience with.</p> <p>Where would I find more information on implementing a USB audio class driver?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload