MAPLE-Lab / auditory-research-suite

Automatically exported from code.google.com/p/auditory-research-suite
0 stars 2 forks source link

Specification of Slider Size #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are currently testing out the latest SI Experiment Build (173) that allows 
us the change the placement of the response box and slider and will have 
documentation for you in the coming weeks. This idea of changing the size and 
location of the slider came out of the fact that we started to see some 
different results from all of our previous studies using a Python Build vs. the 
newer Java Build. One of the key differences was the slider size: spanning the 
length of the full window in the Python build, and only half the window in the 
Java build. 

In order to retain continuity with our previous research (and also to explore 
the role of slider size), we would like to have some sort of option built in to 
the properties file where we can actually control the overall size of the 
slider in only the vertical orientations (i.e. verticalTop, verticalBottom).  
Based on how this is already set up, it would be ideal if we could retain the 
placement but specify the length of the slider in pixels.

For example, if the ‘default’ slider length is 1000 pixels, it would be 
useful to have a parameter called sliderSize, where we could specify the length 
of the slider in # of pixels. So for example, if sliderSize=600, the slider and 
tick marks would retain it’s placement vertically and centered within it’s 
‘box’, but be rescaled to be 600 pixels in length.

It would also be useful to include a comment in the properties file regarding 
the max and min values the slider can be set to, and then set the default size 
to a median value. This way, if the specified sliderSize exceeds these limits 
the default can be used, and it will be easy for the experimenter to realize 
the limits have been exceeded.

I've attached a document with the same information in case you find it useful 
to have the formatted version with different fonts for technical terms, etc.

Original issue reported on code.google.com by jess.gil...@gmail.com on 21 Jan 2014 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jess.gil...@gmail.com on 21 Jan 2014 at 8:05

GoogleCodeExporter commented 9 years ago

Original comment by jess.gil...@gmail.com on 21 Jan 2014 at 8:06

GoogleCodeExporter commented 9 years ago

Original comment by zach.br...@datamininglab.com on 29 Jan 2014 at 10:13

GoogleCodeExporter commented 9 years ago
See r184 and r187
Property 'sliderLength' has been added (I chose sliderLength instead of 
sliderSize as it is more indicative of its use). 
Comments in properties file include:
Default value is 550
Minimum is 50, maximum is 2000. 

Caution: this property does exactly what was requested, so setting it to very 
small or very large values may require that the experiment window is resized. 
The default value of 550 will fit neatly within the default window size. 

Original comment by zach.br...@datamininglab.com on 5 Feb 2014 at 7:28