Forum Replies Created
-
AuthorPosts
-
nianpo
ParticipantHi Jeremy,
Thank you for your detailed reply all the time!
I am wondering how to make audio replay only twice. That is, participants can replay the audio once or twice, based on their own needs. Do you know how should I modify the codes? Many thanks!
Best wishes,
Nianponianpo
ParticipantHi Jeremy,
It worked now! Thank you very much & have a wonderful day π
Warmly,
Nianponianpo
ParticipantHi Jeremy,
Thank you for your quick response! Here is the link:
https://farm.pcibex.net/r/GUygym/
The sentences are in Japanese but they all belong to “Long” sentences since I used the code ‘Sequence( rshuffle(startsWith(“Long”) , rshuffle(startsWith(“Short”) ))).’ Below are the first few lines of my csv file.
Group Set Condition Distance Sentence
1 1 IN_1 Short ηζ΅γ«ι£²γΏη©γγε₯ε€ͺγ―ζΈ‘γγγ
2 1 IN_2 Short ηζ΅γ«γι£²γΏη©γγε₯ε€ͺγ―ζΈ‘γγγ
3 1 LD_1 Long ηζ΅γ«ι£²γΏη©γγε₯ε€ͺγ―η΄ζ¨ΉγζΈ‘γγγ¨θγγγ
4 1 LD_2 Long ηζ΅γ«γι£²γΏη©γγε₯ε€ͺγ―η΄ζ¨ΉγζΈ‘γγγ¨θγγγ
2 2 IN_1 Short θεγ«γγ³γγ³γ°γγε€§ηΏγ―γγΆγγγ
3 2 IN_2 Short θεγ«γγγ³γγ³γ°γγε€§ηΏγ―γγΆγγγ
4 2 LD_1 Long θεγ«γγ³γγ³γ°γγε€§ηΏγ―ε²ι£γγγΆγγγ¨θγγγ
1 2 LD_2 Long θεγ«γγγ³γγ³γ°γγε€§ηΏγ―ε²ι£γγγΆγγγ¨θγγγThank you for your kind help in advance! Looking forward to hearing from you π
Best wishes,
Nianponianpo
ParticipantHi Jeremy,
Thank you for your helpful reply! I tried the code you suggested (as below), but I still have a problem: I have 20 sets in total, but only 10 sentences with Distance ‘Short’ are shown now. No sentences with Distance ‘Long’ is shown. I guess that’s because my ‘Short’ and ‘Long’ sentences have the same set. Is there any chance to solve this problem?
Template("extable.csv", row => newTrial( row.Distance + row.Set, defaultText .center() .print() , newText("sentence", row.Sentence) , newScale("acceptability", 7) .labelsPosition("bottom") .before( newText("very unnatural") ) .after( newText("very natural") ) .center() .log() .print() .wait() , newText("space"," ") , newButton("proceed") .center() .print() .wait('first') , clear() )) Sequence( rshuffle(startsWith("Short") , rshuffle(startsWith("Long") )))
Thank you again for your kind help! Looking forward to hearing from you π
Best wishes,
Nianponianpo
ParticipantDear Jeremy,
Thank you so much for your prompt reply! It works perfectly now.
Have a nice day!
Warmest wishes,
Nianpo -
AuthorPosts