source: audiogui/doc/audiogui.tex

Last change on this file was 12, checked in by wouter, 3 years ago

updated doc

File size: 6.3 KB
Line 
1\documentclass[10pt,a4paper]{article}
2\usepackage{graphicx}
3\usepackage{wrapfig}
4\usepackage{url}
5\usepackage{textcomp}
6\usepackage{color}
7\usepackage{longtable}
8\usepackage[T1]{fontenc}
9\usepackage{enumerate}
10\usepackage{float}
11\usepackage{caption}
12\usepackage{subcaption}
13\usepackage{stackengine}
14\captionsetup[figure]{labelformat=empty}
15\captionsetup[table]{labelformat=empty}
16\topmargin -1.5cm
17\oddsidemargin -0.04cm
18\evensidemargin -0.04cm
19\textwidth 16.59cm
20\textheight 24.94cm
21\title{AudioGUI software manual}
22\date{}
23\author{}
24\begin{document}
25\maketitle
26
27
28\tableofcontents
29
30
31\newpage
32\section{Installing the microphone}
33
34We recommend using a good microphone, such as the Scarlett+sE X1 microphone. The application does work with build-in microphone but the audio quality probably will be poor.
35
36\begin{itemize}
37\item Attach the microphone cable to the Scarlett 2i2 USB interface (Fig.1). You need only 1 microphone as the application uses mono audio. Usually for mono recording you need to attach to the left channel / first channel / channel 0.
38\item Attach the USB cable from the Scarlett 2i2 USB interface to your computer.
39\end{itemize}
40
41\begin{figure}[H]
42 \stackunder[5pt]{\includegraphics[width=.6\textwidth]{scarlett.jpg}}{\small{\textit{Fig.1 - Scarlett 2i2 USB interface}}}
43\end{figure}
44
45
46\begin{figure}[H]
47 \stackunder[5pt]{\includegraphics[width=.5\textwidth]{sex1.jpg}}{\small{\textit{Fig.2 - sE X1 Microphone}}}
48\end{figure}
49
50
51\subsection{Mac OS X }
52
53
54\subsubsection{Choosing the right input}
55
56\begin{itemize}
57\item Start \textbf{System Preferences}.
58\item Choose \textbf{Sound}.
59\item Choose \textbf{Input}.
60\item Choose \textbf{Scarlett 2i2 USB} (see Fig.3).
61\end{itemize}
62
63\begin{figure}[H]
64 \stackunder[5pt]{\includegraphics[width=.8\textwidth]{soundchoice.eps}}{\small{\textit{Fig.3 - System Preferences Sound configuration}}}
65\end{figure}
66~
67\newline
68\newline
69\newline
70
71
72\subsection{Windows}
73This section describes how to install the Scarlett 2i2 driver in Windows.
74
75\subsubsection{Driver download and install}
76Download and install the Scarlett 2i2 Windows driver at the Focusrite website (Fig.4):
77\newline
78\url{https://us.focusrite.com/downloads}
79
80\begin{figure}[H]
81 \stackunder[5pt]{\includegraphics[width=0.8\textwidth]{downloadwin.eps}}{\small{\textit{Fig.4 - Download the driver}}}
82\end{figure}
83
84
85\subsubsection{Sound configuration}
86
87\begin{itemize}
88\item Go to the \textbf{Control Panel} and choose \textbf{Hardware and Sound}, \textbf{Devices and Printers}.
89\item Right-click the \textbf{Scarlett 2i2 USB} device and choose \textbf{Properties}. See Fig.5.
90\end{itemize}
91
92
93\begin{figure}[H]
94 \stackunder[5pt]{\includegraphics[width=0.8\textwidth]{deviceswin2.eps}}{\small{\textit{Fig.5 - Devices and Printers}}}
95\end{figure}
96
97
98~
99\newline
100Be sure that the Scarlett 2i2 device is visible in the \textbf{Properties} See Fig.6.
101
102\begin{figure}[H]
103 \stackunder[5pt]{\includegraphics[width=0.4\textwidth]{line-inwin.eps}}{\small{\textit{Fig.6 - Device Properties}}}
104\end{figure}
105
106~
107\newline
108\begin{itemize}
109\item Go to \textbf{Control panel}, \textbf{Hardware and Sound} , \textbf{Sound} and choose \textbf{Recording}
110\item Set the Scarlett 2i2 device as the default Line in device. See Fig.7.
111\item Go to \textbf{Control panel}, \textbf{Hardware and Sound} , \textbf{Sound} and choose \textbf{Playback}
112\item Set the computer Speakers as the default Playback device.
113\end{itemize}
114
115\begin{figure}[H]
116 \stackunder[5pt]{\includegraphics[width=0.5\textwidth]{recordingwin.eps}}{\small{\textit{Fig.7 - Recording and Playback settings}}}
117\end{figure}
118~
119\newline
120\newline
121\newline
122
123
124
125
126\section{Installing the software}
127Perform the following steps to install the software
128\begin{enumerate}
129\item Install java 8 or higher (\url{http://www.oracle.com/technetwork/java/javase/downloads/index.html})
130\item Install the audio device driver as discussed in the previous chapter.
131\item Build the application with maven.
132\item Copy the audiogui-1.0.4-jar-with-dependencies.jar and sentences.txt to a directory of your choice.
133\end{enumerate}
134
135\section{Using the Application}
136
137Start the program by double-clicking the jar-file, or from the commandline using {{{java -jar audiogui-1.0.4.jar-with-dependencies.jar}}}. You now enter phase 1 of the process.
138
139\subsection{Phase 1}
140In phase 1 the user records the sentences.
141\begin{itemize}
142\item Phase 1 of the AudioGui user interface should appear on your screen (Fig. 8).
143\item At the top of the screen is the sentence shown that has to be recorded.
144\item Press the \textbf{Record} button and speak the sentence in the microphone.
145\item Stop recording by clicking the stop icon. The recording stops automatically after 30 seconds.
146\item Check the peak indicator in the audio volume area. If it has come into the red area (> 3dB), then the recording has been clipped. If that happens, lower the recording volume. If it is way below 12dB, increase the recording volume. If you have to adjust the recording volume, re-record the sentence.
147\item Press the \textbf{Play} button to check the recording quality. If not satisfied, record again.
148\item If the recording is satisfactory, press the \textbf{Confirm} button, and the recording will be saved to a WAV-file on your computer. The files are saved in a new directory created in the system's current working directory (usually the directory where the application jar is located).
149\item If all sentences have been recorded the program proceeds to phase 2.
150\end{itemize}
151
152\begin{figure}[H]
153 \includegraphics[width=1.0\textwidth]{phase1.png}}{\small{\textit{Fig.8 - The user interface. At the top the sentence to be spoken for recording. At the bottom from left to right the recording volume area, the record button, the play button and the confirm button. }}
154\end{figure}
155
156\subsection{Phase 2}
157In phase two the user adjusts the audio filters.
158\begin{itemize}
159\item Phase 2 of the AudioGui user interface should appear on the screen (Fig. 9).
160\item Press the play button to (re)play your last recording.
161\item Drag the sliders until recording sounds properly.
162\item If the setting is satisfactory, press the \textbf{Confirm} button. The settings are saved to a bend.xml file.
163\item the program thanks you for participation and exits.
164\end{itemize}
165
166\begin{figure}[H]
167 \stackunder[5pt]{\includegraphics[width=1.0\textwidth]{phase2.png}}{\small{\textit{Fig.9 - Phase 2 of the user interface}}}
168\end{figure}
169
170
171
172
173
174
175\end{document}
176
Note: See TracBrowser for help on using the repository browser.