
Adaptive Control of Amplitude Distortion Effects Brecht De Man1, Joshua D. Reiss1 1Centre for Digital Music, Queen Mary University of London, London E1 4NS, U.K. Correspondence should be addressed to Brecht De Man ([email protected]) ABSTRACT An adaptive amplitude distortion effect for audio production is introduced. We consider a versatile model of multiband waveshaping with a limited set of intuitive parameters. We propose a method for adaptive scaling of the characteristic amplitude distortion transfer function. A number of methods to automate other distortion parameters are explored, such as automatic balance between clean and distorted signals for single band and multiband distortion, make-up gain and adaptive anti-aliasing. Automation formulas are generalised for several other common transfer functions. A formal perceptual evaluation of the automation algorithms is conducted, validating the approach and identifying shortcomings and particularities. Finally, we discuss implementational aspects and possible future directions. 1. INTRODUCTION of sources and/or as an alternative for equalisation [3]. Being an important characteristic of many analog au- Carefully applied distortion can even enhance the per- dio devices such as microphones, amplifiers, mixing ceived quality and presence of audio signals [11]. A consoles, effect processors, and analog tape, distortion soft clipping curve or similar can also be applied to de- has always been an important effect in music produc- crease the dynamic range, and make the perceived loud- tion. Though a nuisance for most electronics designers, ness greater for the same peak level [11]. a warm, subtle distortion is often one of the most sought- As the amount of distortion usually increases with in- after features in audio gear, and no less since the advent creasing input signal level [2, 12], a static distortion de- of digital audio production [1]. vice needs careful setting of the gain and/or threshold In this text, distortion refers to applying any type of non- controls to apply the right amount of distortion. This linear transfer function on a waveform (referred to as am- also means that static settings inevitably introduce vary- plitude distortion or waveshaping, as opposed to phase ing amounts of distortion for different input signal levels. or time-domain distortion [2–5]). In the digital domain, This may be desirable in some cases (after all, this is the this can be any non-linear function defined, for simplic- expected behaviour of the intrinsic saturation induced by ity, from [−1;1] (input) to [−1;1] (output). As such, it analog devices such as amplifiers) but can be detrimen- is a very simple, ‘low-cost’ audio effect as it can be im- tal in situations where a constant degree of distortion is plemented through calculation of a simple mathematical desired, leaving soft parts virtually unprocessed and/or function or a lookup table [2]. louder parts heavily damaged. It also requires time and effort of an audio engineer to tailor the characteristic In general, sound engineers, guitarists and other musi- threshold of the distortion transfer function to the level cians tend to feel digital distortion sounds inferior to the of the input source. ‘original’ analog gear [6]. Much work has been done on the emulation of analog, non-linear devices [4,6–10]. In this paper, we describe a distortion effect that scales Distortion as a creative, sound shaping effect owes its the transfer function in real-time proportional with a popularity to rock guitarists, but used gently, distortion moving average of the signal’s level. As such, it is a effects can alter timbre and dynamics in sophisticated member of the Adaptive Digital Audio Effects (A-DAFx) and subtle ways for all kinds of sources [11]. Beyond in the sense meant by [13]. its creative, sound-shaping use, harmonic distortion can Adaptive effects are especially important in the context be of practical importance by increasing the audibility of automatic mixing systems [14]. In these systems, lit- AES 53RD INTERNATIONAL CONFERENCE, London, UK, 2014 January 27–29 1 DE MAN AND REISS Adaptive Control of Amplitude Distortion Effects tle or no user interaction is desired, meaning that all pa- tortion with only little intermodulation between different rameters need to be set automatically by the system it- bands. self based on features extracted from the incoming au- Throughout this paper, we investigate the possibility of dio or other available knowledge. In this work, we add automating multiband amplitude distortion such that amplitude distortion to the growing set of automatic au- dio effects for music production such as automatic pan- ning [15–17], balancing [18,19], equalising [20,21], and • no human interaction is required to set an appropri- dynamic range compression [22]. However, the consid- ate threshold or other characteristic transfer func- ered effect derives part of its parameters from the audio tion parameter, maintaing an amount of distortion input in an autonomous way, whereas other parameters (non-linearity) independent of input level; (the amount and type of distortion) are still for the user • no excess or deficit of this distortion emerges at the to define, to be set as a constant characteristic to that sys- onset of a louder or softer audio fragment, with an tem, or to be based on other (semantic) data, extracted imperceptible transition; by the mixing system or provided by the end user. As such, it can be readily incorporated in autonomous sys- • aliasing artefacts are diminished down to an accept- tems where processing parameters are derived from song able standard while not using a higher upsampling or instrument data in conjunction with sets of semantic, ratio than necessary, based on knowledge of the user-definable rules [23]. highest significant frequency of the input; As the effect needs to act autonomously (i.e. without hu- • the level does not change with regard to the original man interaction) in many situations, it is undesirable to signal level. control the amount of distortion by an input gain control, which increases the effective level and changes the rel- Specifically, we demonstrate the first two aspects through ative level of the different bands in the multiband case. perceptual evaluation. Rather, we control the parameters of the device’s trans- fer function, manipulating for instance its clipping point, In the following sections, we describe one particularly while compensating automatically for the loss in loud- versatile function based on but not limited to the tradi- ness or energy induced by clipping the signal’s peaks. tional hard and soft clipping functions, and propose sev- Another reason for scaling the characteristic transfer eral parameter automation methods. We then translate function rather than the input gain to control the amount these techniques to other meaningful amplitude distor- of distortion is that the latter introduces a level differ- tion curves. The approach towards automatic transfer ence in ‘before/after’ tests, making careful comparison function scaling is validated through a formal listening impossible. test, and results are discussed. Finally, we summarise our conclusions and outline future perspectives. We consider a multiband distortion device with different amounts and transfer curves per band to be able to match 2. DISTORTION MODEL typical analog devices that distort different frequencies A variety of transfer functions can be used for amplitude differently [24]. Many exciter implementations only dis- distortion (see Section 3.5 for translation of the princi- tort high frequencies, which also calls for a multiband ples presented here to other transfer functions), but in implementation [1]. Another motivation for the multi- this section we will describe a very flexible, ‘standard’ band approach is the ability to increase audibility of low curve. This will then allow us to propose and investi- frequencies that can not be heard adequately on some gate adaptation methods using this simple but powerful playback systems, by creating harmonics of these fre- transfer function parametrisation as an example. A block quencies in particular. Finally, for polyphonic instru- diagram outlining the complete system is shown in Fig- ments, ensembles or any broadband sound for that mat- ure 1. The automated effect is implemented as a VST ter, different notes, tones or other acoustic events can oc- plugin, with the interface as in Figure 2. cur at once or overlap, which sometimes leads to bru- tal intermodulation distortion [25]. Distorting different In the simplest case, the signal above the threshold value bands, where they do not interact, can reduce these ef- T (below −T) is clipped to T (−T). Similar to a dy- fects and for example allow for a large amount of dis- namic range compressor, a soft ‘knee’ transition between AES 53RD INTERNATIONAL CONFERENCE, London, UK, 2014 January 27–29 Page 2 of 10 DE MAN AND REISS Adaptive Control of Amplitude Distortion Effects the linear and compressed/clipped part is presented as IN an alternative to ‘hard clipping’, where the transition is abrupt [26]. As such, the signal only clips for (abso- lute) valuesp above this transition region (the ‘knee’, i.e. CROSSOVER {f1, f2} jxj > T · K). where x is the (clean) input signal, T the transfer function’s threshold, and K the knee width. Note that we use linear values (x between -1 and 1, T between UPSAMPLING {N } up 0 and 1, K > 1 for soft knee and K = 1 for hard knee, i.e. no transition region at all) following common prac- DISTORTION {parameters} tices [11, 27], rather than values in decibel as is custom- ary for dynamic range compressor formulas [26]. For M 1-M M 1-M M 1-M MIX {M} this reason, the knee, which in decibel is defined as the ∑ SUM region from TdB −KpdB=2 untilpTdB +KdB=2, is defined as the region from T= K to T · K in the linear domain.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages10 Page
-
File Size-