473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Audio/sound line-in detection

Hi all,

I have an audio device connected to my computer through line-in. At not
regular base the device send audio signal to the line-in. Now, what I
need to do is to write an application in VB.NET to monitor the line-in
and in the presence of analog signal I have to call some other
functions. How can detect it ? Any idea?

Thanks,
Juky

Nov 21 '05 #1
1 2965
You have to record continuosly from that line.
You may do this with DirectX or with win32 api functions.(wave...)

When your program records you have to search the audio buffer for some
threshold level.

regards,
Alejandro Lapeyre
"juky" <ju*******@yahoo.com> escribió en el mensaje
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi all,

I have an audio device connected to my computer through line-in. At not
regular base the device send audio signal to the line-in. Now, what I
need to do is to write an application in VB.NET to monitor the line-in
and in the presence of analog signal I have to call some other
functions. How can detect it ? Any idea?

Thanks,
Juky
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ashish | last post by:
I wanted to make a Java application which would dial a telephone number using the modem. When the person on the other end lifts up the telephone (answers the phone), the application should start...
1
by: Daniel Joyce | last post by:
Well, it seems there are groups of python audio interface libraries out there. One problem. I can't tell if any of them support multiple sound cards. I'm working on a project that will require...
2
by: Ivo | last post by:
Hi, I have an audio file (.mid or .wav or .mp3) in an object element: <object id="snd" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"...
1
by: laredotornado | last post by:
Hello, I want to play an audio file embedded on my page by clicking on an audio image and the page change to a new page. Is there a cross-browser Javascript way to do this? Right now the code I...
20
by: Stephen Kellett | last post by:
Hi Folks, How can I play midi and/or audio files using JavaScript? I'm hoping there are some calls/APIs I can use that I am unaware of. My JavaScript book from O'Reilly seems rather lacking in...
0
by: suki | last post by:
Hi! Does anyone know, where i can specify a channel of my sound card to play a mci-video? I created a class Media, where i have 2 functions that are neccessary for playing the movie: ...
0
by: suki | last post by:
Hi! I play a video using mciSendString - statements. The audio is played by the on-board sound device (default sound) Can anyone tell me how to send this sound to an output of my (4 channel)...
1
by: suki | last post by:
Hi! I play a video using mciSendString - statements. The audio is played by the on-board sound device (default sound) Can anyone tell me how to send this sound to an output of my (4 channel)...
3
by: elnazzhonarr | last post by:
Hi My sound driver is Sigma Tel High Definition Audio CODEC. My computer model: DELL inspiron 1420 and my os is win xp professional. but I can not find any suitable sound driver for it,could u plz...
1
by: =?Utf-8?B?bWFsYWs=?= | last post by:
i recently had xp, then isntalled a friends copy of vista then back to xp, but for some reason i cant get no audio device working..i installed the ABIT cd it came with my new motherboard that was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.