Page 1 of 1

Start Recording Audio: Option to to ignore silence

Posted: 01 Jul 2015 12:31
by dah
Hi Martin,

It would be great if you could add an option for the action Start Recording Audio to ignore silence (or even better, noise below a certain volume).

For example, I'd like to create a voice note taking flow that I can use while reading a book.

This would also be useful to create a Automagic version of the app Alibi (https://play.google.com/store/apps/deta ... libi.alibi).

This feature would probably useful most of the time the action Start Recording Audio is used.

What do you think?

Best regards,
Daniel

Re: Start Recording Audio: Option to to ignore silence

Posted: 03 Jul 2015 11:27
by Martin
Hi Daniel,

I have the feeling that this could get quite complex, especially since audio processing is not really my field of experience.
I'll take it to the list of features under consideration but I will not be able to start in the short term since the list is already quite long...

You could try to use trigger Sound Level to start recording when the sound level is above a certain level but this will most likely miss the first spoken word and you would have to disable the flow containing the trigger so that the microphone is released and action Start Recording Audio can start to record the audio.

Regards,
Martin

Re: Start Recording Audio: Option to to ignore silence

Posted: 03 Jul 2015 17:24
by dah
Thanks, Martin.

I'll try your workaround.

Best regards,
Daniel

Re: Start Recording Audio: Option to to ignore silence

Posted: 03 Jul 2015 17:34
by dah
I just stumbled upon the following StackOverflow question which may be useful when you try to implement this feature:

Android audio capture silence detection
http://stackoverflow.com/questions/1914 ... -detection

The first answer seems to have a working code example.