# HG changeset patch # User Nicholas Jillings # Date 1450478236 0 # Node ID d9c7263cb87156a72f29d57cd7da60b97dd69980 # Parent f57ca6e75aecede270683dae881b2c4707747eea MUSHRA css restyling for Mac Chrome. Updated Instructions. diff -r f57ca6e75aec -r d9c7263cb871 docs/Instructions/Instructions.pdf Binary file docs/Instructions/Instructions.pdf has changed diff -r f57ca6e75aec -r d9c7263cb871 docs/Instructions/Instructions.tex --- a/docs/Instructions/Instructions.tex Fri Dec 18 18:33:08 2015 +0000 +++ b/docs/Instructions/Instructions.tex Fri Dec 18 22:37:16 2015 +0000 @@ -124,9 +124,9 @@ \subsection{Local test} If the test is hosted locally, you will need to run the local webserver provided with this tool. - \subsubsection{Mac OS X} + \subsubsection{Mac OS X \& Linux} - On Mac OS X, Python comes preinstalled. + On Mac OS X, Python comes preinstalled, as with most Unix/Linux distributions. Open the Terminal (find it in \textbf{Applications/Terminal} or via Spotlight), and go to the folder you downloaded. To do this, type \texttt{cd [folder]}, where \texttt{[folder]} is the folder where to find the \texttt{pythonServer.py} script you downloaded. For instance, if the location is \texttt{/Users/John/Documents/test/}, then type @@ -148,7 +148,7 @@ Alternatively, you can simply type \texttt{python} (follwed by a space) and drag the file into the Terminal window from Finder. % DOESN'T WORK YET - You can leave this running throughout the different experiments (i.e. leave the Terminal open). + You can leave this running throughout the different experiments (i.e. leave the Terminal open). Once running the terminal will report the current URL to type into your browser to initiate the test, usually this is http://localhost:8000/. To start the test, open the browser and type @@ -216,6 +216,8 @@ Then, just go to the URL of the corresponding HTML file, e.g. \texttt{http://server.com/path/to/WAET/index.html?url=test/my-test.xml}. If storing on the server doesn't work at submission (e.g. if the \texttt{projectReturn} attribute isn't properly set), the result XML file will be presented to the subject on the client side, as a `Save file' link. + \subsection{Multiple test documents} + By default the index page will load a demo page of tests. To automatically load a test document, you need to append the location in the URL. If your URL is normally http://localhost:8000/index.html you would append the following: \texttt{?url=/path/to/your/test.xml}. Replace the fields with your actual path, the path is local to the running directory, so if you have your test in the directory \texttt{example\_eval} called \texttt{project.xml} you would append \texttt{?url=/example\_eval/project.xml}. \clearpage @@ -245,18 +247,15 @@ As the example project showcases (nearly) all of these features, please refer to its configuration XML document for a demonstration of how to enable and adjust them. \subsection{Surveys} - \subsubsection{Pre- and post-page surveys} - - \subsubsection{Pre- and post-test surveys} - + Surveys are conducted through an in-page popup window which can collect data using various HTML functions, see Survey elements below for a list. Survey questions are placed into the \texttt{} or \texttt{} nodes. Appending these nodes to the \texttt{} node will have the survey options appear before any test pages (if in the \texttt{} node) or after all test pages. Placing the survey options in the \texttt{} node will have them appear before or after the test page they are a child of. \subsubsection{Survey elements} All survey elements (which `pop up' in the centre of the browser) have an \texttt{id} attribute, for retrieval of the responses in post-processing of the results, and a \texttt{mandatory} attribute, which if set to ``true'' requires the subjects to respond before they can continue. \begin{description} \item[statement] Simply shows text to the subject until `Next' or `Start' is clicked. - \item[question] Expects a text answer (in a text box). Has the \texttt{boxsize} argument: set to ``large'' or ``huge'' for a bigger box size. - \item[number] Expects a numerical value. Attribute \texttt{min="0"} specifies the minimum value - in this case the answer must be stricly positive before the subject can continue. - \item[radio] Radio buttons. + \item[question] Expects a text answer (in a text box). Has the \texttt{boxsize} argument: set to ``large'' or ``huge'' for a bigger box size, or ``small'' for small. + \item[number] Only accepts a numerical value. Attribute \texttt{min="0"} specifies the minimum value - in this case the answer must be stricly positive before the subject can continue. + \item[radio] Radio buttons. Presents a list of options to the user using radio buttons, where only one option from the list can be selected. \item[checkbox] Checkboxes. Note that when making a checkbox question ``mandatory'', the subject is forced to select at least one option (which could be e.g. `Other' or `None').\\ \end{description} @@ -307,31 +306,33 @@ \subsection{Randomisation} \subsubsection{Randomisation of configuration XML files} + The python server has a special function to automatically cycle through a list of test pages. Instead of directly requesting an XML, simply setting the url item in the browser URL to \texttt{pseudo.xml} will cycle through a list of XMLs. These XMLs must be in the local directory called \texttt{pseudo}. % how to % explain how this is implemented in the pythonServer - %Nick? already implemented in the PHP? + %Nick? already implemented in the PHP? + % Needs to be implemented in PHP and automated better, will complete soon \subsubsection{Randomsation of page order} - + The page order randomisation is set by the \texttt{} node attribute \texttt{randomise-order}, for example \texttt{...} will randomise the test page order. When not set, the default is to \textbf{not} randomise the test page order. \subsubsection{Randomisation of axis order} \subsubsection{Randomisation of fragment order} - + The audio fragment randomisation is set by the \texttt{} node attribute \texttt{randomise-order}, for example \texttt{...} will randomise the test page order. When not set, the default is to \textbf{not} randomise the test page order. \subsubsection{Randomisation of initial slider position} - + By default slider values are randomised on start. The MUSHRA interface supports setting the initial values of all sliders throught the \texttt{} attribute \texttt{initial-position}. This takes an integer between 0 and 100 to signify the slider position. % /subsubsection{Randomisation of survey question order} % should be an attribute of the individual 'pretest' and 'posttest' elements % uncomment once we have it \subsection{Looping} - Loops the fragments - % how to enable? + Looping enables the fragments to loop until stopped by the user. Looping is synchronous between samples so all samples start at the same time. + Individual test pages can have their playback looped by the \texttt{} attribute \texttt{loop} with a value of "true" or "false". If the fragments are not of equal length initially, they are padded with zeros so that they are equal length, to enable looping without the fragments going out of sync relative to each other. - Note that fragments cannot be played until all fragments are loaded when in looped mode, as the engine needs to assess whether all %Nick? Is this accurate? + Note that fragments cannot be played until all page fragments are loaded when in looped mode, as the engine needs to know the amount to pad the fragments. \subsection{Sample rate} If you require the test to be conducted at a certain sample rate (i.e. you do not tolerate resampling of the elements to correspond with the system's sample rate), add \texttt{sampleRate="96000"} - where ``96000'' can be any support sample rate - so that a warning message is shown alerting the subject the system's sample rate is different from this enforced sample rate. This of course means that in one test, all sample rates must be equal as it is impossible to change the system's sample rates during the test (even if you were to manually change it, then the browser must be restarted for it to take effect). @@ -342,9 +343,9 @@ Make visible by adding \texttt{