Questions tagged [soundcard]

A soundcard is a hardware device used to perform the digital to analog conversion of raw audio in PCM format received as input and to amplify that analog audio as output.

A computer with a soundcard requires the installation of audio drivers. A layer of software running an audio server is also required to be installed which acts as an intermediary between the end user audio application and the soundcard. portaudio is a common cross-platform audio server.

All digital media with an audio codec must first get converted into raw audio in PCM format before being sent to the audio server. PCM is the lingua franca for digital audio.

Most consumer computers have a soundcard however often servers do not.

86 questions
53
votes
4 answers

Reading input sound signal using Python

I need to get a sound signal from a jack-connected microphone and use the data for immediate processing in Python. The processing and subsequent steps are clear. I am lost only in getting the signal from the program. The number of channels is…
Victor Pira
  • 1,132
  • 1
  • 10
  • 28
18
votes
2 answers

Playing 2 musics through 2 different sound cards at same time

Trying something pretty out of the box... I have a simple app with a button that when pushed, plays music out of the audio jack of my android tablet. public void btn1 (View view) { MediaPlayer mp = MediaPlayer.create(this, R.raw.xxx); …
Pam
  • 399
  • 2
  • 16
7
votes
2 answers

Need more than 32 USB sound cards on my system

I'm working on an educative multiseat project where we need to connect 36 keyboards and 36 USB sound cards to a single computer. We're running Ubuntu Linux 12.04 with the 3.6.3-030603-generic kernel. So far we've managed to get the input from the 36…
picheto
  • 331
  • 2
  • 13
5
votes
0 answers

Creating a Virtual Sound Card on an EC2

Is there a way of creating a dummy sound card on an EC2 instance? Unable to find snd-dummy, or any other other snd-modules using modprobe. sudo apt-get install linux-generic, also didn't exactly help. My goal is to run alsa with a dummy sound…
vgro
  • 458
  • 4
  • 12
5
votes
6 answers

How to fix No sound on Ubuntu 18.04?

1) I've been using Ubuntu 18.04 with Windows 10 dual boot for some months now. Today suddenly my sound stopped working on Ubunutu. Activities -> Sound menu shows only "Dummy Output". All fine on Windows though. 2) Output of lsmod…
rbewoor
  • 305
  • 1
  • 3
  • 14
5
votes
0 answers

Is there a way to enable `module-suspend-on-idle` only for specific sinks

I have an HDMI sound card device that is extremely slow to exit suspend. The primary problem this creates is when I'm not playing any audio on my machine, any brief audio alerts wakeup the card, but are not produced by the speaker. Any subsequent…
Luke
  • 81
  • 1
  • 6
4
votes
1 answer

How to control a sound card programmatically?

I'm playing with pyaudio on a mac using a Saffire Pro 40 sound card. Currently I have two inputs plugged in and I'd like to control the levels of the second input channel programmatically. (This works fine using the sound card's mix control…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
3
votes
1 answer

How to record internal audio? Python

I would like to know if it is possible to record internal audio using a python library, since many of the codes found on the internet and stackoverflow, are related to recording the audio from the microphone and not directly from the speakers…
Y4RD13
  • 937
  • 1
  • 16
  • 42
3
votes
1 answer

How to fix: device_list:270: no soundcard found (Ubuntu server 18.04)?

I was trying to capture some audio using a usb microphone and I got the error message mentioned in the title. here is the output some (hopefully relevant) commands: arecord -l arecord: device_list:270: no soundcards found... ls /cat/asound* ls:…
snayi
  • 31
  • 4
3
votes
3 answers

Output sound to multiple channels of the sound card

I am trying to build a program in Java, which would be able to output sound to different output lines on my sound card. How is it possible to do in Java?
rkrv.
  • 372
  • 2
  • 10
3
votes
1 answer

Reading soundcard output with python

i have successfully utilized pyaudio to read and record microphone data. I would like to do the same for the soundcard output. (i.e. playing a wavfile and open a stream with pyaudio and read frame by frame the soundcard output). For reading mic i…
Panos
  • 67
  • 1
  • 9
3
votes
1 answer

How can I analyze sound output in Python?

Is it possible to get the system output audio (the exact same thing that goes through the speakers) and analyze it in real time with Python? My intention is to build a sound visualizer. I know that it is possible to access the microphone with…
Belohlavek
  • 167
  • 3
  • 13
2
votes
0 answers

Play multiple mp3 files on multiple output devices on Raspberry Pi 4

I need to get 4 - 8 simultaneously playing stereo audio music channels playing continuously mp3 music from specific folders on SD card. Working: onboard 3,5 audio jack usb soundcard playing the music properly Problem: But as soon I’m trying to use…
David Weber
  • 63
  • 1
  • 1
  • 5
2
votes
0 answers

How to get data from Stm32 USB audio device and send to DAC?

I am using a STM32F103RCT6 board with STM32CubeIDE. I enabled the USB Audio device and the code is working and windows recognized the board as an audio device or speaker. I have searched and read documents but I have no idea what it is doing in the…
2
votes
0 answers

Delphi Sound - Select between multiple sound cards for output

I'm trying to add functionality to a program that gives the option to select a sound card out of a combobox and then using that sound card for output on a TMediaPlayer. Here's the code I have so far but the MediaPlayer keeps on playing on the…
1
2 3 4 5 6