Temporarily hide cards (not notes!) with audio

Sometimes when in public I don’t want to review cards that have audio. As a workaround I have been using a filtered deck with the following filter:

[sound deck:Default (is:due or is:new)

So when I want to review without sound I first rebuild that filtered deck, and after my session just empty it again. It works nicely with a small caveat: Cards that actually have no audio on them because the affected field is not displayed either in the front nor in the back but whose note contains audio are also excluded. This is for instance the case with language cards where sometimes I check the pronunciation (needs audio) and sometimes the spelling (no audio).

I suspect that there is no way to achieve this, but maybe someone has a suggestion.

Maybe try this other filter if you have your audio in a dedicated field, then you can search for cards that dont have audio in them like this:

soundField:

Heres the docs for more details on this

You can add additional filters to that line, you know hot that goes :wink:

I think that should give you what you want.

1 Like

Card types can be renamed. You can also use wildcards to search for card types when using the browser or when creating filter decks. If your notetypes are organized into card types that contain sound and card types that do not, try adding a marker string (such as [no sound]) only to the names of the card types that do not contain sound. That way, when you create a filter deck, you can search for "card:*[no sound]*" and create a deck consisting of only cards that do not contain sound.

Let’s say that one of your note types currently has the following structure:

Notetype A

  • Fields
    • lang A
    • lang B
    • sound
  • Card types
    • Card 1
      • Front
        • lang A
        • sound
      • Back
        • lang B
    • Card 2
      • Front
        • lang B
      • Back
        • lang A
    • Card 3
      • Front
        • lang A
      • Back
        • lang B

In this case, try renaming Cards 2 and Card 3 to Cards 2 [no sound] and Card 3 [no sound]. Then search for "card:*[no sound]*" and only cards of those card types should match. Do the same for the other note types.

3 Likes

Nice idea! Since I have quite a few different note types (e.g. one per language) it would be a little bit more complicated, but probably doable. Thanks!

1 Like

Also a nice workaround, thanks!

1 Like