31 2
Contact Author Sign in to rate

(Legacy) Anki Fanfare (Gamification/Feedback)

13.80MB. Updated 2018-12-14.
The author has shared 30 other item(s).

This item is large, and may take some time to download.


Bug Reports: https://github.com/lovac42/Fanfare * Future versions may package themes separately to reduce upload/download time. Update: Some caveats comes with Anki 2.1.17 and later. The current version on ankiweb is limited upto 2.1.16 only. https://github.com/lovac42/Fanfare/releases Fanfare Demo Video Warning: The sound level may be loud for some users, please make sure to start out in low volumes and test new themes first before using them on a daily basis. About In the current Anki setup, we have kung fu cats for rewards and wiener dogs popping up in the middle of a review session. There's also a guy making fart noises intermittently. Not sure what that last one was about...but it's very distracting: cats-dogs-fart, cats-dogs-fart. This addon replaces the previous attempts with a unified theme. NOTE: If you have other gamification addons, please disable them first as they might conflict with this one. Especially Kitten Rewards and Visual Feedback for Review, the predecessors of this addon. Themes Four sample themes are currently available at https://www.dropbox.com/sh/kkiyc9gtcyn11om/AAAh0y4t4HIy2Z53HR5vRjrza You need to download and unzip the files to "fanfare/user_files". - Silhouette: the default theme included with the Anki addon. - YesNo: Simply displays yes and no feedbacks. - Trout_Slap: Quick flashes of trouts. - Bruce_Lee: Sound, images, and teachings of Master Bruce Lee. These themes will become stale when overused. But hopefully, as designers get interested in this, more themes will become available. Audio This addon uses an audio API for playing soundFX which may not be compatible with all devices. It has been tested on Windows only. If you do not hear any sounds, edit the config with the addon manager and set "use_mplayer_for_audio" to true. Doing so will increase the lag time but should be portable across all devices. The volume can be change using the volume mixer of your OS. Config You can use the addon manager to toggle certain features on/off. Anki 2.0 will require the backported addon manager to change config settings. API USED playsound: https://pypi.org/project/playsound/#files Major Changes: v0.0.3 - 12/13/2018: Non beta release, small changes and repackaged themes. Beta2 - 12/01/2018: Fixed some cross platform issues (Thanks ijgnd & AlphaJace) FAQ Why not randomize feedbacks? Rewards should be randomized, feedbacks should not because it is already earned, something expected. Think of it as payday. How would you like it if your boss randomizes your pay date? Randomizing feedback frequency induces stress into your study sessions. Rewards on the other hand are like Xmas bonuses, they should be randomized. Remember, our primary goal here is to learn, gaming elements are added only to aid in learning. Just because an idea is fun for gaming isn't always a good idea for learning. Why insert FX between cards? Anki records the timing of each review; how long it took before the "Show Answer" button was pressed. This information is reflected in your review logs and stats. Inserting FX between cards is the only way to eliminate any discrepancies in timing. Did you get distracted? Were your eyes wondering around looking at kittens or wiener dogs instead of the topic question? Except for day dreaming, it ensures that five seconds is actually five seconds of review time, no random pop ups. Accurate revLog is vital for future projects involving generating matrixes from Anki's review logs. Why the time gap? What's wrong with that? Supermemo forces the user to press the spacebar after each review. This sort pause ensures that users are digesting their studying material one piece at a time. Jumping from card to card without any digestions or reflection will lead to unstable memory and lapses. And these lapses will mount up causing large amounts of reviews. So what's wrong with chewing your food before taking another bite? The pause between cards are theme dependent. It is up to the theme designer to decide how much time to pause, how long they should flash their artwork at the user. If you don't like long pauses, you may change the duration for each theme in the theme setting file. License: This addon is a labor of love and licensed under the GPL. If you find it useful, consider paying something forward by supporting some charitable endeavors. Suggestions: https://iccf-holland.org/ https://www.vim.org/sponsor/index.php Derivative works or forks published with no added values should also include the above statement.


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons Contact Author


on 1602865668
I love this app! I would just like to have 1 more feature and that is:
I use the rememorize addon which I use to reschedule my cards. Sometimes my next interval is tomorrow and I would like it in let's say... 3 days... and so I reschedule it instead of rating it. So I press the ` button and then I type in the date or type in the number of days from now when I want the card to appear. But that doesn't make a sound even though I know the card. I do this often and it has helped me get out of the ease hell. Could you do something about it, please? So I'm not a programmer but I was thinking maybe it's possible to add a command something along these lines:
If you press ` and then whatever and then press enter then sound plays
If you press ` and then whatever and then esc (canceling reschedule) - sound doesn't play.
Is it possible for me to add a command in the code of the addon somehow?
on 1599184391
I've heard this is a great add-on, but I can't use it

An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.

When loading '⁨Anki Fanfare GamificationFeedback⁩':
⁨Traceback (most recent call last):
File "aqt/addons.py", line 211, in loadAddons
File "/Users/MacBook/Library/Application Support/Anki2/addons21/2073603704/__init__.py", line 1, in <module>
from . import main
File "/Users/MacBook/Library/Application Support/Anki2/addons21/2073603704/main.py", line 59, in <module>
from aqt.mediasrv import RequestHandler
ImportError: cannot import name 'RequestHandler' from 'aqt.mediasrv' (/Applications/Anki.app/Contents/MacOS/aqt/mediasrv.pyc)
Comment from author
You were prob reading an old article. I'm afraid this addon is a bit outdated due to the changes made to Anki.
on 1596265004
Brilliant add-on. Definitely improved my overall Anki experience. Is it possible for future updates to support the latest 2.1.29 update on mac? The audio effects still work, but images no longer pop up.
Comment from author
The anki API has changed significantly, and a rewrite is necessary. Looking at the stats, this addon has on average 2-5 downloads a month for the 2-3 years it was posted. Similar addons were posted sometime ago, give them a try. I mainly use this on 2.0, so there isn't a reason I would work on it. Rather, I want to work on newer ideas than to rewrite the same ones over and over. https://www.youtube.com/watch?v=B08Kq_0fkIA
on 1594399595
Very good and helpful addon!

Unfortunately I have a small problem, which I cant report via your bug-link, nor via Contact the author, as both links dont work.
So I'll try it here:

I am also using the addon AwesomeTTS to read vocabularys out loud. Normaly the audio starts automatically after opening the card, with this addon, I can only listen the fanfare sound, and the out-reading of the vocabulary gets blocked. As this is not a problem with the audio on te back of the cards, I guess its because of the overlapping of the fanfare sound and the AwesomeTTS sounds. I already tried to shorten the fanfare sounds to a minimum and even to disable the fanfare sounds in your settings (so I only have the pictures left). But still the automatic out-reading of the vocabularys is blocked. Is this a known problem and is there anything I can do to solve it?
I would be very thankful about your thoughts! :)
on 1592396130
Really like the idea and execution. However, I want to customise the effects of the add-on but am a complete noob with code. Had a look on the GitHub for help with little success (also a noob there). Can anyone explain how to customise the add-on so as to changes the images, sounds, add my own from Google etc? Thanks
on 1591489068
I love this addon!

Is there a way to set the break intermission after a certain amount of time rather than a certain amount of cards? If I wanted to do the Pomodoro schedule so 50 minutes of cards and then it hits me with a 10 min break intermission would this be possible in a future update?

on 1590829516
Warning: the default sounds are quite loud so you might want to edit the audio files.

Good concept. But please, having Ayn Rand in the sample themes is quite controversial and I recommend to rather not advocate her.
Users or the samples may use some video game sounds and images, etc
e. g. https://search.creativecommons.org/photos/3e8bceca-0754-41ef-bf08-c6bc7f6708f4

PS: Here's a brilliant podcast about feedback and learning https://www.npr.org/2020/02/03/802422904/when-things-click-the-power-of-judgment-free-learning

PPS: users, you can change more than it seems prima facie

PPPS: users, find an updated version here: https://github.com/lovac42/Fanfare/releases
Comment from author before post was edited
I cannot include copyrighted content. If you know of any CC material, I'll look into it.

Those links contain copyrighted characters and I can't use them either. So nothing from Nintendo, Saga, DC, Marvel, Disney, Pokemon, etc... Which leaves us with Hitler and Saddam that is license free. https://vignette.wikia.nocookie.net/southpark/images/1/13/Saddam-hussein_%282%29.png

I hadn't notice the loud noise, but yeah maybe if you have headphones on. So do be careful when testing new themes downloaded from the internet. If you're on windows, you can adjust the sound level separate from mplayer.

Config files are for user settings, each theme also comes with a settings.json file that allows theme specific adjustments. Each folder can include a pairs.json file that links the sound to the image, skipping over randomization. So pikachu1 will always say PikaPika, and pikachu2 will always say PikAAaa!!
on 1590329830
awesome work man...
on 1590316948
I liked pretty much becus it was encouraging , everytime to do much better and keep going in the flow . May I know the reason behind an error that pops up after some time ? How can avoid that ? Is there anything that I can put my own breaks ?
on 1590256915
Nice one, really motivates people who Like games i dont think this addon needs more work exept bug fixes, if there are any because its up to the user now to customize this.
There is nothing more beautifull when you have freedom in customization.
on 1589894991
I love this addon. I'm just having an issue with the break part. Every time my study session reaches its break, it sends me an error message. But all the other parts work perfectly. If anyone knows how to solve this issue, please let me know.
on 1589559271
yeahhhh, i have studied hard since i downloaded this add-on ^^ thanks
on 1589528101
I love it.
on 1589434942
I like it!
Is there a setting, which would enable me to change duration - how long the pass button is displayed?

Also need to disable Web Browser search https://ankiweb.net/shared/info/864545277
on 1588452351
Amazing addon, has me feeling motivated!!
on 1585320660
Awesome! The creator has made a great addon. If you put in the right pictures, it will increase one's productivity drastically!
on 1585264382
I also can't get it working, it says the version of anki is incompatible (2.1.22)
Comment from author
It's upgraded, but comes with some caveats: https://github.com/lovac42/Fanfare/releases
on 1585076466
it gives me an error: Cannot install addon due to invalid code or version of Anki.

I have the latest 2.1.22 version of Anki as of 3/24/2020.

Please let me know a fix for this. Thank you and appreciate the work!
Comment from author
It's upgraded, but comes with some caveats: https://github.com/lovac42/Fanfare/releases
on 1584477994
on 1579335925
Awesome thank you so much. Getting a dopamine hit when complete an object is quite motivating to continue study.
on 1578559118
An awesome add-on. You have a great vision for improving Anki, I love your work :)
on 1578490173
Amazing add-on that is a lot more powerful and customizable than the previous Puppy Reinforcement / Visual Feedback add-ons in Anki 2.0. Really loving it so far!

Just wondering - I am trying to change the timings of the images in the settings file but having trouble understanding what each of the values do. Would it be possible to write a brief explanation on what changing these values does? Thank you so much!!

"delay_loots": 50,
"duration_min": 150,
"duration_max": 200,
"duration_meh": 100,
"duration_start_min": 400,
"duration_start_max": 800,
"duration_reload_min": 400,
"duration_reload_max": 800,
Comment from author
This project was never popular to bother with documentation.

_start_ is for the staring FX.
_reload_ for the FX when returning from break.
_meh for the neutral image.
_min value for how long to flash the image if audio was disabled.
_max value prevents long delays in case the audio was 5 seconds long.

Generally, FX delay depends on the audio, an audio clip of 500ms would have an image delayed for 500ms. But it is capped between the _min and _max values.

An audio clip of 2000ms would have the delay capped at _max value. Audio of 10ms will use a delay of _min to prevent seizures and such issue if the image was flashed too quickly.
on 1577070199
Esta funcionando certinho. Eu coloquei o tema de Boku no Hero e ta sendo bem divertido
on 1571617398
great app... idk why I cant just add whatever sounds I want to the folders but photos seem to be fine. any insight on this please? dying to make halo killstreak and killing spree theme
Comment from author
The API used only supports Uncompressed PCM WAV files. This is to prevent lagging issues on different systems.
on 1563017807
Great Add-on. Makes my Anki review time enjoyable.
on 1561697793
I really like this add-ons, it give me some lapses between each card. However, whenever I add some photo and video into the file, it cannot function well. For example, after review some successful review, the rewarding photos cannot show properly. Can you help me to solve the problem?My email is s111059@student.nams.edu.hk OR you can comment the solution in here. I can change the rating after the problem is solved.🙏🏻🙏🏻

Debug info:
Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.14.5
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Anki Fanfare GamificationFeedback, review_heatmap

Caught exception:
File "aqt/webview.py", line 27, in cmd
File "aqt/webview.py", line 85, in _onCmd
File "aqt/webview.py", line 363, in _onBridgeCmd
File "<decorator-gen-106>", line 2, in _linkHandler
File "anki/hooks.py", line 74, in decorator_wrapper
File "anki/hooks.py", line 71, in repl
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/review_heatmap/links.py", line 74, in heatmapLinkHandler
return None if not _old else _old(self, url)
File "aqt/overview.py", line 37, in _linkHandler
File "<decorator-gen-24>", line 2, in moveToState
File "anki/hooks.py", line 74, in decorator_wrapper
File "anki/hooks.py", line 65, in repl
File "aqt/main.py", line 485, in moveToState
File "anki/hooks.py", line 29, in runHook
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/2073603704/fanfare.py", line 85, in onBeforeStateChange
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/2073603704/feedback.py", line 74, in startDeck
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/2073603704/feedback.py", line 84, in _play
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/2073603704/audFeedback.py", line 29, in play
return fx.getDuration()
File "/Users/xujiayan/Library/Application Support/Anki2/addons21/2073603704/sound.py", line 31, in getDuration
File "wave.py", line 499, in open
File "wave.py", line 163, in __init__
File "wave.py", line 130, in initfp
<class 'wave.Error'>: file does not start with RIFF id
Comment from author before post was edited
There is a link at the top for filing bug reports. Addon authors are not obligated to babysit anyone here. If you can't take the proper steps and do your part, then don't use it. Problem solved.
on 1560432707
I made a Super Mario version out of this:
I changed the start image to a "Here we go" image, with the New Super Mario Bros U overworld theme* and the end screen now shows a "Course Clear" picture and plays the according mario tune
I'm now looking forward to my anki reviews :D

*I've cut the theme to about 15 sec. with a fade out
on 1559573889
great! didn't get the concept (and i still don't in a way), but it is a great way to break up the minutiae of doing so many flashcards
on 1554804791
what a good addon,adding some image in the introduction and making a more friendly interface will make it very popular.
Comment from author
Unfortunately, I could not capture the user experience. Screenshots can not represent this addon correctly. So if users will not try an addon because it's missing title images, then it's their loss.
on 1553128551
Great concept but I can't figure out how to stop the massive delay between cards. If there was no delay that would be perfect
Comment from author
Delays are theme dependent, try changing to a different theme with the addon config manager. Theme designers have full control over those settings which ensures that audios are always in sync with the visuals.
on 1544284602
Too much lag in between cards and the gamification should be randomized. I ended up being distracted, instead of focusing and working with a positive reinforcement. I love the idea, but this add-on still needs a work-up.

Edit*: I saw the configurations before my review. There's no option to randomize, only to determine a fixed interval on which you see your reinforcement. The images don't show on the background of the cards, they rather appear alone on the screen, and when they appear it takes 1-2s to get me to another card. That adds up a lot for someone who has >500 cards a day and would use a gamification method to keep it interesting. I mean no disrespect; I love your add-ons.
Comment from author
Check the config options, der!
Edit: Feedbacks are fixed, but intermissions are randomized a bit. I do not agree that feedbacks should be randomized. (But you can put in multi blank images paired with a blank audio.) The exact time delay for feedback reinforcements are theme dependent. You can help out and write some themes or change the theme settings to suit your own needs. The provided themes are only samples to get started on this project.
on 1543588530
Very entertaining, adds some excitement to reviews
on 1543066793