| | |
audio level detection
![]() |
•
•
Join Date: Jun 2005
Posts: 7
Reputation:
Solved Threads: 0
I was wondering if anybody has used the audio level detection software available at http://www.vbcodesource.com/downloads/audiolevel.zip
When I download the source code and run it I get two errors:
"Couldn't get wavein meter"
"Couldn't get waveout meter"
I am a beginner programmer and appreciate any advice or suggestions.
Thanks!
Joe
PS I am running Windows 2000 on an IBM Thinkpad
When I download the source code and run it I get two errors:
"Couldn't get wavein meter"
"Couldn't get waveout meter"
I am a beginner programmer and appreciate any advice or suggestions.
Thanks!
Joe
PS I am running Windows 2000 on an IBM Thinkpad
The exe is compressed zip. Seems safe enough. I see if i can get the error.
.: We may acquire liberty, but it is never recovered if it is lost :.
irc://irc.rizon.net/#itf
irc://irc.rizon.net/#itf
Larmit,
Many sound cards don't have vu meters.
Have you considered putting the card in recording mode and grabbing some samples? You could loop round until an input is detected, or just use it as an indicator.. if you use 8-bit mode it makes it dead easy as the samples will be 127 if there's no input and anything else if there is. Hope this makes sense..
I've got some code somewhere that will do this if you need it.
Best of luck
Alan
Many sound cards don't have vu meters.
Have you considered putting the card in recording mode and grabbing some samples? You could loop round until an input is detected, or just use it as an indicator.. if you use 8-bit mode it makes it dead easy as the samples will be 127 if there's no input and anything else if there is. Hope this makes sense..
I've got some code somewhere that will do this if you need it.
Best of luck
Alan
Larmit..
Please see the attached zipped VB6 project. The code is thoroughly commented so hopefully should be easy to use...
The pre-compiled exe was compiled on a Win98SE system and because of the nature of the API used (winmm.dll) you will need to compile it again if the target system is NT/W2000/XP.
If it doesn't run as expected, I can do a version for you with lots of diagnostics in so we can see at which point it is failing.
Don't forget that this works by putting the sound driver in record mode, so you'll need to set up the Windows audio recording mixer to actually give you an input..
Let me know how you get on.
Usual disclaimers apply about this developmental software...
Regards
Alan
Please see the attached zipped VB6 project. The code is thoroughly commented so hopefully should be easy to use...
The pre-compiled exe was compiled on a Win98SE system and because of the nature of the API used (winmm.dll) you will need to compile it again if the target system is NT/W2000/XP.
If it doesn't run as expected, I can do a version for you with lots of diagnostics in so we can see at which point it is failing.
Don't forget that this works by putting the sound driver in record mode, so you'll need to set up the Windows audio recording mixer to actually give you an input..
Let me know how you get on.
Usual disclaimers apply about this developmental software...
Regards
Alan
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Sort a dynamic array of structs
- Next Thread: build help system...
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





