Docsity

Novelty detection, Summaries of Signals and Systems

Partial preview of the text

Download Novelty detection and more Summaries Signals and Systems in PDF only on Docsity!

Novelty detection

Juan Pablo Bello

EL9173 Selected Topics in Signal Processing: Audio Content Analysis

NYU Poly

Novelty detection

  • Find the start time (onset)

of new events in the

audio signal.

  • Onset: single instant

chosen to mark the start

of the (attack) transient.

Energy burst

Short duration

Unstability

Steady state

Difficulties

  • transient extended in time
  • multiple voices ->

(a)synchronous onsets

  • ambiguous events (vibrato,

tremolo, glissandi)

  • perceptual vs physical

Difficulties

  • transient extended in time
  • multiple voices ->

(a)synchronous onsets

  • ambiguous events (vibrato,

tremolo, glissandi)

  • perceptual vs physical

Difficulties

  • transient extended in time
  • multiple voices ->

(a)synchronous onsets

  • ambiguous events (vibrato,

tremolo, glissandi)

  • perceptual vs physical

Architecture

Reduction

Detection

(peak picking)

Onsets

Audio signal

Novelty (detection) function

Time-domain

Time-domain

  • We can use the derivative of energy w.r.t. time -> sharp peaks during energy

rise

  • Detectable changes in loudness are proportional to the overall loudness of

the sound.

  • Simulates the ear’s perception of loudness (Klapuri, 1999)

@E(m)/@m

E(m)

@log(E(m))

@m

Frequency-domain

  • Impulsive noise in time ->

wide band noise in frequency

  • More noticeable in high

frequencies.

  • Linear weighting of Energy

HF C(m) =

2

N

N/ 2 X

k=

|X k (m)|

2 k

  • We can also measure change (flux) in spectral content (Duxbury, 02).
  • Use half-wave rectification to only take energy increases into account
  • Use the (squared) L 2 norm of the flux vector

Frequency-domain

SF (m) =

2

N

N/ 2

X

k=

(|X k (m)| |X k (m 1)|)

SF R

(m) =

2

N

P N/ 2

k=

H (|X k

(m)| |X k

(m 1)|)

H(x) = (x + |x|)/ 2

SF RL 2

(m) =

2

N

N/ 2

X

k=

[H (|X k (m)| |X k (m 1)|)]

2

Phase deviation

  • The change in instantaneous frequency in bin k can be used to detect onsets

(Bello, 03)

k (m 1)

k (m)

P D(m) =

2

N

N/ 2 X

k=

|

00

k

(m)| =

2

N

N/ 2 X

k=

| k

(m) k

(m 1)|

=

2

N

N/ 2 X

k=

|princarg ( k (m) 2 k (m 1) + k (m 2)) |

Phase deviation

  • This function can be improved by weighting frequency bins by their

magnitude (Dixon, 06):

  • and normalized:

P D

W

(m) =

N

N/ 2

X

k=

|X

k

(m)

00

k

(m)|

P D

W N

(m) =

P

N/ 2

k=

|X

k

(m)

00

k

(m)|

P

N/ 2

k=

|X

k

(m)|

Complex domain

  • We can combine the spectral flux and phase deviation strategies, such that:

X

k

(m) = |

X

k

(m)|e

j

ˆ k (m)

where,

X

k

(m)| = |X k

(m 1)|

k

(m) = princarg (2 k

(m 1) k

(m 2))

such that,

CD(m) =

2

N

P

N/ 2

k=

|X

k

(m)

X

k

(m)|

Complex domain

  • As before, we can use half-wave rectification to improve the function (Dixon,

06):

CD(m) =

2

N

P N/ 2

k=

RCD k (m)

where,

RCD k

(m) =

⇢

|X k (m)

ˆ X k (m)| if |X k (m)| |X k (m 1)|

0 otherwise