Mercurial > hg > webaudioevaluationtool
comparison docs/SMC15/smc2015template.tex @ 980:ceaaebf9e017
SMC Paper: Adding XML file examples and edits to intro and main seciton of paper.
author | Dave Moffat <djmoffat@users.noreply.github.com> |
---|---|
date | Fri, 24 Apr 2015 02:02:58 +0100 |
parents | 62b638aa1849 |
children | 43b5c8f95bcb |
comparison
equal
deleted
inserted
replaced
979:62b638aa1849 | 980:ceaaebf9e017 |
---|---|
167 In case of for instance method of adjustment, where the audio is processed by the user \cite{bech}, or of AB test, where the interface does not show all audio samples to be evaluated at once, the back end of the tool needs to be modified as well. | 167 In case of for instance method of adjustment, where the audio is processed by the user \cite{bech}, or of AB test, where the interface does not show all audio samples to be evaluated at once, the back end of the tool needs to be modified as well. |
168 | 168 |
169 There are a number of advantages to building a web audio based listening test environment. The ability to easily deploy a flexible and scalable testing environment that requires no proprietary software to run makes the web audio evaluation tool a very flexible testing tool. The ability to host a single test server and create multiple clients not only allows multiple participants to be involved in a trial simultaneously, but also permits participants to be located anywhere in the world. There are limited user experience issues, as all users should have some experience with using existing web technologies. | 169 There are a number of advantages to building a web audio based listening test environment. The ability to easily deploy a flexible and scalable testing environment that requires no proprietary software to run makes the web audio evaluation tool a very flexible testing tool. The ability to host a single test server and create multiple clients not only allows multiple participants to be involved in a trial simultaneously, but also permits participants to be located anywhere in the world. There are limited user experience issues, as all users should have some experience with using existing web technologies. |
170 | 170 |
171 | 171 |
172 %DAVE: justify: | |
173 %\begin{itemize} | |
174 %\item Easy deployment - no propitiatory software required | |
175 %\item Entirely scalable | |
176 %\item Trial multiple participants simultaneously | |
177 %\item Intuitive environment - everyone uses the internet | |
178 %\item Can be hosted and run from single location with participants worldwide | |
179 %\end{itemize} | |
180 | |
181 [TO ADD: in the following sections, we describe the interface in more detail, discuss the implementation, and go over design considerations and flexibility ... ] | 172 [TO ADD: in the following sections, we describe the interface in more detail, discuss the implementation, and go over design considerations and flexibility ... ] |
182 | 173 |
183 | 174 |
184 \section{Interface}\label{sec:interface} | 175 \section{Interface}\label{sec:interface} |
185 | 176 |
186 At this point, we have implemented the interface of the MATLAB-based APE Perceptual Evaluation for Audio toolbox \cite{deman2014b}, which shows one marker for each simultaneously evaluated audio fragment on one or more horizontal axes, that can be moved to rate or rank the respective fragments in terms of any subjective quality, as well as a comment box for every marker, and any extra text boxes for extra comments. See \ref{fig:interface} for an example of the interface, with eleven fragments and one axis. %? change if a new interface is shown | 177 At this point, we have implemented the interface of the MATLAB-based APE Perceptual Evaluation for Audio toolbox \cite{deman2014b}, which shows one marker for each simultaneously evaluated audio fragment on one or more horizontal axes, that can be moved to rate or rank the respective fragments in terms of any subjective quality, as well as a comment box for every marker, and any extra text boxes for extra comments. See \ref{fig:interface} for an example of the interface, with eleven fragments and one axis. %? change if a new interface is shown |
187 | 178 |
188 However, the back end of this test environment allows for many more established and novel interfaces for listening tests, particularly ones where the subject only assesses audio without manipulating it (i.e. method of adjustment, which would require additional features to be implemented). | 179 However, the back end of this test environment allows for many more established and novel interfaces for listening tests, particularly ones where the subject only assesses audio without manipulating it (i.e. method of adjustment, which would require additional features to be implemented). |
189 | 180 |
190 \begin{figure*}[htbp] | 181 \begin{figure*}[ht] |
191 \begin{center} | 182 \begin{center} |
192 \includegraphics[width=0.9\textwidth]{interface.png} | 183 \includegraphics[width=0.9\textwidth]{interface.png} |
193 \caption{Example of interface, with 1 axis and 11 fragments} | 184 \caption{Example of interface, with 1 axis and 11 fragments} |
194 \label{fig:interface} | 185 \label{fig:interface} |
195 \end{center} | 186 \end{center} |
196 \end{figure*} | 187 \end{figure*} |
197 [DAVE to make new picture] | 188 |
189 | |
190 ************ | |
191 | |
192 [DAVE to make new picture] - Apologies but I am having a few troubles being able to get a good looking example of the interface - The text boxes keep rolling out of bounds - and the resolution on my laptop being far from ideal. Can someone else please make a quick mockup test and take a screenshot. | |
193 | |
194 ************ | |
198 | 195 |
199 [BRECHT to expand] | 196 [BRECHT to expand] |
200 | 197 |
201 | 198 |
202 | 199 |
236 | 233 |
237 \section{Setup and results formats}\label{sec:setupresultsformats} | 234 \section{Setup and results formats}\label{sec:setupresultsformats} |
238 | 235 |
239 [DAVE: somewhere add input file] | 236 [DAVE: somewhere add input file] |
240 | 237 |
241 Setup and the results both use the common XML document format to outline the various parameters. The setup file determines which interface to use, the location of audio files, how many pages and other general setup rules to define the testing envrionment. Having one document to modify allows for quick manipulation in a `human readable' form to create new tests, or adjust current ones, without needing to edit multiple web files. % I mean the .js and .html files, though not sure if any better. | 238 Setup and the results both use the common XML document format to outline the various parameters. The setup file determines which interface to use, the location of audio files, how many pages and other general setup rules to define the testing environment. Having one document to modify allows for quick manipulation in a `human readable' form to create new tests, or adjust current ones, without needing to edit multiple web files. An example of this XML document is presented in Figure~\ref{fig:xmlIn}% I mean the .js and .html files, though not sure if any better. |
242 The setup document has several defined nodes and structure which are documented with the source code. For example there is a section for general setup options where the pre-test and post-test questions and statements are defined: | 239 |
243 | 240 \begin{figure}[ht] |
244 \texttt{<question id="location" mandatory="true"> Please enter your listening location \\ </question>} | 241 \begin{center} |
245 | 242 \includegraphics[width=0.5\textwidth]{XMLInput.png} |
246 From the above example it can be seen that a question box should be generated, with the id 'location' and it is mandatory to answer. The question is in the PreTest node meaning it will appear before any testing will begin. When the result for the entire test is shown, then this will appear in the PreTest node of the response with the id 'location' allowing it to be found easily. This outlines the importance of having clear and meaningful ID values. Pre- and post-test dialog boxes allow for comments or questions to be presented before or after the test, to convey listening test instructions, gather information about the subject, listening environment, and overall experience of the test. | 243 \caption{An Example Input XML File} |
244 \label{fig:xmlIn} | |
245 \end{center} | |
246 \end{figure} | |
247 | |
248 The setup document has several defined nodes and structure which are documented with the source code. For example there is a section for general setup options where the pre-test and post-test questions and statements are set up and from the example in Figure~\ref{fig:xmlIn}, it can be seen that a question box should be generated, with the id 'location' and it is mandatory to answer. The question is in the PreTest node meaning it will appear before any testing will begin. When the result for the entire test is shown, then this will appear in the PreTest node of the response with the id 'location' allowing it to be found easily. This outlines the importance of having clear and meaningful ID values. Pre- and post-test dialog boxes allow for comments or questions to be presented before or after the test, to convey listening test instructions, gather information about the subject, listening environment, and overall experience of the test. | |
247 | 249 |
248 [BRECHT to say we try to cater to as many audiences as possible, simple yet tweakable] | 250 [BRECHT to say we try to cater to as many audiences as possible, simple yet tweakable] |
249 | 251 |
250 Further options in the setup file are: | 252 Further options in the setup file are: |
251 | 253 |
252 \begin{itemize} | 254 \begin{itemize} %Should have used a description list for this. |
253 \item \textbf{Snap to corresponding position}: When this is enabled, and a fragment is playing, the playhead skips to the same position in the next fragment that is clicked. If it is not enabled, every fragment is played from the start. | 255 \item \textbf{Snap to corresponding position}: When this is enabled, and a fragment is playing, the playhead skips to the same position in the next fragment that is clicked. If it is not enabled, every fragment is played from the start. |
254 \item \textbf{Loop fragments}: Repeat current fragment when end is reached, until the `Stop audio' or `Submit' button is clicked. | 256 \item \textbf{Loop fragments}: Repeat current fragment when end is reached, until the `Stop audio' or `Submit' button is clicked. |
255 \item \textbf{Comments}: Displays a separate comment box for each fragment in the page. | 257 \item \textbf{Comments}: Displays a separate comment box for each fragment in the page. |
256 \item \textbf{General comment}: One comment box, additional to the individual comment boxes, to comment on the test or a feature that some or all of the fragments share. | 258 \item \textbf{General comment}: One comment box, additional to the individual comment boxes, to comment on the test or a feature that some or all of the fragments share. |
257 \item \textbf{Resampling}: When this is enabled, tracks are resampled to match the subject's system's sample rate (a default feature of the Web Audio API). When it is not, an error is shown when the system does not match the requested sample rate. | 259 \item \textbf{Resampling}: When this is enabled, tracks are resampled to match the subject's system's sample rate (a default feature of the Web Audio API). When it is not, an error is shown when the system does not match the requested sample rate. |
273 | 275 |
274 When one of these options is not included in the setup file, they assume a default value. | 276 When one of these options is not included in the setup file, they assume a default value. |
275 | 277 |
276 % loop, snap to corresponding position, comments, 'general' comment, require same sampling rate, different types of randomisation | 278 % loop, snap to corresponding position, comments, 'general' comment, require same sampling rate, different types of randomisation |
277 | 279 |
278 The results file is dynamically generated by the interface upon clicking the `Submit' button. This also executes checks, depending on the setup file, to ensure that all tracks have been played back, rated and commented on. The XML output returned contains a node per audioObject and contains both the corresponding marker's position and any comments written in the associated comment box. The rating returned is normalised to be a value between 0 and 1, normalising the pixel representation of different browser windows. | 280 The results file is dynamically generated by the interface upon clicking the `Submit' button. This also executes checks, depending on the setup file, to ensure that all tracks have been played back, rated and commented on. The XML output returned contains a node per audioObject and contains both the corresponding marker's position and any comments written in the associated comment box. The rating returned is normalised to be a value between 0 and 1, normalising the pixel representation of different browser windows. An example output file is presented in Figure~\ref{fig:xmlOut} |
281 | |
282 \begin{figure}[ht] | |
283 \begin{center} | |
284 \includegraphics[width=0.5\textwidth]{XMLOutput.png} | |
285 \caption{An Example Output XML File} | |
286 \label{fig:xmlOut} | |
287 \end{center} | |
288 \end{figure} | |
279 | 289 |
280 The results will also contain information collected by any defined pre/post questions. These are referenced against the setup XML by using the same ID so readable responses can be obtained. Taking from the earlier example of setting up a pre-test question, an example reponse would be shown as the following. | 290 The results will also contain information collected by any defined pre/post questions. These are referenced against the setup XML by using the same ID so readable responses can be obtained. Taking from the earlier example of setting up a pre-test question, an example reponse would be shown as the following. |
281 | 291 |
282 \texttt{<comment id="location"> Queen Mary \\University of London </comment>} | 292 \texttt{<comment id="location"> Queen Mary \\University of London </comment>} |
283 | 293 |
284 Each page of testing is returned with the results of the entire page included in the structure. One `audioElement' node is created per audio fragment per page, along with its ID. This includes several child nodes including the value holding the rating between 0 and 1, and any metrics collected. These include how long the element was listened for, the initial position, boolean flags if the element was listened to, if the element was moved and if the element comment box had any comment. Furthermore, each user action (manipulation of any interface element, such as playback or moving a marker) is logged along with a the corresponding time code and stored or sent along with the results. | 294 Each page of testing is returned with the results of the entire page included in the structure. One `audioElement' node is created per audio fragment per page, along with its ID. This includes several child nodes including the value holding the rating between 0 and 1, and any metrics collected. These include how long the element was listened for, the initial position, boolean flags if the element was listened to, if the element was moved and if the element comment box had any comment. Furthermore, each user action (manipulation of any interface element, such as playback or moving a marker) is logged along with a the corresponding time code and stored or sent along with the results. |
285 | 295 |
286 Future development will also evolve to include any session data, such as the browser the tool was used in. Currently the results files are downloaded on the user side of the browser as a .xml file to be manually returned. However the end goal is to allow the XML files to be submitted over the web to a receiving server to store them, allowing for automated collection. | 296 Future development will also evolve to include any session data, such as the browser the tool was used in. Currently the results files are downloaded on the user side of the browser as a .xml file to be manually returned. However the end goal is to allow the XML files to be submitted over the web to a receiving server to store them, allowing for automated collection. |
297 | |
298 ********************* | |
299 | |
300 Do we want to discuss this in the future of present tense - as it will be a working feature by the time we are published (July at the earliest?) So this can be present tense - as in 'this work has already been done' or should this go into further work? | |
301 | |
302 ********************* | |
287 | 303 |
288 % right? | 304 % right? |
289 | 305 |
290 %Here is an example of the setup XML and the results XML: % perhaps best to refer to each XML after each section (setup <> results) | 306 %Here is an example of the setup XML and the results XML: % perhaps best to refer to each XML after each section (setup <> results) |
291 % Should we include an Example of the input and output XML structure?? --> Sure. | 307 % Should we include an Example of the input and output XML structure?? --> Sure. |
292 | 308 |
293 An example of the returned \textit{audioElement} node in the results XML file is as follows. | 309 %An example of the returned \textit{audioElement} node in the results XML file is as follows. |
294 | 310 % |
295 \texttt{<audioelement id="8"> \\ | 311 %\texttt{<audioelement id="8"> \\ |
296 <comment> \\ | 312 %<comment> \\ |
297 <question>Comment on track 0</question> \\ | 313 %<question>Comment on track 0</question> \\ |
298 <response> The drums were punchy </response> \\ | 314 %<response> The drums were punchy </response> \\ |
299 </comment> \\ | 315 %</comment> \\ |
300 <value> 0.25169491525423726 </value> \\ | 316 %<value> 0.25169491525423726 </value> \\ |
301 <metric> \\ | 317 %<metric> \\ |
302 <metricresult id="elementTimer"> \\ 2.3278004535147385< /metricresult> \\ | 318 %<metricresult id="elementTimer"> \\ 2.3278004535147385< /metricresult> \\ |
303 <metricresult id="elementTrackerFull"> \\ | 319 %<metricresult id="elementTrackerFull"> \\ |
304 <timepos id="0"> \\ | 320 %<timepos id="0"> \\ |
305 <time>1.7937414965986385</time> \\ | 321 %<time>1.7937414965986385</time> \\ |
306 <position>0.41694915254237286</position> \\ | 322 %<position>0.41694915254237286</position> \\ |
307 </timepos> \\ | 323 %</timepos> \\ |
308 <timepos id="1"> \\ | 324 %<timepos id="1"> \\ |
309 <time>2.6993197278911563</time> \\ | 325 %<time>2.6993197278911563</time> \\ |
310 <position>0.45847457627118643</position> \\ | 326 %<position>0.45847457627118643</position> \\ |
311 </timepos> \\</metricresult> \\ | 327 %</timepos> \\</metricresult> \\ |
312 <metricresult id="elementInitialPosition"> 0.47796610169491527 </metricresult> \\ | 328 %<metricresult id="elementInitialPosition"> 0.47796610169491527 </metricresult> \\ |
313 <metricresult id="elementFlagListenedTo"> true< /metricresult> \\ | 329 %<metricresult id="elementFlagListenedTo"> true< /metricresult> \\ |
314 <metricresult id="elementFlagMoved"> true </metricresult> \\ | 330 %<metricresult id="elementFlagMoved"> true </metricresult> \\ |
315 </metric> \\ | 331 %</metric> \\ |
316 </audioelement>} | 332 %</audioelement>} |
317 | 333 |
318 As can be seen, the parent tag \texttt{audioelement} holds the id of the element passed in from the setup document. The first child element is \texttt{comment} and holds both the question shown and the response from the comment box inside. | 334 As can be seen from Figure~\ref{fig:xmlOut}, the parent tag \texttt{audioelement} holds the id of the element passed in from the setup document. The first child element is \texttt{comment} and holds both the question shown and the response from the comment box inside. |
319 The child element \texttt{value} holds the normalised ranking value. Next comes the metric node structure, there is one \texttt{metricresult} node per metric event collected. The id of the node identifies the type of data it contains. For example, the first holds the id \textit{elementTimer} and the data contained represents how long, in seconds, the audio element was listened to. The next holds the id \textit{elementTrackerFull} and contains a pair of elements per entry. This represents the entire movement of the elements' slider giving the time the event took place in seconds from when the current test page started, and the new position. In our example there are three \texttt{timepos} children with their id representing their order. There is one of these \texttt{audioelement} tags per audio element outlined on each test page. | 335 The child element \texttt{value} holds the normalised ranking value. Next comes the metric node structure, there is one \texttt{metricresult} node per metric event collected. The id of the node identifies the type of data it contains. For example, the first holds the id \textit{elementTimer} and the data contained represents how long, in seconds, the audio element was listened to. The next holds the id \textit{elementTrackerFull} and contains a pair of elements per entry. This represents the entire movement of the elements' slider giving the time the event took place in seconds from when the current test page started, and the new position. In our example there are three \texttt{timepos} children with their id representing their order. There is one of these \texttt{audioelement} tags per audio element outlined on each test page. |
320 | 336 |
321 \section{Conclusions and future work}\label{sec:conclusions} | 337 \section{Conclusions and future work}\label{sec:conclusions} |
322 | 338 |
323 In this paper we have presented an approach to creating a browser-based listening test environment that can be used for a variety of types of perceptual evaluation of audio. | 339 In this paper we have presented an approach to creating a browser-based listening test environment that can be used for a variety of types of perceptual evaluation of audio. |