\documentclass[11pt,twoside]{article}\makeatletter

\IfFileExists{xcolor.sty}%
  {\RequirePackage{xcolor}}%
  {\RequirePackage{color}}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{ifxetex}
\ifxetex
  \usepackage{fontspec}
  \usepackage{xunicode}
  \catcode`⃥=\active \def⃥{\textbackslash}
  \catcode`❴=\active \def❴{\{}
  \catcode`❵=\active \def❵{\}}
  \def\textJapanese{\fontspec{Noto Sans CJK JP}}
  \def\textChinese{\fontspec{Noto Sans CJK SC}}
  \def\textKorean{\fontspec{Noto Sans CJK KR}}
  \setmonofont{DejaVu Sans Mono}
  
\else
  \IfFileExists{utf8x.def}%
   {\usepackage[utf8x]{inputenc}
      \PrerenderUnicode{–}
    }%
   {\usepackage[utf8]{inputenc}}
  \usepackage[english]{babel}
  \usepackage[T1]{fontenc}
  \usepackage{float}
  \usepackage[]{ucs}
  \uc@dclc{8421}{default}{\textbackslash }
  \uc@dclc{10100}{default}{\{}
  \uc@dclc{10101}{default}{\}}
  \uc@dclc{8491}{default}{\AA{}}
  \uc@dclc{8239}{default}{\,}
  \uc@dclc{20154}{default}{ }
  \uc@dclc{10148}{default}{>}
  \def\textschwa{\rotatebox{-90}{e}}
  \def\textJapanese{}
  \def\textChinese{}
  \IfFileExists{tipa.sty}{\usepackage{tipa}}{}
\fi
\def\exampleFont{\ttfamily\small}
\DeclareTextSymbol{\textpi}{OML}{25}
\usepackage{relsize}
\RequirePackage{array}
\def\@testpach{\@chclass
 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
  \ifnum \@lastchclass=7 5 \else
   \ifnum \@lastchclass=8 \tw@ \else
    \ifnum \@lastchclass=9 \thr@@
   \else \z@
   \ifnum \@lastchclass = 10 \else
   \edef\@nextchar{\expandafter\string\@nextchar}%
   \@chnum
   \if \@nextchar c\z@ \else
    \if \@nextchar l\@ne \else
     \if \@nextchar r\tw@ \else
   \z@ \@chclass
   \if\@nextchar |\@ne \else
    \if \@nextchar !6 \else
     \if \@nextchar @7 \else
      \if \@nextchar (8 \else
       \if \@nextchar )9 \else
  10
  \@chnum
  \if \@nextchar m\thr@@\else
   \if \@nextchar p4 \else
    \if \@nextchar b5 \else
   \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi
   \fi \fi  \fi  \fi  \fi  \fi  \fi \fi \fi \fi \fi \fi}
\gdef\arraybackslash{\let\\=\@arraycr}
\def\@textsubscript#1{{\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\def\abbr{}
\def\corr{}
\def\expan{}
\def\gap{}
\def\orig{}
\def\reg{}
\def\ref{}
\def\sic{}
\def\persName{}\def\name{}
\def\placeName{}
\def\orgName{}
\def\textcal#1{{\fontspec{Lucida Calligraphy}#1}}
\def\textgothic#1{{\fontspec{Lucida Blackletter}#1}}
\def\textlarge#1{{\large #1}}
\def\textoverbar#1{\ensuremath{\overline{#1}}}
\def\textquoted#1{‘#1’}
\def\textsmall#1{{\small #1}}
\def\textsubscript#1{\@textsubscript{\selectfont#1}}
\def\textxi{\ensuremath{\xi}}
\def\titlem{\itshape}
\newenvironment{biblfree}{}{\ifvmode\par\fi }
\newenvironment{bibl}{}{}
\newenvironment{byline}{\vskip6pt\itshape\fontsize{16pt}{18pt}\selectfont}{\par }
\newenvironment{citbibl}{}{\ifvmode\par\fi }
\newenvironment{docAuthor}{\ifvmode\vskip4pt\fontsize{16pt}{18pt}\selectfont\fi\itshape}{\ifvmode\par\fi }
\newenvironment{docDate}{}{\ifvmode\par\fi }
\newenvironment{docImprint}{\vskip 6pt}{\ifvmode\par\fi }
\newenvironment{docTitle}{\vskip6pt\bfseries\fontsize{22pt}{25pt}\selectfont}{\par }
\newenvironment{msHead}{\vskip 6pt}{\par}
\newenvironment{msItem}{\vskip 6pt}{\par}
\newenvironment{rubric}{}{}
\newenvironment{titlePart}{}{\par }

\newcolumntype{L}[1]{){\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{){\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{){\raggedleft\arraybackslash}p{#1}}
\newcolumntype{P}[1]{){\arraybackslash}p{#1}}
\newcolumntype{B}[1]{){\arraybackslash}b{#1}}
\newcolumntype{M}[1]{){\arraybackslash}m{#1}}
\definecolor{label}{gray}{0.75}
\def\unusedattribute#1{\sout{\textcolor{label}{#1}}}
\DeclareRobustCommand*{\xref}{\hyper@normalise\xref@}
\def\xref@#1#2{\hyper@linkurl{#2}{#1}}
\begingroup
\catcode`\_=\active
\gdef_#1{\ensuremath{\sb{\mathrm{#1}}}}
\endgroup
\mathcode`\_=\string"8000
\catcode`\_=12\relax

\usepackage[a4paper,twoside,lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in,marginparwidth=0.75in]{geometry}
\usepackage{framed}

\definecolor{shadecolor}{gray}{0.95}
\usepackage{longtable}
\usepackage[normalem]{ulem}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{marginnote}

\renewcommand{\@cite}[1]{#1}


\renewcommand*{\marginfont}{\itshape\footnotesize}

\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}

  \pagestyle{fancy}

\usepackage[pdftitle={Development of Voice Recognition for Student Attendance},
 pdfauthor={}]{hyperref}
\hyperbaseurl{}

	 \paperwidth210mm
	 \paperheight297mm
              
\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{3}
\clubpenalty=8000
\emergencystretch 3em
\hbadness=4000
\hyphenpenalty=400
\pretolerance=750
\tolerance=2000
\vbadness=4000
\widowpenalty=10000

\renewcommand\section{\@startsection {section}{1}{\z@}%
     {-1.75ex \@plus -0.5ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
     {-1.75ex\@plus -0.5ex \@minus- .2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
     {-1.5ex\@plus -0.35ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\large}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
     {-1ex \@plus-0.35ex \@minus -0.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\normalsize}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
     {1.5ex \@plus1ex \@minus .2ex}%
     {-1em}%
     {\reset@font\normalsize\bfseries}}


\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
 \@tempdima 1.5em \begingroup
 \parindent \z@ \rightskip \@pnumwidth 
 \parfillskip -\@pnumwidth 
 \bfseries \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}\par
 \endgroup}
\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\@ifundefined{c@section}{\newcounter{section}}{}
\@ifundefined{c@chapter}{\newcounter{chapter}}{}
\newif\if@mainmatter 
\@mainmattertrue
\def\chaptername{Chapter}
\def\frontmatter{%
  \pagenumbering{roman}
  \def\thechapter{\@roman\c@chapter}
  \def\theHchapter{\roman{chapter}}
  \def\thesection{\@roman\c@section}
  \def\theHsection{\roman{section}}
  \def\@chapapp{}%
}
\def\mainmatter{%
  \cleardoublepage
  \def\thechapter{\@arabic\c@chapter}
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \pagenumbering{arabic}
  \setcounter{secnumdepth}{6}
  \def\@chapapp{\chaptername}%
  \def\theHchapter{\arabic{chapter}}
  \def\thesection{\@arabic\c@section}
  \def\theHsection{\arabic{section}}
}
\def\backmatter{%
  \cleardoublepage
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \setcounter{secnumdepth}{2}
  \def\@chapapp{\appendixname}%
  \def\thechapter{\@Alph\c@chapter}
  \def\theHchapter{\Alph{chapter}}
  \appendix
}
\newenvironment{bibitemlist}[1]{%
   \list{\@biblabel{\@arabic\c@enumiv}}%
       {\settowidth\labelwidth{\@biblabel{#1}}%
        \leftmargin\labelwidth
        \advance\leftmargin\labelsep
        \@openbib@code
        \usecounter{enumiv}%
        \let\p@enumiv\@empty
        \renewcommand\theenumiv{\@arabic\c@enumiv}%
	}%
  \sloppy
  \clubpenalty4000
  \@clubpenalty \clubpenalty
  \widowpenalty4000%
  \sfcode`\.\@m}%
  {\def\@noitemerr
    {\@latex@warning{Empty `bibitemlist' environment}}%
    \endlist}

\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}}
\parskip0pt
\parindent1em
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\newenvironment{reflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemsep}{0pt}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\itshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{sansreflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\itemsep}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\upshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{specHead}[2]%
 {\vspace{20pt}\hrule\vspace{10pt}%
  \phantomsection\label{#1}\markright{#2}%

  \pdfbookmark[2]{#2}{#1}%
  \hspace{-0.75in}{\bfseries\fontsize{16pt}{18pt}\selectfont#2}%
  }{}
      \def\TheFullDate{2016-01-15 (revised: 15 January 2016)}
\def\TheID{\makeatother }
\def\TheDate{2016-01-15}
\title{Development of Voice Recognition for Student Attendance}
\author{}\makeatletter 
\makeatletter
\newcommand*{\cleartoleftpage}{%
  \clearpage
    \if@twoside
    \ifodd\c@page
      \hbox{}\newpage
      \if@twocolumn
        \hbox{}\newpage
      \fi
    \fi
  \fi
}
\makeatother
\makeatletter
\thispagestyle{empty}
\markright{\@title}\markboth{\@title}{\@author}
\renewcommand\small{\@setfontsize\small{9pt}{11pt}\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus2\p@
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
\def\@listi{\leftmargin\leftmargini
               \topsep 2\p@ plus1\p@ minus1\p@
               \parsep 2\p@ plus\p@ minus\p@
               \itemsep 1pt}
}
\makeatother
\fvset{frame=single,numberblanklines=false,xleftmargin=5mm,xrightmargin=5mm}
\fancyhf{} 
\setlength{\headheight}{14pt}
\fancyhead[LE]{\bfseries\leftmark} 
\fancyhead[RO]{\bfseries\rightmark} 
\fancyfoot[RO]{}
\fancyfoot[CO]{\thepage}
\fancyfoot[LO]{\TheID}
\fancyfoot[LE]{}
\fancyfoot[CE]{\thepage}
\fancyfoot[RE]{\TheID}
\hypersetup{citebordercolor=0.75 0.75 0.75,linkbordercolor=0.75 0.75 0.75,urlbordercolor=0.75 0.75 0.75,bookmarksnumbered=true}
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}

\date{}
\usepackage{authblk}

\providecommand{\keywords}[1]
{
\footnotesize
  \textbf{\textit{Index terms---}} #1
}

\usepackage{graphicx,xcolor}
\definecolor{GJBlue}{HTML}{273B81}
\definecolor{GJLightBlue}{HTML}{0A9DD9}
\definecolor{GJMediumGrey}{HTML}{6D6E70}
\definecolor{GJLightGrey}{HTML}{929497} 

\renewenvironment{abstract}{%
   \setlength{\parindent}{0pt}\raggedright
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
   \textcolor{GJBlue}{\large\bfseries\abstractname\space}
}{%   
   \vskip8pt
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
}

\usepackage[absolute,overlay]{textpos}

\makeatother 
      \usepackage{lineno}
      \linenumbers
      
\begin{document}

             \author[1]{MD. Nasir  Uddin}

             \author[2]{Nasir  Uddin}

             \author[3]{Nasir  Uddin}

             \author[4]{MD. Nasir  Uddin}

             \affil[1]{  International Islamic University Malaysia}

\renewcommand\Authands{ and }

\date{\small \em Received: 14 December 2015 Accepted: 5 January 2016 Published: 15 January 2016}

\maketitle


\begin{abstract}
        


Development of voice recognition for student attendance system is beneficial in many ways. It helps the lecturer in administrative the attendance of their student with efficiency. This is because students always cheat with their attendancy by signing on behalf of their friend who did not attend class. With this project, voice biometric is used as a medium for student to mark their attendance. Cheating among students will be prevented because like fingerprints, each voice is different. The objectives of this project are to study and understand the properties understand the properties of speaker recognition and to analyze the effectiveness of using Euclidean distance feature for speaker recognition. Databases of 26 volunteers were collected consisting of only male. The report result is tabulated. Three types of analysis were done, first same train is used as test data reported 100% correct. The remaining two analyses used different test data recording. Volunteers use the same sentence as test data reported 76.92% correct. Lastly volunteers used their name and the correct percentage is 46.15%.

\end{abstract}


\keywords{speaker recognition and to analyze the effectiveness.}

\begin{textblock*}{18cm}(1cm,1cm) % {block width} (coords) 
\textcolor{GJBlue}{\LARGE Global Journals \LaTeX\ JournalKaleidoscope\texttrademark}
\end{textblock*}

\begin{textblock*}{18cm}(1.4cm,1.5cm) % {block width} (coords) 
\textcolor{GJBlue}{\footnotesize \\ Artificial Intelligence formulated this projection for compatibility purposes from the original article published at Global Journals. However, this technology is currently in beta. \emph{Therefore, kindly ignore odd layouts, missed formulae, text, tables, or figures.}}
\end{textblock*}


\let\tabcellsep& 	 	 		 
\section[{Introduction a) Overview}]{Introduction a) Overview}\par
nitially, lecture attendance systems in IIUM University were based on a piece of attendance paper that is passed around by students, which requires student to sign on the date column under their name. Sometimes, lecturer calls the person name one by one to mark as attendance but this method are time consuming. As an alternative solution, biometrics technologies can be introduced to construct a more powerful version of attendance system. Biometric is an authentications technique that recognizes unique features in each human being. In this case, voice recognition is used as biometric because it is a natural signal to produce. Each person has their unique characteristic in speech and voice that can be captured and analyse to make this new class attendance more efficient and effective.\par
Voice recognition can be divided into two, which are speech recognition and speaker recognition. Both are using voice biometric differently. Speech recognition is the ability to recognize what have been said while speaker recognition is the ability to recognize who is speaking. In brief, speech recognition covers the ability to match a voice pattern against an acquired or provided vocabulary. Normally, the vocabulary given is small and the user needs to record a new word to expand the vocabulary.\par
Speaker recognition is the process of automatically recognizing who is speaking on the basis of individual information included in speech signals. It can be divided into two tasks, which are identification and verification. Speaker identification is uded to decide which unknown voice belongs to from amonst a set of known speakers. Speaker verification accepts or rejects the identity claim of a speaker. For this project speaker identification in speaker recognition is used. The unknown speaker is later labeled as test data and the set of known speaker is labeled as train data. This is possible because different speakers have different spectra for similar sound. Spectra are the location and magnitude of peaks in spectrum. 
\section[{b) Problem Statement}]{b) Problem Statement}\par
As mentioned earlier, a piece of paper is used as an attendance in our lecture. This method comes with many problems. If a student attendance is less than 80\% or missed six classes per semester, they will be barred from the final examination. Three classes miss, warning letter will be issued by the lecturer and sent to their parent.\par
To avoid all of the above, if a student did not come on that particular lecture, he or she will ask their friend to sign on their behalf. Sometimes, the class is empty and when the lecturer checks the attendance, it is fully sign. When ask who is responsible for this action, nobody will admit it. This is not fair to those students who come regularly, as their attendance is the same with those who seldom comes. There is a case where the student only comes a few times per semester that is only during quiz and exams day. When the result turn out bad, that student will blame the lecturer.\par
Furthermore, when a student has a habit of missing classes, they tend to bring this bad habit in their working world. This will badly affect their performance and reputation. To overcome this problem voice recognition can be used in class attendance system. The advantages of the system are as follow:\par
? Only student who comes to the class will be mark present in the attendance.\par
? Make the student attend the lecture and think twice before missing the class.\par
? The class will be full house attendance and encourage the lecturer to teach passionately. 
\section[{c) Objectives}]{c) Objectives}\par
The main objective of this project is to design and develop a voice recognition system for class attendance. The objectives of this project are:\par
? To study and understand the properties of speaker recognition.\par
? To study and understand Euclidean distance feature.\par
? To collect voice to be used as database.\par
? To study and analyze the output of Matlab code. 
\section[{d) Project Methodology}]{d) Project Methodology}\par
To achieve the objectives stated above, the following approach will be taken in this project:\par
? Literature review\par
? Voice data collection.\par
? Coding using Matalab software. 
\section[{? Testing and analyze the coding e) Scope of Work}]{? Testing and analyze the coding e) Scope of Work}\par
In this project the scope can be divided into two that is data collection and coding. In data collection part, the participant need to pronounce loud and clear a sentence repeatedly for five time as this will be the train data for this project. For the test data, the same participant needs to pronounce the same sentence and their own name to be used for the analysis later.\par
The second part consists of the coding. The coding is written in Matlab software using all the data collected before. After that, the data is analyze to know how accurate the feature being used. 
\section[{f) Report Content}]{f) Report Content}\par
This report consists of five chapters. The first chapter, which is the introduction consists of background of the project, problem statement, objectives, project methodology and scope of work that need to be done in accomplishing this project. The second chapter focuses on the theoretical background and literature reviews of speaker recognition. In addition, a review of past method and features of speaker recognition is also included.\par
Chapter three discusses the methodology used in this project. Euclidean distance is used as the feature of this project and all the equation is stated here. Next chapter 4, is the result and analysis. All the preliminary results obtain are presented. These include table of analysis. Finally, chapter 5 is the conclusion of this report and future work for Final Year Project 2.  
\section[{Literature Review a) Overview}]{Literature Review a) Overview}\par
Chapter 2 consists of all theoretical background and literature reviews of speaker recognition. In addition, a review of past method and features of speaker recognition is also included. 
\section[{b) Voice Recognition}]{b) Voice Recognition}\par
Voice recognition suggests that the computer do not understand it but only can take command and perform it. Comprehending human languages falls under a different field of computer science called natural language processing. Nowadays, a lot of voice recognition systems are available. The most powerful one can recognize thousands of words.\par
Traditionally, voice recognition system only used in a few specialized situations because of their limitations and high cost. As the time goes on, the cost decreases and performance improves, speech recognition systems are entering the mainstream. For example, voice recognition is used as an alternative to keyboards. These systems are useful in instances when the user us unable to use a keyboard to enter data because his or her hands are occupied or disabled. Instead of typing commands, the user can simply speak into a headest.\par
Speaker recognition is a biometric modality that uses an individual's voice for recognition purposes. It is a different technology than speech recognition, which recognizes words as they are articulated from. Speech recognition is not a biometric. The speaker recognition process relies on features influenced by both the physical structure of an individual's vocal and the individual's behavioral characteristics. This project will concentrate on speaker recognition. 
\section[{c) Speaker Recgnition}]{c) Speaker Recgnition}\par
Speaker recognition is divided into two which are verification and identification. Speaker verification is use to validate a person's claimed identity from his voice. Many terms which has the same meaning with speaker verification is usually used. For example, voice verification, speaker authentication, voice authentication, talker authentication and talker verification. A person can makes an identity claim with the help of other source. For example, by entering an employee number or presenting his smart card. \hyperref[b1]{(Reynolds, 2008)} In the other hand, speaker identification means there is no prior identity claim and the system decides who the person is, what group the person is a member of or that the person is unknown. In a simple word, speaker verification is defined as deciding if a speaker is Speaker verification can be divided further into text dependent and non-independent text. In textdependent recognition, the phrase is known to the system and can be fixed. While in non-independent, the speaker can use any phrase and then analyze by the sytem. The typical speaker recognition setup is further explained. \hyperref[b1]{(Reynolds, 2008)} i. Speaker Recognition Setup The person speaks the phrase into a microphone. This signal is analyzed by a verification system that makes the binary decision to accept or reject the user's identity claim or possibly to report insufficient confidence and request additional input before making the decision. The person, who has previously enrolled in the system, presents an encrypted smart card containing his identification information. He then attempts to be authenticated by speaking a prompted phrase (s) into the microphone. \hyperref[b0]{(Campbell, 1997)}.\par
Before verification session, the person voice must be recorded earlier in the system. Usually it is under a supervised conditions and environment. During this time, voice models are generated and stored on asmart card for use in later verification sessions. There is generally a difference between accuracy and the duration and number of enrolment sessions.\par
ii. Speaker Recognition Errors There are many factors of verification and identification errors. Some of the human and environmental factors that contribute to these errors are list in Table  {\ref 2}.1. These factors generally are outside the scope of algorithms or are better corrected by means other than algorithms. For example the use of a better set of microphones. These factors are very important. No matter how good a speaker recognition algorithm is, human error ultimately limits its performance. As an example human may misreading or misspeaking the phrase provided \hyperref[b0]{(Campbell, 1997)}. 
\section[{d) Previous Speaker Recognition Work}]{d) Previous Speaker Recognition Work}\par
For the past years, there is a lot of speakerrecognition activity. Among those who have researched and designed about speaker-recognition systems are AT\&T., the Dalle Molle Institute for Perceptual Artificial Intelligence Switzerland and many more. Table  {\ref 2}.2 shows a sampling of the chronological advancement in speaker verification. The following terms are used to define the columns in Table  {\ref 2}.\par
Source refers to a citation in the references, org is the company or school where the work was done and features are the signal measurements. Input is the type of input speech. For example laboratory, office quality or telephone. Text indicates whether a text-dependent or text-independent mode of operation is used. Moreover, method is the heart of the pattern-matching process and pop is the population size of the test or known as number of people. Finally error is the equal error percentage for speaker-verification systems or speaker identification systems given the specified duration of test speech in seconds. \hyperref[b0]{(Campbell, 1997)}  
\section[{e) Speech Production}]{e) Speech Production}\par
The important physical distinguishing factor of speech is the vocal tract. The vocal tract is generally considered as the speech production organs above the vocal folds. Adult human vocal tract systems consist of this five which are laryngeal pharynx, oral pharynx, oral cavity, nasal pharynx and nasal cavity.\par
As the acoustic wave passes through the vocal tract, its frequency content (spectrum) is altered by the resonances of the vocal tract. Vocal tract resonances are called formants. Thus the vocal tract shape can be estimated from the spectral shape of the voice signal.\par
Typically, voice verification systems features derived only from the vocal tract. The human vocal mechanism is driven by an excitation source, which also contains speaker-dependent information. The excitation is generated by airflow from the lungs, carried by the trachea through the vocal folds. The excitation can be characterized as phonation, whispering, frication, compression, vibration or a combination of these (Cambell, 1997)Chapter 3 III. 
\section[{Methodology a) Overview}]{Methodology a) Overview}\par
This chapter will discuss all the methodology used to achieve the objective of this project. This project can be divided into five stages. Those are planning, feature selection, collecting data, programming and design specification. 
\section[{b) Planning}]{b) Planning}\par
The first stage of Methodology is to plan the project properly. This is highly required so that it is easy to estimate the timing and duration of each activity for this project to be done efficiently. The important tasks and activities related to the project are displayed in the Gantt chart in table 3.1.  
\section[{Volume XVI Issue I Version I}]{Volume XVI Issue I Version I} 
\section[{c) Feature Selection}]{c) Feature Selection}\par
As been mentioned before voice recognition biometrics is different from one human being to another.\par
It is suitable to choose voice as a medium for the class attendance system. More specifically this project will concentrate on the speaker recognition. Speaker recognition can be divided into two, which are independent speech and non-independent speech.\par
In non-independent speech, a specific text or phrase known by the system is speaks into the system microphone. Then it will analyze and validate or identify the owner of the voice. In the other hand, independent speech is a free text or phrase that can be used to identify the unknown voice belongs to whom. This can be achieved provided the data has been recorded earlier in the system. For the system to match the unknown voice to their respective name feature selection is needed.\par
Features can be defined as the signal measurement. As stated in chapter two, many features has been used before. Among those are Cepstrum, Normalized Cepstrum, Mel-Cepstrum and many more. For this particular project, Euclidean Distance is used as the features.\par
i. Euclidean Distance In this project, the vector is in matrices. When the audio is read into Matlab it converts the signal into matrices. This is because computer only understands vector or number.\par
Euclidean distance is used because of its simplicity. In general it can be difine as the distance between two points. The equation is as follow -  {\ref ---------------------------}In the speaker recognition phase, the database or train data is compared with the unknown voice which is represented by a sequence of vector (Y1, Y2,?..Yn). In order to identify the unknown voice, Euclidean distance is used. This can be done by measuring the shortest distance of the two vector sets. The Euclidean distance is only and ordinary distance between the two points that can be measure with a ruler. This can be proven by repeated application of the Pythagorean Theorem. (Per-Erik \hyperref[b2]{Danielsson, 1980)} The Euclidean distance between two points P= (p1, p2?..pn) and Q= (q1, q2??..qn)\par
The answer with the shortest distance is chosen to be identified as the unknown person voice. 
\section[{d) Data Collection}]{d) Data Collection}\par
Data collection is crucial part for this project. It must be done carefully so that the voice recorded can be used later in the system. For this project, 26 voices from 26 different volunteers have been recorded. It can be divided into two part which are train data and test data.\par
The voice data is collected using earphone that has a small microphone attach and connect it through a laptop. The volunteers need to pronounce loud and clear a sentence for a few times through the microphone. Then, the data is saved in the laptop. The environment must be constant for all the 26 voices to minimize noise and error. The data is recorded in mahallah room as a constant environment. 
\section[{i. Train Data}]{i. Train Data}\par
Train data is used to train the system in identifies the correct answer. The train voice data must be recorded a few times to take the average and make the result more accurate. In this project, the volunteers must pronounce and repeated for five times this sentence "The quick brown fox jumps over the lazy dog".\par
The sentence is known as pangram. A pangram is a sentence that comprises all the letters of the alphabet appeared at least once. This is the most famous English pangram because it is simple and easy to pronounce. Generally, an interesting pangrams are short ones and consist of a sentence that includes the fewest repeat letters possible. There are many other types of English language pangram. For example, " The job requires extra pluck and zeal from every young wage earner' and 'A quart jar of oil mixed with zinc oxide makes a very bright paint.' 
\section[{ii. Test Data}]{ii. Test Data}\par
Test data is data which has been specifically identified for use in tests. It can be used as an unknown data, so that the system will come out with the correct answer. For this project, there are two test data. First, is the pangram itself. Full name of each of the 26 volunteers is used as the second test data.\par
In total, the volunteers need to pronounce six pangrams and one full name to be recorded. All of the above is record continually and then separate it accordingly. 
\section[{iii. Audacity Software}]{iii. Audacity Software}\par
Audacity is a free open source digital audio editor and recording computer software application. It is used to separate the continuous recording of voice audio, test and train data. The audio recorded is in wma format while Matlab can only read in wav format.\par
Audacity can convert wma format into wav format.\par
First, the audio is uploaded into the Audacity software. Then, it is trim for only the voice wanted. After that, the noise and unrelated sound is cut from the audio. Finally, the audio is saved in wav format. Each of the seven recorded audio per volunteer undergo this process.\par
Frame Spectra function is the important part of this coding. All of the recorded audio data must go through this function to be process. When the audio wave read in Matlab software it s in matrices. The audio wave is usually amplitude over time. It needs to undergo Fast Fourier Transform (FFT) to become amplitude over frequency. Then, the frequency is sample at 44.1 kHz. After that it undergoes mormalization, to adjust the matrics so that it can be used in the next process.\par
In the Score function, the Euclidean distance principle is used. The unknown function or test data is compared one by one with all the train data to get it smallest difference in distance. The output is stored in D. The equation used in this function is as follow: ???????.\par
There is also a loop that is used to calculate the mean distance of D obtain from the score function. With this, the average distance of the 26 person is obtained. The minimum mean obtained match with the unknown voice data. In other words, minimum mean distance is the shortest distance from the unknown data. 
\section[{f) Design Specification}]{f) Design Specification}\par
Design specification part list all the hardware needed to construct the prototype of this voice recognition for class attendance system. This part will be done in next semester for Final Year Project 2. 
\section[{i. Microcontroller}]{i. Microcontroller}\par
After looking into various microcontrollers, the Arduino Uno board shown in figure below is choosen. Arduino is choose because it is cheap. Plug straight into computer USB port and simple to set up and used. ii. Microsd Card Module For Arduino This is a Micro SD (TF) module. It is tiniest card in the market available now and compatible with TF SD cad which is commonly used in Mobile phone. SD module has various applications such as data logger, audio, video and graphics. This module will greatly expand the capability of an Arduino board. Arduino cannot do many things because of their poor limited memory. This module has SPI interface and V power supply which is compatible with Arduino UNO/Mega. With this module it can store a big amount of information up until 2 GB depends on the micro SD used.\par
This project contains a big database to store the train data voice of a whole class. Each class has around twenty five students. Each student needs at least five voices to be data recorded and stored as train data. The 2GB memory included is more than enough to store this data.\par
iii. Voice Recognition Module V3\par
The voice recognition module V3 could recognize any voice command. It receives configuration commands or responds through serial port interface/software serial and voice recognition library for Arduino. With this module, the unknown voice can be recorded and then analyze by the Arduino. It also included one set of microphone.\par
iv. 12c Serial Lcs 1602 Module This module has 2.6 inch LCD display screen support. It allows only 2 input and output pins. This screen is used to display the output after the system has been program. If the output is correct it will be saved in the SD card. If it is wrong the student needs to run the programmed one more times. 
\section[{Chapter 4}]{Chapter 4}\par
IV. 
\section[{Result and Analysis a) Overview}]{Result and Analysis a) Overview}\par
In chapter 4 the result obtained in the Matlab software is put into a table to easily analyze. The table showed the mean distance of each of the 26 volunteers. As mentioned efore each volunteer has to repeat the pangrams for five times. The mean of these pangrams per volunteer is then calculated to get the average. There are two outputs from the programming which are minimum means and minimum distance.\par
Minimum mean can be explained as the nearest distance between unknown and mean that is calculated before. In the other hand, minimum distance is the shortest distance between unknown and each of the pangrams that is used as train data. If the answer is correct 1 is given and if the answer is wrong 0 is given. The percentage is then calculated by sum up all the Three sets of test data is used to be analyze. First part, the train data is used back as the test data.\par
Secondly, another set of pangram that has been recorded earlier is used as test data. This act as a dependent text and labeled as fox test data. Lastly, name of each volunteer is used for the non-independent test data and labeled as name test data. 
\section[{b) Summary}]{b) Summary}\par
First part and second part, the percentage of the answer correct is within the range which can be satisfied. The third part answer is far away from correct. There are a few factor contributed to these problem. The main factor that has been identifies is the feature extraction used.\par
This project only usd Euclidean distance as their feature extraction. It is assumed to improve this project, more number of features are needed. There is a lot of feature extraction that is suitable to be combined with Euclidean distance. The examples are Cepstrum and filter -bank. The improvement will be done in Final Year Project 2.\par
Other than that, there is also noise in the voice recoded. It makes it hard for the system to match to the correct voice. To solve this, five pangrams per volunteers is recorded. Then, the average of the five pangrams is calculated and compares with the unknown voice. This should give more accurate and solid result.\par
Minimum mean and minimum distance in this three part analysis gives exactly the same percentage as each other. Minimum mean is the shortest distance between unknown voice and average of each volunteer train data. While, minimum dstance is the shortest distance between unknown voice and each of the pangram used as the database. In simple terms, minimum distance is the nearest distance from the train data in the database. This shows that, there is no difference between minimum mean and minimum distance.\par
Chapter 5 V. 
\section[{Conclusion and Future Work a) Conclusion}]{Conclusion and Future Work a) Conclusion}\par
The main objective of this Final Year Project was to develop voice recognition for class attendance system. It is divided into two, which are Project 1 in this current semester and Project 2 in the upcoming semester. In project 1, the theoretical background of this project was studied in details. This includes the speaker recognition, Euclidean distance and the hardware that will be used in project 2. Furthermore, past research and application related to voice recognition is also studied in detail. Finally, this project is beneficial in many ways especially towards the lecturer in IIUM University.\par
In short, Final Year Project 1 will give a great advantage to the future development in constructing the hardware part and further improve the programming of the device in Final Year project 2. Hence, the idea needed for Final Year Project 2 is fully gather. 
\section[{b) Future Work}]{b) Future Work}\par
Future work in the upcoming semester is to build the hard ware part for this system. Moreover, the programming part of this project can be improved. Feature selection also can be added to get a more accurate result. Table  {\ref 5}.1 display the proposed activities and task that can be performed in project 2 with their estimated time to completion. 
\section[{Bibliography}]{Bibliography}\begin{figure}[htbp]
\noindent\textbf{}\includegraphics[]{image-2.png}
\caption{\label{fig_2}}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{21} \par 
\begin{longtable}{P{0.7869354838709677\textwidth}P{0.02193548387096774\textwidth}P{0.016451612903225808\textwidth}P{0.02467741935483871\textwidth}}
\multicolumn{4}{l}{Misspoken or misread prompted phrase}\\
\multicolumn{3}{l}{Extreme emotional states (stress)}\tabcellsep \\
\multicolumn{3}{l}{Time varying microphone placement}\tabcellsep \\
\multicolumn{3}{l}{Poor or inconsistent room acoustics}\tabcellsep \\
Channel\tabcellsep mismatch\tabcellsep (using\tabcellsep different\\
\multicolumn{4}{l}{microphone for enrolment and verification)}\\
\multicolumn{4}{l}{Sickness (head colds can alter the vocal tract}\\
\multicolumn{4}{l}{Aging (vocal tract can drift away from models}\\
with ages)\tabcellsep \tabcellsep \tabcellsep \end{longtable} \par
 
\caption{\label{tab_0}Table 2 . 1 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{3} \par 
\begin{longtable}{}
\end{longtable} \par
 
\caption{\label{tab_1}Table 3 .}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{32} \par 
\begin{longtable}{P{0.47247340425531914\textwidth}P{0.37752659574468084\textwidth}}
Microcontroller\tabcellsep ATmega328\\
Operating Voltage\tabcellsep 5V\\
Input Voltage (recommended)\tabcellsep 7-12V\\
Input Voltage (limits)\tabcellsep 6-20V\\
Digital I/O pins\tabcellsep 14 (of whichprovide\\
\tabcellsep PWM output)\\
Analog Input Pins\tabcellsep 6\\
DC Current per I/O pin\tabcellsep 40 mA\\
DC Current for 3.3V Pin\tabcellsep 50 mA\\
Flash Memory\tabcellsep 32 KB\\
\tabcellsep (ATmega328) of\\
\tabcellsep which 0.5 KB used\\
\tabcellsep by bootloader\\
SRAM\tabcellsep 2 KB (ATmega328)\\
EEPROM\tabcellsep 1 KB (ATmega328)\\
Clock Speed\tabcellsep 16 MHz\\
Length\tabcellsep 68.6 mm\\
Width\tabcellsep 53.4 mm\\
Weight\tabcellsep 25 g\end{longtable} \par
 
\caption{\label{tab_2}Table 3 . 2 :}\end{figure}
 			\footnote{© 2016 Global Journals Inc. (US)} 		 		\backmatter  			  				\begin{bibitemlist}{1}
\bibitem[Richard et al. ()]{b3}\label{b3} 	 		\textit{An Introduction to speech and speaker recognition},  		 			D Richard 		,  		 			Daryl H Peacocke 		,  		 			Graf 		.  		1990.  	 
\bibitem[Li et al. ()]{b4}\label{b4} 	 		‘AVAS: An Audio-Visual Attendance System. Department of computer Science and Technology’.  		 			Dongdong Li 		,  		 			Yingchun Yang 		,  		 			Zhenyu Shan 		,  		 			Gang Pan 		,  		 			Zhaohui Wu 		.  	 	 		\textit{LCNS 4261},  				2006. 2006. Springer-Verlag Berlin Hidelberg. p. .  	 
\bibitem[Per-Erik Danielsson ()]{b2}\label{b2} 	 		\textit{Euclidean Distance Mapping},  		 			Per-Erik Danielsson 		.  		1980. Linkoping; Sweden. p. .  		 			Department of Electrical Engineering, Linkoping University 		 	 
\bibitem[Duglas and Reynolds ()]{b1}\label{b1} 	 		\textit{Overview of Automatic Speaker Recognition},  		 			A Duglas 		,  		 			Reynolds 		.  		2008. 2008.  		 			Workshop Summer School M. I.T. Lincoln Laboratory 		 	 
\bibitem[Campbell ()]{b0}\label{b0} 	 		‘Speaker Recognition: A Tutorial’.  		 			Joseph P Campbell 		.  	 	 		\textit{Proceedings of the IEEE}  		1997. 85  (9) .  	 
\bibitem[What is the difference between speech Recognition and speaker recognition]{b5}\label{b5} 	 		\textit{What is the difference between speech Recognition and speaker recognition},  		 \url{https://-answers.yahoo.com/question/index?qid=20080620080053AA02UHQ7.Funwithword.RETRIVEDFROMHTTP://-RINKWORKS.COM/WORDS/PANGRAMS.SHTML}  		 	 
\end{bibitemlist}
 			 		 	 
\end{document}
