-
-
Notifications
You must be signed in to change notification settings - Fork 715
Replay button #2440
Replies: 1 comment · 2 replies
-
Hi @HannaKdeSouza, Since the #595 discussion one of the things that has changed in jsPsych is that we standardized all response data to use the name Try changing this line... if(data.values()[0].button_pressed == 0){ ...to this: if(data.values()[0].response == 0){ |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you! It almost works. It works well when the replay button is hit. If the person presses 'rate' instead, it will play the stimuli again instead of going to the rating screen. This isn't a big problem as after that it does move forward and it isn't really a big deal for me if the participants are forced to listen to each stimuli twice before being able to rate it. However, there's now something else unexpected happening when I'm running the experiment in cognition.run and I yet again don't know where the problem is as I can start the experiment without any problems. At some point of the experiment (different trials and different stages- tried three times), the experiment stops and I get the error message "Uncaught TypeError: Cannot read properties of undefined (reading 'prequestion')". When I click to see where the error lies I get "var v = this.timeline_parameters.timeline_variables[this.progress.order[this.progress.current_variable_set]][variable_name];" with "variable name" underlined as if there was some sort of mistake in my timeline variables. I've checked them several times and the error occurs with different trials, so it's not that. I must say I'm loving jsPsych! I have no previous coding experience and with the tutorials, youtube videos and this discussion forum, I've managed to create several experiments and collect data that otherwise would have been impossible! My whole code is this: var jsPsych =initJsPsych({
override_safe_mode: true,
use_webaudio: false,
show_progress_bar: true,
auto_update_progress_bar: false,
});
var timeline = [];
var images = ['instructions_1.jpg', 'instructions_2.jpg', 'instructions_3.jpg'];
var audio = [
"beat_sp26.wav",
"beat_sp36.wav",
"beat_sp42.wav",
"beat_sp45.wav",
"beat_sp47.wav",
"beat_sp55.wav",
"beat_sp57.wav",
"beat_sp62.wav",
"beat_sp73.wav",
"beat_sp74.wav",
"beat_sp80.wav",
"beat_sp62.wav",
"bed_sp26.wav",
"bed_sp28.wav",
"bed_sp36.wav",
"bed_sp37.wav",
"bed_sp38.wav",
"bed_sp40.wav",
"bed_sp41.wav",
"bed_sp42.wav",
"bed_sp46.wav",
"bed_sp47.wav",
"bed_sp55.wav",
"bed_sp57.wav",
"bed_sp61.wav",
"bed_sp63.wav",
"bed_sp65.wav",
"bed_sp69.wav",
"bed_sp71.wav",
"bed_sp72.wav",
"bed_sp73.wav",
"bed_sp74.wav",
"bed_sp25.wav",
"bed_sp51.wav",
"bed_sp76.wav",
"bet_sp27.wav",
"bet_sp36.wav",
"bet_sp37.wav",
"bet_sp47.wav",
"bet_sp55.wav",
"bet_sp61.wav",
"bet_sp63.wav",
"bet_sp69.wav",
"bet_sp71.wav",
"bet_sp73.wav",
"bet_sp74.wav",
"bet_sp26.wav",
"bet_sp25.wav",
"bet_sp62.wav",
"bit_sp26.wav",
"bit_sp36.wav",
"bit_sp46.wav",
"bit_sp62.wav",
"bit_sp69.wav",
"bit_sp25.wav",
"bit_sp38.wav",
"bit_sp41.wav",
"bit_sp42.wav",
"bit_sp63.wav",
"buck_sp27.wav",
"buck_sp36.wav",
"buck_sp42.wav",
"buck_sp45.wav",
"buck_sp55.wav",
"buck_sp57.wav",
"buck_sp66.wav",
"buck_sp69.wav",
"buck_sp73.wav",
"buck_sp74.wav",
"buck_sp37.wav",
"buck_sp25.wav",
"buck_sp38.wav",
"buck_sp58.wav",
"buck_sp62.wav",
"buck_sp76.wav",
"buck_sp80.wav",
"bug_sp26.wav",
"bug_sp27.wav",
"bug_sp36.wav",
"bug_sp38.wav",
"bug_sp42.wav",
"bug_sp44.wav",
"bug_sp46.wav",
"bug_sp51.wav",
"bug_sp55.wav",
"bug_sp57.wav",
"bug_sp63.wav",
"bug_sp69.wav",
"bug_sp71.wav",
"bug_sp73.wav",
"bug_sp74.wav",
"bug_sp25.wav",
"bug_sp47.wav",
"bug_sp76.wav",
"bug_sp58.wav",
"bug_sp62.wav",
"bug_sp66.wav",
"did_sp62.wav",
"did_sp25.wav",
"did_sp41.wav",
"did_sp42.wav",
"did_sp46.wav",
"did_sp48.wav",
"did_sp76.wav",
"peak_sp26.wav",
"peak_sp58.wav",
"peak_sp55.wav",
"peak_sp25.wav",
"peak_sp48.wav",
"peak_sp50.wav",
"peak_sp80.wav",
"pick_sp25.wav",
"pick_sp38.wav",
"pick_sp42.wav",
"pick_sp51.wav",
"pick_sp63.wav",
"pick_sp36.wav",
"pick_sp41.wav",
"pick_sp46.wav",
"pick_sp57.wav",
"pick_sp65.wav",
"pick_sp73.wav",
"pick_sp74.wav",
"pick_sp76.wav",
"pub_sp29.wav",
"pub_sp40.wav",
"pub_sp41.wav",
"pub_sp42.wav",
"pub_sp67.wav",
"pub_sp25.wav",
"pub_sp51.wav",
"pub_sp73.wav",
"pup_sp25.wav",
"pup_sp29.wav",
"pup_sp41.wav",
"pup_sp42.wav",
"pup_sp51.wav",
"pup_sp61.wav",
"pup_sp69.wav",
"pup_sp27.wav",
"pup_sp44.wav",
"pup_sp46.wav",
"pup_sp62.wav",
"pup_sp38.wav",
"pup_sp40.wav",
"pup_sp73.wav",
];
var preload = {
type: jsPsychPreload,
images: images,
audio: audio
};
timeline.push(preload);
var welcome_trial2 = {
type: jsPsychHtmlButtonResponse,
stimulus: '<span style="font-size:40px;"> Rating task </span>',
choices: ['Continue'],
margin_vertical: '40px',
response_ends_trial: true
};
timeline.push(welcome_trial2);
var name_trial = {
type: jsPsychSurveyText,
questions: [
{prompt: "To start with, please write your full name"}
],
};
timeline.push(name_trial);
var instructions = {
type: jsPsychInstructions,
pages: ['<p> Please wear headphones during the task and make sure you are in a quiet environment where you can focus.</p>',
'<img src="instructions_1.jpg"></img>', '<img src="instructions_2.jpg"></img>', '<img src="instructions_3.jpg"></img>', '<p> Click NEXT to begin the task.</p>' ],
button_label_next: "Next",
button_label_previous: "Back",
show_clickable_nav: true,
};
timeline.push(instructions);
var n_trials =174;
var timeline_variables = [
{sound: "beat_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},,
{sound: "beat_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp45.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp47.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp80.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ? </p>`, target: 'C1'},
{sound: "beat_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BEAT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BEAT ?</p>`, target: 'V'},
{sound: "bed_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp28.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp37.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp40.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp47.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp61.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp65.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp71.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp72.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C1'},
{sound: "bed_sp40.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ? </p>`, target: 'C2'},
{sound: "bed_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ?</p>`, target: 'V'},
{sound: "bed_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ?</p>`, target: 'V'},
{sound: "bed_sp71.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ?</p>`, target: 'V'},
{sound: "bed_sp76.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BED </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BED ?</p>`, target: 'V'},
{sound: "bet_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp37.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp47.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp61.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp69.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp71.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C1'},
{sound: "bet_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C2'},
{sound: "bet_sp71.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ? </p>`, target: 'C2'},
{sound: "bet_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ?</p>`, target: 'V'},
{sound: "bet_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ?</p>`, target: 'V'},
{sound: "bet_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BET </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BET ?</p>`, target: 'V'},
{sound: "bit_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ? </p>`, target: 'C1'},
{sound: "bit_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ? </p>`, target: 'C1'},
{sound: "bit_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ? </p>`, target: 'C1'},
{sound: "bit_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ? </p>`, target: 'C1'},
{sound: "bit_sp69.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ? </p>`, target: 'C1'},
{sound: "bit_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ?</p>`, target: 'V'},
{sound: "bit_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ?</p>`, target: 'V'},
{sound: "bit_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ?</p>`, target: 'V'},
{sound: "bit_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ?</p>`, target: 'V'},
{sound: "bit_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BIT </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BIT ?</p>`, target: 'V'},
{sound: "buck_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp45.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp66.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp69.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C1'},
{sound: "buck_sp37.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ? </p>`, target: 'C2'},
{sound: "buck_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp58.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp66.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp76.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "buck_sp80.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUCK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUCK ?</p>`, target: 'V'},
{sound: "bug_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp44.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp69.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp71.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C1'},
{sound: "bug_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp47.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp76.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ? </p>`, target: 'C2'},
{sound: "bug_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp58.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp66.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "bug_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> BUG </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> BUG ?</p>`, target: 'V'},
{sound: "did_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ? </p>`, target: 'C2'},
{sound: "did_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "did_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "did_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "did_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "did_sp48.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "did_sp76.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> DID </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> DID ?</p>`, target: 'V'},
{sound: "peak_sp26.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ? </p>`, target: 'C1'},
{sound: "peak_sp58.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ? </p>`, target: 'C1'},
{sound: "peak_sp55.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ? </p>`, target: 'C2'},
{sound: "peak_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ?</p>`, target: 'V'},
{sound: "peak_sp48.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ?</p>`, target: 'V'},
{sound: "peak_sp50.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ?</p>`, target: 'V'},
{sound: "peak_sp80.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PEAK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PEAK ?</p>`, target: 'V'},
{sound: "pick_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ? </p>`, target: 'C1'},
{sound: "pick_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ? </p>`, target: 'C1'},
{sound: "pick_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ? </p>`, target: 'C1'},
{sound: "pick_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ? </p>`, target: 'C1'},
{sound: "pick_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ? </p>`, target: 'C1'},
{sound: "pick_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp36.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp57.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp63.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp65.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp74.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pick_sp76.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PICK </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PICK ?</p>`, target: 'V'},
{sound: "pub_sp29.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ? </p>`, target: 'C1'},
{sound: "pub_sp40.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ? </p>`, target: 'C1'},
{sound: "pub_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ? </p>`, target: 'C1'},
{sound: "pub_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ? </p>`, target: 'C1'},
{sound: "pub_sp67.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ? </p>`, target: 'C1'},
{sound: "pub_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ?</p>`, target: 'V'},
{sound: "pub_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ?</p>`, target: 'V'},
{sound: "pub_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ?</p>`, target: 'V'},
{sound: "pub_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUB </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUB ?</p>`, target: 'V'},
{sound: "pup_sp25.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp29.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp41.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp42.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp61.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp69.wav", prequestion: `<p style="font-size:30px"> Listen to the FIRST consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C1 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C1'},
{sound: "pup_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C2'},
{sound: "pup_sp44.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C2'},
{sound: "pup_sp46.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C2'},
{sound: "pup_sp62.wav", prequestion: `<p style="font-size:30px"> Listen to the SECOND consonant in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the C2 accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ? </p>`, target: 'C2'},
{sound: "pup_sp27.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ?</p>`, target: 'V'},
{sound: "pup_sp38.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ?</p>`, target: 'V'},
{sound: "pup_sp40.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ?</p>`, target: 'V'},
{sound: "pup_sp51.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ?</p>`, target: 'V'},
{sound: "pup_sp73.wav", prequestion: `<p style="font-size:30px"> Listen to the VOWEL in </p> <p style="font-size:30px; font-weight:bold;"> PUP </p>`, question: `<p style="font-size:30px"> Was the Vowel accurate in </p> <p style="font-size:30px; font-weight:bold;"> PUP ?</p>`, target: 'V'},
];
var prequestion = {
type:jsPsychHtmlButtonResponse,
stimulus: jsPsych.timelineVariable('prequestion'),
choices: ['play'],
}
var audiopresentation_trial ={
type: jsPsychAudioButtonResponse,
stimulus: jsPsych.timelineVariable('sound'),
choices: ['listen again','rate'],
}
var loop_node ={
timeline: [audiopresentation_trial],
loop_function: function (data){
if(data.values()[0].response == 0){
return true;
} else {
return false;
}
}
}
var response_trial = {
type:jsPsychHtmlButtonResponse,
stimulus: jsPsych.timelineVariable('question'),
choices: ['Accurate','Inaccurate'],
data: {
phase: 'response',
target: jsPsych.timelineVariable('target'),
sound: jsPsych.timelineVariable('sound')
},
on_finish: function(data){
var curr_progress_bar_value = jsPsych.getProgressBarCompleted ();
jsPsych.setProgressBar(curr_progress_bar_value + (1/n_trials));
},
};
var task_procedure= {
timeline: [prequestion, audiopresentation_trial, loop_node, response_trial],
timeline_variables: timeline_variables,
randomize_order: true
}
timeline.push(task_procedure);
var end_message={
type: jsPsychHtmlButtonResponse,
stimulus: `Thank you. You're done! Click below and close the tab`,
choices: ['Finish']
}
timeline.push(end_message);
jsPsych.run(timeline); |
Beta Was this translation helpful? Give feedback.
All reactions
-
Managed to solve the problem with the error message and it didn't have anything to do with the loop. I had an extra comma at the end of the first trial, and only when I turned off randomization, I could see the exact trial that was causing the problem. The loop still has the small issue of playing the stimuli again at the first time the other response button is hit, but I can use the task as it is for my data collection purposes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm creating a task in which the participant is asked to listen to an audiofile and decide whether a given part of thea audio was accurate. I would like the participant to be able to hear the audio as many times as necessary. I tried the looping procedure in discussion "Play back button for audio stimuli #595", but it doesn't work for me. As the code is right now, the audio is played again independently of which button (listen again/rate) is pressed. At the second time the audio is presented, the trial goes forward to the next one, again independently of which button was pressed. Below is the relevant part of the script, can anyone see where the problem lies?
Beta Was this translation helpful? Give feedback.
All reactions