Mercurial > hg > webaudioevaluationtool
comparison docs/ProjectSpecificationDocument.tex @ 1658:274014f482f3
Updated the interface modification to the specification document. Updated example XML at bottom of the page
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Sat, 11 Apr 2015 11:45:04 +0100 |
parents | 06e4d36ca9d7 |
children | 89e08a7e0b6b |
comparison
equal
deleted
inserted
replaced
1657:faa52cea3e3d | 1658:274014f482f3 |
---|---|
64 \begin{itemize} | 64 \begin{itemize} |
65 \item \texttt{url} - Mandatory, String. Contain the full URL to the track. If the Tracks tag hostURL is set, concatenate this tag with the hostURL attribute to obtain the full URL. | 65 \item \texttt{url} - Mandatory, String. Contain the full URL to the track. If the Tracks tag hostURL is set, concatenate this tag with the hostURL attribute to obtain the full URL. |
66 \item \texttt{ID} - Optional, Number. Give the track a specific ID for the return. This will help if using multiple projects to spread a test across multiple sessions and/or locations, where each test will not use all the samples. If one audioElement is given the ID 3, the next audioElement (assuming it does not have an ID set itself) will have the ID of 4. This continues until the next audioElement with the ID attribute set is reached. | 66 \item \texttt{ID} - Optional, Number. Give the track a specific ID for the return. This will help if using multiple projects to spread a test across multiple sessions and/or locations, where each test will not use all the samples. If one audioElement is given the ID 3, the next audioElement (assuming it does not have an ID set itself) will have the ID of 4. This continues until the next audioElement with the ID attribute set is reached. |
67 \end{itemize} | 67 \end{itemize} |
68 | 68 |
69 \section{interfaceSetup} | 69 \section{interface tag} |
70 | 70 |
71 This is contained within the audioHolder tag and outlines test instance specific requirements. These include the following children tags: title - question title at the top of the page, scaleMin - minimum scale value text, scaleMax - maximum scale value text, scaleMid - halfway scale value text. There is also a preTest tag here allowing for specific questions/statements to be presented before running this specific test. | 71 This is contained within the audioHolder tag and outlines test instance specific requirements. These include the following children tags: |
72 \begin{itemize} | |
73 \item 'title' - Contains the test title to be shown at the top of the page | |
74 \item 'scale' - Takes the attribute position to be a value between 0 and 100 indicating where on the scale to place the text contained inside. | |
75 \end{itemize} | |
72 | 76 |
73 \section {CommentQuestion tag} | 77 \section {CommentQuestion tag} |
74 | 78 |
75 This is a 1st level tag (same level as AudioHolder and setup). This allows another question and comment box to be presented on the page. The results of these are passed back in the results XML with both the comment and the question. | 79 This is a 1st level tag (same level as AudioHolder and setup). This allows another question and comment box to be presented on the page. The results of these are passed back in the results XML with both the comment and the question. |
76 | 80 |
159 Here is an example XML structure | 163 Here is an example XML structure |
160 | 164 |
161 \begin{lstlisting} | 165 \begin{lstlisting} |
162 <?xml version="1.0" encoding="utf-8"?> | 166 <?xml version="1.0" encoding="utf-8"?> |
163 <BrowserEvalProjectDocument> | 167 <BrowserEvalProjectDocument> |
164 <setup interface="APE" projectReturn="null" /> | 168 <setup interface="APE" projectReturn="null" randomiseOrder='true' collectMetrics='true'> |
165 <AudioHolder hostURL="example_eval/" sampleRate="44100" | 169 <PreTest> |
166 sampleRateExplicit="true"> | 170 <statement>Please listen to all mixes</statement> |
167 <audioElements url="0.wav" ID="0"/> | 171 <question id="location" mandatory="true">Please enter your listening location</question> |
168 <audioElements url="1.wav"/> | 172 </PreTest> |
169 <audioElements url="2.wav"/> | 173 <PostTest> |
170 <audioElements url="3.wav"/> | 174 <statement>Thank you for taking this listening test.</statement> |
171 <audioElements url="4.wav"/> | 175 <question id="SessionID">Please enter your name.</question> |
172 <audioElements url="5.wav"/> | 176 </PostTest> |
173 <audioElements url="6.wav"/> | 177 <Metric> |
174 <audioElements url="7.wav"/> | 178 <metricEnable>testTimer</metricEnable> |
175 <audioElements url="8.wav"/> | 179 <metricEnable>elementTimer</metricEnable> |
176 <audioElements url="9.wav"/> | 180 <metricEnable>elementTracker</metricEnable> |
177 <audioElements url="10.wav"/> | 181 <metricEnable>elementFlagListenedTo</metricEnable> |
178 </AudioHolder> | 182 <metricEnable>elementFlagMoved</metricEnable> |
179 <CommentQuestion>What is your mixing experiance</CommentQuestion> | 183 </Metric> |
180 <PreTest> | 184 </setup> |
181 <statement>Please listen to all mixes</statement> | 185 <audioHolder id='0' hostURL="example_eval/" sampleRate="44100" randomiseOrder='true' repeatCount='1'> |
182 </PreTest> | 186 <interface> |
183 <PostTest> | 187 <title>Example Test Question</title> |
184 <statement>Thank you for taking this listening test.</statement> | 188 <scale position="0">Min</scale> |
185 <question>Please enter your name.</question> | 189 <scale position="100">Max</scale> |
186 </PostTest> | 190 <scale position="50">Middle</scale> |
191 <scale position="20">20</scale> | |
192 </interface> | |
193 <audioElements url="0.wav" id="0"/> | |
194 <audioElements url="1.wav" id="1"/> | |
195 <audioElements url="2.wav" id="2"/> | |
196 <audioElements url="3.wav" id="3"/> | |
197 <audioElements url="4.wav" id="4"/> | |
198 <audioElements url="5.wav" id="5"/> | |
199 <audioElements url="6.wav" id="6"/> | |
200 <audioElements url="7.wav" id="7"/> | |
201 <audioElements url="8.wav" id="8"/> | |
202 <audioElements url="9.wav" id="9"/> | |
203 <audioElements url="10.wav" id="10"/> | |
204 <CommentQuestion id='mixingExperiance'>What is your mixing experiance</CommentQuestion> | |
205 <PreTest> | |
206 <statement>Start the Test 3</statement> | |
207 </PreTest> | |
208 <PostTest> | |
209 <statement>Please take a break before the next test</statement> | |
210 <question id="testComment">How did you find the test</question> | |
211 </PostTest> | |
212 </audioHolder> | |
187 </BrowserEvalProjectDocument> | 213 </BrowserEvalProjectDocument> |
188 \end{lstlisting} | 214 \end{lstlisting} |
189 | 215 |
190 | 216 |
191 | 217 |