473,748 Members | 7,377 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Record audio (WAV) in VS2005...

Using VS2005, VB.NET,
I want to record audio from my sound card, or mic input... and while
recording get feedback to create a sound meter for visual display. Due
to budget constraints, I can't purchase any 3rd party APIs and most of
the free ones I've found are written is C or C++ (not my
proficciency).

I have seen articles on using the "Waveform Audio Interface" but it
doesn't seem to provide the ability to get feedback about the recorded
audio.

Can anyone suggest any APIs or points or better yet examples of code
that can perform such a task.

Any input appreciated.

Jul 13 '07 #1
3 5170
My company is using DirectX to do that, but I can't give you any code
(confidential).
Hope that helps.

Robin S.
----------------------
"hzgt9b" <ce******@gmail .comwrote in message
news:11******** **************@ 57g2000hsv.goog legroups.com...
Using VS2005, VB.NET,
I want to record audio from my sound card, or mic input... and while
recording get feedback to create a sound meter for visual display. Due
to budget constraints, I can't purchase any 3rd party APIs and most of
the free ones I've found are written is C or C++ (not my
proficciency).

I have seen articles on using the "Waveform Audio Interface" but it
doesn't seem to provide the ability to get feedback about the recorded
audio.

Can anyone suggest any APIs or points or better yet examples of code
that can perform such a task.

Any input appreciated.

Jul 15 '07 #2
Do you have any examples you can point me to?

What version of DirectX did you develop this under? What interface
provides the feedback on audio levels that can be plugged into a meter
control?
Jul 18 '07 #3

A quick Google search turned up a few links. At least the
first is relevant to your quest. In .Net land, however, it is
easier to find samples written in C# than VB.Net, so
you will just have to do the necessary conversions - or
stick to C#:

http://www.codeproject.com/cs/media/volumemeter.asp
http://www.codeproject.com/cs/media/cswavrec.asp
http://www.codeproject.com/cs/media/cswavplayfx.asp
http://www.codeproject.com/cs/media/wavemixer.asp

Regards,

Joergen Bech

On Wed, 18 Jul 2007 13:04:17 -0700, hzgt9b <ce******@gmail .comwrote:
>Do you have any examples you can point me to?

What version of DirectX did you develop this under? What interface
provides the feedback on audio levels that can be plugged into a meter
control?
Jul 19 '07 #4

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

Similar topics

0
2263
by: nigel | last post by:
I'm trying to handle 16-bit .WAV format audio files. I've started with the code below (from pythonapocrypha.com). I can successfully read in the 16-bit code, using Numeric.fromstring, as they suggest in the comments below. However, I can't manage to write the samples, I always seem to get 32 bits per sample (yes, it is set to mono!). It seems that I need to use Numeric.tostring, with an option to set it to 'Numeric.Int16', but that...
8
2775
by: fuliopen | last post by:
I like to create some audio files for my web site. These are all language files to help the visitor learn a foreign language. There is no music. As far as I know, I can create three types of such files: .wav, .mp3 and .wma. But my knowledge may be too old. Is there any new type? I've seen an indicator for audio files in some language-learning pages. It is a small trumpet. Clicking it would play the sound file. Is this small...
4
6057
by: Gary Morrison | last post by:
I need to create a lot of fairly-short audio files from the concatenation of a lot of even shorter audio files. I'd like to control that from a Perl script. The audio files would presumably be AIFF or WAV files, preferable AIFF. Do any of you know of Perl commands to accomplish this? Specifically, * A call to create and open a new, empty AIFF or WAV file, * A call to append onto the end of that open audio file the audio content of...
13
4901
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives, suggestions or improvements? if( wmv file) document.write("<OBJECT id=Player classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354" width="479">
0
1401
by: krudonix | last post by:
Hey i've developed a call logging system that records to mono a-law wav files. now i want to add a feature to playback the audio as its being recorded an event fires when i recieve audio private evAudio(intptr buffer,int size) {
8
14943
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to cut and paste code that MSDN recommends for playing a simple wav file from inside an embedded file, like presumeably the 'resources' file .resx is. I want to embed the .wav file in a 'resource file' since I don't want the user storing the file on...
3
3446
by: AWW | last post by:
Using XP and VB 2005, it seemed like a good idea to save audio in the clipboard and then play it with backgroundworker. Cannot find a good Clipboard audio example anywhere - just SetAudio and GetAudio. And an example seems to do a SwapAudio which makes no sense. Basically I want to spool or simulate spooling of audio. So is this reasonable for asynchronous audio clip play? or alternate? Any thoughts or pointers to other sources? Thanks.
5
1872
by: pankajs | last post by:
hello ! i m reading a wav file by int b=ins.read(); and writing b on other wav file by outs.write(b); in a loop until b==-1 where InputStream ins = new FileInputStream("C:/audio.wav"); OutputStream outs = new FileOututStream(new File("c:/audio1.wav")); its playing but when i write something to output file in byte form having some value from my own it does not play eg. byte b = new byte;
0
1847
by: Todd Merriman | last post by:
A link is presented to the browser: echo "<embed src=\"http://sites.mydomain.com/cgi-bin/play.cgi?speech+1\" autostart=\"true\" hidden=\"true\" width=\"0\" height=\"0\">" echo "</embed>" The browser requests the URL, and the server executes the CGI and sends the following: echo "Content-Type: audio/x-wav"
0
8989
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
8241
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...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
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
4599
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
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
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
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.