Questions tagged [psychtoolbox]

a MATLAB and GNU/Octave toolbox for the creation of visual (OpenGL based) and auditory displays. It is particularly geared toward vision research applications.

Psychtoolbox is a MATLAB and GNU/Octave toolbox for the creation of visual (OpenGL based) and auditory displays. It is particularly geared toward vision research applications. Given its focus on vision research applications, the toolbox places great emphasis on enabling frame accurate display of visual stimuli, with synced audio presentation, TLL and other triggers and response collection. Through and interface to GStreamer, PsychToolBox also allows the presentation and recording of video files.

More information can be found on the PsychToolBox website.

177 questions
0
votes
1 answer

Psychtoolbox- writing out information into a log file

I'm brand new at programming and am attempting some tutorials I've found to familiarize myself with Psychtoolbox. This script presents 20 trials where either an angry or sad face will appear on the left or right side of the screen (both the emotion…
dupuis4d
  • 7
  • 2
0
votes
2 answers

Psychtoolbox not drawing German Umlauts

I am presenting a German Text in Psychtoolbox. The special characters (Umlauts) are not displaying properly with the DrawText nor DrawFormattedText. The characters are recognized correclty by Matlab when I read in a .txt file to a char cell struct,…
Andrea
  • 1
  • 1
0
votes
0 answers

Wrong axis values of Gamepad in Matlab's Psychtoolbox

I'm using the Gamepad interface in Psychtoolbox together with a Logitech Attack3 joystick and the following code: while ~Gamepad('GetButton', 4, 1) force = Gamepad('GetAxis', 4, 2); force = force / 32768; zoomFactor = 0.1 * force; …
RikeAl
  • 1
0
votes
1 answer

How to indicates error by a sound in Psychtoolbox?

Mainly, I want to indicate the error by a sound when subject press wrong button in Psychtoolbox??? From the stimulus by a window, subject should press the button for responding key("g" or "p"). At this point, I wanna indicate that responding error…
0
votes
2 answers

Psychtoolbox fixed duration of stimuli

I am trying to record participant responses to visual stimuli which need to be shown for a fixed duration (500ms). However, I would also like to record their responses after this fixed duration within a 1 sec time window from stimulus onset. The…
Marco
  • 3
  • 1
0
votes
0 answers

Occasional Lags on playing audio and graphic stimuli using Psychtoolbox

I am implementing a behavioral task and only have images and audio stimuli. Everything works fine except some occasional lags. Sometimes, particularly in the middle of the test, the audio stimuli is played in a stretched manner (Assume that my audio…
Alireza
  • 135
  • 1
  • 9
0
votes
1 answer

increment value in real time with mouse wheel in matlab

I want to be able to change the value of a number up an down based on the movement of the mouse wheel. I have an image with a certain part having a different brightness and i want to adjust the brightness with the mouse wheel until i think they are…
0
votes
1 answer

How many missed flips is too many in Psychtoolbox (MATLAB)?

I am running a reaction time experiment with Psychtoolbox in MATLAB (R2014b). I'm using SyncTests, and that gives me an estimate of how many flip commands missed the requested response deadline when I run the experiment. What number of missed flips…
MGy
  • 25
  • 1
  • 7
0
votes
1 answer

Using KbCheck and GetSecs to record reaction time in a conflict task in MATLAB (Psychtoolbox)

I created a Stroop-like reaction time task in MATLAB and looking at pilot results suggests there might be something wrong with my code (the congruency effect is much bigger than expected). I suspect I may be recording RTs wrong, so could anyone help…
MGy
  • 25
  • 1
  • 7
0
votes
2 answers

Where I can find Psychtoolbox-3.0.11?

My Matlab is 32 bit, working on my 32 bit win7 OS. I want to work with Psychtoolbox, looking for suitable version (Psychtoolbox-3.0.10/Psychtoolbox-3.0.11) that can run on my platform.
bim
  • 612
  • 7
  • 18
0
votes
2 answers

Using KbQueueCheck to continuously check for device input

I am using PsychToolbox to run an experiment on a fMRI scanner. I want to collect the timepoints of pulses sent out by the scanner. If you are not familiar with this topic: A scanner gives out a signal - equivalent to pressing keyboard digit "5" -…
Pugl
  • 432
  • 2
  • 5
  • 22
0
votes
1 answer

'FillPoly' Psychtoolbox draws shapes only on one side of the screen

I'm trying to draw triangles in Psychtoolbox using the 'FillPoly'. The triangles vary in number from trial to trial, with min. 3 and max. 10 triangles on the screen. The triangles are evenly spaced around an imaginary circle. Up to 6 objects per…
Andrea
  • 1
  • 1
0
votes
2 answers

Psychtoolbox - Text for Instruction

I have some problems using Psychtoolbox Screen and Textwindow... For my experiment I want to give an instruction at the beginning. I used something like this: % Draw text in the middle of the screen in Courier in white Screen('TextSize', window,…
user6677073
0
votes
1 answer

Creating a smooth mesh grid in Matlab

I'm using the Matlab function checkerboard to create a checkerboard and then display it as a circle rather than a square or rectangle. I have written the code below to do this but because my meshgrid seems to be so coarse, when I do imshow(checks)…
Maheen Siddiqui
  • 539
  • 8
  • 19
0
votes
0 answers

How to set the duration for a texture to appear in Psychtoolbox?

I'm new to Psychtoolbox and am using it to create a reversing checkerboard pattern on the screen. The checkerboard has been coloured such that it is more like vertical stripes rather than checks. I have two contrasting conditions a regular…
Maheen Siddiqui
  • 539
  • 8
  • 19