473,386 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Record playback and line-in sounds

Hi,

How can I record line-in and playback music simutaniously. Basically I
want to merge two sounds. One comming from mic and the other is the
played music from PC. i can access line-in (mic) from multiple
API's.(Directsound, wavein) but I am unable find a way to record
currently playing sounds. Is there a way to access data from sound
card?
Any help in this regard will be of great help.

Thanks,

Saher

Nov 21 '05 #1
5 1530
Saher,

I am absolute a nitwit in sound. However did you have already the DirectX 9c
SDK.

I know at least that you can do enormous lot of things with sound with that
as long as it is WAV.

http://msdn.microsoft.com/library/de...ch_directx.asp

The VBNet sample in that is in my opinion unusable. However the DirectSounds
samples in C# are easy to translate. (You can remove those links to that C#
helperproject that in it than, that does nothing).

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

I hope this helps,

Cor

Nov 21 '05 #2
Thanks Cor,

Yes i do have DirectX 9c SDK, but i am unable find any function to get
data from currently playing buffer. Can somone point me to relitively
specific pointers.

Thanks and regards,

Saher

Nov 21 '05 #3
Saher,

Did you look at the sample in the SDK
AdjustSound?

Cor
Nov 21 '05 #4
"SaherAlim" <sa********@gmail.com> schrieb

Yes i do have DirectX 9c SDK, but i am unable find any function to
get data from currently playing buffer. Can somone point me to
relitively specific pointers.


Have you already had a look at

Managed docs
DirectX SDK
Introducing DirectX 9.0
DirectSound
Capturing Waveforms

?

You'll get best MDX specific information @
microsoft.public.win32.programme.directx.managed
Armin

Nov 21 '05 #5
Thanks all,

For reference one can do this by using directshow but only with C++

Regards,
Saher

Nov 21 '05 #6

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

Similar topics

0
by: Isaac Grover | last post by:
Hi everyone, I am working on an application that will dial a conference call number at a specified time, record the conference call, and hang up when the conference call is over. I am...
2
by: Dmitry | last post by:
Hello everyone, I have a really simple question here: I have a plain space delimited file that I want to read with WHILE loop 1 line at the time and process each input record as an array of...
2
by: eKid | last post by:
Could anyone send me some stuff on the basics of playing a s3m module? If so great thanks! reply to- Mukunda51@hotmail.com
2
by: Phil Stanton | last post by:
I have got the following snippet of code to add a record from a form With BoatSet .AddNew !RaceMasterID = RaceSet!RaceMasterID !BoatID = BoatID !ClubID = ClubID !RacingNo = SeriesRacingNo...
2
by: John M | last post by:
Hi, I have a continuous form which shows a record on each line. Further details are available by clicking on a box which runs code to open a further form to give more details of the record. It...
1
by: sixsoccer | last post by:
I have built a database with a <Mainform> and a <Subform>. My problem is twofold. 1. My subform is set as a continuos form with AllowAddiotions set to NO (ie. a list of Issues to the client on...
0
by: Darryn Ross | last post by:
Hi How do i update my dataset as soon as i start entering a record into the append/addnew line of a datagrid, instead of it being updated when i go to the next line to add another record? ...
1
by: Arthur Yuen | last post by:
Dear all, Where can I find sample and documentation for VB voice recording and playback? Thanks, Arthur
5
by: skip | last post by:
(I asked this on pythonmac-sig a couple days ago but got no response, so I'm casting a broader net.) Can I easily control audio record/playback from Python on my Mac? I know zip about audio...
22
by: paul | last post by:
A crude, unlikely scenario just so I can get my head around this: Split DB; front end back end. Each user has the FE locally the BE is stored on a server. 1. UserA opens customerA's record and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.