Speech Detection Project 1. Outline Motivation Problem Statement Details Hints.

Slides:



Advertisements
Similar presentations
Presented by Erin Palmer. Speech processing is widely used today Can you think of some examples? Phone dialog systems (bank, Amtrak) Computers dictation.
Advertisements

Using Audacity Audacity is an audio-editing application available from and can be used with most PC operating systems.
An Algorithm for Determining the Endpoints for Isolated Utterances L.R. Rabiner and M.R. Sambur The Bell System Technical Journal, Vol. 54, No. 2, Feb.
A Phonetician ’ s Guide to Audio Formats Chilin Shih University of Illinois at Urbana Champaign LSA 2006January 5-8, 2006.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
Sound can make multimedia presentations dynamic and interesting.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
Evaluation of Speech Detection Algorithm Project 1b Due October 11.
Project 1b Evaluation of Speech Detection Due: February 17 th, at the beginning of class.
1 Audio input and output Speaker: Ching Chen Chang Date:
WaveIO Speaker: Paul Date: Outline Wave File Format Multi-Media API (Output) Damo Multi-Media API (Input) Damo Reference 2.
Technology ICT Option: Audio.
Improvement of Audio Capture in Handheld Devices through Digital Filtering Problem Microphones in handheld devices are of low quality to reduce cost. This.
31/1/2002Brunel University - BEng Final Year Project1 Hospital Radio Interactive Play-out System Jonathan Hart Supervisor: Dr John Cosmas.
Digital audio recording Kimmo Tukiainen. My background playing music since I was five first time in a studio at fourteen recording on my own for six months.
AUTOMATIC ORGANIZING AND FORMATTING FOR LECTURE NOTES SHIQING (LICIA) HE ADIVISOR: PROF.KRISTINA STRIEGNITZ SPRING 2014 STRUCTURING THE UNSTRUCTURED NOTE:
Digital Archeology: Recovering Digital Objects from Audio Waveforms Mark Guttenbrunner University of.
Carnegie Mellon. Carnegie Mellon Sound Carnegie Mellon Sound Sampling Basics Common Sampling Rates 8KHz (Phone) or kHz (Phone, NeXT) kHz.
CS525u Multimedia Computing Introduction. Introduction Purpose Brief introduction to: –Digital Audio –Digital Video –Perceptual Quality –Network Issues.
Speak A Simple VoIP Application CS529 Multimedia Networking Due date: October 21 st by 11:59pm Project 2.
Detecting Speech Project 1. Outline Motivation Problem Statement Details Hints.
Reducing the Energy Usage of Office Applications Jason Flinn M. Satyanarayanan Carnegie Mellon University Eyal de Lara Dan S. Wallach Willy Zwaenepoel.
An Algorithm for Determining the Endpoints for Isolated Utterances L.R. Rabiner and M.R. Sambur The Bell System Technical Journal, Vol. 54, No. 2, Feb.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
Java Audio.
Microsoft Office Illustrated Inserting Illustrations, Objects, and Media Clips.
Project 1 Speech Detection Due: Sunday, February 1 st, 11:59pm.
Evaluation of Speech Detection Algorithm Project 1b Due February 14th.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Chapter 9 Audio.
Sound Chapter Types of Sound Waveforms MIDI Sound is related to many things in computers but only Wav and MIDI exist in PCs.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
Representation of Data in Computer Systems
Speak A Simple VoIP Application Project 2 Due date: March 3 rd by 11:59pm.
1 JCM 106 Computer Application for Journalism Lecture 1 – Introduction to Computing.
Sound Editing Techniques & Programs Combine Images with Audio.
Smart Home Design Based On Voice Recognition
Time-Domain Methods for Speech Processing 虞台文. Contents Introduction Time-Dependent Processing of Speech Short-Time Energy and Average Magnitude Short-Time.
An Error – Concealment Technique for Wireless Digital Audio Delivery N. Tatlas, A. Floros, T. Zarouchas and J. Mourjopoulos.
Multimedia Specification Design and Production 2013 / Semester 2 / week 3 Lecturer: Dr. Nikos Gazepidis
Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into.
Audio. Why Audio Essential tool for – Interface – Narrative – Setting & Mood.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
Unit 1_9 Human Computer Interface. Why have an Interface? The user needs to issue instructions Problem diagnosis The Computer needs to tell the user what.
Tutorial 7 Working with Multimedia. XP Objectives Explore various multimedia applications on the Web Learn about sound file formats and properties Embed.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
Cisco Public © 2012 Cisco and/or its affiliates. All rights reserved. 1.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Sound on the Web. Using Sound on a Web Site Conveying information  pronounce a word or describe a product Set a mood  music to match the web page scene.
TWAIN Open industry standard interface for the input devices to capture multimedia objects More and more sophisticated devies are developed to cater to.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal VideoConference Archives Indexing System.
Multimedia Technology and Applications Chapter 2. Digital Audio
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Tutorial 7 Working with Multimedia. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Explore various multimedia applications.
Sound Conversion Chilin Shih University of Illinois — Urbana Champaign E-MELD Conference 2003 July 11 th -13th LSA Institute Michigan State University.
2015/11/141 Audio I/O Speaker : Wei-Shin Pan DATE :
Speech Processing and Recognition © Florida Institute of Technology Access audio data in real time and apply to speech recognition Final Exam Project By.
Digital Music to Sheet Music Hugh Smith. Abstract Electronic music has been steadily expand- ing over the past years. Many file formats have come into.
Chapter 13 DirectSound 로 잡음 만들기. 2 History of Sound Programming Sound programming always gets put off until the end DOS –Third party sound libraries:
Glencoe Introduction to Multimedia Chapter 8 Audio 1 sound effect An artificially created or enhanced sound used to achieve an effect (without speech or.
1 Audio input and output Speaker: Ching Chen Chang Date:
Audio Streaming © Nanda Ganesan, Ph.D.. Audio File Features Audio file is a record of captured sound that can be played back –The WAV File is an example.
HAT development and experiment Kyoungae Kim, SNU Korea
Sound. Sound Capture We capture, or record, sound by a process called sampling: “measuring” the sound some number of times per second. Sampling rate is.
Editing Digital AudioLab#7 Audacity is a free, easy-to-use and an open source platform audio editor and recorder for Windows, Mac OS, Linux and other operating.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
ConnectPro User Guide for Students
Chapter 4: Representing sound
An Algorithm for Determining the Endpoints for Isolated Utterances
Presentation transcript:

Speech Detection Project 1

Outline Motivation Problem Statement Details Hints

Motivation Word recognition needs to detect word boundaries in speech “Silence Is Golden”

Motivation Recognizing silence can reduce: –Network bandwidth –Processing load Easy in sound proof room, with digitized tape –Measure energy level in digitized voice

Research Problem Noisy computer room has loud background noise, making some edges difficult “Five”

Research Problem Computer audio often for interactive applications –Voice commands –Teleconferencing  Needs to be done in ‘real-time’

Project Solution Implement end-point algorithm by Rabiner and Sambur [RS75] –(Paper for class, next) Implementation in Linux or Windows Basis for audioconference/Internet phone –(Project 2)

Details Voice-quality: –8000 samples/second –8 bits per sample –One channel Record sound, write files: –sound.all - audio plus silence –sound.speech - audio no silence –sound.data - text-based data: audio data, energy, zero crossings: Other features allowed

Sound in Windows Microsoft Visual C++ –See Web page for basic tutorials Use sound device  WAVEFORMATEX: wFormatTag: set to WAVE_FORMAT_PCM nChannels, nSamplesPerSec, wBitsPerSample: set to voice quality audio settings nBlockAlign: set to number of channels times the number of bytes per sample nAvgBytesPerSec: set to the number of samples per second times the nBlockAlign value cbSize : set this to zero

Sound in Windows waveInOpen() –a device handle (HWAVEIN) –the device number (1 in the movie lab) –the WAVEFORMATEX variable –a callback function  gets invoked when the sound device has a sample of audio

Sound in Windows Sound device needs buffers to fill LPWAVEHDR –lpData: for raw data samples –dwBufferLength: set to nBlockAlign times the length (in bytes) of the sound chunk you want waveInAddBuffer() to give buffer to sound device –Give it device –Buffer (LPWAVEHDR) –Size of variable When callback invoked, buffer (lpData) has raw data to analyze –Must give it another via waveInAddBuffer() again

Sound in Windows Useful header files: #include extern "C" Useful data types: HWAVEOUT –writing audio device HWAVEIN –reading audio device WAVEFORMATEX –sound format structure LPWAVEHDR –buffer MMRESULT –Return type from wave system calls See the online documentation from Visual C++ for more information

Sound in Linux Linux audio device just like a file: –/dev/dsp –open("/dev/dsp", O_RDWR) Recording and Playing by: –read() to record –write() to play

Sound Parameters Use ioctl() to change sound card parameters To change sample size to 8 bits: fd = open("/dev/dsp", O_RDWR); arg = 8; ioctl(fd, SOUND_PCM_WRITE_BITS, &arg); Remember to error check all system calls!

Sound Parameters The parameters you will be interested in are: –SOUND_PCM_WRITE_BITS the number of bits per sample –SOUND_PCM_WRITE_CHANNELS mono or stereo –SOUND_PCM_WRITE_RATE sample/playback rate

Program Template (Linux) open sound device set sound device parameters record silence set algorithm parameters while(1) record sound compute algorithm stuff detect speech write data to file write sound to file if speech, write speech to file

Hand In Online turnin (see Web page) Turn in: –Code –Makefile/Project file Via