real-time implementation of frequency adaptive transformsreal-time implementation of frequency...

45
Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions Real-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. D¨ orfler and T. Grill Acoustics Research Institute, Austrian Academy of Sciences Numerical Harmonic Analysis Group (NuHAG), Universit¨ at Wien Austrian Research Insitute for Artificial Intelligence (OFAI) 8 December 2012 N. Holighaus Sliced NSGT

Upload: others

Post on 30-May-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Real-time implementation of frequency adaptive transforms

Nicki Holighausjoint work with G.A. Velasco, M. Dorfler and T. Grill

Acoustics Research Institute, Austrian Academy of SciencesNumerical Harmonic Analysis Group (NuHAG), Universitat Wien

Austrian Research Insitute for Artificial Intelligence (OFAI)

8 December 2012

N. Holighaus Sliced NSGT

Page 2: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Outline

1 Introduction

2 Basic concepts

3 Going real time - some considerations

4 Sliced frequency adaptive transforms

5 Experiments for sliced constant-Q

6 Extensions

N. Holighaus Sliced NSGT

Page 3: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Outline

1 Introduction

2 Basic concepts

3 Going real time - some considerations

4 Sliced frequency adaptive transforms

5 Experiments for sliced constant-Q

6 Extensions

N. Holighaus Sliced NSGT

Page 4: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Nonstationary Gabor transform (Fourier version)

The finite, discrete Nonstationary Gabor Transform (NSGT) of a signal f oflength L, with window functions tgkuk is given by

cn,k �

L�1

j�0

f rjsgk rjse2πinak j

L�

L�1

l�0

f rlsqgk rl � nak s. (1)

If Gpg, aq :� tgk r�s e�

2πinak �

Lun,k spans CL, we say that they form a frame

for CL.

A Fourier-side NSGT is a (sampled), possibly non-uniform filterbank.

N. Holighaus Sliced NSGT

Page 5: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

NSG algorithms

NSG analysis: c � NSGTfLpf , g, aq

1: Initialize f , gk for all k P IK2: f � FFTLpf q

3: for k P IK , n � 0, . . . , L{ak � 1 do

4: ck �a

L{ak � IFFTL{akpf gk q

5: end for

NSG synthesis: f � iNSGTfLpc, g, aq

1: Initialize cn,k , rgk for all n � 0, . . . , L{ak � 1, k P IK2: for k P Ik do

3: fk �a

ak{L � FFTL{akpckq

4: end for

5: f �°

kPIKfk rgk

6: f � IFFTLpf q

N. Holighaus Sliced NSGT

Page 6: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Outline

1 Introduction

2 Basic concepts

3 Going real time - some considerations

4 Sliced frequency adaptive transforms

5 Experiments for sliced constant-Q

6 Extensions

N. Holighaus Sliced NSGT

Page 7: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Consideration I - FIR filters

Compact time support allows for segment-wise convolution, either direct or viaFFT convolution (using overlap-add/overlap-save).

ñ Exact coefficients can be obtained segmentwise.

Direct convolution is fast whenever a good downsampling strategy is involved,e.g. fast Wavelet transform.

N. Holighaus Sliced NSGT

Page 8: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Consideration I - FIR filters II

Direct convolution: LN{D multiplications per filter, where D is thedownsampling factor and N the filter impulse response length in samples.Additional book-keeping, if many filters with different impulse response lengthare involved.Fast convolution: At least L multiplications per filter (more if performedsegmentwise), since FIR filters cannot be bandlimited. Additionally, Fouriertransforms of each segment are required.

ñ FIR techniques are efficient for a moderate number of filters usingwell-structured downsampling rates. This limits flexibility, e.g. choice ofredundancy.

Frame operator structure is not immediately apparent, invertibility cannot bedetermined easily.

ñ In some cases (remember Monika’s talk!), mathematicians say we can stilldetermine invertibility relatively easily, by going to the Fourier side.

N. Holighaus Sliced NSGT

Page 9: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Consideration II - Bandlimited filters

Fourier transform(s) (of each segment) are required, but afterwards filteringamounts to M (filter bandwidth) multiplications per filter.Downsampling rates can be chosen freely, i.e. any rational factor D (¥ 1) suchthat L{D is integer is admissible. Varying downsampling factors have littleimpact on computational complexity.

ñ Efficient also for large numbers of filters, flexible redundancy.

N. Holighaus Sliced NSGT

Page 10: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Consideration II - Bandlimited filters II

The Fourier-side frame operator is diagonal (or diagonal dominant) if thedownsampling factors are small enough. Consequently, invertibility can bedetermined fairly easily. This is also referred to as painless and almost painless

case.

ñ Allows for fast direct/iterative reconstruction techniques.

A full-length FFT is required to obtain the coefficients, preventing real-timeapplications. Segmenting always introduces aliasing into the coefficients.

ñ Any segmenting technique will corrupt the coefficients.

N. Holighaus Sliced NSGT

Page 11: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Consideration III - What we desire? Everything!

Efficient and perfect reconstruction

Potential real-time (bounded delay) processing

Fast algorithms for a large number of filters of various length and flexibledownsampling factors

Coefficients of a segmented transform should resemble the full lengthtransform in both structure and information content

Synthesis from modified coefficients should resemble the full lengthtransform (this is different from the previous point)

Ideally the technique would be applicable for a large variety of transformdesigns

N. Holighaus Sliced NSGT

Page 12: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Outline

1 Introduction

2 Basic concepts

3 Going real time - some considerations

4 Sliced frequency adaptive transforms

5 Experiments for sliced constant-Q

6 Extensions

N. Holighaus Sliced NSGT

Page 13: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Sliced NSG filterbanks

Frequency adaptive NSG filterbanks with bandlimited windows and perfectreconstruction are designed easily, e.g. constant-Q and ERBlet frames areavailable.

Step 1: Segment the signal into slices of (for now) uniform length Ls withhalf-overlap

Step 2: Weigh the segments by a partition of unity, comprised of compactlysupported functions

Step 3: Apply the same (for now) NSG filterbank to each weighted slice

N. Holighaus Sliced NSGT

Page 14: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Sliced NSG filterbanks

Frequency adaptive NSG filterbanks with bandlimited windows and perfectreconstruction are designed easily, e.g. constant-Q and ERBlet frames areavailable.

Step 1: Segment the signal into slices of (for now) uniform length Ls withhalf-overlap

Step 2: Weigh the segments by a partition of unity, comprised of compactlysupported functions

Step 3: Apply the same (for now) NSG filterbank to each weighted slice

0

1

2N

N

M

Figure: Slicing by a partition of unity, zero-padded to a half-overlap situation.

N. Holighaus Sliced NSGT

Page 15: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Sliced NSG filterbanks

Frequency adaptive NSG filterbanks with bandlimited windows and perfectreconstruction are designed easily, e.g. constant-Q and ERBlet frames areavailable.

Step 1: Segment the signal into slices of (for now) uniform length Ls withhalf-overlap

Step 2: Weigh the segments by a partition of unity, comprised of compactlysupported functions

Step 3: Apply the same (for now) NSG filterbank to each weighted slice

Each (weighted) slice can be reconstructed perfectly, as the full signal before.The sum of correctly placed slices equals the full signal.ñ Perfect reconstruction is still possible.

Analysis and synthesis delay amount to 1 slice length, plus processing time.

What about the other properties?

N. Holighaus Sliced NSGT

Page 16: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Desired properties I - NSG properties

As for

efficient perfect reconstruction and

fast algorithms for a large number of filters of various length anddownsampling factors,

those properties are inherited directly from the corresponding NSG filterbankfor signals of length Ls .

Redundancy, however, is approximately doubled, due to half overlap of theslices, although the effect on computation time is small.

N. Holighaus Sliced NSGT

Page 17: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Desired properties II - Real-time and independence

As for

potential real-time (bounded delay) processing and

being suitable for a large variety of transform designs,

each slice can be transformed and synthesized individually, allowing forprocessing with bounded delay and in linear time. Any NSG filterbank that canbe defined for length Ls is admissible.

N. Holighaus Sliced NSGT

Page 18: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Desired properties II - Real-time and independence

As for

coefficients of a segmented transform should resemble the full lengthtransform in both structure and information content and

synthesis from modified coefficients should resemble the full lengthtransform:

These properties are more involved and closely connected to both thetime-localization of the analysis, resp. synthesis atoms of the frame, as well asthe properties and “correct” interpretation of the slicing.

N. Holighaus Sliced NSGT

Page 19: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Intuition I - Interpretation of the coefficients

Half overlap in the slicing step leads to a situation where 2 frame elements arelocated at the same time-frequency position in relation to the full signal. Thetime-frequency plane as “spanned” by the slices can be visualized as 2-layered(irregular) array, with the slices alternating between layers.

s0

s1

c0

c2

c4

¤ ¤ ¤ c0

c1

c3

¤ ¤ ¤ cL/Nß. . .

. . .

Since the slicing windows form a partition of unity, we expect the sum of the 2layers to approximate the coefficients of some corresponding full lengthtransform. This can be made explicit.

N. Holighaus Sliced NSGT

Page 20: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Technicalities I - Preparation

s0

s1

c0

c2

c4

¤ ¤ ¤ c0

c1

c3

¤ ¤ ¤ cL/Nß. . .

. . .

Rearrange the slice coefficients in 2 layers: For l � modpm, 2q, k P IK andns

� 0, . . . , Ls{ak � 1, let

slns�pm�1qLs{p2ak q,k

� cmns ,k (2)

Things are easier when slice length and number of time steps in eachfrequency band is even.

In the following, let N :� Ls{2. IK is the index set for the filters.

N. Holighaus Sliced NSGT

Page 21: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Technicalities II

Proposition

Let GpgL, aq be a nonstationary Gabor system for CL. Further, let hm � TmNh0

with°L{N�1

m�0 hm � 1 and define gk P C2N , for all k P IK by

gk rjs � gL

k rjL{p2Nqs.

For f P CL, denote by c P C

L{ak�|IK | the CQ-NSGT coefficients of f with

respect to GpgL, aq and by s P C

2�L{ak�|IK | the sliCQ coefficients of f with

respect to h0 and Gpg, aq. Then

|s0n,k � s

1n,k � cn,k |

¤ }f }2

}p1� h0 � h1qTnsak|gL

k }2

� }ph0 � h1q

L2N�1¸

j�1

Tnsak�2jN|gL

k }2

(3)

for n � mN{ak � ns , with m � 0, . . . , L{N � 1 and ns� 0, . . . ,N{ak � 1.

N. Holighaus Sliced NSGT

Page 22: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Technicalities III - The error terms

Actually, the the error estimate is quite coarse, yet it gives the right idea:

}p1� h0 � h1qTnsak|gL

k }2

This term contains the error originating from cutting |gL

k with the slicing

windows hm � hm�1. It will be small if Tnsak|gL

k is well concentrated in theinterval, where hm � hm�1 � 1.

}ph0 � h1q°

L2N�1

j�1 Tnsak�2jN|gL

k }2

This term contains the aliasing induced by subsampling the Fourier

transform gL

k of |gL

k to be of length 2N. It will be small if |gL

k is wellconcentrated and the slices are zero-extended enough.

N. Holighaus Sliced NSGT

Page 23: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - worst case

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 1 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 1 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 1 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 24: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - worst case

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 2 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 2 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 2 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 25: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - worst case

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 3 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 3 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 3 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 26: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - worst case

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 4 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 4 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 4 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 27: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - double bandwidth

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 1 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 1 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 1 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 28: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - double bandwidth

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 2 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 2 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 2 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 29: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - double bandwidth

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 3 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 3 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 3 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 30: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

The resulting analysis filters - double bandwidth

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 4 CQ−NSGT (time side)

dB

3500 4000 4500 5000 5500 6000−100

−50

0

Example filter 4 sliCQ (time side)

dB

time (samples)

3800 3900 4000 4100 4200 4300 4400−150

−100

−50

0

Comparison of resulting filter 4 (frequency side)

dB

frequency (samples)

N. Holighaus Sliced NSGT

Page 31: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Intuition II - Synthesis I

In the case of unmodified coefficients, the perfect reconstruction property isunaffected.

Intuition: Slicewise synthesis from modified coefficients produces results closeto the full length transform whenever the elements of the dual frame are largelyunaffected by truncating them at the slice ends.

Consequently, the dual frame should consist of elements well-localized in time,ideally the frame would be close to or tight.

N. Holighaus Sliced NSGT

Page 32: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Intuition II - Synthesis I

In the case of unmodified coefficients, the perfect reconstruction property isunaffected.

Intuition: Slicewise synthesis from modified coefficients produces results closeto the full length transform whenever the elements of the dual frame are largelyunaffected by truncating them at the slice ends.

Consequently, the dual frame should consist of elements well-localized in time,ideally the frame would be close to or tight.

To be honest, the synthesis step could still be improved, with “tighter” frames.The experimental results are quite acceptable, though.

N. Holighaus Sliced NSGT

Page 33: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Intuition II - Synthesis II

To prevent blocking artifacts, we prefer using smooth dual slicing windows,such that

L{N�1¸

m�0

TmN

h0h0

� 1. (4)

This additional step improves perceptual synthesis quality, especially when thedual frame elements are not sufficiently well localized.

As long as the equation above is satisfied, perfect reconstruction is retained.

N. Holighaus Sliced NSGT

Page 34: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Outline

1 Introduction

2 Basic concepts

3 Going real time - some considerations

4 Sliced frequency adaptive transforms

5 Experiments for sliced constant-Q

6 Extensions

N. Holighaus Sliced NSGT

Page 35: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Computation time

3 4 5 6 7 8 9¢ 105

0

1

2

3

signal length (in samples)

time(inseconds)

We show computation time versus signal length of the CQ transform (dottedgray), CQ-NSGT (dashed gray) and various sliCQ transforms. The sliCQtransforms were taken with slice lengths 4096 (solid gray), 16384 (dottedblack), 32768 (dashed black) and 65536 (solid black) samples.

N. Holighaus Sliced NSGT

Page 36: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Coefficient approximation

We show the SliCQ coefficient approximation error against the minimaladmissible bandwidth for a set of random signals. All transforms useBlackman-Harris windows. Solid and dashed lines represent long (1{4 slicelength) and short (1{128 slice length) transition areas respectively, while colorscorrespond to the slice length: 4096 (light gray), 16384 (dark gray) and 65536samples (black).

N. Holighaus Sliced NSGT

Page 37: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Processing experiment - The masks

time (seconds)

fre

qu

en

cy (

Hz)

Original Glockenspiel signal

0 0.5 1 1.5

800

3200

12800

The signal is masked with each of the displayed masks separately. Thecoefficients multiplied with the sinusoid mask are shifted upwards by 8 bins,corresponding to a transposition by 2 semitones.

N. Holighaus Sliced NSGT

Page 38: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Processing experiment - The transposed signal

time (seconds)

freq

uenc

y (H

z)

Original Glockenspiel signal

0 0.5 1 1.5

800

3200

12800

time (seconds)

freq

uenc

y (H

z)

CQ−NSGT modified signal

0 0.5 1 1.5

800

3200

12800

time (seconds)

freq

uenc

y (H

z)

sliCQ modified signal, short slice

0 0.5 1 1.5

800

3200

12800

time (seconds)fr

eque

ncy

(Hz)

sliCQ modified signal, long slice

0 0.5 1 1.5

800

3200

12800

The resulting coefficients from all 3 maskings are summed, then synthesized.The resulting, re-analyzed signals are shown above. Note that the maskschosen were identical in all 3 displayed cases.

N. Holighaus Sliced NSGT

Page 39: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

N. Holighaus Sliced NSGT

Page 40: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

adaptivity of slice lengths

N. Holighaus Sliced NSGT

Page 41: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

adaptivity of slice lengths

higher subsampling factors in the NSG step, see Thibaud’s talk (currentimplementation is painless)

N. Holighaus Sliced NSGT

Page 42: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

adaptivity of slice lengths

higher subsampling factors in the NSG step, see Thibaud’s talk (currentimplementation is painless)

improve the frame bounds with better, e.g. warped, windows

N. Holighaus Sliced NSGT

Page 43: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

adaptivity of slice lengths

higher subsampling factors in the NSG step, see Thibaud’s talk (currentimplementation is painless)

improve the frame bounds with better, e.g. warped, windows

and probably more...

N. Holighaus Sliced NSGT

Page 44: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Possible extensions

variant-NSGTs for various frequency scales (Mel, Bark, etc) can berealized easily

true bounded delay implementation

adaptivity of slice lengths

higher subsampling factors in the NSG step, see Thibaud’s talk (currentimplementation is painless)

improve the frame bounds with better, e.g. warped, windows

and probably more...

N. Holighaus Sliced NSGT

Page 45: Real-time implementation of frequency adaptive transformsReal-time implementation of frequency adaptive transforms Nicki Holighaus joint work with G.A. Velasco, M. Do¨rfler and T

Introduction Basic concepts Going real time Sliced transforms Experiments for sliced constant-Q Extensions

Thank you for your attention!

N. Holighaus Sliced NSGT