how do they know that? exploring processing in digital ... · 59 adaptive beamforming...

65
Nikolas Klakow, AuD Customer Trainer, Phonak LLC How do they know that? Exploring Processing in Digital Hearing Aids

Upload: others

Post on 29-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

Nikolas Klakow, AuD

Customer Trainer, Phonak LLC

How do they know that?

Exploring Processing in Digital Hearing Aids

Page 2: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

2

Agenda

Introduction

Sound Classification

Noise Reduction

Directional Microphones

Page 3: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

3

How does the brain know what this is?

Page 4: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

4

How we look at sounds

Time-domain graph

Spectrum

Spectogram

Page 5: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

5

Fast Fourier Transform

The FFT is an algorithm for computation of discreet Fourier transform (DFT).

Allows a system to work in the frequency domain

Basic calculation that will be used for:

Signal amplification

Feedback cancellation

Noise reduction

Adaptive directionality

Spectral enhancement/reduction

Page 6: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

6

Frequency Analysis

Compound Signal

Page 7: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

7

/eh/

Page 8: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

8

Frequency Analysis - 2

Page 9: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

9

The vowels /eh/ /a/

/e/ /oh/

Page 10: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

10

Trivia

When was the Fast Fourier Transform discovered?

1866

1805

1918

1956

German Mathematician Carl Friedrich Gauss credited with discovery

Page 11: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

11

Agenda

Introduction

Sound Classification

Noise Reduction

Directional Microphones

Page 12: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

12

Sound Classification

Speech

Music

Noise

Page 13: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

13

What is that?

Page 14: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

14

Sound Classification

Periodicity

Spectral Envelope/Prediction

Statistical Evaluation

Page 15: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

15

Periodicity

Periodic sounds:

Music generally periodic

Vowels

Some consonant i.e. /n/

Aperiodic sounds

Sibilants

Noise

Schaub, A. Digital Hearing Aids, 2008

Page 16: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

16

Autocorrelation

How does short signal segment match previous one?

Coefficient quantifies correspondence between segments with values between +1 to -1

What is the period of example (a)?

Schaub, A. Digital Hearing Aids, 2008

8.5ms

Page 17: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

17

Autocorrelation Coefficient

Value close to +1

indicates matching segments

Value around 0

indicates completely different segments

Value close to -1

indicates identical waveforms, but opposite phase

/n/

Schaub, A. Digital Hearing Aids, 2008

Page 18: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

18

What is that?

Page 19: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

19

Autocorrelation of samples

Page 20: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

20

AC for Speech

Y-axis in Figure (b) shows delay between signal segments.

Period increases gradually from 9 to 10ms

Corresponds to fundamental freq. from ~110 to 100Hz changing slowly: speech trait

Schaub, A. Digital Hearing Aids, 2008

Page 21: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

21

AC for Pulsed Noise

Noise from dishes in sink.

Waveform alone has modulation like speech

Lack of correlation suggest signal is not speech

Schaub, A. Digital Hearing Aids, 2008

Page 22: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

22

How about this?

Page 23: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

23

Autocorrelation of samples - 2

Page 24: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

24

AC for Music

Easy Listening music for flute and guitar.

Continuous periodicity allows system to differentiate between noise, even if signal has little modulation.

Schaub, A. Digital Hearing Aids, 2008

Page 25: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

25

AC for Steady Noise

Minimal modulation

High AC (0.9), but period change irregularly between 10 and 16ms

Corresponds to fast changes of fundamental freq. from 60 to 100Hz

Typical of low freq noise, not speech.

Schaub, A. Digital Hearing Aids, 2008

Page 26: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

26

Sound Classification

Periodicity

Spectral Envelope/Prediction

Statistical Evaluation

Page 27: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

27

Spectral Envelope

Greater precision with higher order envelopes

Predictability becomes a parameter

Schaub, A. Digital Hearing Aids, 2008

Spectrum

16th order envelope

2nd order envelope

1st order envelope

/s/

/ae/

Page 28: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

28

Normalized Prediction Error

Nearer to 1 – flatter spectrum

Nearer to 0 – more pronounced resonances

Schaub, A. Digital Hearing Aids, 2008

Music

Page 29: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

29

Normalized Prediction Error - 2

Schaub, A. Digital Hearing Aids, 2008

Music Steady Noise

Page 30: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

30

Putting clues together

Page 31: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

31

Sound Classification

Periodicity

Spectral Envelope/Prediction

Statistical Evaluation

Page 32: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

32

Statistical Evaluation

Using statistical analysis systems can determine likelihood of sounds being music, noise, or speech based on attributes:

Periodicity, fundamental frequency, spectrum gradient, dominant resonance

Page 33: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

33

Sound Classification

Speech

Music

Noise

Page 34: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

34

Agenda

Introduction

Sound Classification

Noise Reduction

Directional Microphones

Page 35: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

35

Noise Reduction

Speech and noise – what to do?

Page 36: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

36

Block diagram of NR bands

Band-pass filter

High-pass filter

Low-pass filter

Determine attenuation

Determine attenuation

Determine attenuation

Page 37: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

37

Divide and process

0-500 Hz

500-2000 Hz

2-8 kHz

Page 38: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

38

Maxima and minima

Measure max/min modulation in discreet bands

Maxima

Minima

Page 39: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

39

Modulation

Subtract minima from maxima

Schaub, A. Digital Hearing Aids, 2008

Page 40: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

40

ANSI S3.5-1997: The SII

Speech Intelligibility Index

Between 0 and 1

Indicates proportion of speech cues available

Conditions to reach “1”

1. Level of speech signal ≤ 10dB above normal speech at distance of 1 meter

2. Speech signal must exceed noise by 15+dB

Page 41: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

41

The 15dB rule

Modulation > 15dB

no attenuation

Modulation < 15dB

attenuated by difference between 15dB and own modulation

Modulation (dB)

0 0

5

5 10

10

15

15

Att

enuation (

dB)

Page 42: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

42

Modulation

Subtract minima from maxima

Schaub, A. Digital Hearing Aids, 2008

Page 43: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

43

Attenuation values

Varying attenuation in bands

Schaub, A. Digital Hearing Aids, 2008

Page 44: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

44

Bands after attenuation

Schaub, A. Digital Hearing Aids, 2008

Page 45: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

45

And the difference…

Before NR

After NR

Schaub, A. Digital Hearing Aids, 2008

Page 46: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

46

Thoughts on NR

Should it be SPL dependent?

How does it interact with WDRC?

Page 47: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

47

More Trivia

The Fourier Transform was named in honor of the French mathematician, Joseph Fourier (1768-1830)

He is credited with the discovery of the Greenhouse effect.

Page 48: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

48

Agenda

Introduction

Sound Classification

Noise Reduction

Directional Microphones

Page 49: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

49

The Directional Pattern

Front

Back

1.Cardioid

2.Hypercardioid

3.Supercardioid

4.Dipole

Null = azimuth at which there is the least amplification

Page 50: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

50

Dual Omnidirectional Microphones

Benefits:

Adaptive polar patterns

Multiple polar patterns

d

T

xF(t)

xR(t-T)

Difference signal

d(t) Front

Rear

Page 51: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

51

Directionality Basics

Speed of sound : 340 m/s (c)

Microphone separation (d) : 8.5 mm

Time delay between microphones = 25 μs

Electronic Delay (T): 25 μs

Cardioid pattern – cancellation at 180°

d

T

xF(t)

xR(t-T)

Difference signal

d(t) Front

Rear

-

+

Page 52: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

52

Math Alert!

8.5 mm = 0.0085 m (d)

Speed of Sound 340 m/s (c)

0.0085 m : 340 m/s = 0.000025 s

0.000025 s = 25μs

d/c provides the time it takes the sound to

get from one microphone to the other.

Page 53: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

53

Sound from Behind

Hypothetical calculation:

Sound enters rear mic with value 100

Sound enters front mic with value of 75 (25 delay)

Electronic delay T= 25

Therefore : (xF(t) = 75) – (xR(t-T) = 75) = 0

d

T

xF(t)

xR(t-T)

Difference signal

d(t) Front

Rear

Sound

+

-

Page 54: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

54

Sound from Front

Hypothetical calculation:

Sound enters front mic with value 100

Sound enters rear mic with value of 75 (25 delay)

T= 25

Therefore : (xF(t) = 100) – (xR(t-T) = 50) = 50

d

T

xF(t)

xR(t-T)

Difference signal

d(t) Front

Rear

Sound

+

-

Page 55: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

55

Demonstration Signal

4000Hz

2000Hz

1000Hz

500Hz Compound Waveform

Spectrum

Page 56: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

56

Sound from the Front (75dB)

a) Microphone signals

b) Difference signal

Schaub, A. Digital Hearing Aids, 2008

Output signal spectra

Page 57: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

57

Sound from the Side (75dB)

Output signal spectra

a) Microphone signals

b) Difference signal

Schaub, A. Digital Hearing Aids, 2008

Page 58: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

58

Adapting Directional Pattern Nulls

Without changing T, polar pattern could not redirect null for maximum reduction of signal

Page 59: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

59

Adaptive Beamforming

Green-difference signal front-cardioid pattern dF(t)

Yellow-difference signal rear-cardioid pattern dR(t)

Blue-variable directional pattern output signal y(t)

Red-calculates microphone gain (b) defining null direction

Schaub, A. Digital Hearing Aids, 2008

d

xF(t)

xR(t)

dF(t) Front

Rear dR(t)

d/c

d/c Self-

Adjustment

y(t) +

-

+

+

-

-

b

Page 60: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

60

Variable Directional Patterns

Equation:

y(t) = dF(t) – (b · dR(t))

b = 1 b = 0.5

Schaub, A. Digital Hearing Aids, 2008

Page 61: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

61

Self-Adjusting Directionality

Speech sample used for following examples

Schaub, A. Digital Hearing Aids, 2008

Page 62: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

62

Self-Adjusting Directionality - 2

Difference signals of Speech in

Noise-Cardioid pattern.

(a) Front dF(t)

(b) Rear dR(t)

Schaub, A. Digital Hearing Aids, 2008

Page 63: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

63

Directional patterns and output signals for varying values of factor b

Self-Adjusting Directionality - 3

b = 0.13

b = 0.53

Schaub, A. Digital Hearing Aids, 2008

Page 64: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

64

This b value reduces enough noise to allow stop consonants /t/ and /d/ to be audible.

Self-Adjusting Directionality - 4

b = 0.33

Schaub, A. Digital Hearing Aids, 2008

Original

Page 65: How do they know that? Exploring Processing in Digital ... · 59 Adaptive Beamforming Green-difference signal front-cardioid pattern d F (t) Yellow-difference signal rear-cardioid

65

Questions?

Kates, J.M. Digital Hearing Aids, Plural Publishing, 2008

Schaub, A. Digital Hearing Aids, Thieme Publishing, 2008

Dillon, H. Hearing Aids, Thieme Publishing, 2001