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

Playing MP4 files with psychtoolbox

I want to play an MP4 file showing a reaching task for an experiment. I am not sure how to formulate the syntax. So far I have: moviefile = 'GOPR0056.MP4'; screenNum = 0; [window, rect] = Screen('OpenWindow', screenNum, 1); moviePtr =…
theAngryPhysicist
  • 129
  • 1
  • 5
  • 12
0
votes
1 answer

Changing background color of Psychtoolbox fixation point

I took some code posted on a Yahoo help forum and wanted to know how I can modify it to have a grey background on the fixation point. Apologies I am completely new to Psychtoolbox. screenNum=0; [window, rect] = Screen('OpenWindow', screenNum,…
theAngryPhysicist
  • 129
  • 1
  • 5
  • 12
0
votes
1 answer

save visual stimuli created by psychtoolbox into video files

Does anyone knows how to capture the screen while running an experiment using Matlab psychtoolbox, to save it as a film which I can upload later to the web?
Noam Peled
  • 4,484
  • 5
  • 43
  • 48
0
votes
1 answer

Split a movie file into audio and video Psychtoolbox

I am working on a project where I have to split a movie file into its basic audio and video parts first. After googling and through documentation and psychdemos in psychtoolbox, I am unable to find even a clue to this issue. Is there any function…
Martin
  • 657
  • 2
  • 7
  • 8
0
votes
1 answer

user input while playing sequence of sounds in a loop [matlab]

I'm writing a task for an experiment , I need a user to hear 400 sound pulse of pure tone and interval of 600 ms in between , but - in 10% of the intervals there are changes in the duration of the interval . The user needs to push a key each time…
Latent
  • 556
  • 1
  • 9
  • 23
0
votes
1 answer

How to debug dll called through mex (psychtoolbox)?

My situation is I am trying to debug my dll (written in c) which is get called by another c code which is wrapped into a mex file. Is there a way to do it? Thanks.
user1558064
  • 867
  • 3
  • 12
  • 28
0
votes
1 answer

Pre-render frames before displaying moving grating

I am using DemoDrift2 from Psychtool box to create a moving grating. The grating moves perfectly and works great. However, i need to use it with some other devices connected and working with other softwares. In these situations the grating is…
Flowers
  • 59
  • 1
  • 2
  • 12
0
votes
1 answer

Why is this call to Screen failing and what can I do to fix it?

I've successfully installed the latest version of psychtoolbox3 through the neurodebian repositories (package name: octave-psychtoolbox-3). Calling AssertOpenGL seems to work fine: >> AssertOpenGL PTB-INFO: Display ':0' : X-Screen 0 : Output 0…
Louis Thibault
  • 20,240
  • 25
  • 83
  • 152
0
votes
1 answer

How do I present randomized words from a list in a txt file in MATLAB?

It would be brilliant if someone could help with this. I've got a list of words in a .txt file in a single column, and want to present them in a random order (without replacement) using DrawFormattedText in Matlab Psychtoolbox. At the moment I'm…
-1
votes
1 answer

draw a dot in the center of the screen psychtoolbox

I recently have started learning how to code in matlab, i.e. programming simple experience for cognitive psychological investigations. I wanted to ask, whether someone knows both, how to define, where to draw a dot in the screen,and how to define…
Lukas M.
  • 1
  • 1
-1
votes
1 answer

Showing sequential text in matlab

i'm using matlab (psychtoolbox), i need to show many textual stories. each story is made by 5 parts that need to appear in a sequence (part1 - 6 sec - part 2 - 6 sec...). at the end of each story the subject is asked to answer a series of question…
-1
votes
1 answer

Drawing rectangles with different angles with Psychtoolbox Matlab

I'm drawing 4 rectangles with randomized rotations. They seem randomized in terms of their angels, however I need them to be a little bit different. The rectangles should not be close to each other, they all should be at least 10 degrees apart. And…
Felis
  • 1
  • 2
1 2 3
11
12