Sound_level to compare

Post your questions and help other users.

Moderator: Martin

Post Reply
danusko
Posts: 7
Joined: 16 Jan 2016 07:33

Sound_level to compare

Post by danusko » 26 Feb 2016 11:43

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

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

Re: Sound_level to compare

Post by Martin » 26 Feb 2016 20:05

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

danusko
Posts: 7
Joined: 16 Jan 2016 07:33

Re: Sound_level to compare

Post by danusko » 26 Feb 2016 21:04

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?

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

Re: Sound_level to compare

Post by Martin » 26 Feb 2016 21:07

When another app already uses the microphone, Automagic can usually not record audio.

danusko
Posts: 7
Joined: 16 Jan 2016 07:33

Re: Sound_level to compare

Post by danusko » 26 Feb 2016 21:26

yes, of course my bad. Thx for help I'll try use periodic trigger.

Post Reply