Forum Replies Created
-
AuthorPosts
-
Larissa_Cury
ParticipantHi, @Jeremy! Thank you! But I don’t think it is quite working as I expected. Take a look at the ‘new–itens.csv’ file I’ve uploaded, for ex: https://farm.pcibex.net/r/AqPhcF/
With your code,
a) I’m seeing the words still together by the *.* such as hello.world and bye.earth. I’d need one below the other, such as in a columns (as in the pictures)
b) The timer is restarting after each new list, isn’t it? I need the whole test to be within 1min. For example, in the ‘new–itens.csv’ I have 5 rows of 10 names separated by “_” each, so I’d need 5 columns to be displayed, each with 10 words, one below the other. The participant can go as long as s/he can, but within 1minHow can I fix that avoiding hard coding each collumn myself or uploading pictures?
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: correct my text
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: edit details
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury.
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury.
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury.
Larissa_Cury
ParticipantHi, @Jeremy! Thanks ! See, I could change the message, but is it impossible to change the links’s message as well? I cannot have that amount of text, my participants are learning how to read, this can bias the experiment (this is a reading experiment and there will be a version in portuguese as well). Is there a way to change the link’s message too ? (or to turn it into a button, maybe) ?
I’m refering to this msg: *By clicking this link I understand that I grant this experiment’s script access to my recording device for the purpose of uploading recordings to the server designated by the experimenter(s).*
// 👉 Record audio InitiateRecorder("https://myserver/uploadVoices/saveRecordings.php" , "Recording audio warning message here" ) //.label("first-trial")); // why is it here? // 👉 Experimental trial: //Template("items.csv", row => newTrial("experimental-trial", // newMediaRecorder(ELEMENT_NAME: string, ["audio"], ["video"]) newMediaRecorder("recorder", "audio") .record() , newTimer("recording", 3000) .start() // .wait() , . . .
Larissa_Cury
ParticipantOh! @Jeremy , I’m going to get participant’s consent before the experiment, so how can I hide the consent audio page? (they will have already consented)
Larissa_Cury
ParticipantOhhh, all right! Thank you! I’m trying to change the default text of the failure message, but it isn’t chaning…is there anything I could do? I can change the message on the button trial, but even if I change the message before it, it doens’t appear different in the experiment:
newTrial( newFunction("check upload", ()=>PennController.uploadRecordingsError) .test.is() .success( newText("confirmation", "The recordings were sent to the server. ") .print() ) .failure( newText("error", "Click on the link below to store data 👇") //////////////////////// HERE -> it doens't change! .color("red") .print() ) // , // newText("download", DownloadRecordingButton("Click here to download an archive of your recordings.") ) // .print() // , // newTimer("inifinite", 0) // .wait() )
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: adding question
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: add code
Larissa_Cury
ParticipantLink to the experiment with the ID-Var element: https://farm.pcibex.net/r/wPASJJ/
Larissa_Cury
ParticipantHi, Jeremy! Thank you very much! I’ll dig in into your answer, thanks! One more thing, I’d like to use a template literal to salute my participant. I thought thatr ‘var’ was a global variable, but I cannot do things such as
newText('salute',
hi, ${ID})
Why is that? How can I ‘use’ the ID var?
I was able to do sth as:
let welcomeMsg = 'maria' // 👉 Instructions trial newTrial("instructions", defaultText .center() .print() newText("instructions-1", <code>hi, ${welcomeMsg}</code>) )
just a note: I’m adding the template literals between ` , but the forum is formatting into a block code 🙂
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: editing my answer
Larissa_Cury
ParticipantHi, Jeremy! That’s great, thank you! I’m sorry, why would this link be used for? I mean, what is the advantage of inserting a link in the button?
Larissa_Cury
ParticipantAll right, got it! Many thanks! @Jeremy, How would it be possible to physically download each record locally on participants’ computer after the experiment? I’m planning to run my experiment locally, so maybe I won’t even have to send data to a database. 🙂 Hence, can I store the audios directly on my computer? If so, how?
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: add tag
Larissa_Cury
ParticipantAnother usage, can we do something like this?
Can we set a variable with const, let or var and reuse it? Ex:
// Set a variable: let time = 100 newTimer("timeout", time) .start() , newText("text",<code>you have ${time} to answer that! run!</code>) .center()
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury. Reason: add another line of code
-
This reply was modified 1 year, 11 months ago by
Larissa_Cury.
Larissa_Cury
ParticipantHi, @Jeremy!
Would the paid version of Google Drive work?
best,Larissa_Cury
ParticipantThank you, Jeremy!
12 months would be all right, that’s good news. I was afraid I’d have to buy a storage service! Another option would be to physically download each record locally on participants’ computer after the experiment, right? I’ve ran the pre-set projet and saw this option.Concerning Farm’s problems, yes, I’ve noticed them. I hope everything turns out fine soon 🙏🙏🙏 thanks for the notice as well 🙂
Larissa_Cury
ParticipantHi, Jeremy. This may be a very silly question, but still. Based on Pcibex’s documentation and the discussions here on the forum, there’s no way of hosting an experiment that records audio for free, right? We must have access to an external paid “driver” to host those files, right? There’s not free-server for that, right? A follow-up question is if the paid verson of Google Drive would do the job?
April 29, 2022 at 5:31 pm in reply to: Is it possible to shuffle trials according to a % of times? #8135Larissa_Cury
ParticipantOhhhhh, got it! Thank you very much, Jeremy!! 😄
April 29, 2022 at 10:58 am in reply to: Is it possible to shuffle trials according to a % of times? #8130Larissa_Cury
ParticipantDear Jeremy, thank you as always! Yes, I’m going to create 4 different trials with 4 different lables, I’m wondering why solution number two wouldn’t work with different lables?
Best,
Larissa_Cury
ParticipantGot it!!! I always say this, but, honestly, I can never thank you enough, Jeremy. Thank you for following me throughout this post so willingly to help me ❤ I hope I don’t come up with any more surprises 😅
-
This reply was modified 1 year, 11 months ago by
-
AuthorPosts