Generate a string of random numbers and have them read aloud in Inquisite?


Author
Message
jmeng21
jmeng21
Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)
Group: Forum Members
Posts: 4, Visits: 1

Thank you so much for your help, Dave!


I made a couple of modifications, and now it's doing exactly what I need it to do. [:D]


Thanks again!




Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K

I would rather suggest a setup along the lines of the attached script.


Regards,


~Dave


Attachments
Digits.zip (753 views, 98.00 KB)
jmeng21
jmeng21
Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)
Group: Forum Members
Posts: 4, Visits: 1

Thanks for your input.


Currently, I've managed to get this much down:




------------------------------------


Default Information 


-----------------------------------



<defaults>


/ screencolor = (0, 0, 0)


/ fontstyle = ("@Adobe Heiti Std R", 2.67%, false, false, false, false, 5, 0)


/ txcolor = (255, 255, 255)


/ endlock = false


</defaults>         



------------------------------


Experiment


------------------------------


<expt > 


/ blocks = 


   [1=   NumSeq]


</expt>



------------------------------


Trials


------------------------------


<trial SoundStim>


/ stimulustimes = [0=1; 2000=2; 3000 = 3; 4000=4; 5000=5; 6000=6; 7000=7; 8000=8; 9000=9]


/ timeout =0


</trial>



----------------------------


Blocks


------------------------------



<block NumSeq>


/trials = [1 =SoundStim]


</block>



----------------------------


SOUND Items


----------------------------


<sound 1>


/ items = ("one.wav")


/ playthrough = true 


</sound> 



<sound 2>


/ items = ("two.wav")


/ playthrough = true 


</sound> 



<sound 3>


/ items = ("three.wav")


/ playthrough = true 


</sound> 



<sound 4>


/ items = ("four.wav")


/ playthrough = true 


</sound> 



<sound 5>


/ items = ("five.wav")


/ playthrough = true 


</sound> 



<sound 6>


/ items = ("six.wav")


/ playthrough = true 


</sound> 



<sound 7>


/ items = ("seven.wav")


/ playthrough = true 


</sound> 



<sound 8>


/ items = ("eight.wav")


/ playthrough = true 


</sound> 



<sound 9>


/ items = ("nine.wav")


/ playthrough = true 


</sound> 




Is this a viable template for creating something more complex like what I need?


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K

I'm trying to create a script that will generate a random string of eight non-repeated digits


This can be done in a number of ways, and the most suitable approach will depend on the specifics of your task design (which you did not elaborate on).


I'm also trying to get the script to then read aloud the digits that were generated.


For that you'll need to provide sound files for all of the digits and then play them via the <sound> or <video> element.


Any tips on how to get started?


Since this is your first time working with Inquisit, I recommend completing all the tutorials included in the Inquisit documentation to get down the basics. Then study some related scripts available from the Task Library at millisecond.com (e.g. PASAT).


Regards,


~Dave


jmeng21
jmeng21
Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)Partner Member (946 reputation)
Group: Forum Members
Posts: 4, Visits: 1

Hi!


This is my first time programming with Inquisite, and I'm trying to create a script that will generate a random string of eight non-repeated digits. I'm also trying to get the script to then read aloud the digits that were generated.


I don't need this particular script to collect data or anything. All it needs to do is generate the numbers and then read them out loud.


Any tips on how to get started? Thanks in advance for any help, and happy new year!




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search