Access sound card in delphi?

Status
Not open for further replies.

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,183
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,636
waveinaddbuffer scope delphi

Hello
How I can access the sound card in delphi,and I get voice signal samples ?
 

Hi,
if u r using windows platform, the use the Windows SDK to access the sound card and get voice signal samples,
more specifically, Windows SDK provided access to ur sound card functionality via the Windows Multimedia SDK and this has the total Multimedia sdk, i think u need to use Multimedia Audio sdk, this has a sdk component "Waveform Audio" and this sdk provide u functions to access, record and play voice signals,
if u have installed windows plaform sdk then look for "waveInAddBuffer" or waveInxxxx() functions and u r on ur way.
one more thing u need to figure out how to call the winapi functions from delphi if u have not called them before, read the delphi compiler documentation.
 

there is a series of articles in Elektor 2005 about using Delphi to build scope and signal gen using sound card, and explain how to use Windows APIs (through Delphi)to access the sound card
hope it helps....
 

An example of using the soundcard and then filter it (using FFT) can be found here:

**broken link removed**
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…