473,466 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to play voice recorded as byte format?

I used DirectSound to record voice from microphone and the variable is
set up as:

Dim voiceBuffer() As Byte

As the voiceBuffer is in byte format, I cannot play the voice using
DirectSound through speakers.

Does anyone know how to create a stream and use it to play the
DirectSound buffer?

Thank you.

Nov 23 '05 #1
0 997

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

Similar topics

2
by: Udipta | last post by:
I am making a java application where I am required to record voice in a-law format. The program i have written starts perfectly without giving any error or warning, but as soon as i start recording...
21
by: Steve K | last post by:
Hi, I'm designing a website for the Cornell Undergraduate Business Program where the client wants faculty and student profiles to be interspersed throught the site. These profiles are...
4
by: Jake | last post by:
I'd like to programmatically play a Voice Tag associated with a Windows Mobile 5 contact. If anyone has any info on this, that would be great. I'm using VS2005 and C#. I have an IMate SP5 if it...
3
by: Jared | last post by:
I'm using the first code sample below to play WAV files stored as embedded resources. For some reason I *occasionally* get scratching and crackling. I'm using a couple WAVs that ship with...
5
by: Ran Vijay | last post by:
Hi all I want to add the facility of recording voice in my website. I want to provide this facility to both the users of Windows as well as Linux. The voice recorded would be send through a e-mail...
1
by: gringgos | last post by:
Hi, friends, it's me again, it's the same assignment again, where i have to send the recorded voice in VB and send to another PC using bluetooth connection and the other computer can send their voice...
2
by: homevista | last post by:
Our goal here: We want the PC to call a designated phone number when something happens, and report it in easy-to-understand spoken audio snippets which are saved in the form of pre-recorded wave...
1
by: homevista | last post by:
Part II: Wave file - How to read to a buffer Wave (or Wav) is the standard format for storing audio data on the PC. As software developers, we are interested in the internal structure of the file...
6
by: homevista | last post by:
PART III: Putting things together In part I we examined the modem to verify that it supported voice. If so, we took a note about the voice data format that we would use. In the second part, we...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
1
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...
0
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...
0
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,...
0
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...
0
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...
0
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 ...

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.