Page 1 of 1

Sound_level to compare

Posted: 26 Feb 2016 11:43
by danusko
Hi,
I try to set volume of ringing to maximum when is big noise around.
I try to use experimental function sound level but I can not figured out how to compare level of noise around.
I tried compare variable sound_level but it seems, that this variable app doesn't know.
I tried this expression
sound_level>1000
but it doesn't works. I tried appear {sound_level} also only sound_level in message box but it return NULL.
Any suggestions?
thx

Re: Sound_level to compare

Posted: 26 Feb 2016 20:05
by Martin
Hi,

You can use a condition Sound Level: >0 to determine the sound level. Connect the True-output to an action Notification on Screen: {sound_level}.
Executing the flow should show the current level. Does this procedure work?

Regards,
Martin

Re: Sound_level to compare

Posted: 26 Feb 2016 21:04
by danusko
now, it's works. But I figured ourout, that it didn't works because phone was ringing and in this time is used microphone by other apps(phone) and because this it didn't workes?

Re: Sound_level to compare

Posted: 26 Feb 2016 21:07
by Martin
When another app already uses the microphone, Automagic can usually not record audio.

Re: Sound_level to compare

Posted: 26 Feb 2016 21:26
by danusko
yes, of course my bad. Thx for help I'll try use periodic trigger.