Start Recording Audio: Option to to ignore silence

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
dah
Posts: 20
Joined: 25 Feb 2014 17:15

Start Recording Audio: Option to to ignore silence

Post by dah » 01 Jul 2015 12:31

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Start Recording Audio: Option to to ignore silence

Post by Martin » 03 Jul 2015 11:27

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

dah
Posts: 20
Joined: 25 Feb 2014 17:15

Re: Start Recording Audio: Option to to ignore silence

Post by dah » 03 Jul 2015 17:24

Thanks, Martin.

I'll try your workaround.

Best regards,
Daniel

dah
Posts: 20
Joined: 25 Feb 2014 17:15

Re: Start Recording Audio: Option to to ignore silence

Post by dah » 03 Jul 2015 17:34

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.

Locked