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
2
votes
1 answer

Using another sound card with the JavaSound Synthesizer

Could I use my M-AUDIO Fast Track Ultra as the audio interface in a Java MIDI plugin I'm writing? That virtual driver ASIO4ALL could be a nice way to go as well. I will code a Live Performance MIDI Modifier, to enhance a keyboardist's level of…
Ortiz
  • 294
  • 1
  • 4
  • 14
2
votes
6 answers

Java or C# library for signal analysis on the sound card

Is there any Java or C# library for signal analysis using the sound card of a PC? I'm not interested in music mixing, rather in general purpose signal analysis - take a look at SIGVIEW - I'm interested in a Java or C# library that can do that.…
luvieere
  • 37,065
  • 18
  • 127
  • 179
2
votes
1 answer

Reading the audio output from soundcard with java

Is there anyway to read the audio outputted by a program/the soundcard? Sort of like, reading the audio output of itunes, or firefox. I've searched around and I can't find any way to do this as it requires interfacing with the soundcard. Any help is…
Yang Zhou
  • 21
  • 2
2
votes
0 answers

How to calculate sound card clock drift?

I'm calculating sound card drift for reasons of acoustic echo cancellation. My algorithm is: drift = samples_played - sampled_recorded Where *samples_played* is incremented by 1 when a 320, 640 or 1920 byte audio frame is sent to the playback…
junglecat
  • 643
  • 1
  • 10
  • 19
2
votes
2 answers

How to know active audio device for sox in windows

I'm trying to stream sound from my soundcard using sox's default audio device and dump it as a raw file. Unfortunately no sound is being detected. Sox always use this as input and I think it's for linux.(correct me if i'm wrong but it doesn't…
ken
  • 4,886
  • 4
  • 30
  • 26
1
vote
1 answer

How to check if sound has stopped playing on my soundcard

I have created a KornShell (ksh) script that plays a list of songs on youtube by searching the song name + the artist name and hitting the first link (the list of song names and artists are stored in a file). I would like to change my current…
jawsnnn
  • 91
  • 2
  • 11
1
vote
0 answers

How to use neopixel lights and sound output on Raspberry together?

I am working on a program to play a song and at the same time light up a 45 led Neopixel strip. The problem is when I am running the code using sudo the sound is not working (I am using a soundwave USB to audio sound card) but the lights work (i…
1
vote
0 answers

Audio Stream from Sound Card to Byte Array in C#

I am trying to get the audio from the sound card and write the audio data to the byte array. So far, I could manage these: Get the audio, save the file in wav format, get byte array from the wav file. But, I need to get the byte array from a live…
noob123
  • 59
  • 1
  • 6
1
vote
0 answers

Creating a virtual speaker with python

I've started working on a graphic equalizer app in python, my goal is to be able to eq the sound played by applications such as youtube. The simplest solution seems to be to record audio using WASAPI loopback on a silent output, modify it, then play…
1
vote
1 answer

Ubuntu 20.04 sound doesn't start, but it works in the old live DVD Linux

Attention! It's not a duplicate, because I've used suggestions from those articles, and those suggestions worked intermittently at first, but now they stopped working whatsoever. After upgrading to Ubuntu 20.04, my sound card stopped working on…
igoryonya
  • 167
  • 3
  • 12
1
vote
1 answer

How do I check/change my sound card's sample rate?

I'm playing around with XAudio2 to send PCM format waves to my soundcard, and I encountered a problem which made me think about this question. I created a .csv file with MATLAB of a sine wave at 440 Hz, and at first I had sampled it at 1 KHz (for 1…
Gabriel G. Roy
  • 2,552
  • 2
  • 27
  • 39
1
vote
0 answers

Capture audio from multiple USB microphones at the same time in Windows

I have Infineon AudioHub Nano, which works as a microphone with 2 microphone sensors if USB-connected to a Windows computer. For my application, I need at least 6 microphone sensors. I am thinking of plugging 3 AudioHub Nano into one computer and…
djsg
  • 107
  • 1
  • 8
1
vote
1 answer

Flex: Recording audio directly form soundcard

I am new to flex but my first app is a little bit more pro than you would expect form a rookie. I would like to record sound that is currently played on the local computer (i.e. form winamp or youtube). I saw some codes that use the microphone, but…
srd.pl
  • 571
  • 10
  • 22
1
vote
1 answer

How to detect processes that are using the sound card on Linux?

I was wondering if it's possible to get the processes that are using the sound card at a specific time. For instance, I just want to know if there is any song currently playing in Spotify or Chrome, whatever. Thank you in advance.
Juan Ortega
  • 69
  • 1
  • 9
1
vote
0 answers

C++ Library to Intel Mac Driver

I'm completely new to programming. I need to "convert" a C++ library to Intel Mac driver so I can run my old PCI soundcards on my (Hackintosh) Snow Leopard. My cards are Echoaudio's MiaMIDI and Mona. From their site, I can get the library. This is…
Baron
  • 11
  • 2