Title: Discussion
1Discussion 26 Sound II
2Sound Processing II
3Arithmetic on Sound
- Sound is an array of amplitudes (numbers)
- Adding two sounds together
- Make a sound louder or softer
- Blends of two sounds
- Echos
4Adding Two Sounds
5Adding Two Sounds
- Laser laser gun sound
- Warn warning message
- NewSnd new array(Laser.length)
- for (i0 iltLaser.length ii1)
- NewSndi Laseri Warni
6Adding Sounds Demo
- Cool Edit
- Edit -gt Mix Paste
7Making a Sound Louder
8Amplify Sound Algorithm
- amp 3.0 three times as loud
- for (i0 iltoldSound.length ii1)
- newSoundi oldSoundi amp
9Amplify Sound Demo
- Cool Edit
- Transform -gt Amplitude -gt Amplify
10Blending Two Sounds
90 whistle 10 words
50 whistle 50 words
10 whistle 90 words
11Blending Two Sounds
- B blend value between 0.0 and 1.0
- for (i0 iltoldSnd.length ii1)
- newSndi
- (1.0-B) oldSnd1i
- (B) oldSnd2i
12Blending Sounds Demo
- Cool Edit
- Transform -gt Amplitude -gt Amplify
- Edit -gt Mix Paste
13Singing a Round by Yourself
14Singing a Round by Yourself
15Singing a round by yourself
- song the original song
- delay how many samples to delay
- newSng new array(song.lengthdelay)
- for (i0 iltsong.length ii1)
- newSngi songi
-
- for (i0 iltnewSng.length ii1)
- newSngidelay newSngidelaysongi
16Singing a round by yourself Demo
- Cool Edit
- Edit -gt Mix Paste
17Echoes
- An echo occurs because sound returns delayed and
softer after bouncing off of something
Canyon Echo (large delay)
Room Reverb (small delay)
18Echoes
sound the original sound delay how many
samples to delay softness 0.1 newSound new
array(sound.lengthdelay) for (i0
iltsound.length ii1) newSoundi
soundi for (i0 iltsound.length
ii1) newSoundidelay newSoundidelay
soundisoftness
19Echoes Demo
- Cool Edit
- Transform -gt Delay Effects -gt Echo
20Speech Recognition
- Converting an audio signal into text
- Problems?
- English
- Homonyms
- Accents
21Speech Recognition - problems
I want a cookie
I want a cookie
I want a cookie
- Confused recognition
- I want to fly
- Eye want to cry
22Speech Recognition - success
- Small number of words
- about 1000
- Clear differences among words
- Train recognizer to persons voice
23Speech synthesis
- Converting text into sound
- Concatenation of sound
- Words go together funny
- Prosody, the inflection that you speak with
- Variation changes meaning
That is yours
That is yours