• Non ci sono risultati.

Realtime auralization auralization employing employing a not

N/A
N/A
Protected

Academic year: 2021

Condividi "Realtime auralization auralization employing employing a not"

Copied!
38
0
0

Testo completo

(1)

Realtime

Realtime auralization auralization employing employing a not

a not - - linear, not linear, not - - time time - - invariant invariant convolver

convolver

Angelo Farina 1, Adriano Farina 2

1) Industrial Engineering Dept., University of Parma, Via delle Scienze 181/A Parma, 43100 ITALY – HTTP://www.angelofarina.it

2) Liceo Classico G.D. Romagnosi, via Marialuigia 1, Parma, 43100 ITALY HTTP://www.adrianofarina.it

123rd AES Convention 2007 October 5–8 New York, NY, USA

(2)

Goals

Goals for for Auralization Auralization

z

Transform the results of objective electroacoustics measurements to audible sound samples suitable for listening tests

z

Traditional auralization is based on linear

convolution: this does not replicate faithfully the nonlinear behaviour of most transducers

z

The new method presented here overcomes to this

strong limitation, providing a simplified treatment

of memory-less distortion

(3)

What What ’ ’ s s linear linear convolution convolution ? ?

z

Also called “FIR filtering”

z

Convolution is the mathematical operation performed when filtering a waveform x

employing as filter coefficients the samples of a second waveform, usually denoted as h and called “impulse response”

z

The samples of the input waveform are multiplied by the samples of the impulse response h, and the results accumulated (summed):

( ) ∑ ( ) ( )

=

= N 1

0 i

i h i

j x j

y

(4)

Auralization

Auralization by by linear linear convolution convolution

Convolving linearly a suitable sound sample with the Imp.Resp., the frequency response and temporal transient effects of the

system can be simulated properly

=

(5)

Auralization

Auralization by by linear linear convolution convolution

The beginnings: hardware DSP-based convolution units

Sony DRES-777

Lake Technologies HURON Yamaha SREV-1

(6)

Auralization

Auralization by by linear linear convolution convolution

The AMBIOPHONICS Institute: the home of convolution

Photos taken on 16 december 2002

(7)

Software

Software Convolution Convolution : : BruteFIR BruteFIR and and AlmusVCU AlmusVCU

Open-source software for Linux by Anders Torger – AES 24° Conference

Performance: a fanless (silent) P-IV running at 2.5 GHz was capable of real time convolution of 2 inputs at 44.1 kHz, 24 bits, with 48 impulse responses, each 5s long, driving 24 Genelec loudspeakers (20

satellites + 4 subwoofers), employing 75% of the CPU time

(8)

Auralization

Auralization Software Software

Nowadays many sytems or software plugins can perform satisfactorily the Linear Convolution operation, and are widely employed for audio processing

(9)

Linear

Linear Impulse Impulse Responses Responses

Huge collections of impulse responses have been measured in famous theatres and concert halls all around the world, as well for renowned audio processing gear.

Recent advancements in the measuring technique, making use of the Exponential Sine Sweep signal, and the usage of multiple sound

sources and microphones, make it possible to capture with minimal noise a detailed “acoustical photo” of existing rooms.

See, for example, the results of the Waves project on:

www.acoustics.net

Furthermore, all room acoustic modelling software is nowadays equipped with a “rendering” tool, which exports impulse responses suitable to be employed for auralization by linear convolution.

These synthetic IRs are even cleaner and with greater dynamic range than any measured IR

(10)

What What ’ ’ s s missing missing in in linear linear convolution convolution ? ?

z

No harmonic distortion, nor other nonlinear effects are being reproduced.

z

From a perceptual point of view, the sound is judged “cold” and “innatural”

z

A comparative test between the simulation of a strongly nonlinear device and an almost linear one does not reveal any audible

difference, because the nonlinear behavior

is removed for both

(11)

How How can can we we perform perform not not - - linear linear convolution

convolution ? ?

There are actually two competing approaches available in the audio industry:

z IR-switching technique

z Diagonal Volterra Kernel

(12)

Method

Method 1 (IR 1 (IR switching switching ) )

z A very simple idea: a different IR is employed depending on the amplitude of each sample of the signal to be filtered

z The method is quite old: the first published papers are those of Bellini and Farina (1998) and Michael Kemp (1999)

z Several impulse responses are measured, employing test signals of different amplitudes, and stored for later usage.

z It is mandatory to implement the convolution as

direct form in time domain, as each sample has

to be processed with a different IR.

(13)

Measurement

Measurement of of multiple multiple IRs IRs

z

Michael Kemp employed a step function,

with several steps of decreasing amplitude

(14)

Measurement

Measurement of of multiple multiple IRs IRs

z

Farina e Bellini did employ a sequence of MLS

repetitions, each with decreasing amplitude, providing

better S/N ratio in real-world measurements

(15)

Implementation

Implementation (Michael J. Kemp) (Michael J. Kemp)

z

Focusrite did release recently Liquid Channel, the first “dynamic convolver”

implementing the IR-switching technique

“The Liquid Channel is a revolutionary professional channel strip that can precisely replicate any classic mic-pre and compressor”

(16)

Implementation

Implementation (Farina/Bellini) (Farina/Bellini)

z

A FIR filtering algorithm, with the set of coefficients

chosen depending on the sample amplitude, was

implemented on a Sharc EZ-KIT 20161 board, and

employed for car-audio applications

(17)

Example Example

z The “not linear device” is emulated by the DISTORTION plugin of Adobe Audition, followed by sound playback and simultaneous recording over the loudspeaker and microphone of a laptop PC

(18)

Example Example

z

This is the multiple MLS signals after being

processed through the not-linear device

(19)

Example Example

z

Here the 16 impulse responses measured with

MLS of different amplitude (decreasing 3dB

each from left to right) are shown

(20)

Audible

Audible evaluation evaluation of of the performance the performance

Original signal Linear convolution

Live recording Non-linear (IR switching)

(21)

Method

Method 2 2 – – Diagonal Diagonal Volterra Volterra Kernels Kernels

z

We start from a measurement of the system based on exponential sine sweep (Farina, 108th AES, Paris 2000)

z

Diagonal Volterra kernels are obtained by post- processing the measurement results

z

These kernels are employed as FIR filters in a

multiple-order convolution process (original

signal, its square, its cube, and so on are

convolved separately and the result is summed)

(22)

Exponential

Exponential sweep sweep measurement measurement

z

The test signal is a sine sweep with constant

amplitude and exponentially-increasing frequency

(23)

Raw Raw response response of of the system the system

Many harmonic orders do appear as colour stripes

(24)

Deconvolution

Deconvolution of of system system ’ ’ s s impulse impulse response response

The deconvolution is obtained by convolving the raw

response with a suitable inverse filter

(25)

Multiple

Multiple impulse impulse response response obtained obtained

The last peak is the linear impulse response, the preceding ones are the harmonic distortion orders

1st

2nd 5th 3rd

(26)

Memoryless

Memoryless distortion distortion followed followed by by a a linear linear system

system with with memory memory

z The first nonlinear system is assumed to be memory-less, so only the diagonal terms of the Volterra kernels need to be taken into account.

Not-linear system K[x(t)]

Noise n(t)

input x(t)

+

output y(t) linear system

w(t)⊗h(t) distorted signal

w(t)

z Furthermore, we neglect the noise, which is efficiently rejected by the sine sweep measurement method.

(27)

Theory

Theory of of nonlinear nonlinear convolution convolution

z

The basic approach is to convolve separately, and then add the result, the linear IR, the second order IR, the third order IR, and so on.

z

Each order IR is convolved with the input signal raised at the corresponding power:

( ) (

i x n i

)

h

( ) (

i x n i

)

h

( ) (

i x n i

)

...

h )

n ( y

1 M

0 i

3 3 1

M 0 i

2 2 1

M 0 i

1 ⋅ − + ⋅ − + ⋅ − +

=

∑ ∑ ∑

=

=

=

The problem is that the required multiple IRs are not the results of the measurements: they are instead the diagonal

terms of Volterra kernels, which can be derived from the set

of measured Impulse Responses of several distortion orders

(28)

Efficient

Efficient non non - - linear linear convolution convolution

As we have got the Volterra kernels already in

frequency domain, we can efficiently use them in a multiple convolution algorithm implemented by

overlap-and-save of the partitioned input signal:

Normal signal input x(t)

x2

output y(t) h1(t)

Squared signal

x3

Cubic signal

x4

Quartic signal

+

h2(t)

+

h3(t)

+

h4(t)

(29)

Software

Software implementation implementation

A small Italian startup company, Acustica Audio, developed a VST plugin based on the Diagonal Volterra Kernel

method, named Nebula

This is capable of real-time operation even with a very

large number of filter coefficients

(30)

Software

Software implementation implementation

Nebula is also equipped with a companion application, Nebula Sampler, designed for automatizing the

measurement of a not linear system with the Exponential

Sine Sweep method:

(31)

Time Time - - variant variant systems systems

Nebula can sample also time-variant systems, such as flangers or compressors, by

repeating the sine sweep measurement several

times, along a repetition

cycle or changing the

signal amplitude

(32)

Reconstruction

Reconstruction accuracy accuracy

Nebula is actually limited to Volterra kernels up

to 5

th

order, and consequently does not emulate

high-frequency harmonics:

(33)

Audible

Audible evaluation evaluation of of the performance the performance

Original signal Linear convolution

Live recording Non-linear

Diagonal Volterra Kernel

These last two were compared in a formalized blind listening test

(34)

Subjective

Subjective listening listening test test

z A/B comparison

z Live recording & non-linear auralization

z 12 selected subjects

z 4 music samples

z 9 questions

z 5-dots horizontal scale

z Simple statistical analysis of the results

z A was the live recording, B was the auralization, but the listener did not know this

95% confidence intervals of the answers

(35)

Results Results

Statistical parameters – more advanced statistical methods would be advisable for getting more significant results

Comments

Question Number Average score

2.67 * Std. Dev.

- Most listeneres judged the two samples identical

- However, sample B, on average, has slightly “better timber” (less distortion at high frequency), whilst sample A is “more distorted”.

- Despite of the slight reduction in perceived distortion, the not-linear emulation was slightly preferred to the real-world recording.

1 (identical-different) 1.25 0.76

3 (better timber) 3.45 1.96

5 (more distorted) 2.05 1.34

9 (more pleasant) 3.30 2.16

(36)

Another

Another example example

Original signal Linear convolution

Live recording Non-linear

Diagonal Volterra Kernel

(37)

Conclusions Conclusions

z

Traditional Linear Convolution is a powerful

technique, but its reconstruction of the real world suffers for the limitations due to Linearity and Time Invariance

z

Not-linear convolution is possible with two competing techniques:

IR switching and Diagonal Volterra Kernels.

z

The latter provides much more efficiency in

computational load, and allows for easy emulation also of time-variant systems

z

The Nebula software makes this technology available

to everyone

(38)

Remarks

-The plugins for Adobe Audition shown here are freely downloadable from

HTTP://www.aurora-plugins.com

-The Nebula VST plugin can be downloaded from HTTP://www.acusticaudio.com

-The sound samples employed for the subjective tests are available for download at

HTTP://pcfarina.eng.unipr.it/public/AES123

Riferimenti

Documenti correlati

By employing the auralization technique, it is possible to prepare sound samples for making comparative subjective tests of the sound system of different cars: the sound tracks

By employing the auralization technique, it is possible to prepare sound samples for making comparative subjective tests of the sound system of different cars: the sound tracks

When spatial information is neglected (i.e., both source and receivers are point and omnidirectional), the whole information about the room’s transfer function is contained in its

When these results are employed for auralization, it is necessary to derive a set of high resolution impulse responses, providing narrow time/frequency detail, and containing

An alternative decomposition method has been recently developed, called Spatial PCM Sampling (SPS) [1], based on the concept of “virtual microphones” (which can also be employed

An example of using the Kirkeby inversion.. INTRODUCTION BACKGROUND PAST vs PRESENT VIRTUAL REALITY THE FUTURE: INSIDE VEHICLE.. The Stereo Dipole.. Binaural

In principle, by combining the techniques of wave field extrapolation and directional microphone synthesis described above, one array measurement gives ample 3D

Gerzon, who had foreseen 3D impulse response measurements and 3D Auralization obtained by convolution.. • The advantages (and disadavantages) of employing