Article View: be.comp.programming
Article #14638Re: full duplex audio in windows (VC++)
From: Tom De Muer
Date: Fri, 19 Jan 2001 00:25
Date: Fri, 19 Jan 2001 00:25
37 lines
2374 bytes
2374 bytes
Hallo,
I assume you know dutch, otherwise you can contact me for a translation.
Inderdaad er is een "eenvoudige" manier om dat te doen in real-time: via
DirectSound. Als je dit doet, gebruik je best de DirectX8SDK (wel zo'n
slordige 145MB download als je die volledig wilt). Er zijn wel
alternatieven voor de vrij lastige interface van DirectSound waaronder:
OpenAL en FMOD. Deze zijn te vinden:
- www.openal.org
- www.fmod.org
Beiden zijn trouwens gratis, bij openal krijg je de broncode erbij, bij fmod
enkel als je een paar duizend dollar ophoest. OpenAL is in GNU free license
en fmod is enkel voor gratis software gratis anders moet je licentiekosten
betalen, maar alle info vind je op de respectievelijke sites. Bij fmod zit
er trouwens een voorbeeld van hoe je real-time filtering doet.
De voorbeelden zijn trouwens voor VC++.
Met vriendelijke groeten,
Tom
"Theo Verhoeven" <vprog@netscape.net> wrote in message
news:pfJ96.4098$em1.156828@news.chello.be...
> Hello,
>
> I need to write an application that records sound to a buffer, processes
> those samples, and then plays the samples to the sound card. Up till now I
> used to read N samples from a .wav file, process them, and then write
those
> N samples to another .wav file, but I have no idea how to do the real-time
> input/output.
>
> Is there an easy way (available library) for doing that?
>
>
Technical Details
Message-ID:
<9481ob$19d$1@news1.skynet.be>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!skynet.be!poster!not-for-mailReferences:
<pfJ96.4098$em1.156828@news.chello.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,cf9a6beb1a3a8d42 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2001-01-18 16:29:03 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!skynet.be!poster!not-for-mail From: "Tom De Muer" <tom.demuer@skynet.be> Newsgroups: be.comp.programming Subject: Re: full duplex audio in windows (VC++) Date: Fri, 19 Jan 2001 01:25:26 +0100 Organization: Belgacom Skynet SA/NV Lines: 39 Message-ID: <9481ob$19d$1@news1.skynet.be> References: <pfJ96.4098$em1.156828@news.chello.be> NNTP-Posting-Host: adsl-1674.turboline.skynet.be X-Trace: news1.skynet.be 979864139 1325 62.4.166.138 (19 Jan 2001 00:28:59 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 19 Jan 2001 00:28:59 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400