summ,er intrenship on sound recording

Upload: angshusmita-baruah-segra

Post on 03-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Summ,er intrenship on sound recording

    1/19

    Abstract

    This is a project report on the summer internship done by Mr

    Tapas Sarkar and Miss Angshusmita Baruah under the guidance of

    Dr.P.K.Das period from May 1 to !une "# $##%.

    The main area of interest is speech recognition and the project can

    be di&ided into " parts

    1. 'ami(iari)ation *ith a sound recording soft*are+ ,oo( -ditand using recorded data to spot recurring patterns

    $. De&e(opment of a sound recording soft*are

    ". De&e(opment of course materia( on Data structure

  • 8/12/2019 Summ,er intrenship on sound recording

    2/19

    Ackno*(edgement

    e e/press our sincere gratitude to a(( the peop(e *ho ha&e he(pedus during the course of the project. 'irst and foremost our heartfe(t

    thanks to our guide Dr. P.K.Das under *hose guidance *e

    comp(eted this project. e *ou(d a(so (ike to thank Director

    T0P+Dept of ,S-+T 2u*ahati *ho ga&e us the permission to

    initiate the project. A(so *e ackno*(edge the he(p pro&ided by the

    Dept of T0P of our respecti&e co((eges. 3ast but not the (east *e

    thank our fami(y and friends for their support and encouragement

  • 8/12/2019 Summ,er intrenship on sound recording

    3/19

    1.Introduction

    The summer internship program *as a 4 days program main(y dea(ing *ith the area ofSpeech recognition. The *ho(e project can be di&ided into " phases

    1. Familiarization with a sound recording software, Cool Edit and using

    recorded data to spot recurring patterns: The first $ days of the project *as

    used to study in detai( a sound recording soft*are ,oo( -dit. 5arious inbui(t

    functions of the abo&e soft*are *as studied. The soft*are *as app(ied to record

    &arious sounds. And no* recurring patterns *ere obser&ed. This *as on(y a

    pre(iminary study of *hat is ca((ed the Accoustic Phonetic approach and it hasscope of further study

    $. Development of a sound recording software: The ne/t 1 days *ere de&oted to

    de&e(oping a soft*are that records sound. This *as done a(ong the guide(ines ofa simi(ar program but our the main feature of the program is that one can record

    sound *ithout c(icking any*here. t a(so faci(itates the data to be stored in a te/t

    fi(e

    ". Development of course material : A(so some course de&e(opment *ork *asdone a(ong *ith the project . The materia(s de&e(oped *as topics inc(uded in datastructure and 6bject oriented programming and are form of po*er point s(ides

    The *ork co&ered in each phase of the project has been described in detai(s in the

    fo((o*ing pages.

  • 8/12/2019 Summ,er intrenship on sound recording

    4/19

    2.Details of the proect

    1.Familiarization with a sound recordingsoftware, Cool Edit and using recorded data

    to spot recurring patterns:

    The first phase of the project inc(uded the study of a recording soft*are ca((ed ,oo(-dit and using the recorded data to ana(y)e repetiti&e pattern. This ho*e&er *as a

    pre(iminary ana(ysis *hich can be used for further study

    a. !tud" of Cool Edit and recording data with it7 As mentioned ,oo( -dit is asoft*are that can be used for recording data as *e(( as disp(aying data. t records in a

    format that is specified by the user and a(so stores the data in a user defined format. Thissoft*are disp(ays data in a *a&eform format and a(so disp(ays &arious parameters. Data

    is recorded using this in a user defined samp(ing rate. As the data used is human &oice a

    $$k8) 1%bit recording format is used. The recorded data is sa&ed in the te/t format and

    further ana(ysis is done.

  • 8/12/2019 Summ,er intrenship on sound recording

    5/19

    #. $nal"sis of data using Cool Edit : The ana(ysis procedure that is used is ca((ed Acoustic9Phonetic ana(ysis. n this approach a *ord is segmented and attached some (abe(s ca((ed Phonetic 3abe(s. And these (abe(s are used for

    identification and spotting of *ord

    i. $im of $nal"sis: A *ord is considered and if its *a&eform is considered some pattern that is recurring in the data can be noticed. :o* the aim is to find

    out the properties the pattern *hich can be used for ana(ysis

    ii. %rocedure7 The &o*e( to be ana(y)ed is the &o*e( ;oendif

    ,=ecorderD(g dia(og

    ,=ecorderD(g77,=ecorderD(g,nd pParent GF:33G7 ,Dia(og,=ecorderD(g77DD+ pParent

    C

    GGCCA'ODATAO:T,=ecorderD(gmOsTime F OTHHE

    GGA'ODATAO:T

    GG :ote that 3oadcon does not reuire a subseuent Destroycon in in"$

    mOhcon F Af/2etApp9@3oadconD=OMA:'=AM-E

    &oid ,=ecorderD(g77DoData-/change,Data-/change pDC

    ,Dia(og77DoData-/changepDE

    GGCCA'ODATAOMAP,=ecorderD(gDDO,ontro(pD+ D,O=Button+ mO=buttonE

    DDO,ontro(pD+ D,OP3AU+ mOP(ayButtonEDDOTe/tpD+ DOTM-=+ mOsTimeE

    GGA'ODATAOMAP

    B-2:OM-SSA2-OMAP,=ecorderD(g+ ,Dia(ogGGCCA'OMS2OMAP,=ecorderD(g

    6:OMOPA:T

  • 8/12/2019 Summ,er intrenship on sound recording

    14/19

    6:OMOV-=UD=A2,6:

    6:OB:O,3,K-DD,OP3AU+ 6nP(ay

    6:OMOTM-=6:OMOSUS,6MMA:D

    GGA'OMS2OMAP

    -:DOM-SSA2-OMAP

    B663 ,=ecorderD(g776nnitDia(ogC

    ,Dia(og776nnitDia(ogE

    SetconmOhcon+ T=-E GG Set big icon

    SetconmOhcon+ 'A3S-ESetTimerDOTM-=+1###+:33E

    Start=ecordingTo'i(eE

    return T=-E GG return T=- un(ess you set the focus to a contro(

    G

    &oid ,=ecorderD(g776nPaint

    Cif sconic

    C

    ,PaintD, dcthisE GG de&ice conte/t for painting

    SendMessageMO,6:-=AS-BK2:D+ PA=AM

    dc.2etSafe8dc+ #E

    int c/con F 2etSystemMetricsSMO,,6:Eint cycon F 2etSystemMetricsSMO,U,6:E

    ,=ect rectE

    2et,(ient=ect0rectEint / F rect.idth 9 c/con J 1 G $E

    int y F rect.8eight 9 cycon J 1 G $E

    dc.Dra*con/+ y+ mOhconE

    e(se

    C,Dia(og776nPaintE

    8,=S6= ,=ecorderD(g776nVueryDragcon

    C

    return 8,=S6= mOhconE

  • 8/12/2019 Summ,er intrenship on sound recording

    15/19

    &oid ,=ecorderD(g776nP(ay

    C ,String stringE

    mOP(ayButton.2etindo*Te/tstringE

    ifstring FF HP(ayHC

    StartP(aying'rom'i(eE

    mOP(ayButton.Setindo*Te/tHStopHE

    e(se

    C

    StopP(aying'rom'i(eE

    mOP(ayButton.Setindo*Te/tHP(ayHE

    &oid ,=ecorderD(g776n-nd6fP(aying'i(eC

    mOP(ayButton.Setindo*Te/tHP(ayHE

    &oid ,=ecorderD(g776nTimer:T nD-&ent

    C

    ,Time curtime F ,Time 77 2et,urrentTimeE

    static int tF curtime.2etSecondEstatic int sF 1E

    mOsTime.'ormatHLdH+sE

    sFsJ1E

    ifcurtime.2etSecond FF t

    C

    mO=button.Setindo*Te/tH=ecording s Started.......HE

    ifcurtime.2etSecond FF tJC

    f(ag F 1E

    mO=button.Setindo*Te/tH=ecording s StoppedHE

    Ki((TimerDOTM-=E

  • 8/12/2019 Summ,er intrenship on sound recording

    16/19

    iff(ag FF1C

    Stop=ecordingTo'i(eE

    GG,(oseEreturnE

    pdateData'A3S-E,Dia(og776nTimernD-&entE

  • 8/12/2019 Summ,er intrenship on sound recording

    17/19

    ".Development of course material: The third phaseof the project *as to de&e(op course materia(s. The course de&e(oped inc(udes t*otopics766P and Data structures using !a&a.

    The materia( *as de&e(oped as po*er point s(ides and the fo((*ing topics *ere co&ered7

    1. 'undamenta(s of 6bject 6riented Programming$. Stacks

    ". Vueues

    4. 3inked (ist. Trees

    %. Searching

    W. Sorting

  • 8/12/2019 Summ,er intrenship on sound recording

    18/19

    ). Conclusion8ence the training program consisted of " different projected imp(anted in " phases.

    The first project main(y *as concerned *ith the ana(ysis of common pattern found

    in *ords

    n the second project+ a program *as de&e(oped to record and store sound

    The third project *as to de&e(op materia(s for students

    8o*e&er for the first t*o phases there remains a (ot of scope for further study and

    de&e(opment. The *ork hence done can be used as the initia( effort for such

    de&e(opement

  • 8/12/2019 Summ,er intrenship on sound recording

    19/19

    *. (eferences:

    1. www.syntrillium.com

    $. Rabiner

    ". http7GG***.codeproject.comGaudioGfister.asp

    4. en.wikipedia.org/wiki/ Object-oriented_programming

    5. C Balaguruswamy : Object-oriented_programming in C

    http://www.syntrillium.com/http://www.codeproject.com/audio/fister.asphttp://www.codeproject.com/audio/fister.asphttp://www.codeproject.com/audio/fister.asphttp://www.syntrillium.com/http://www.codeproject.com/audio/fister.asp