Anki-Android
Anki-Android copied to clipboard
Temporary global mute
Is your feature request related to a problem? Please describe. I like listening to music revising. However, Ankidroid plays audio over it and I think makes the music quieter while the audio is playing, and I have to turn the deck's sound off every time and turn it on again for when I'm revising without music.
Describe the solution you'd like A mute button, at the top or somewhere else easily accesible, that mutes all sound and resets when the app is restarted. Maybe also a volume slider when you hold it down or something along those lines, so you can have the audio balance you want - you'd have to stop it muffling the audio though.
Additional context Anki desktop doesn't have this feature either, though you can change it in your DE's audio mixer.
Sorry if this is a dupe; I couldn't find an issue like this one.
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing
If you are using a Samsung phone, you should be able to download an app called Sound Assistant, which can set a different audio level for each app.
If your phone is rooted, you can use this app as well
Otherwise, I suggest disabling audio autoplay in your deck options.
The asked feature itself (A mute button, at the top or somewhere else easily accesible, that mutes all sound and resets when the app is restarted.
) is too specific for an use case IMO and a bit hard to implement and not easy for new users to grasp, so I don't feel that it is worth the work
I'd second this feature request, it would be very useful with the same scenario.
I totally understand that it could be hard to implement.
But as for hard to grasp - most learning apps and online courses do have options like "I can't speak right now" and "I can't listen right now" that work exaclty as described above, that is for the current session.
Thirded
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
i really hate these kinds of bots.
Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically
.
I thought I should add that the vast majority of Android OSes have no mixer option like on Samsung phones and that most users don't want to root their phones. I'm now looking into the root option out of desperation.
On a separate note, I don't think it'd be hard to implement. I'm not an Android developer, but it can't be much harder than have a mute button that toggles a global variable and then in whatever function creates a sound have it check that variable for whether or not that sound should be played. If I was better at Android development, had a chance at understanding AnkiDroid's code, and actually understood git merges and the like I'd make it myself. Unfortunately I am currently none of those things.
Sorry if I spoke too much or if I spoke disrespectfully: it wasn't intentional; I'm just autistic.
Hi! I would like to work on this issue. Please let me know if the following seems fine:
-
Location: Toggle under
Settings -> General -> Studying
. - Behavior: Pauses auto audio/video playback across all the decks until the app is restarted or is re-toggled.
@BrayanDSO I don't particularly want this to add to the proliferation of settings.
Is there somewhere in the Reviewer-specific settings where this would fit, without adding too much to the bloat?
Having a real audio player in the reviewer would be a huge advancement in usability, and also could fit stuff like that. Here's a mock:
if there's only one track, don't show the track selector button. Also, probably put it at the right of the play button.
If there aren't many important options to add there, the options menu could be replaced with just the global mute button and/or autoreplay.