## Likert and list element

 Author Message abhi  Distinguished Member         Group: Forum Members Posts: 75, Visits: 348 Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) Dave  Supreme Being         Group: Administrators Posts: 9.5K, Visits: 43K +xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) abhi  Distinguished Member         Group: Forum Members Posts: 75, Visits: 348 +xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55)Hi Dave, What I meant is that 10 different  sounds to be selected (out of 30) and rated by respondent in Likert 1 (Familiarity) , then same 10 sounds in Likert 2 (likeability), and then same in Likert 3. / Stimlusfame is playing the same sound in loop till respondent responds. Dave  Supreme Being         Group: Administrators Posts: 9.5K, Visits: 43K +xabhi - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55)Hi Dave, What I meant is that 10 different  sounds to be selected (out of 30) and rated by respondent in Likert 1 (Familiarity) , then same 10 sounds in Likert 2 (likeability), and then same in Likert 3. / Stimlusfame is playing the same sound in loop till respondent responds.#1: You only posted a single element, not multiple.#2: If you want a single to play 10 different sounds, you need to set up 10 sound elements."/ Stimlusfame is playing the same sound in loop till respondent responds."Is exactly what the code you posted is supposed to do. Dave  Supreme Being         Group: Administrators Posts: 9.5K, Visits: 43K +xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55)Hi Dave, What I meant is that 10 different  sounds to be selected (out of 30) and rated by respondent in Likert 1 (Familiarity) , then same 10 sounds in Likert 2 (likeability), and then same in Likert 3. / Stimlusfame is playing the same sound in loop till respondent responds.#1: You only posted a single element, not multiple.#2: If you want a single to play 10 different sounds, you need to set up 10 sound elements."/ Stimlusfame is playing the same sound in loop till respondent responds."Is exactly what the code you posted is supposed to do.Here is a quick example using elements, because I don't have your .wav files./ s1 = 1/ s2 = 1/ s3 = 1/ s4 = 1/ s5 = 1/ poolsize = 30/ selectionrate = always / items = (values.s1, values.s2, values.s3, values.s4, values.s5)/ selectionrate = always/ selectionmode = sequence/ onblockbegin = [values.s1 = list.all.nextindex;values.s2 = list.all.nextindex;values.s3 = list.all.nextindex;values.s4 = list.all.nextindex;values.s5 = list.all.nextindex;]/ trials = [1=sequence(a,b,c)]/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" abhi  Distinguished Member         Group: Forum Members Posts: 75, Visits: 348 +xDave - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55)Hi Dave, What I meant is that 10 different  sounds to be selected (out of 30) and rated by respondent in Likert 1 (Familiarity) , then same 10 sounds in Likert 2 (likeability), and then same in Likert 3. / Stimlusfame is playing the same sound in loop till respondent responds.#1: You only posted a single element, not multiple.#2: If you want a single to play 10 different sounds, you need to set up 10 sound elements."/ Stimlusfame is playing the same sound in loop till respondent responds."Is exactly what the code you posted is supposed to do.Here is a quick example using elements, because I don't have your .wav files./ s1 = 1/ s2 = 1/ s3 = 1/ s4 = 1/ s5 = 1/ poolsize = 30/ selectionrate = always / items = (values.s1, values.s2, values.s3, values.s4, values.s5)/ selectionrate = always/ selectionmode = sequence/ onblockbegin = [values.s1 = list.all.nextindex;values.s2 = list.all.nextindex;values.s3 = list.all.nextindex;values.s4 = list.all.nextindex;values.s5 = list.all.nextindex;]/ trials = [1=sequence(a,b,c)]/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav"Hi Dave, Thanks for this. I will try this out now. Another issue which I am facing with a similar code (following ) is that. I want respondent to keep hearing the word and select/check a few categories in check boxes. The problem is that this loop of sound played in /stimulusfames doesn’t stop if someone finishes checking the boxes early (i.e. it doesn’t allow respondent to move on to next page if he/she has finished. It plays on e.g. in this code 5 times). Tried  /beginresponsetime and /beginresponseframe but doesn’t work./ pages = [1-10=p6]/ itemspacing = 4%/ screencolor = (0,134,139)/ showpagenumbers = false/ showquestionnumbers = false/ pagefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)/ skip = [dropdown.agreement.response == "I do NOT agree to participate in this study"]/ finishlabel = "Next"/ recorddata = true/ showbackbutton = false/ caption = "You are hearing a new word. Please select appropriate categories for the word./ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;200= list.1Snumbers; 300 = list.1Snumbers; 400= list.1Snumbers;         500= list.1Snumbers;]/ questions = [1= q1, q2, q3, q4]/ ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / fontstyle = ("Arial", 2%)/ responsefontstyle = ("Arial", 1.7%, false, false, false, false, 5, 0)/ showquestionnumbers = false/ showpagenumbers = false/ nextbuttonposition = (50,80)/ itemspacing = 20 / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order = sequence/ position = (10, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (30, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (50, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (70, 20) / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 Dave  Supreme Being         Group: Administrators Posts: 9.5K, Visits: 43K +xabhi - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019+xDave - Wednesday, April 24, 2019+xabhi - Wednesday, April 24, 2019Hi, I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds and each participant rates it on a Likert scale. And the list element then presents the same 10 sounds to each respondent in subsequent blocks too. Problem that I am facing is that instead of 10 different random sounds presented to each respondent, I find that same list of 10 sounds is presented to all respondents. There is no variation / randomness in that. What is wrong in this code? How can I ensure that 10 different random sounds out of 30 is presented to each respondent rather than the same list of sounds presented to each.Thanks / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1 / ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;           200= list.1Snumbers;       300= list.1Snumbers;  400= list.1Snumbers;       500= list.1Snumbers;       600= list.1Snumbers;       700= list.1Snumbers;  800= list.1Snumbers;       900= list.1Snumbers;       1000= list.1Snumbers;     1100= list.1Snumbers;  1200= list.1Snumbers;     1300= list.1Snumbers;     1400= list.1Snumbers;     1500= list.1Snumbers;  1600= list.1Snumbers;     1700= list.1Snumbers;     1800= list.1Snumbers;     1900= list.1Snumbers;  2000= list.1Snumbers;     2100= list.1Snumbers;     2200= list.1Snumbers;     2300= list.1Snumbers;  2400= list.1Snumbers;     2500= list.1Snumbers;     2600= list.1Snumbers;     2700= list.1Snumbers;  2800= list.1Snumbers;     2900= list.1Snumbers;     3000= list.1Snumbers;     3100= list.1Snumbers;  3200= list.1Snumbers;     3300= list.1Snumbers;     3400= list.1Snumbers;     3500= list.1Snumbers;  3600= list.1Snumbers;     3700= list.1Snumbers;     3800= list.1Snumbers;     3900= list.1Snumbers;  4000= list.1Snumbers;     4100= list.1Snumbers;     4200= list.1Snumbers;     4300= list.1Snumbers;  4400= list.1Snumbers;     4500= list.1Snumbers;     4600= list.1Snumbers;     4700= list.1Snumbers;  4800= list.1Snumbers;     4900= list.1Snumbers;     5000= list.1Snumbers;     5100= list.1Snumbers;  5200= list.1Snumbers;     5300= list.1Snumbers;     5400= list.1Snumbers;     5500= list.1Snumbers;  5600= list.1Snumbers;     5700= list.1Snumbers;     5800= list.1Snumbers;     5900= list.1Snumbers;  6000= list.1Snumbers;     6100= list.1Snumbers;     6200= list.1Snumbers;     6300= list.1Snumbers;  6400= list.1Snumbers;     6500= list.1Snumbers;]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55) The entire syntax doesn't make much sense because it's full of circular references. It's also unclear what you mean by "I want to present 10 randomly selected sounds to each respondent from a list of 30 sounds." Do you want to present one sound repeatedly during a given trial, and then run 10 trials with each playing a different sound repeatedly? Or do you want to run a single trial that plays 10 out of 30 sounds one after another?At any rate, this/ poolsize = 10/ items = [sound.1S]makes no sense. And you should have your 's /stimulusframes display the element, not reference a . I.e./ ontrialbegin = [values.1S = list.1Snumbers.nextindex]  / anchors = [1="Rating1"; 11=" Rating2"]/ stimulusframes = [1 = 1S; 100= 1S; 200= 1S; 300= 1S; 400= 1S; 500= 1S;600= 1S; 700= 1S; 800= 1S; 900= 1S; 1000= 1S;  ...]/ fontstyle = ("Arial", 1.4%,true, false, false, false, 5, 0)/ beginresponseframe = 1/ anchorwidth = 150/ recorddata = true/ response = free/ numpoints=11/ position = (50, 55)Hi Dave, What I meant is that 10 different  sounds to be selected (out of 30) and rated by respondent in Likert 1 (Familiarity) , then same 10 sounds in Likert 2 (likeability), and then same in Likert 3. / Stimlusfame is playing the same sound in loop till respondent responds.#1: You only posted a single element, not multiple.#2: If you want a single to play 10 different sounds, you need to set up 10 sound elements."/ Stimlusfame is playing the same sound in loop till respondent responds."Is exactly what the code you posted is supposed to do.Here is a quick example using elements, because I don't have your .wav files./ s1 = 1/ s2 = 1/ s3 = 1/ s4 = 1/ s5 = 1/ poolsize = 30/ selectionrate = always / items = (values.s1, values.s2, values.s3, values.s4, values.s5)/ selectionrate = always/ selectionmode = sequence/ onblockbegin = [values.s1 = list.all.nextindex;values.s2 = list.all.nextindex;values.s3 = list.all.nextindex;values.s4 = list.all.nextindex;values.s5 = list.all.nextindex;]/ trials = [1=sequence(a,b,c)]/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ stimulustimes = [0=s1; 1000=s2; 2000=s3; 3000=s4; 4000=s5]/ position = (50%, 70%)/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/ items = sitems/ select = list.s.nextvalue/1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav"Hi Dave, Thanks for this. I will try this out now. Another issue which I am facing with a similar code (following ) is that. I want respondent to keep hearing the word and select/check a few categories in check boxes. The problem is that this loop of sound played in /stimulusfames doesn’t stop if someone finishes checking the boxes early (i.e. it doesn’t allow respondent to move on to next page if he/she has finished. It plays on e.g. in this code 5 times). Tried  /beginresponsetime and /beginresponseframe but doesn’t work./ pages = [1-10=p6]/ itemspacing = 4%/ screencolor = (0,134,139)/ showpagenumbers = false/ showquestionnumbers = false/ pagefontstyle = ("Arial", 3%, false, false, false, false, 5, 0)/ skip = [dropdown.agreement.response == "I do NOT agree to participate in this study"]/ finishlabel = "Next"/ recorddata = true/ showbackbutton = false/ caption = "You are hearing a new word. Please select appropriate categories for the word./ stimulusframes = [1 = list.1Snumbers; 100= list.1Snumbers;200= list.1Snumbers; 300 = list.1Snumbers; 400= list.1Snumbers;         500= list.1Snumbers;]/ questions = [1= q1, q2, q3, q4]/ ontrialbegin = [values.1S = list.1Snumbers.nextindex]      / fontstyle = ("Arial", 2%)/ responsefontstyle = ("Arial", 1.7%, false, false, false, false, 5, 0)/ showquestionnumbers = false/ showpagenumbers = false/ nextbuttonposition = (50,80)/ itemspacing = 20 / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order = sequence/ position = (10, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (30, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (50, 20) / options = ("text""text""text""text")/ orientation = vertical/ size = (100,100)/ order= sequence/ position = (70, 20) / items = 1S/ playthrough = false/ select = values.1S /1="1.wav"/2="2.wav"/3="3.wav"/4="4.wav"/5="5.wav"/6="6.wav"/7="7.wav"/8="8.wav"/9="9.wav"/10="10.wav"/11="11.wav"/12="12.wav"/13="13.wav"/14="14.wav"/15="15.wav"/16="16.wav"/17="17.wav"/18="18.wav"/19="19.wav"/20="20.wav"/21="21.wav"/22="22.wav"/23="23.wav"/24="24.wav"/25="25.wav"/26="26.wav"/27="27.wav"/28="28.wav" / poolsize = 10/ items = [sound.1S] / 1S = 1Am I reading you correctly in that here you want to merely loop a single item / sound, not multiple?If so, why don't you use a

## Reading This Topic

##### Login
 Existing Account Email Address: Password: Remember Me Social Logins
##### Select a Forum....
 Millisecond Forums      Millisecond Software News      Inquisit 5      Inquisit 4      Inquisit 3      Inquisit 2.0      Inquisit 1.33 (archives)