Is there a way to check if an iPad is muted?

Is there a way to see if people have muted their iPads? Or if their volume level is low?

I want to display a warning when their sound is too low or muted. 

My app uses audio to guide the user so without audio the app does not work as intended.

Also a lot of people are unaware that they can adjust the volume of their iPad, at least it seems that way with the amount of emails I get with people complaining that the audio is not working while they have muted their device.

Thanks 

A lot of sound-based games have a splash screen that says “This game is only playable with sound turned on” or something to that effect… Just an idea.

  • C

That would work, if it wasn’t for the fact that people really are convinced that their sound is working, cause youtube has audio (it overrides the mute switch).

They are just unaware that they have switched the mute button.

In some apps I have a text that tells them what to do if there is no audio. But it takes up screen real estate.

Not sure about muting, but you can check the volume with:

[lua]local volume = audio.getVolume()[/lua]

It’s going to return a percentage (0-1), so you could look for whatever threshold you wanted.  I’m curious if it returns 0 when the device is muted…

source

Hope that helps.

Isn’t that the volume i have to set myself? With setVolume?

Tested it and it returns the volume you set yourself with setVolume.

Right you are.  Hmmm, guess I’ve never checked for that situation before.  That would be a useful function to have.

Cheers.

A lot of sound-based games have a splash screen that says “This game is only playable with sound turned on” or something to that effect… Just an idea.

  • C

That would work, if it wasn’t for the fact that people really are convinced that their sound is working, cause youtube has audio (it overrides the mute switch).

They are just unaware that they have switched the mute button.

In some apps I have a text that tells them what to do if there is no audio. But it takes up screen real estate.

Not sure about muting, but you can check the volume with:

[lua]local volume = audio.getVolume()[/lua]

It’s going to return a percentage (0-1), so you could look for whatever threshold you wanted.  I’m curious if it returns 0 when the device is muted…

source

Hope that helps.

Isn’t that the volume i have to set myself? With setVolume?

Tested it and it returns the volume you set yourself with setVolume.

Right you are.  Hmmm, guess I’ve never checked for that situation before.  That would be a useful function to have.

Cheers.

Hi Juf Jannie :slight_smile:

Same problem here :

A lot of users are convinced that their sound is working when they have switched the mute button.

Some of them wrote bad reviews like this one for my app “This app doesn’t work. No sound”.

For my part I’ve already seen applications that prevent the mute button to be orange by displaying an alert.

I don’t know if it’s possible to have this information with Corona.

An answer from a corona staff member would be appreciated.

Thanks a lot

Best

Olivier

Same problem in one of my apps. Lots of bad reviews complaining about missing audio.

I spent days examining what the problem could be… until I realised some users didn’t  know how to handle the mute button.

It would be nice with some sort of solution to this problem.

+1 one would be great to have a simple audio function that we can call to check if mute is on or not.

This causes a lot of support tickets from people who don’t understand that the mute is on.

Hi Juf Jannie :slight_smile:

Same problem here :

A lot of users are convinced that their sound is working when they have switched the mute button.

Some of them wrote bad reviews like this one for my app “This app doesn’t work. No sound”.

For my part I’ve already seen applications that prevent the mute button to be orange by displaying an alert.

I don’t know if it’s possible to have this information with Corona.

An answer from a corona staff member would be appreciated.

Thanks a lot

Best

Olivier

Same problem in one of my apps. Lots of bad reviews complaining about missing audio.

I spent days examining what the problem could be… until I realised some users didn’t  know how to handle the mute button.

It would be nice with some sort of solution to this problem.

+1 one would be great to have a simple audio function that we can call to check if mute is on or not.

This causes a lot of support tickets from people who don’t understand that the mute is on.

We are also receiving a lot of complaints from users who believe that our apps have no sound, when in reality their iPad is in mute mode. Is there a way to override the iPad’s mute setting, or alternatively identify that the iPad is in mute mode so we can display an in-app warning?