Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

sebastiaan

About

Username
sebastiaan
Joined
Visits
7,320
Last Active
Roles
Administrator

Comments

  • (Quote) The variable response_voice_time should be 'detected' when a voice onset is detected, and 'timeout' otherwise. There's no voice recognition that will tell you what the participant said, if that's what you were expecting‽ That loudness is als…
  • Hi Lauren, Both the keyboard_response and the script create a variable called response. Because the keyboard_response comes last, that's the one that you see in the log file. What you can do is change this line in the script: set_response(respons…
  • Hi Tom, In the foreseeable future, we'll just keep EyeTribe support as it is. After all, if anything this has become easier because we don't need to worry about updates. ;-) There are plenty of EyeTribe users out there. Cheers, Sebastiaan
  • I understood that there's a general problem with sound playback on (some) Mac OS systems. (Right @Daniel?) So it's probably not specific to the file format. If converting to .wav doesn't resolve the issue, then you could consider using pyaudio, whi…
  • Hi Tina, Thanks again. I guess we need to get a developer with a Mac on top of this. @Daniel ? I know you have plenty on your plate, but could you take a look at this? In a nutshell, both QProgEdit (editor component) and QDataMatrix (loop table) h…
  • Hi Michael, I'm not familiar with OpenBCI (other than by name), but I'd say it's possible. They even have a dedicated Python SDK: https://github.com/OpenBCI/OpenBCI_Python It looks like OpenBCI may work a bit differently from what you're used to, …
  • @"TAO Ran" @soraltan It's possible to create a standalone apk, but it's a bit tricky. Approximately, you can do the following: * Download the latest opensesame .apk package from here. Currently, the latest is 3.0.7, so you'll have to scro…
  • @Tina Thanks for testing this. It seems that you're running into the same type of issue but in a different module: python-qdatamatrix, which is used for the loop table. So let's update that one as well: import pippip.main(['install', 'python-qdata…
  • (Image) Hi Sebas, If you want to add a background image to form, you have to monkey-patch it; that is, you have to replace the original form.render() function by a custom function that does the same thing but first draws a background image. This …
  • @Tina would you mind upgrading QProgEdit (the text editor component of OpenSesame) and test if you can now safely copy-paste multiline text? You can upgrade by running the following in the debug window: import pippip.main(['install', 'python-qprog…
  • It seems you've taken the example to literally! The '[variable name]' part should be replaced by the actual name of a variable. For example, like so: constraint word mindist=3 Note also that there are no spaces around the = sign. Also, it's easie…
  • (Quote) The inline_script should follow an item if and only you want to collect a key press after it. So you can just delete the item (right click → delete) the inline_script after the Fixation item, because after the Fixation item you just want to …
  • (Quote) If you rename the experiment file to something.tar.gz, Mac OS will probably recognize the file format and allow you to extract the contents. (As explained here, this is only necessary if there are files in the file pool; otherwise you can di…
  • Hi @Tina, I suspect you're having this problem: * http://forum.cogsci.nl/index.php?p=/discussion/comment/9118/#Comment_9118 Could you read the information in that discussion (it also explains how to fix it), and please confirm (or not) in that di…
  • (Quote) Right, because you first present a sketchpad for 500 ms, and then collect a key press in an inline_script (which will pause the experiment until a key is pressed). But if all you want is for the sketchpad to be shown for 500 ms, then you can…
  • Hi Nikkie, It's better to use the media_player_mpy plugin. You can install it by running the following in the debug window: import pippip.main(['install', 'opensesame-plugin-media_player_mpy']) The vlc-based plugin hasn't been updated for a while…
  • (Quote) To make OpenSesame aware of Python variables, you have to assign them as properties of the var object, like so: var.RT_Syntagme_2 =t-t_on_Syntagme_2 See also: * http://osdoc.cogsci.nl/3.1/manual/variables/#using-variables-in-python (Quot…
  • (Quote) It's probably not though—I imagine there's an extension that indicates the file format. And this extension is part of the name. So it would be be_go.wav. (This snippet assumes that it's a wave file.) So you can either add extensions to the n…
  • Hi, A semitransparent overlay changes the colors, but differently from a color-swap—which is presumably what you're after, right? For example, a blue overlay would make a black background blueish. Below is a simple script that reads an image file,…
  • (Quote) The code refers to the OpenSesame variable store (var), so it will never work as a standalone script. The examples on the PyAudio site are standalone. (Quote) You presumably specified the name of the sound file in a loop, right? This script…
  • That sounds like one of these device-specific problems. Annoying, and difficult to pin down and solve. (Quote) The sampler cannot use PyAudio. You have to write a script to do so. But that's not very difficult, and you can almost copy-paste the exa…
  • (Quote) (Image) See my first reply!
  • I announced your post, because this is pretty big news. See here some thoughts by @Edwin: * http://www.pygaze.org/2016/12/the-eyetribe-stops-and-that-stinks/ And myself: * http://www.cogsci.nl/blog/the-eye-tribe-is-no-more (Quote) Well, you'll w…
  • From you code it seems that you're loading movies and then append them to scr.screen. But you also remove them once you're done playing? If not, then memory may gradually fill up (although I'm not sure how the PsychoPy MovieStim handles memory when …
  • Could you attach the experiment file? That will make it a bit easier to talk about.
  • @earcanal Python 2 and 3 are completely separate environments. pip3 installs packages for Python 3, pip for Python 2. So you've installed QScintilla for Python 3, whereas OpenSesame uses Python 2, as you can tell from the stacktrace. Pro-tip: In Ub…
  • Hi, The legacy backend changes the resolution of the monitor. The default resolution is 1024 × 768, which looks pretty awful and stretched on a large widescreen monitor. In contrast, the psycho and xpyriment backends don't change the resolution, bu…
  • Hi guys, I think the problem is simple, but admittedly a little counterintuitive: The run phase of pygaze_init must be executed before the prepare phase of pygaze_drift_correction. If you put them both in the same sequence, this is not the case, a…
  • Hi, I'm guessing you're running Ubuntu and have installed OpenSesame from the default repositories, right? That version is ancient. On the download page you can find installation instructions for various flavors of Linux: * http://osdoc.cogsci.nl/…
  • Hi Jonathan, Thanks for pointing that out! The missing parts were tables, which hadn't been implemented in the new documentation-site software yet. It's fixed now. (Quote) It is helpful—you're doing the reviewing! Cheers, Sebastiaan