🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
5 messages
5 total messages Started by Liam Mullane Wed, 17 Jul 2002 11:20
detecting activity on LineIn
#954
Author: Liam Mullane
Date: Wed, 17 Jul 2002 11:20
6 lines
1022 bytes
Hi,

Anybody  got example code on detecting activity on LineIn

thanks
Liam
Re: detecting activity on LineIn
#955
Author: Michael Warner
Date: Wed, 17 Jul 2002 15:06
9 lines
1438 bytes
On Wed, 17 Jul 2002 12:20:48 +0100, "Liam Mullane"
<STOPSPAM.lmullane@dairymaster.com> wrote:

>Anybody  got example code on detecting activity on LineIn

Do you mean an audio input? Look for code showing the
use of the waveIn* multimedia functions to receive audio
data. Then it's just a matter of examining the samples to
detect the condition you want.
Re: detecting activity on LineIn
#961
Author: Lucian Wischik
Date: Mon, 22 Jul 2002 13:16
14 lines
1305 bytes
"Liam Mullane" <STOPSPAM.lmullane@dairymaster.com> wrote in message
news:3d355327_1@dnews...
> Anybody  got example code on detecting activity on LineIn

I wrote some components to get the audio from linein. In particular, once a
second or so, you could example the TRecorder component's buffer and see if
there's anything in it. The components are at

http://www.wischik.com/lu/programmer/

and search the page for "AudioIn"

--
Lucian
Re: detecting activity on LineIn
#963
Author: Andrei
Date: Tue, 23 Jul 2002 23:16
7 lines
1131 bytes
Lucian, your components look great but you have to pardon my stupidity if I
ask what is the "source" property for all of your components?

-- 
Andrei
REMOVE_sezna2000@yahoo.com
Re: detecting activity on LineIn
#964
Author: Lucian Wischik
Date: Wed, 24 Jul 2002 10:10
22 lines
1755 bytes
"Andrei" <address@in.the.sig> wrote in message news:3d3de3c9$1_2@dnews...
> Lucian, your components look great but you have to pardon my stupidity if
I
> ask what is the "source" property for all of your components?

It's in the readme file, in the HELP directory :)

The TRecorder captures sound from waveIn.

The FFT takes the stuff from the TRecorder, and transforms it. That means
that you set the TFFT's "Source" property to point to the TRecorder.

The TSpectralView viz. takes stuff from the FFT, and visualises it. That
means that you set TSpectralView's "Source" property to point to the TFFT.


(all of these "Source" properties allow the components to work
automatically, without writing any code. You can do it manually instead if
you prefer.)

--
Lucian
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads