PsychoPy notes: Difference between revisions

From Helpful
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
#redirect [[Experiment_builder_notes#PsychoPy_notes]]
{{experiments}}
 
 
<!--
 
PracticeTrial
* reads cvs or xlsx
 
 
 
: '''loopType'''
 
* sequential - present as in the data
 
* random - random selection without replacement
: if nReps > 1, it does that within the set, resets, and repeats
: e.g. a,b,c with nreps=2 might give a,c,b, c,b,a. Each set of 3 is essentially a permutation
* full random -
: if nReps > 1, it adds items to one big set n time, and then starts selecting
: e.g. a,b,c with nreps=2 might give a,c,c,a,b,a
 
* staircase - for adaptive behaviour{{verify}}
* interleaved staircases -
 
AOTW there is not yet a 'pseudorandom with constraints', so if you need that, figure this out externally, then use sequential.
 
 
 
 
: '''Select(ed) rows'''
lets you
* get subsets from your data
* select items, ranges, . 
 
https://www.psychopy.org/builder/flow.html#selecting-a-subset-of-conditions
 
 
 
-->
 
https://www.psychopy.org/
 
===Online experiments===
<!--
PsychoPy can compile for local exectuion and for web-based exectuion (PsychoJS)
 
 
 
-->
 
====Pavlovia====
 
https://pavlovia.org/docs/home/about
 
 
===Errors===
 
 
Tried to create audio stream X but 44100_1_128 already exists and win32 doesn't support multiple portaudio streams
 
Problem: your audio files have varying sample rates. Windows has a device open at just one sample rate and,
where other programs may do on-the-fly conversion to that for convenience, ''we'' probably want to do that ahead of time
to avoid that extra processing. <!--Yes, PsychoPy could have chosen do do that conversion automatically at load time, but it's telling you to be consistend instead.-->
 
Those numbers seem to be sample rate, channel numbers, ??

Latest revision as of 17:28, 26 February 2024

Notes related to setting up behavioural experiments and such.
Experiment design
Hardware and timing
Experiment building - on timing · on online experiments · on counterbalancing
E-Prime notes · PsychoPy notes · Experiment builder notes · Gorilla notes · PsychToolbox notes · OpenSesame notes · DMDX notes


https://www.psychopy.org/

Online experiments

Pavlovia

https://pavlovia.org/docs/home/about


Errors

Tried to create audio stream X but 44100_1_128 already exists and win32 doesn't support multiple portaudio streams

Problem: your audio files have varying sample rates. Windows has a device open at just one sample rate and, where other programs may do on-the-fly conversion to that for convenience, we probably want to do that ahead of time to avoid that extra processing.

Those numbers seem to be sample rate, channel numbers, ??