Solved

Sound Manipulation on c++.

Posted on 2000-05-07
10
574 Views
Last Modified: 2008-03-17
Can anyone hand me a library that performs sound manipulation ?

I want it to get input from the microphone,
Use it as output through the speakers with an option to delay.

This question will be graded as A if it can choose a specific sound from the sound card Sounds bank (All Sound cards). Please attach an documented example for these three uses.
0
Comment
Question by:yyyannag
10 Comments
 
LVL 23

Expert Comment

by:chensu
ID: 2786041
Which OS? ...
0
 
LVL 2

Author Comment

by:yyyannag
ID: 2786061
windows 95/98 OS's.
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 2786267
0
 
LVL 23

Expert Comment

by:chensu
ID: 2786794
The sound card must support full duplex in order to record and play at the same time.
0
 
LVL 2

Expert Comment

by:sun307
ID: 2787159
whether u like it or not, you have to use multimedia api defined in mmsystem.h
for wave recording use waveInXXX functions and for output use waveOutXXX functions.
-best regards
Sun307
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Author Comment

by:yyyannag
ID: 2787391
chensu, you're right, but I want the library to record the input into memory and play it later, by request (buffer ?)

sun307, does the multimedia api suuports buffer recording? is it included in the c++ default libraries, or do I have to download it from somewhere?

AlexVirochovsky, I havn't checked your site yet. as soon as I check it, I'll post another comment.

Thanks, guys.
0
 

Expert Comment

by:yuxiliu
ID: 2788932
DirectShow is the best choice for this case.
0
 
LVL 23

Accepted Solution

by:
chensu earned 700 total points
ID: 2789058
0
 
LVL 2

Author Comment

by:yyyannag
ID: 2789257
chensu, Thanks a lot. I hope this will help me.
However, I have no clue in c++ programming (I'm programming this with a friend). so I have to give these links to him, and if it helps me achieve what I asked for, I'll be happy to grant you the points.

Thanks again.
0
 
LVL 2

Author Comment

by:yyyannag
ID: 2803835
chensu,

Well, I've been doing some thinking, And it's wrong to do what I did, To hold you on the line for so long.
If the code does what it's suppposed to do, Then I'm granting you the points, Eventhough I havn't checked them yet (I just looked at the general code, And it seems fine).

Thanks again, and sorry for the waiting.
No offense, I hope.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now