Friday, December 7, 2012

PEBL 0.13 officially released

Version 0.13 of PEBL has officially been released!

Download it here

Some highlights:

 * With the help of the ffmpeg and the waave  libraries, PEBL now supports loading and playing a number of media file formats (movies and audio).  This includes .avi, .wmv, .mp3, .ogg, and others.  This support added the functions:

 - Rename files that collide with FileOpen (Probably was in 0.12)
 - By default, PEBL now uses the current screen size, and accepts
   any widthxheight screen size when you use the --display
   command-line option.  There is also an option on the launcher to force specific screen resolutions or use the current one.

-three types of trials in fitts stuy.

- GetCurrentScreenResolution function
-lists now use an underlying vector container.  As it turns out, PEBL was not using many or any of the unique capabilities of list-based data structures, and the limitations it had were no different than those imposed by vectors.  Now you can get an arbitrary list element in constant time with the Nth function, and set an arbitrary list element in constant time with the SetElement function.

-Fixed syntax where we couldn't previously have the end-of-list bracket be on a new line.

-Allow empty code blocks for functions and if/else statements

-Added PushOnEnd() to replace Append() efficiently.  Note that for convenience,
 you can replace x <- Append(x,i) with x <- PushOnEnd(x,i), but only
 PushOnEnd(x,i) is really needed, and saves maybe 10% of the time.

Changed lists to use a vector internally.  This means that now, list access using Nth() can be made directly in constant time.  Also, you can change particular list members using SetElement(list,element). Look forward in the future to accessing and setting elements using the [] syntax familiar to many other languages.

 -Fixed gonogo task so total errors/total correct is computed correctly (Thx Marco Moniz)
- Minor fixes to TOH task (including some contributed by Ross Spoon)

-if you use AddObject to a window that it is already added to, it will automatically remove it first, to avoid automatically multiple references in the child widget list.

New task: The Connections task, a version of the trail-making test popularized by Tim Salthouse.
Hungry Donkey task now works with mouse (by default; old keypress can still be used)
Post a Comment