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,321
Last Active
Roles
Administrator

Comments

  • We've come up with a technique to use frames that are presented as a buffer for the sound which means we can get it to present in a small sequence with an accuracy of 5ms either side of the intended time. So it ranges from 100% accurate to 5ms below…
  • As Boo says (edit: that's not really what he wrote, I see now, but it's still true), you can declare a variable global in order to access it from within other inline_scripts. However, if you want to use a variable as part of a sketchpad, or more gen…
  • Hi Jákup, Just a quick note: Perhaps it's helpful to understand what the count variable actually is, because it's potentially a bit confusing: Every item has a variable that is called count, which simply counts how often the item has been called. …
  • Thanks (for the manual and the work on the Eyelink plug-in)! Daniel submitted the changes, and I just pushed out an update: https://github.com/smathot/opensesame_eyelink_plugins/tags
  • Jákup: Indeed, I tried a form in the Python portable package and it crashed as you described. The problem was due to a difference between Python 2.6 (used by the portable package) and 2.7 (used by the official packages). I fixed it, and as of 0.27~p…
  • ...so it would seem buffer clearing is already resolved. Good. ...so it would seem buffer clearing is already resolved. As for an ignore_old keyword; I'll put it in, (i.e. if set to false, don't bother to check the timing of the event) but I'm not…
  • Indeed, it states: The giveio driver must be installed as the module needs direct access to the hardware. This also means that USB parallel port adapters won’t be supported. But ... this refers to pyparallel / giveio, and perhaps the same restrict…
  • Yes, I agree with pretty much all of it. Perhaps instead of a clear_buffer keyword, there could be an ignore_old keyword (True by default). Otherwise there is no way for the user to retrieve old events through libeyelink. def wait_for_event(self, e…
  • ...But the buffer DOES get cleared before the start of a new trial... maybe the implementation of 'drift_correct' accidentally does that? The buffer probably starts empty with each startRecording() call, which is called by the eyelink_start_recordi…
  • Hi Jákup, My guess is that you are using the form_base plug-in to create a custom form, right? Could you perhaps post the script for that item? Cheers!
  • Hi Tas, My guess is that the USB-to-parallel port will not work any differently from a regular parallel port, in which case you could simply follow the instructions here: http://osdoc.cogsci.nl/miscellaneous/sending-triggers-eegerp Good luck! Che…
  • Glad you like it! Regarding the error, could you perhaps describe in detail what you did to trigger the error? Please also post the traceback that you can find in the debug window. Cheers!
  • The problem lies in that getNextData() doesn't start getting data from the moment in time it is called: it starts from the first datapoint in the buffer. And this buffer isn't automatically cleared during a trial. Thanks for pointing that out. I ac…
  • I looked this error up on Internet and it appears to have to do with NVidia videocards and drivers (http://code.google.com/p/pyglet/issues/detail?id=456; it status says solved, but appararently it isn't). Since NVidia gpus are very common it is like…
  • So we were wondering whether monitoring eyelink samples within a loop (or for instance using the wait_for_fixation_end function) just gives slightly different (shorter) latencies than those you would get watching individual trials with eyelink's dat…
  • Ah, I see! Please update to the latest pre-release (0.27~pre30 at the time of writing), and let me know if the problem still occurs. (The pre-release in the Python-portable based distribution is quite outdated.)
  • I thought about it for a bit, and one way I can think of to get millisecond precision sound playback is by connecting a simple sound device to the serial port. For example, an Arduino-based sound generator, as here: http://arduino.cc/en/Tutorial/Ton…
  • Also, the debug window keeps giving me a avbin.dll failed to load error. The experiment works fine, data is recorded fine so I never paid attention to it. I googled the error but I could not find, or understand, a clear cut solution to this problem.…
  • Hi Michel, What you're seeing is the time that it takes to generate the stimuli. This happens in the in the intertrial interval, so that you don't have any significant delays during the trial itself. During this preparation period, your 'fixation-d…
  • Hi Boo, In theory, you could simply specify a 10ms duration in a sketchpad and have it followed by a synth item. But ... I'm afraid that the temporal precision of auditory stimuli is not sufficient to realistically get this type of temporal control…
  • The new card seems to have solved the odd timing issues and we're getting the timings we expect to see for a 60Hz monitor. Good! A quick question on that though. When you say "This will give the operating Xms to deal with potential hick-ups, …
  • The fact that frames can be skipped is not too surprising. For example, if you set the delay to 30ms, and for some reason (which can be anything, including interrupts from the operating system) there is a hold-up of more than 3 milliseconds, the fra…
  • Hi Boo, (Quote) The time_[item name] variables always contain the timestamp of the last time that an item was called, or in the case of a sketchpad, the last time that the sketchpad was presented. So if a sketchpad is not presented on a trial, it's…
  • Hi Elza, My guess is that either the width or the height of the ellipse is 0 or negative. Could that be it? For example, this line of code will trigger this error: my_canvas.ellipse(100, 100, 50, 0) Cheers! Sebastiaan
  • Both, actually. Since this is only a minor bug, I'll fix it for those who still want to use the questionnaire plug-ins. But minor updates aside, the forms are intended to fully replace the questionnaire plug-ins.
  • The openexp.canvas is really only a static canvas, without any interactivity (so the inline_script equivalent of the sketchpad item, essentially). Of course, you can implement interactivity by using a combination of canvas, keyboard, and mouse objec…
  • Hi Jákub, Thank you. Indeed, the multiple_choice plug-in is broken in OpenSesame 0.27. However, please see my post here for an alternative. Cheers! Sebastiaan
  • Hi Jákub, With the questionnaire plugins this is not easy to do. However, as of 0.27 there is form functionality, which provides you with much more flexibility. Among other things, you can design your own forms containing various elements. Forms es…
  • Hi Michel, Daniel is probably right. But you can try switching to the Expyriment back-end. There's a chance that this back-end will not use the specific OpenGL functionality that causes the trouble, even though it does use OpenGL and therefore has …
  • Completeness is what we're striving for, so thank you!