From: Carl Worth Date: Mon, 30 Mar 2009 01:13:37 +0000 (-0700) Subject: Replay audio challenges after the correct answer is shown X-Git-Url: https://git.cworth.org/git?p=mnemon;a=commitdiff_plain;h=76e8fc87b1de4f8967ad86287aa026956074c284 Replay audio challenges after the correct answer is shown This is necessary reinforcement, since unlike the other challenge types, the original channel is no longer observable when the correct answer is displayed. --- diff --git a/mnemon.c b/mnemon.c index 87e1fd0..054e21c 100644 --- a/mnemon.c +++ b/mnemon.c @@ -1289,6 +1289,13 @@ mnemon_do_challenges (mnemon_t *mnemon) (start.tv_sec + start.tv_usec / 1e6), category->time_limit); free (response); + + /* Replay audio challenges for reinforcement. */ + if (category->challenge_type == CHALLENGE_TYPE_AUDIO) { + mnemon_show_challenge (mnemon, category->challenge_type, + item->challenge); + sleep (1); + } } while (mnemon->to_introduce || mnemon->unlearned || mnemon->to_master > 0);