22 May '13 - 19:16
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
detecting amplitude threshold on the RECORDCHAN
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: detecting amplitude threshold on the RECORDCHAN (Read 6091 times)
Sam
Guest
detecting amplitude threshold on the RECORDCHAN
«
on:
24 Aug '03 - 20:57 »
Quote
Hi,
Any ideas about this? I want to have the Microphone monitor the room constantly, and if somebody starts talking (same thing as the volume breaks a threshold), start recording for 5 seconds and save to file. I know I should be recording all the time, but what is the most reasonable way of checking if the threshold has been broken, to start saving the buffer for 5 seconds?
Sam
Logged
sam
Guest
Re: detecting amplitude threshold on the RECORDCH
«
Reply #1 on:
26 Aug '03 - 17:49 »
Quote
No suggestions anyone?...
Logged
Creadig
Posts: 71
Re: detecting amplitude threshold on the RECORDCH
«
Reply #2 on:
26 Aug '03 - 19:24 »
Quote
Try detecting silence on the recorded buf.
when the silence is broken.. start record for 5 secs.
i hope this help.
Logged
bigjim
Posts: 232
Re: detecting amplitude threshold on the RECORDCH
«
Reply #3 on:
26 Aug '03 - 23:41 »
Quote
Just have a loop that uses Bass_ChannelGetLevel and wait for the level to jump above a certain level. I have some code somewhere for a voice activated call recorder if you want it.
Logged
Creadig
Posts: 71
Re: detecting amplitude threshold on the RECORDCH
«
Reply #4 on:
27 Aug '03 - 03:59 »
Quote
I have some code somewhere for a voice activated call recorder if you want it.
Interesting!.. code in vb6?.. can you send it to my e-mail?
<
creadig@hotmail.com
>
Thanks BigJim.
Logged
bigjim
Posts: 232
Re: detecting amplitude threshold on the RECORDCH
«
Reply #5 on:
27 Aug '03 - 12:31 »
Quote
Sorry its in delphi 4
Logged
Sam
Guest
Re: detecting amplitude threshold on the RECORDCH
«
Reply #6 on:
27 Aug '03 - 19:49 »
Quote
Thanks guys,
So I took the average channel level of each mic (left and rught) during silence, and set the threshold to that. Its not really accurate, but it seems to do the trick. Sometimes there is no sound and it starts, and sometimes there is speech and it doesn't. But the majority of the time it works.
Thanks,
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
detecting amplitude threshold on the RECORDCHAN
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...