# Analysis, Synthesis, and Classification of Nonlinear Systems Using Synchronized Swept-Sine Method for Audio Effects

- Antonin Novak
^{1}Email author, - Laurent Simon
^{1}and - Pierrick Lotton
^{1}

**2010**:793816

https://doi.org/10.1155/2010/793816

© Antonin Novak et al. 2010

**Received: **1 March 2010

**Accepted: **5 July 2010

**Published: **20 July 2010

## Abstract

A new method of identification, based on an input synchronized exponential swept-sine signal, is used to analyze and synthesize nonlinear audio systems like overdrive pedals for guitar. Two different pedals are studied; the first one exhibiting a strong influence of the input signal level on its input/output law and the second one exhibiting a weak influence of this input signal level. The Synchronized Swept Sine method leads to a Generalized Polynomial Hammerstein model equivalent to the pedals under test. The behaviors of both pedals are illustrated through model-based resynthesized signals. Moreover, it is also shown that this method leads to a criterion allowing the classification of the nonlinear systems under test, according to the influence of the input signal levels on their input/output law.

## Keywords

## 1. Introduction

Various classical analog audio effects fall into the category of nonlinear effects such as compression, harmonic excitation, overdrive, or distortion for guitars. Digital emulations of nonlinear audio effects can be obtained when using a suitable nonlinear model. Such nonlinear models are available in the literature, for example, Volterra model [1], neural network model [2], MISO model [3], NARMAX model [4], hybrid genetic algorithm [5], extended Kalman filtering [6], or particle filtering [7].

A new method for the identification of nonlinear systems, based on an input exponential swept-sine signal has been proposed by Farina et al. [8, 9]. This method has been recently modified for the purpose of nonlinear model estimation [10] and allows a robust and fast one-path analysis and identification of the unknown nonlinear system under test. The method is called Synchronized Swept Sine method as it uses a synchronized swept sine signal for identification.

A nonlinear effect can be modeled either by a simple static nonlinear input/output law, where each input amplitude is directly mapped to an output amplitude (nonlinear system without memory), or on a more complex way by nonlinear laws which take memory into account, meaning that the memoryless nonlinearities and the linear filtering are mixed. Moreover, several nonlinear audio effects include amplifiers, the gain of which is automatically controlled by the level of the input signal [11]. In other words, the performance of nonlinear systems with memory may also depend on parameters of the input signal, such as its level or its past extrema, as for the hysteretic systems [12].

This classification of nonlinear systems according to the influence of the input signal parameters on the input/output law leads to a similar classification of the identification methods. The methods for identification of static nonlinearities indeed do not require the same level of model complexity as methods used for nonlinear systems with memory or with gain control.

In this paper, it is shown that the Synchronized Swept Sine method is suited to analyze, classify, and synthesize the nonlinear systems under test. In the frame of this work, two different overdrive pedals have been tested; the first one exhibiting a strong influence of the input signal level on its input/output law and the second one exhibiting a weak influence of this input signal level.

In Section 2, Synchronized Swept Sine method is shortly presented. This method leads to a nonlinear model (Section 3), made up of several branches, each branch consisting of a nonlinear function and a linear filter. The nonlinear functions are chosen as a power series that makes the model equivalent to a Generalized Polynomial Hammerstein (GPH) model. Next, the measurements on overdrive pedals are presented in Section 4. The behaviors of both systems are illustrated through model-based resynthesized signals. Finally, in Section 5, we propose a criterion based on the GPH model to classify the nonlinear systems according to the importance of the influence of the input signal parameters on the input/output law of the system under test.

## 2. Analysis of Nonlinear Systems

The nonlinear system identification method used in this paper is based on an excitation by a swept-sine signal (also called chirp) exhibiting an exponential instantaneous frequency . This so-called Synchronized Swept-Sine method allows the identification of a system in terms of harmonic distortion at several orders. This identification is conducted in several steps.

Then, the distorted output signal of the nonlinear system is recorded for use in the so-called nonlinear convolution [8]. Next, the signal denoted is derived from the input signal as its time-reversed replica with amplitude modulation in such a way that the convolution between and gives a Dirac delta function . The signal is called the inverse filter [8].

where are the higher-order impulse responses and are the time lags between the first and the th impulse response. Since the result of convolution consists of a set of higher-order impulse responses that are time shifted, each partial impulse response can be separated from each other.

The frequency responses represent the frequency dependency of the higher-order components. may be regarded as the system frequency response, when considering only the effect of the input frequency on the th harmonic frequency of the output. The theoretical background of the Synchronized Swept-Sine method is detailed in [10].

## 3. Model Identification

for ( being the number of harmonics taken into account), , and being the residue. As , there can be more equations than unknowns. To solve the set of equations (8) for , the least-squares algorithm [13] is applied, minimizing the residue .

If the functions
are improperly chosen and/or if at least one of the input signals is missing, the value of the residue increases drastically, which makes
an *a posteriori* criterion for the choice of the input signals
.

## 4. Experimental Measurements: Analysis and Synthesis

The experimental measurement consists of two steps: (a) identification of the nonlinear system under test through the GPH model as described in the previous section and (b) comparison of the output signals of both the nonlinear system under test and the GPH model when excited with the same signal.

For the first step, the measurement setup is as follows: the sampling frequency used for the experiment is kHz and the excitation signal is sweeping from Hz to kHz with a maximum amplitude V. The filters of the GPH model are then estimated.

The second step is the validation of the model for several input levels. To analyze the accuracy of the GPH model, the following test is performed. An input signal is provided to the inputs of both the real-world analog effect device and its corresponding GPH model, and both outputs are compared in the time and frequency domains. The input signal is a sine-wave with frequency Hz and amplitude that varies from V to V with step V. Regarding distortion measurements, we choose to test the accuracy of the method through the weighted harmonic distortion (HI-2) that takes into account the higher-order components more than the classical harmonic distortion [17].

### 4.1. Computing Complexity versus Accuracy

The choice of the number of branches of the GPH model is a key parameter which may influence the accuracy of the identification. The higher the value of the higher the accuracy but the higher the computing complexity. To choose an optimal value of , the Ibanez Tube Screamer is firstly tested for different values of . Then, the HI-2 is calculated for both output signals, the output of the real-world system and the GPH model-based output, when excited with a sine wave with frequency Hz and amplitude V.

As shown in Table 1 (for the nonlinear system under test), the choice is a good candidate for an optimal value between the accuracy and the computational time. Increasing does indeed not increase the accuracy of the model, but increases the computational time. As the model is made up of parallel branches (each branch including the same computing complexity), the computational time is directly proportional to .

### 4.2. Ibanez Tube Screamer Overdrive Pedal

The first nonlinear system under test is an overdrive effect pedal Ibanez Tube Screamer [16] (pedal 1). The pedal has been configured as follows: Drive = , Level = , Mid Boost = , and Tone = . Driving input level is attenuated by 25 dB before exciting the nonlinear system under test.

### 4.3. Home-Made Overdrive Pedal

The second nonlinear system under test is a home-made overdrive pedal, noted pedal 2, exhibiting lower dependency on input level. The circuit diagram of the pedal 2 is presented in Figure 4. The same configuration and analysis as those described in Section 4.2 have been setup.

## 5. Classification of Input Level (In)Dependent Nonlinear Systems

In the previous section, two real-world nonlinear systems, exhibiting different nonlinear behaviors have been identified thanks to the Synchronized Swept Sine method. The input/output law of the first system under study (pedal 1) is driven by the input level , while the input/output law of the second one (pedal 2) is independent of this input level. In the following, we call "input level dependent" the first kind of nonlinear system and "input level independent" the second one.

A key point of the method of identification presented in this paper is its capacity to distinguish both kinds of nonlinear systems through its ability to synthesize the output signals from any given input signal. Then, the classification of nonlinear systems in these two categories (input level dependent and input level independent) is performed here thanks to the Synchronized Swept-Sine method. A criterion based on the analysis of impulse responses of GPH model is used to perform this classification.

More specifically, we show that analyzing only the first branch (linear part) of the model is sufficient to classify both kinds of nonlinear systems. The linear impulse response is firstly estimated for and for several input levels V, noted ; denoting the input of the index level. Then, if the nonlinear system under test is an "input level dependent" one, the impulse responses are expected to be different from each other. On the contrary, if the nonlinear system under test is an "input level independent" one, the impulse responses are expected to be very close each other.

The RSE measures the mean-squared distance between the average impulse response and the impulse responses .

For the case of pedal 1, we have max(RSE ) = 10 , whilst for the case of pedal 2, max(RSE ) = 1.3 . This order of magnitude between both values clearly allows to classify the input level dependent and input level independent nonlinear systems under test.

## 6. Conclusions

In this paper, a recently proposed method [10] is tested for classifying, analyzing, and synthesizing two nonlinear systems (overdrive effect pedals) exhibiting different nonlinear behaviors. The method for identification of nonlinear systems is based on synchronized swept-sine signal and allows the identification of nonlinear system under test in a one-path measurement.

The classification is indispensable for distinguishing nonlinear systems whose input/output law is driven by input level, and nonlinear systems whose input/output law is independent of the input level.

Two nonlinear systems have been tested: the first one corresponding to a nonlinear system whose input/output law is driven by the input level and the second being a nonlinear system whose input/output law is independent of the input level. For the latter (pedal 2), the results show that the method is useful for both analysis and synthesis. The comparison between the synthesized and real-world signal shows very good agreement in both time and frequency domains. The same agreement is shown by comparing the weighted harmonic distortion HI-2 [17].

In the case of input level dependent nonlinear system (pedal 1), it is shown that when the identification is carried out from a signal with input level , the model is very accurate only when the amplitude of the input signal to be synthesized is . Thus, for a whole analysis of such a system, the frequency responses have then to be estimated for different input levels , leading to 2D frequency response functions (FRF) .

Works are now in progress to implement the FRF into the nonlinear model in order to synthesize such systems for any input signals.

## Declarations

### Acknowledgments

This work was supported by the French region*Pays de la Loire*. The authors would like to thank J. B. Doc and J. C. Le Roux for their help in selecting two overdrive pedals, and to the anonymous reviewers for their helpful comments.

## Authors’ Affiliations

## References

- Schetzen M:
*The Volterra and Wiener Theories of Nonlinear Systems*. John Wiley & Sons, New York, NY, USA; 1980.MATHGoogle Scholar - Nelles O:
*Nonlinear System Identification: From Classical Approaches to Neural Networks and Fuzzy Models*. Springer, Berlin, Germany; 2001.View ArticleMATHGoogle Scholar - Kusaka H, Kominami M, Matsumoto K, Tashiro Y: Performance improvement of CDMA/QPSK systems with nonlinear channel using decision feedback equalizers.
*Proceedings of the 5th IEEE International Symposium on Spread Spectrum Techniques & Applications, September 1998*812-817.Google Scholar - Thouverez F, Jezequel L: Identification of NARMAX models on a modal base.
*Journal of Sound and Vibration*1996, 189(2):193-213. 10.1006/jsvi.1996.0015MathSciNetView ArticleGoogle Scholar - Chen Y-W, Narieda S, Yamashita K: Blind nonlinear system identification based on a constrained hybrid genetic algorithm.
*IEEE Transactions on Instrumentation and Measurement*2003, 52(3):898-902. 10.1109/TIM.2003.814354View ArticleGoogle Scholar - Sorenson HW:
*Kalman Filtering: Theory and Application*. IEEE Press, Montvale, NJ, USA; 1985.Google Scholar - Cappe O, Godsill SJ, Moulines E: An overview of existing methods and recent advances in sequential Monte Carlo.
*Proceedings of the IEEE*2007, 95(5):899-924.View ArticleGoogle Scholar - Farina A, Bellini A, Armelloni E: Non-linear convolution: a new approach for the auralization of distorting systems.
*Proceedings of the 110th Audio Engineering Society Convention, May 2001, Amsterdam, The Netherlands*Google Scholar - Farina A: Simultaneous measurement of impulse response and distortion with a swept-sine technique.
*Proceedings of the 108th Audio Engineering Society Convention, February 2000, Paris, France*Google Scholar - Novák A, Simon L, Kadlec F, Lotton P: Nonlinear system identification using exponential swept-sine signal.
*IEEE Transactions on Instrumentation and Measurement*2010, 59(8):2220-2229.View ArticleGoogle Scholar - Zölzer U:
*DAFX: Digital Audio Effects*. John Wiley & Sons, New York, NY, USA; 2002.View ArticleGoogle Scholar - Bertotti G, Mayergoyz ID:
*The Science of Hysteresis*. Academic Press, Boston, Mass, USA; 2006.MATHGoogle Scholar - Strang G:
*Introduction to Applied Mathematics*. Wellesley-Cambridge Press, Cambridge, Mass, USA; 1986.MATHGoogle Scholar - Zhu Y: Generalized sampling theorem.
*IEEE Transactions on Circuits and Systems II*1992, 39(8):587-588. 10.1109/82.168954View ArticleMATHGoogle Scholar - Janczak A:
*Identification of Nonlinear Systems Using Neural Networks and Polynomial Models: A Block-Oriented Approach*. Springer, Berlin, Germany; 2005.MATHGoogle Scholar - Ibanez ST 9 : Super Tube Screamer. 2007, http://www.ibanez.com/Electronics/model-TS9DX
- Klippel W: Measurement of Weighted Harmonic Distortion HI-2. In
*Application Note*. Klippel GmbH; 2002.Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.