473,788 Members | 2,706 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sound Card

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
Oct 1 '08 #1
2 3595
Hardy

Maybe DirectX (in past it had samples how to use sound, altough those were
then in C# were those for every a little bit expirience VB user readable)

http://www.microsoft.com/downloads/d...displaylang=en

Cor
"HardySpice r" <gy********@gma il.comschreef in bericht
news:b6******** *************** ***********@k30 g2000hse.google groups.com...
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
Oct 1 '08 #2
On Oct 1, 6:10 pm, "Cor Ligthert[MVP]" <notmyfirstn... @planet.nl>
wrote:
Hardy

Maybe DirectX (in past it had samples how to use sound, altough those were
then in C# were those for every a little bit expirience VB user readable)

http://www.microsoft.com/downloads/d...d=124552ff-836...

Cor

"HardySpice r" <gyansor...@gma il.comschreef in berichtnews:b6* *************** *************** ***@k30g2000hse .googlegroups.c om...
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
I did find what is called a full duplex program which I converted from
c#.

http://www.codeproject.com/KB/audio-video/cswavrec.aspx

Trouble is it is not clear to me how to get at the samples.
I have a call like this in it

Dim fmt As New WaveLib.WaveFor mat(44100, 16, 2) (this
is just the format 44.1kHz 16 bits 2 channels)

m_Recorder = New WaveLib.WaveInR ecorder(-1, fmt,
16384, 3, New WaveLib.BufferD oneEventHandler (AddressOf DataArrived))
I assume the sample must be in DataArrived (but I am unsure).

how to get the data out!!
Hardy
Oct 1 '08 #3

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

Similar topics

0
4243
by: Peter | last post by:
Hi all, I'm using windows media player as an object in visual basic 6. I have two sound cards in the PC. The default sound card is used for explorer "clicks" and statup / shutdown sounds in windows. The second card is connected to my stereo system and I want to have WMP play through this card. Even after having studying the SDK I can't seem to figure out how to do this. In the Windows Media Player it'sself I can set up which device it...
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
3482
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...
2
3045
by: FE | last post by:
Hi, I need to create a program that will connect a media stream (a server on the internet - Windows Media format) and then generate an error when : * The stream is ok but there is no sound (for example when someone disconnected the mic) * The stream is ok but there is no more images In these to cases, I imagine the encoding server is still working fine but
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,
7
4366
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...
3
4394
by: =?Utf-8?B?SlZE?= | last post by:
In my system, i have two sound card installed. I am developing one multimedia application in c# using DirectShow. I want to select particular sound card and play one audio file and, play another audio file in other sound card. i tried adding some audio filter (as suggested in web) but since i am novice, i could not solve it. Could anybody provide me source code in c# to resolve this issue. Hope someone is there.
2
4779
by: lazzypink | last post by:
hi guys! i having a problem in my project which is create a media player and let the user choose the sound card for audio output. Let say i have 2 sound card in my computer, i want to select the sound card to play an audio file. i'm using C# window media player com component. eg. axWindowsMediaPlayer1. your kindly help much much appreciated. Thanks!
0
9656
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
9498
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
10370
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
10177
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...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
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
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
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.