473,775 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sound card input

Are there any good C++ libraries that let me input bytes from a sound
card's line in? I've tried a few, but they always seem to be fubar.

I need to be able to make distinctions between sounds input from a
radio connected to the sound card thru the line in, probably using the
sine wave formula of the input.
Jul 22 '05 #1
1 2040
Nick wrote:
Are there any good C++ libraries that let me input bytes from a sound
card's line in? I've tried a few, but they always seem to be fubar.

I need to be able to make distinctions between sounds input from a
radio connected to the sound card thru the line in, probably using the
sine wave formula of the input.

They are not behavers defined in ISO C++.
You may need to consult some platform-dependent implemetion,
for exampe, MS VC.

--
Hongzheng Wang

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
7415
by: David Saum | last post by:
I am modifying some VB6 code I found online for computing the spectra of sound card data http://fullspectrum.com/deeth/programming/vb.html#Spect in order to build a receiver to detect Gamma Ray Bursts (GRB). http://www.infiltec.com/SID-GRB@home The original code allows for sampling rates from 11.025 - 44.1khz, and that works OK, but I need to sample my Audigy2 sound card at 48 or preferably 96khz in order to look at signals around...
22
2567
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play the video from a DVD but not the audio. He had been searching for an answer for days on support.microsoft.com but found none. I suggested Google and Gateway. Gateway had nothing, but sure enough, search for *XP DVD no sound* on Google and...
4
3481
by: Robert Gravereaux | last post by:
I'm putting together a C# .Net forms project on win2k. The application requires some sort of horn sound. I've never implemented any audio in .Net, so I'm not sure how best to accomplish this. It's an application that works with a wireless barcode scanner, in a warehouse environment. The user could be potentially 20 or 30 ft. from the PC. If the user scans something improperly, the app should sound a 'horn' to notify the user. I'm trying...
3
2515
by: June Li | last post by:
H I got a problem with detecting sound card with Windows x I use SDK function waveInGetNumDevs() to test if there is a sound card. But even if there is no sound card installed, the function still returns 1. And even waveInGetDevCaps() returns no error. I checked device->hardware, and there are some items under "Audio, Vido and game" catogary, they includes "Legacy audio driver", "Audio codecs "Media Control devices Guess there are some...
0
2600
by: June Li | last post by:
H I got a problem with detecting sound card with Windows xp I am working on an application to test microphone. First I need detect if there is a sound card installed (or integrated audio device). In a system without sound card (no full onboard audio support either), I use waveInGetNumDevs() to test if there is a sound card, it returns 1. And waveInGetDevCaps() returns no error. But it will fail when I test recording Guess the system...
3
2341
by: larry | last post by:
Hi, my friends, My boss asked me to use sound card to do analog to digital conversion for my application. I know when we record sound, sound card changes anolog signal to digital file. I have no idea where should I start? Do I need to write a driver for sound card? Is there any tool from Visual Stuido? Would you like to help me? H e l p ! Regards,
1
1263
by: fdu.xiaojf | last post by:
Hi, When I was talking with my friend, I wanted to share the music I'm listening with my friend. I mean, I wanted my friend to hear my music and my own sound . I order to achieve this, I think I need to append the output of my sound card to the input of the sound card.
7
4365
tpgames
by: tpgames | last post by:
I know that an internal sound card has to be one listed as for a specific mother board. However, does this rule apply to external sound cards? I use a satellite A75-s2112 toshiba laptop, intel pent 4, windows xp, and forget where to find the motherboard info. I just remember that it only had Realtek AC'97 sound drivers that work with it, when I did that research. My Realtek AC '97sound card drive keeps malfunctioning such that I'd have no...
2
3595
by: HardySpicer | last post by:
Is there a dll somewhere so that I can access the sound card? I need access to the audio waveform samples from (say) the mic input or Aux. hardy
0
9622
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10268
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10107
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10048
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6718
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4017
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.