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
0
votes
0 answers

How to record played audio stream by sox under windows?

I want to record the "played sound" from the current soundcard using sox and stream it to another destition. Using the microphone as a common "input device" was feasable with this code: sox -t waveaudio 1 --no-show-progress --rate 16000 --channels 1…
Steven
  • 61
  • 1
  • 3
  • 10
0
votes
0 answers

ALSA Errors in my Python code using Raspberry Pi

I have written this tts code and downloaded all neccersarry packages on my system. It uses openai to be able and have converstations with me and works perfectly on my windows computer. However, when I run the code on my raspberry pie it comes up…
0
votes
0 answers

python sounddevice play mono 1-ch wav file back on specific output channel of sound card

I am trying to have a python sounddevice script that will use a 1-ch audio wav file and to play back on a specific output channel of my sound card (for example ch3 only). I wasn't sure exactly how to do that with the mapping arg for…
BTBts
  • 13
  • 1
  • 5
0
votes
0 answers

using external bluetooth transmitter without sound card

The sound card in my desktop tower is busted. I am planning to get an external Bluetooth device so that I can connect external sound devices. I am trying to do some research on this matter to find out if it will work before I commit my resources.…
0
votes
1 answer

tinycap always captured 0 frames?

I’m using an OPPO FindX5 pro (with 3 MICs) to record system-audio, and I refer to tinycap. However, I cannot record via it. Step1: I checked the sound card OP5209L1:/proc/asound # cat cards 0 [waipiomtpsndcar]: waipio-mtp-snd- -…
0
votes
1 answer

What is the input data format of a sound card (in library `miniaudio` or others)?

I am developing an acoustic simulation program. I can calculate the pressure wave (in Pa), but I cannot play it on my MacBook Pro. I'm using a helper lib miniaudio. My questions are: What is the input format of PC sound card? I mean, Is it correct…
Xudong
  • 71
  • 1
  • 7
0
votes
0 answers

How to get raspberry pi 4 to read a line-in input from a sound card

I want my Raspberry pi to read the audio off of my main computer and then make some adafruit neopixel lights that I have connected change brightness in correlation to how loud the audio is. The coding (probably) will not be an issue, but I can not…
Lazuli
  • 31
  • 5
0
votes
0 answers

How to use JavaSound Midi on Linux using FireWire AudioInterface?

I'm using QJackCtl and FireWire Audio Interface(Edirol FireWire AudioCapture FA-101). I made program which connect JavaSound Synthesizer Gervill and External USB Midi Keyboard, it triggers Gervill synthesizer. I can use this without QJackCtl(jack…
0
votes
0 answers

Using a 7.1 Soundcard to realize multiple outputs

I am wondering if it´s possible to use my 7.1-Soundcard as an at least 4 to 6 Channel output. My destination is to play a file on the front speakers and another file to the rear speakers. So I can mix them using an analog mixer and finally returning…
0
votes
0 answers

what Graphical DSP programming tools are there for ASIO4ALL?

Many years ago I had a PCI sound card (I think it was some kind of SoundBlaster but not sure, this was maybe 15 years ago) with a 5 1/4 disk sized front panel with various ins and out. I remember using ASIO4All but there was also a graphical…
0
votes
1 answer

Windows Ffmpeg - send audio to sound card's output

I have a sound card (Behringer UMC202HD) which connected to a Windows 10 computer by usb cable, i am able to recieve audio from input device with the following ffmpeg command: ffmpeg -f dshow -i audio="IN 1-2 (BEHRINGER UMC 202HD 192k)" -map_channel…
halitsafa
  • 9
  • 4
0
votes
0 answers

Why audio is played differently through pygame.mixer and soundcard module?

i am using pygame.mixer to play and pause an audio. I am playing the audio for first 10secs, pausing and unpausing to play the next 10secs and it goes on. I have also tried the play pause feature using soundcard module. When the audio is played thru…
Athulya
  • 65
  • 6
0
votes
0 answers

NAudio play only one mp3 always on two channels parallely

I want to do something like that: Two stereo cards and I want to play music completely selectively, this means 1.mp3 on 1 channel in 1 sound card and 1 channel on 2 sound card, 2.mp3 on 2 channel in 1 sound card and 3.mp3 na 2 channel in 2 sound…
0
votes
0 answers

Alsa - setting volume in an app works different when it is run as a service

I have an app which is using Alsa to play sounds. Below I show fragments of my code. The problem is that if my software is run as a systemd service, the range in the stVolume method is between 0 and 31. When I run my software as a standard…
Jacek
  • 187
  • 2
  • 13
0
votes
1 answer

How to create a surround effect using python by controlling the volume of speakers channels?

I have bought a soundcard: Focusrite Scarlett 4i4 3rd Gen, with 4 outputs channels. I also have 4 speakers and I will link each speaker with the soundcard. I would like to be able to set separately the volume of each speaker, with maybe a tkinter…
TrissN
  • 35
  • 8