Click here to Skip to main content
16,014,765 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFrequency of sound card Pin
Mika Soukhov31-May-02 10:01
Mika Soukhov31-May-02 10:01 
GeneralRe: Frequency of sound card Pin
Ed Gadziemski31-May-02 11:07
professionalEd Gadziemski31-May-02 11:07 
GeneralRe: Frequency of sound card Pin
Mika Soukhov31-May-02 12:49
Mika Soukhov31-May-02 12:49 
GeneralRe: Frequency of sound card Pin
Mike Nordell1-Jun-02 0:11
Mike Nordell1-Jun-02 0:11 
GeneralRe: Frequency of sound card Pin
Mika Soukhov1-Jun-02 4:16
Mika Soukhov1-Jun-02 4:16 
GeneralRe: Frequency of sound card Pin
Mike Nordell1-Jun-02 7:47
Mike Nordell1-Jun-02 7:47 
GeneralRe: Frequency of sound card Pin
Mika Soukhov1-Jun-02 10:09
Mika Soukhov1-Jun-02 10:09 
GeneralRe: Frequency of sound card Pin
Mike Nordell1-Jun-02 20:52
Mike Nordell1-Jun-02 20:52 
For example we attached a microphone and shouting to it.

Ahhh, that's quite simple. Have a look at any of the sound recording examples. There are quite a few samples of this around the 'net, not to mention there is at least one sample in MSDN.

To plot your curve you just use the sample value as the y-axis and your time-step as the x-axis (probably wrapped at the right edge of your view). The same for analyzing a stored sound that your program is playing.

But to do this for another application playing a sound, no matter what API that app is using, I think you're either looking at some kernel hacking, or a simple analogue cable between your soundcards output to its input (so that you can get the sound recorded - you can AFAIK only record incoming sounds, not outgoing).

++luck;
Generalreturn Recordset Pin
Max Santos31-May-02 9:46
Max Santos31-May-02 9:46 
GeneralRe: return Recordset Pin
Le centriste31-May-02 12:09
Le centriste31-May-02 12:09 
GeneralRe: return Recordset Pin
Max Santos31-May-02 12:22
Max Santos31-May-02 12:22 
GeneralRe: return Recordset Pin
Le centriste31-May-02 12:30
Le centriste31-May-02 12:30 
GeneralVS .NET and RichEdit 2.0 Control Pin
dazinith31-May-02 9:35
dazinith31-May-02 9:35 
GeneralRe: VS .NET and RichEdit 2.0 Control Pin
James R. Twine31-May-02 10:10
James R. Twine31-May-02 10:10 
GeneralRe: VS .NET and RichEdit 2.0 Control Pin
Tomasz Sowinski31-May-02 10:09
Tomasz Sowinski31-May-02 10:09 
GeneralRe: VS .NET and RichEdit 2.0 Control Pin
Ed Gadziemski31-May-02 11:11
professionalEd Gadziemski31-May-02 11:11 
GeneralRe: VS .NET and RichEdit 2.0 Control Pin
dazinith31-May-02 10:27
dazinith31-May-02 10:27 
GeneralExcel and DAO - Getting currency prefixes in individual cells Pin
achandra00731-May-02 9:09
achandra00731-May-02 9:09 
Questionwhy why??? Pin
pnpfriend31-May-02 9:03
pnpfriend31-May-02 9:03 
AnswerRe: why why??? Pin
dazinith31-May-02 9:32
dazinith31-May-02 9:32 
GeneralRe: why why??? Pin
pnpfriend1-Jun-02 5:49
pnpfriend1-Jun-02 5:49 
AnswerHave your ever used debugger? Pin
soptest31-May-02 9:46
soptest31-May-02 9:46 
GeneralRe: Have your ever used debugger? Pin
Tomasz Sowinski31-May-02 10:22
Tomasz Sowinski31-May-02 10:22 
GeneralRe: Have your ever used debugger? Pin
soptest31-May-02 13:32
soptest31-May-02 13:32 
GeneralRe: Have your ever used debugger? Pin
Tomasz Sowinski31-May-02 22:43
Tomasz Sowinski31-May-02 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.