Unable to set mic mute

520 views
Skip to first unread message

serbok

unread,
Aug 5, 2010, 10:17:05 PM8/5/10
to Tasker
I need to mute the microphone while recording streaming audio and I
thought Tasker would be a good way to accomplish this. It even seemed
fairly easy to set this up: under application I selected the streaming
audio app and then +'d the MIC MUTE as a task. But nothing has
changed, all my recordings are created with whatever microphone input
"noise" that happens to exist in the recording environment. I believe
when the mic is muted there should be a slashed mic icon notice at the
top. Has anyone ever seen that? I never have. TIA for any help.

wisevillageidiot

unread,
Aug 25, 2010, 10:08:28 PM8/25/10
to Tasker
Noticing the same thing. I really would like to mute the mic on
incoming calls...any help?

On Aug 5, 7:17 pm, serbok <c00xpy...@sneakemail.com> wrote:
> I need to mute the microphone while recording streaming audio and I
> thought Tasker would be a good way to accomplish this. It even seemed
> fairly easy to set this up: under application I selected the streaming
> audio app and then +'d theMIC MUTEas a task. But nothing has

Mark

unread,
Sep 11, 2010, 1:51:34 AM9/11/10
to Tasker
I'm having the same problem.

I'm trying to have an Orientation->Face Down context mute the mic and
then unmute it when flipping it back face up.

If I set the orientation before answering a call it works, but during
the call mute does not work. The orientation works properly during
the call, I've confirmed that the proper profile is being activated.
It's just the mute function that seems to not work.

Pent

unread,
Sep 11, 2010, 5:52:58 AM9/11/10
to Tasker
OK, will take a look.

Pent

Pent

unread,
Sep 11, 2010, 5:56:27 AM9/11/10
to Tasker
> If I set the orientation before answering a call it works, but during
> the call mute does not work.  The orientation works properly during
> the call, I've confirmed that the proper profile is being activated.
> It's just the mute function that seems to not work.

If the Mute action doesn't work during the call but it does at other
times,
it's pretty clear it's the phone app interfering in some way, so
there's not much I can do I think, sorry.

Pent

Mark

unread,
Sep 11, 2010, 1:29:37 PM9/11/10
to Tasker
Thanks for the quick response, Pent.

It turns out it was a bit of user error and partial functionality with
the phone app.

If mute is set via facing the phone face down prior to an incoming
call the mute button is highlighted and visually displays mute. While
a call is coming in, moving the phone face up DOES toggle mute but the
button doesn't update to reflect this.

If the call is already in progress the button doesn't visually update
when the Mic is toggled, but the mute Mic function is definitely
working.

It would be extremely useful to have the button update appropriately
to see a standing status of the mute function. I expect that is the
phone app and not tasker?

Pent

unread,
Sep 11, 2010, 1:55:32 PM9/11/10
to Tasker
> If the call is already in progress the button doesn't visually update
> when the Mic is toggled, but the mute Mic function is definitely
> working.

Ah well, that's the important bit.

> It would be extremely useful to have the button update appropriately
> to see a standing status of the mute function. I expect that is the
> phone app and not tasker?

Yes.

I guess you could flash MUTED every couple of seconds while it's
muted.
There's not variable for it ATM though, so it might get out of sync if
you
then press the button.

Will add %MUTED to the todo list.

Pent

Tim

unread,
Sep 14, 2010, 1:34:07 AM9/14/10
to Tasker
I'm having the same problem as the original poster. I need to mute
the microphone while streaming video using the Justin.tv application.
Mic Mute functionality doesn't seem to work at all. I tried disabling
it on app startup. I tried toggling it on the camera button click so
that I could try disabling it both before and after the justin.tv
application started up. No luck. Has anyone had any luck getting
this to work for apps outside of a call? Does anone know of any other
way to disable the mic?


Tim

unread,
Sep 14, 2010, 1:58:54 AM9/14/10
to Tasker
I simplified things. I created widgets to directly set "Mic Mute" to
On (I tried Off too.) Nothing worked. I even tried creating timer
widgets to reset the value in case the app was changing it at
startup.

So, is this a bug, or does Tasker not have control over the
microphone?

Pent

unread,
Sep 14, 2010, 4:46:38 AM9/14/10
to Tasker
I did some testing with the phone app N1/2.2.

I discovered that when the phone starts dialling mic is set to unmuted
by the phone app / audio system.
And again when the other end picks up the phone. After that, you can
mute without it being reverted.

I'm assuming that that's what's happening with other apps too, I'll
put a note in the action help.

There's not much more I can do, even if that makes the action useless
in some circumstances.

Pent

Tim

unread,
Sep 14, 2010, 1:12:10 PM9/14/10
to Tasker
If the app is un-muting my timer widget should have solved the
problem. I had a timer widget setting Mic Mute every second plus a
vibrating alert. So, while running the streaming app I can hear/feel
the vibration every second verifying that the action is being run.
But the mic stays active. If the app was battling me for the
microphone I would expect a back and forth with the mic being off for
some period of time before the app reenables it. It seems more like
the Mic Mute action is not completing at all. Possibly it's a
permission or a scope thing. I'm wondering if the API functions you
are using to mute are designed to work only in-call. Has anyone
successfully muted the mic for a non-call application? I'll do some
more testing with other apps that use the mic and let you know what I
find.

Tim

P.S. Pent, outstanding app. It's the best thing on my phone!

Pent

unread,
Sep 14, 2010, 1:21:53 PM9/14/10
to Tasker
Tim,

there's only a single API call.

It either works or it doesn't, I know of no other way to control the
mic.

I agree with your conclusion on the loop.

I've said often before: Tasker has such wide functionality and Android
is so
fragmented that there are bound to be combinations which just don't
work.

I admire your persistence however :-)

Pent

Michael Dycus

unread,
Apr 8, 2014, 11:26:22 AM4/8/14
to tas...@googlegroups.com
Is this unchanged after a few years? I also need to mute for non phone app.
Reply all
Reply to author
Forward
0 new messages