(1) Input: Speech of size , sampling frequency ,
duration second
(2) Output: The speech part of the signal of new size ,
duration
(3) for to do
         for to do
(4)
(5) end for
(6) end for
(7) initialize
(8)
(9)
(10) Initialize
(11) for to do
if then
if then
end if
end for
(12) Initialize
(13) for to do
if then
else
end if
end for
Algorithm 4: Preprocessing algorithm.