Indonesi an  Journa of El ect ri cal Engineer ing  an d  Comp ut er  Scie nce   Vo l.   10 ,  No.   1 A pr il   201 8 , p p.  176 ~ 1 8 3   IS S N:  25 02 - 4752 , DO I: 10 .11 591/ ijeecs . v 10 .i 1 .pp 176 - 1 8 3           176       Journ al h om e page http: // ia es core.c om/j ourn als/i ndex. ph p/ij eecs   Compari son of E ntrop y Coding  mech anism on IE EE1857. Lossless  Au dio Comp ressi on Stand ar d       Fathiah  Abdu l Muin 1 Te dd S urya  Gun aw an 2 Mira  K art iw i 3 , Elshei kh M. A.  El she ikh 4   1 ,2,4  Depa rtment   of  Elec tr ical and   Com pute Eng i nee ring ,   Kul liyyah  of  Engi n ee rin g ,   Ma l a y s ia   Depa rtment of  Inform at ion  S y s t ems ,   Kulliyy ah   of  Inform at ion   a nd  Com m unic at i on  Technol og y   Inte rna ti ona Isl a m ic   Univer sit y   Malay s ia,  Ja la n   Gom bak,   Kuala  Lumpur,  Sel ang or,   Mal a y s ia       Art ic le   In f o     ABSTR A CT   Art ic le  history:   Re cei ved   Ja n   7 , 201 8   Re vised  Ma r   9 ,  201 8   Accepte Ma r   25 , 201 8       Thi pape r   has   two  objecti v es.   First,  we  a im  to  re vi ew  and  ana l y z the  per form anc of   the   IE EE   1857 . standa rd ,   foc u sing  is  on  the  Golom b - Ric e   and  Arithmetic   e ntrop y   al gor it hm as  well   as  the   eff ect  of  the   p re - proc essing   bloc on  the se  e ntrop y   blo cks.   T he  pre - proc essing  bloc norm al izes  the   err o r   re sidue  of  the   L ine ar  Predi ct iv e   enc oder ,   which   the is  passed  to  Ent rop y   bloc k,   wher th select or  choose the   en t rop y   e ncode to  use .   The   sec on d   obje c ti ve  is  to   pre sent  re sult from  expe ri m ent ing  diffe re nt  exi sting   al gorit hm avai la bl to  b enc h m ark   it ’.   The   re sults  are  disc uss ed,   and   compari sons   are   m ade   to  id e nti f y   the  eff e ct  on  compress ion  ra ti and   enc oding  spe ed  of  the   lossless  e ncode r.   As   well   as  thi s,  compari s on  is  m ade   to  ana l y z eff ec t of  ena bli ng  an disabl ing  the   pre - proc essing  o utput   to  the  Ent rop y   Coding   bloc k.   W conclude th at   pre - p roc essing  bloc works   well  to  fla tten  the   o utput   at   lower   pre dictor  orde for  al the   sound  t y pes,   but   works   best  a im proving  th r esid ual   ou tput   fo m usic  sound t y p e.   Ke yw or d s :   Arithmeti c   entro p y   al gor it hm s   Ent rop y   c oding   Go l om b - Ri ce Cod i ng   Copyright   ©   201 8   Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e   Al l   rights re serv ed .   Corres pond in Aut h or :   Ted dy S ur ya   G un a wa n   Dep a rtm ent  of   Ele ct rical  an Com pu te E ng i neer i ng, Kulli yy ah  of E nginee rin g ,   In te r natio nal Is lam ic  U niv er sit y M al ay sia   Jal an Go m bak ,  Kuala  L um pu r , S el an gor , Ma la ysi a .   Em a il tsgu na wan@ii um .ed u.m y       1.   INTROD U CTION   Mov i ng   forw a r f ro m   the  firs inn ovat io of   aud i com pr e ssion,  the  dem and   for  hi gh e qu al it data   has rise t hro ught  va rio us  f ie l ds  li ke  m edical  inno vations s uc as  ECG a na ly sis or   heat b e at  an al ysi s,  in t erm s   of   a udio  data  s tora ge  an a udio  stream ing thi ine vitably   le ads  to  dem a nd   of  lossless  aud i com pr es sion   a s   gen e rall hig h - qual it data  req ui res  not  on l hig data  sto rag e but  al so   high  data  rate  for  transm issi on   a nd   analy sis  [1] .   T he  idea  be hind  lossless  au dio   com pr essio is  to  rem ov re dunda nt  bits  of  data  with out  any  los s   of   qual it y,  by  us in an  e ncoder   c on ta ini ng  pr edict or  w hich  can  pr e di ct   the  sign al   as  cl os as  po ss ible  an cal culat ing   the   error   of  this  predict ed  sig nal.  Thi pre dicti on  resid ue  is  fi na ll enco de with  both  it pre di ct or  and  va rio us  ot her  neces sary  par am et ers.   Wh en   the   us e re cei ves  this   enc od e data,   it   use dec od e t hat  ca reconstr uct  the   or igi nal  sig na l.  On   t op   of   t hi s,  the  enc oder   will   encode  the  resi du al   e rror   us in a en tro py  cod i ng,  w hich  is  par of   inf or m at ion   theory   to  fu rthe re duce  the  num ber   of   re dunda nt  bits  [2] The  s m al le r   the  resid ual  er r or  gi ven   fro m   the  pr edict or,  the  m or ef fici ent  the  ent ropy  co ding  is  and   the  sm al l er  the   com pr essed  sig nal as it   will  contai m or e ze r oes  i it s erro r resi dual .   Ov e rall the   pr e dictor   an e ntr opy  co di ng  are  e ssent ia par t s   of   any  lossless   com pr essio m ech anism .   In   entropy  co di ng,   bitst rea m   m a be  co m pr essed  by  r e m ov in re du nd a nt  bits  th r ough  gen e rali zed  al gorithm In   t t he  IEEE 1857. lossless  au di com pr essio sta nd a r d,   bo th  Go l om b - Ri ce  and  arit hm etic  cod ing   is  m echan ism   is  d efined t hu i this  pa pe r,   we  wish   to  com par the  pe rfor m ance  of   these  com pr esso r wit h resp ect  t t he  I EEE 1857. predict or al gorithm  an the  o t he al gorithm s.   Evaluation Warning : The document was created with Spire.PDF for Python.
Ind on esi a J  E le c Eng &  Co m Sci     IS S N:  25 02 - 4752       Compari son  of  En tr op y  Co di ng Mec han ism   on I E EE1 857. L os sle ss  Aud io ... ( Fath i ah A bdul M uin )   177   In   m os stu dies   an descr i ptio of   l os sle ss  a udio  c om pr essio n,   t he  f oc us   is m or on  predic ti on  b loc k,  howe ver,  entr opy  co din is  j ust   as  i m po rtant   in  this  case  as  it   us ed  as  tool   to  wr it the  inten ded   c om pr esse bitst ream   thro ugh  it al gorith m Gen erall y,  the  pur po se   of  entr op c odin is  not  li m it ed  to  au dio  pe sa but   as  unive rsal   co ding  m echan ism   to  com pr ess   bitst rea m   da ta Nev er thele ss,  th rou gh  this  pa per   we  will   com par two  entr op c oding   m echan is m   sp eci fical ly  desig ne f or  the  I EEE 1857. los sle ss   aud i com pr essio a nd   t fi nd   w hi ch  unive rsal  entr op c od i ng  m ay   be  m or su it ed  f or  it ap plica ti on In   t he   pr e vious  pa pe r we  ha evalu at ed  the  perfor m ance  of   the  I EEE1 857.2  Li near   P red ic to Cod i ng   ( LPC)  blo c and   fou nd   inte resti ng   relat ionships  of   the  L PC  blo c with  the  pr e processi ng   blo c as  we ll thu this  stu dy  of  the  prep r ocessi ng   blo c is  al s exte nded  i nto   this  pap e to   it ’s  eff ect   on   t he  di ff e ren e nt ropy  m echan ism   of   the I E EE1 85 7.2 s ta nd a rd  [ 3] .   In  the  rest  of  this  pap e r,  f or  sect ion  2,   we  will   discu ss  G olo m b - Ri ce  Co ding  m e chan ism   a nd   su bse que ntly   Ar it hm et ic   Cod in in   sect io 3.  T hen,  in   se ct ion   4,   we  will   div ide   int su bse ct io ns,  w ere  we  will   detai com po nen ts  of   t he  IE EE 1857. 2,   by  re visit ing   the  pr e - proc essing  blo c c ocep t,  entr opy  sel ect ion,   Go l om b - Ri ce  encodin g,   a nd   arit hm e ti enco di ng   al gorithm us ed.   F ollow in that,  we  will   descr i be  the  exp e rim ental   set up   a nd   m easur em ent  i sect ion   5,  as  well   as  the  resu lt an discuss i on   of  this   exp e rim entat io in  secti on  6.   The fi nally  conclu de  the  pap er in sect ion  7.       2.   GOLO MB RI CE COD IN G   Go l om b - Ri ce  Cod i ng  is  wide ly   us ed   f or  va rio us   L os sle s A udio  C ompressi on  popula to ols  a nd   sta nd a rds s uc as  FLA a nd  MPEG - ALS   [4 ] , [ 5] The  reason  be ing   is  t hat  G ol om b - Ri ce  codi ng   is  a   der i vation  of  Huff m an  Co di ng  w hich   is  s uited  f or  ti m dep en da nt  ap plic at ion s,   th us   use fu for  im pr ovin the   encodin sp ee d,   but  with   the   ex pense  of   c om pr ession  rati [6] I the   la te cha pters w will   ve rify  w hethe r   this is ap plica bl e to los sle ss  a ud i c om pr ession ap plica ti on s .   Firstl y,  the  way  this  m et ho is  execu te is  by  giv ing   uniqu par am et er  m Then   po si ti ve  intege r   n,   wh ic we  w ish  to  e nc od i div i ded   i nto   rem ai nd er  of                 an qu otient,            [7] If               t he   cod e   w ord   f or  n  w il con sist s o k - le ast   sig nificant b it of n ,   fo ll ow e by  th num ber   f or m ed  by  the r em a inin m os t si gn ific an t bit s of  in  un ary re pr ese ntat ion  a nd a  sto p bit   [2 ] . T he  le ngth  of this c od e wor is,                             ( 1 )     Durin t he  ear li er  inv e ntio of  lossless   au di com pr essi on,  t he  est im ati on  f or  the  pa r a m et er  is   giv e in  a nd  is  us e in  A udioPaK  a nd  it   is  base on   t he   exp e ct at ion                       al read com pute in  th e   pr e dictor  b l oc k w her e ,                                     ( 2 )     The  par am et er  is  de fine to  be  c on sta nt  over  a e nt ire  fr am and   ta kes  value betwee   and   (b   1)   i the  case  of  bi aud io  sam ples  [2] T his  co nc ept  is  sti ll   wi dely   us ed  i c urren e xisti ng  cod ecs   and  sta ndar ds.  Nev e rtheless i te rm of  the   lossless  a ud i com pr essio blo ck it   is  im portant  to   bea i m ind   that  the  G olo m co des  def i ne to  be  opti m a fo e xpone ntial ly   decayi ng   pro bab il it distrib ution of  po sit ive   integers  a nd   be cause  the  predi ct ion   resid uals  m ay   no al l   po sit ive,  it   m ay b req ui red   to  m ap  the  error   re s idu al   to an u ns i gn e d value a def in e d   in  the e quat ion bel ow  [ 8] :                                                                        ( 3 )       3.   AR IT HMETI C CO DING   Anothe al te r na ti ve  f or   univ ersal  enc odin m echan is m   i L os sle ss  C om pr essio is   arit hm et i c   cod i ng.  Firstl y,   in  nu ts hell,  arit hm etic  cod ing   cal c ulate the  pro ba bili ti e of   occura nce   of   eac sym b ol  in  a   m essage  over   finite   al phab het.  T his  m et ho does  s by  inco rpor at in t wo  vaa riables,   an R,   w he re  is   the  sm a ll est   bi nar val ue  co ns ist ent  with  t he  co de  re pr e s enting  t he  sym bo ls  fo un so   far,  w hilst   is  the  pro du ct   of  pro bab il it ie of   th sy m bo ls  fo und.  The  sim ple   m echan ism   of   arit hm e ti cod ing   can  be  d es crib e as the  fo ll owin se quence , wit ste ps 2  to 4  occurin g recu r sively  as n e w s ym bo ls i s pr oc essed  [ 9] .   1)   In it ia li zat ion  of              an             2)   Enc od e  n e xt sy m bo l (   th  of  t he  alph a bet)  b                                         3)   New                4)   Ou t pu seq ue nc e b it  c, f or   eac h bit  seq ue nce  betwee       an       .   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2502 - 4752   Ind on esi a J  E le c Eng &  Co m Sci,   Vol 10 , N o.   1 A pr il   201 8   :   176     1 8 3   178   Wh e re        a nd        is  the  pro bab i li ty   of   the   it (c urren t a nd  j t ( ne xt)  sym bo in  the  a lph a bet  resp ect ively .       4.   IEE E 185 7.2 ST AND ARD   4.1.   Preproces sing  Bl ock   As  m entioned   in  the  pr e vi ou s   pap e r,   one  of   t he  ad va ntages  of   the  IEEE  1857.2   lo ssless  c om pr essio is  that  the  bit  error   int rod uced  durin tran sm issi on   ca be  m ini m iz ed  by  the  pre - processi ng   blo c [ 3] T his  is  because   the  a ud i f ram es  c an  be  dec od e at   one  f ram inter val  sin c the  inf or m at ion   of   fr am are  ind e pende nt  of   each  oth er H ow e ve r,   the  pr edict ion   resid ue will   be  bi gger  com par e to   the  rest  of   th fr am e   con te nt,  res ulti ng   in  t he  inc rease  of  the  predict io resi dues  dy nam ic   r ang e T com pensat for  thi s,  the   e ntr op y e nc od e the i ncr ease s both  the calc ulati on  c om plexity  an d t he  alph a bet size .   The  pr e - proce sso r   bl ock  inte nd s   to  overc om this  sit uation  by  ta king  t he  pr e dicti on  r esi du es   an dow ns hi ft   them   to  a   certai degree.  T his  operati on  al lows  the  a m plit ud to  decr ease  and   the  en vel ope  of   th e   pr e dicti on   re s idu es  is  flat te ned   by  adapt ive  norm aliz at ion w hich  was  al so   pro ved   to  im pr ove  the   com pr essio r at on  MPE G   4 - AL [ 8] The  resid ual  s a m ple  are  qu a ntize int po wer   of  us in th e   PA RC OR  c oeffici ent  to  m ake  sure  that  it   is  integer f or   l os sle ss  c od i ng  as  well   norm alized  by  do wn - s hifted   with        as foll ow ed  [10 ] ,   [ 1 1 ] :       ( 4 )       ( 5 )     The  te rm   within  t he  s umm a tio are   pr e - co m pu te by  R A _s hi ft  a nd  RA _s hi ft1 fixe ta ble,  wh ic wer e  provide d by the  sta ndar d f or   fast c om pu ta ti on  and  de vi ce p or ta bili ty .     4.2.   Entropy  Codi ng   Sele ctio n   As  m entioned  pr e viously the   IEEE 1857. s ta nd a rd   has  s el ect ion   of  tw ty pes  of  e nthr op c odin g,  wh ic are  Go l o mb - Ri ce  Codi ng   a nd   Ar it hm et ic   Cod ing   and   it   util iz es  on bit  in  th ou t pu bitst rea m   to  switc betwee the   tw m eth ods  f or   t he  de cod e t rec ognize  w hich  m et ho was  use in   the  e nc od i ng   process  [1 2 ] This  is  il lustra te in  the   F ig ure  1   bel ow,  s the  co de will   sel ect   the  entr op ty pe  t use   an encode  t his  se le ct ion   as  well .   In  the  sta ndar it   m entions   that  t his  s el ect ion   occ ur de pendin on  the  env i ronm ent  of   the  us er s,  but  fo sim plici t in  this  stud y,  we  ex plici tl sel ect   the  entropy  ty pe  by  parsi ng   an   a rgum ent to the  too l.           Figure  1 .   Enc oder  Co der Sele ct ion   (abo ve)   a nd D ec oder  Co der Sele ct ion ( belo w)             =     1 1     2   =   + 1           =       log 2 1 1     2   =   + 1 + 0 . 5     Evaluation Warning : The document was created with Spire.PDF for Python.
Ind on esi a J  E le c Eng &  Co m Sci     IS S N:  25 02 - 4752       Compari son  of  En tr op y  Co di ng Mec han ism   on I E EE1 857. L os sle ss  Aud io ... ( Fath i ah A bdul M uin )   179   4.3.   Adapt i ve Gol omb  E ncodi n g   Fo t he  G olo m b - Ri ce  E ntryp sel ect ion the   sta nd a rd   util iz es  an  ada ptive  Go l om b - Ri ce  m echan ism ,   an  ad van ce m et ho d,   wh e re by  un li ke  it   predecess or s it   do e sn’t  on ly   update  the  Ri ce  par am et er  (le adze r o,   div isi on  an re m ai nd er  bits) bu it   al so   upda te the  m   val ue  after  eac bl ock   is  proces s ed,   w hic is  fixed   i the origi nal Go lom b - Ric m eth od.   Firstl y,  in  the  encode r,   t he  L PC  resid ue  is  div ide i nto   s ubbl ocks  of      w her     can   be  se le ct ed  t be  bet ween  and  up  t 5.  T hen  i niti al   m   i cal culat e by   the   m ean  (   of  the   L PC  re sidu al   er ror,  by   the   fo ll owin e qua ti on ,                                                               ( 6 )     w he eac s ubblo c is  enc od ed,   the  m   is  updated  base on   the  pa ram et er   RICE_ NU M _M UL  32  a fter  the   Go l om b - Ri ce  Enc od e r.  Fig ure  1   ab ove,  il lu strat es  this  up dating  process   of  m   and  the   f ollow i ng  e quat i ons   descr i bes h ow  m   is updated  e ach tim e b y ea ch  s ubbl ock,                                                                                                                                                                                                                    ( 7 )                                                  ( 8 )                                                      ( 9 )     The  s um   in  th is  case  i t he  Go l om b - Ri ce  cum ulati ve  sum   wh ic is  ca lc ulate based  on  t he  ea c su bbl ock resi dual  cu m ulati ve  su m  that is p r ocesse at  that   tim e.           Figure  2 .   G olom b - Ri ce Encoder Pr ocess       4.4.   Arithme tic En codin g   Nex t,   f or  the   Ar it hm etic  Enc od i ng  sel ect ion   of  IEE E1 857.2  blo c it   is  al so  s i m i la in  it s   su bbl ock i ng   of   the  LPC  residu e but  on l go es  up  to  3.  Firstl y,  in  this  blo ck the  m ean  of   the  flat te ned   resid ue  is c ompu te d,   w hich  t hen is lo gar it hm ic l y qu a ntize d   by the  f ollowi ng  e quat io n,                                       ( 10 )     A fter  this this  qu at iz ed  m ean  ind e is   local ly   deq ua ntize an then  us e to  gen e rate  the   Pr oba ba bili ty   ta ble  from   set   of   pr ob a bi li ty   tem plate The  f ollo wing   equ at io is  us e in  this  s cal ing   proce dure,                                               ( 11 )     The  pr ob a bili ty   tem plate   is  e ssentia ll set  of   prob a bili ty   den sit value s   from   trai ned  aud i data,   wh ic is  a ppr ox im at el Gau ssio n   functi on  (m ean  - 0.1   an sta nda rd  de viati on   0.6 ),   bu uniq ue  to  the  IEEE 1857. de fine sta nda r d.   Pr e vious  w ork  has  s how that  t his  tra ined  ta ble  can   achieve   lo ssless   com pr essio n p erfor m ace bett er th a t hat of t he Gau ssio n functi on, thus  thi s table  us ed   [ 10] .   Figure  desc ribes  t he  ov e rall   proces of   t he   Ar it hm etic  enco de r.  Als de fine in   this  process  is   th e   MSB /LSB   sp li blo ck,   w hic is  an  adv anta ge  to  the  Go l om b - rice  m e thod.  This  is  bec ause  the  Ar it hm eti c   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2502 - 4752   Ind on esi a J  E le c Eng &  Co m Sci,   Vol 10 , N o.   1 A pr il   201 8   :   176     1 8 3   180   Enc od e can  f urt her   s plit   the  LPC  resid ue  to   MSB   and   LSB  par ts  so   that  in  can  furthe increase  the  ef fi ci ency  of the  Ar it hm et ic  En co ding  A lgorit hm , in  th e case  of  t rail ing   bits.           Figure  1 .   A rith m et ic  Cod ing  Enc od e Bl oc k Diag ram       5.   E X PERI MEN TAL SET UP   AND ME A SUREME NT   The  a naly sis  was  c onduct ed   in  c om bin a ti on   of  MATL AB  a pp li cat io a nd  ( .ex e file   com piled  from   on   DELL  la pt op,  wh ic was  r unning  with  I ntel  cor i7  proce sso to  m easure   the  per f or m ance  of   each  t oo l.   Th e   datab ase  c ons ist ed  of  A ud i Bo ok s   w hich   we re  at l east   hour  lo ng  w it c om bin at ion   of   En glish  a nd   A rab ic   book  rec ordin gs .   Table  1   s hows  sam ple   of  the  A udio  books  datab ase  w hich  were  use in the i nv e sti ga ti on .       Table  1 .   Sam pl e Aud i B ook Data base   Ty p e   Filen a m e   Play b ack L en g t h   Eng lish  Aud io  Bo o k   ArtOfWa r8k .wav   1 :1 2 :1 8   Arabic Aud io  Bo o k   Bo o k  ( A m in ),  20 1 6 1 2 2 0 .wav   1 :0 0 :4 3   Qu r’ an ic Reci tatio n   Al - Kah f (A m in ),   2 0 1 6 1 2 1 9 .wav   1 :0 2 :0 7       Fo r   the  m easurem ents,  o ne  of   the  basic  m ea su rem ent   for  a   lossless  au dio  cod ec  is  t he  c om pr essio rati o,   w hich  is   m easur ed  by  the  com par iso of  the  outp ut   file   to  the  ori gin al   raw   file   with  the  f ollo wing   form ula:         ( 12 )     This   c om pr essibil it determ in ed  th e p r oport ion al it of b it in w hic wer e   c om pr essed the   la rg e t hi s   rati o,   the  m ore  bits  wer c om pr essed  [ 5].   As  well   as  thi s,  it   is  al so   i m po rtant  to  ensure  that  the   rate  of   com pr essin is   eff ic ie nt th us  enc od i ng  s pee will   al so   nee to   be   m easur ed.   The   enc oding / decodin s peeds  are  m easur ed  in  te rm of   how  fast  the  enc od e proce sses   relat ive  to  the  total   le ng th  of  the  Audio  file   in  MB .   This is  def i ned b y t he  foll owing eq uatio ns :       ( 13 )       6.   RESU LT S  AND A N ALY S IS   In   t his  ex pe rim ent,  the  inte r nal  set ti ng s   of  the  IEE E1 857. e ntropy  to ol  was  c om par ed  by  ex plici tl add i ng  par se op ti on  t t he   too sel ect ing   ei ther  Go l om Ri ce  (G R)   or  Ar it hm et ic   Cod in (A C ),   as   well   as   enab li ng  a nd  disablin of   t he   Pr e processi ng  f or  each  Ent ropy  Co der.  A dd it io nally it   is  al so   be nc hm ark ed  with  the  la te st  FLA a nd   MP EG - ALS   with  var yi ng  pr e dictor  order   t fin ho well   ea ch  al gorithm   wor ks                                       =                                                                   =   (                                                                                       )     /     Evaluation Warning : The document was created with Spire.PDF for Python.
Ind on esi a J  E le c Eng &  Co m Sci     IS S N:  25 02 - 4752       Compari son  of  En tr op y  Co di ng Mec han ism   on I E EE1 857. L os sle ss  Aud io ... ( Fath i ah A bdul M uin )   181   with  hi gh e pr eci sion F or  fair  com par iso n,   the  to ol  wa s   recreated  i cod on   t op   of  A VS   Ch i na  Cod ec   and v e rified  b y  co m par in the  outp ut f il of the  decode to  the  or i gin al  f il e.   The follo wing  are the  opti ons  with it descr i pt ion   wh ic a re  par se t eac h of t he  t oo l:     FLA C:     o   f: F or ce  over w rite  if output  file  n am e exists   o   l < m ax_ pre dictor _or der >:   Set  m ax  predict or  order o f fixe d m od el     MPEG - 4 AL S:    o   n<fram e_size> : Set  f ram e size   o   o<pre dictor _or der >:   Set p red i ct or   orde r     IEEE 1 857.2:   o   f<1 >:   A ud i St or a ge Fi le  outp ut for m at   o   p<pre dictor _or der >:  set  predi ct or   orde r   Fr om   the  G raph  in  F i gure   5,   we  can   see  tha the  pr e proces sing   blo c do e i m pr ove  the  perform anc e   of   Entr opy  co ding  f or  the  G olo m b - Ri ce  Bl ock  with  hi gh e pre dictor  ord er  by  at le ast   1. 29%  f ro m   pr e dicto r   order  14.  This  i m pr ovem ent  i ncr ease with   pr e dictor   ord er   value H owev er,  the   s am ca n’ be  c on cl uded  f or   Ar it hm et ic   Cod in g,   a the re  i no  cl ea patte rn  on  w hethe t he  pr e processi ng  m et ho im pr oves  t he  Ar it hm et ic  Cod i ng or  no t.   In   te rm of   Com pr essio rati o,   the  prep rocessi ng   blo c do e i m pr oves   the  com pr ession  rati by   at le at   0. 37%   f or   th G olo m b - Ri ce  Cod i ng   i F ig ur 4,   ho wev e ve ry  ins ign ific a nt  i m prov em ent  is  seen  with   the Arit hm et ic   blo c as  w el l a s this the  p e rfo rm ance so m eho w  worse n at  predict or  order  16 and  20.   Com par ing   t he   value of   t he   enc od i ng  s pe ed  a nd  com pr essio rati f or   A rithm etic  Cod i ng  an Go l om b - Ri ce  Cod i ng   it sel f,  the  G olo m b - R ic m et ho ha m uch   faste enc odin s pe ed  c om par ed  t th Ar it hm et ic   Co ding  m echan ism ,   wh ere  as  th Ar it hm et ic  C od i ng   has  bett er  com pr essio rati ove rall   to  the   Go l om b - Ri ce  Cod i ng   f or   los s le ss  aud io  c om pr ession  ap pl ic at ion This  is  con sist ent  to   the  pr evi ous  wor wh ic c om par es the t wo m et h od s  for i m age co m pr essio a pp li cat io n.   In   a ddit ion   t t his  com par iso n,   a nother   inte resti ng  fin ding   was  fou nd   w he c om par ing   t he  database   to  the  ot her   Al g ori thm s.  As  s een  in   the   F ig ure  6,   des pite  pr evio us   w ork  [1 0] the   MPE G - ALS  has   the  t he   best   com pr essio ra ti o,   w he re  as  t he  F LAC  faste st  in  te rm of  e ncodin sp ee d.  O ver al FL AC   an MPE G - ALS  al gorithm su rp asses  the  I E EE1 857.2  co m pr ession  rati o,   as  well   as  the  encodin sp eed  as  we ll One   po s sibil it fo this   occurre nc cou ld  be   relat ed  to  the  fact  that  the  data base  us e are  al Au dio   books  file s,   wh e re  as  the  previ ou wor wer al m us ic   file s,  with  sho rter  le ng t h.   T his  exp la ins  wh y   MPEG - AL S   is  the   best  as  the  sta nd a r us es  lo ng  te rm   LPC  residu pre dicti on   w hich  is  m or su it ed  f or   s peech   file s,  w her as   none  of  the re  oth e al gorith m s   con ta in  thi [1 3 ] The  F L AC  com es  in  a   cl os seco nd,  bu it   al so   co ntains  a aud i detect io w hich  s witc hes  be t ween   diff e ren ty pes  of  sp eec m od el li ng   oth e tha LPC,  th us   al lowi ng   bette er ror  re sidu c om par e to  IEEE 1857. 2.   Additi on a ll y,  fr om   the  FLA c od e it   us es  it ow sysc al PO S IX  inter fa ce  f or   rea d/wr i te   protocal,   w hi ch  al lows  fa ste rea a nd  wr i te   sp ee d   to   the  stdli inter face T his   cou l d be the  r e aso n beh i nd it ’s  sig nificant  di ff e ren ce  in  e nc od i ng s peed to  the o t her s   [ 4] .         Figure  2 .   Com par is on of  Ar it hm etic Cod in g (left)  and  G olo m Ri ce Cod i ng (rig ht)  C ompressi on Rat io  by  Ena bling an d Disabli ng  Pr e proces sin Bl oc k     1.5   1.52   1.54   1.56   1.58   1.6   1.62   2   4   6   8   10   12   14   16   18   20   C_I EAC_PR E   C_I EAC   1.34   1.36   1.38   1.4   1.42   1.44   1.46   2   4   6   8   10   12   14   16   18   20   C_I EGC_ P RE   C_I EGC   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2502 - 4752   Ind on esi a J  E le c Eng &  Co m Sci,   Vol 10 , N o.   1 A pr il   201 8   :   176     1 8 3   182     Figure  3 .   Com par is on of  Ar it hm etic Cod in g (left)  and  G olo m Ri ce Cod i ng (rig ht)  E nc odin S pee d by  Ena bling an d Disabli ng  Pr e proces sin Bl oc k         Figure  4 .   Com par is on of C om pr ession  Ra ti o (left) a nd E nc od i ng S peed   ( rig ht) for  Var i ou s  A l gorithm s       7.   CONCL US I O N   Ov e rall the  e xp e rim ent  sh ows  that  f or  lo ssless  au dio   c om pr essio n,   th arit hem etic  cod i ng   has  a   higher  c om pr ession  rati to  golom b   rice  codi ng   in  the  IEE E1 857.2,  wit the  exp e ns of   encodin sp ee an the  pr e - pr oces sing   bl oc does  i m pr ov th com pr ession  rati of   entr opy  cod i ng   es pe ci al ly  Go lom b - Ri c e   cod i ng,  bu m ay   worse  it ’s  encodin s pee f or  hi gh e predict or  order.   Nev e rtheless ,   wh e c om pari ng   it   to  oth e m et ho ds,   it  sti l fall s   beh in to  MPEG - an FL AC  in  te rm s   of   co m pr ession  rati an encodin sp ee especial ly   in  th case  of   au dio  books Ultim a te ly IEEE 1857. m ay   be  m or s uited  for  m us ic   file s,   but  f ur t her   i m pr ovem ent  c ou l be   done  by  detect ion   of  sp eec file and   lo ng - te rm   pr e dicti on   m ec han ism In   te r m s   of   sp ee d,   the  I EE E1 857.2  an MPEG - ALS  cou l ha ve  bette com par ison   with  the  F LAC  co dec  by   us in FLA C sy scal PO S IX inter fa ce rea d/wr it e i nterf ace .       ACKN OWLE DGE MENT   The  aut hors  ha ve  gr at e fu ll ackno wled ged  that  this  research   ha bee su pport ed  by   Mi nistry  of   Higher  Educat i on Mal ay sia  Resea rch F und,  FRGS 15 - 194 - 0435.       REFERE NCE S     [1]   Mori y a   Rese arch L ab ,   Lossless Com pre ss ion  of  Audio  Dat (M PEG - ALS a i ts  Applicati on) ,”   200 3.     [2]   Hans  M .   and   Sc haf er  R W. ,   L oss le ss   compress ion  of  digita a udio ,”   IEEE  S ig nal  Proc ess  Mag ,   vol .   18 ,   pp .   21 32 2001 .   6   6.2   6.4   6.6   6.8   7   7.2   7.4   2   4   6   8   10   12   14   16   18   20   T_I EAC_PR E   T_I EAC   7.5   8   8.5   9   9.5   10   2   4   6   8   10   12   14   16   18   20   T_I EGC_ P RE   T_I EGC   1.2   1.3   1.4   1.5   1.6   1.7   1.8   1.9   2   4   6   8   10   12   14   16   18   20   C_F LAC   C_I EAC_PR E   C_I EGC_ P RE   C_MALS   0   10   20   30   40   50   60   70   80   2   4   6   8   10   12   14   16   18   20   T_FLA C   T_I EAC_PR E   T_I EGC_ P RE   T_MALS   Evaluation Warning : The document was created with Spire.PDF for Python.
Ind on esi a J  E le c Eng &  Co m Sci     IS S N:  25 02 - 4752       Compari son  of  En tr op y  Co di ng Mec han ism   on I E EE1 857. L os sle ss  Aud io ... ( Fath i ah A bdul M uin )   183   [3]   Muin  F A . e t   al. ,   Perform anc Anal y sis  o IEE 1857 . 2   Lossless  Audio  Com pre s sion   Li ne ar  Predi ctor  Algorit hm ,”   ICSIMA ,   p p .   6 2017 .   [4]   Coal son J. ,   FLAC  -   Free   Lossl ess Audio  Code c ,”   2017 .     [5]   Li eb che T. ,   An  Introduc ti on   To  Mpeg - A udio  Lossless  Coding ,”   IE EE   Int.   Conf.   A cou st.  Spee ch  Sign al  Proce ss ,   vol .   3 ,   p p.   1012 5 200 4 .   [6]   Shahbahr ami  A . e al. ,   Eva l uat ion  of  Huffm an  and  Arithmeti A lgori th m for  M ult imedia   Com pre ss ion   Standa rds ,”   Int   J   Comput  Sc i Eng   Appl . ,   vol .   1 ,   pp .   34 47 2011   [7]   Saloman  D M G. ,   Handbook of Dat a   Com pre ss ion ,”   2010 .   [8]   Rez nik  Y A. ,   Coding  of  pre d iction  re sidu al   in M PEG - standa r for  lossless a u dio   codi ng   (MP EG - ALS) ,”   I E EE  Int.   Con f. A coust .   Spe ec h ,   S ignal   Proce ss ,   vol .   3 ,   p p.   1024 7 200 4   [9]   Moffat   A . et   a l. ,   Arithmeti c   Co ding  Rev isit ed ,”   ACM  Tr ans Inf   S yst . ,   vol .   16 ,   pp .   256 94 1998   [10]   Huang  H . et   a l. ,   Lossless  audi compress ion  in  the   new  I EE E   St anda rd  for  Adv a nce Audio  Cod ing ,”   IEEE  Int .   Conf.   Ac oust .   Sp ee ch   Signal P ro ce ss p p .   6934 8 2014 .   [11]   T.   S.   Gunawan,  et   al . ,   Inve stigation  of  Lossless Audio  Com pre ssi on  using I E EE   1857. Advanc e Audio  Coding ,”   Indone sian J our nal  of   Elec tric al   Engi ne ering  and   Computer  Sc ie n ce vol /i ss ue:   6(2 ) 2017 .   [12]   IEE 1857 . 2 I EE E   Standa rd   fo S y st ems   of  Advanc ed   Audio  an Video  Cod ing,   2013.   [13]   Hara da   N . et al . ,   MP EG - ALS:  Perform ance, applicati ons,   and   re lated  st anda rd i za t ion  a ctivit i es ,”   2007.   Evaluation Warning : The document was created with Spire.PDF for Python.