Docsity

Master thesis Robot Violin, Thesis of Music

Toggle sidebar
bg1
Digital Equalization of the electric violin:
Method for obtaining violin body impulse
response based on machine bowing
Andrés Bucci Irwin
Master Thesis MTG - UPF / 2011
Master in Sound and Music Computing
Master Thesis Supervisor:
Alfonso Pérez Carrillo
Department of Information and Communication Technologies
Universitat Pompeu Fabra, Barcelona
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e

Partial preview of the text

Download Master thesis Robot Violin and more Thesis Music in PDF only on Docsity!

Digital Equalization of the electric violin:

Method for obtaining violin body impulse

response based on machine bowing

Andrés Bucci Irwin

Master Thesis MTG - UPF / 2011

Master in Sound and Music Computing

Master Thesis Supervisor: Alfonso Pérez Carrillo Department of Information and Communication Technologies Universitat Pompeu Fabra, Barcelona

Contents

  • 1 Introduction
    • 1.1 General Context and Objectives
      • 1.1.1 Motivation
      • 1.1.2 Goals
    • 1.2 Main Elements of the Violin
      • 1.2.1 Importance of the Violin Body in Sound Quality
    • 1.3 Source-Radiator Separation
  • 2 Literature Review
    • 2.1 Overview
    • 2.2 Signal Deconvolution
    • 2.3 Obtaining Violin Body Impulse Responses
    • 2.4 Body impulse response and filter implementation
    • 2.5 Bowing machines
  • 3 Methodology
  • CONTENTS
    • 3.1 Overview
    • 3.2 Violin Playing Machine
      • 3.2.1 Bowing Mechanism
        • 3.2.1.1 Bowing motor
      • 3.2.2 Fingering Mechanism
        • 3.2.2.1 Fingering motor
      • 3.2.3 Control Circuit
    • 3.3 Initial Conditions and Repeatability
    • 3.4 Signal Deconvolution
      • 3.4.1 Final Modifications
  • 4 Discussion and Evaluation of the Results
    • 4.1 Overview
    • 4.2 User Evaluation Survey
  • 5 Conclusions and Future Work
    • 5.1 Contributions
      • 5.1.1 Violin Playing Machine
      • 5.1.2 Method for obtaining violin body impulse responses
    • 5.2 Future Work
  • Bibliography
  • CONTENTS
  • A

List of Figures

1.1 Different parts of the violin, from [7].............. 12

1.2 Different parts of the violin, from [23]............. 13

1.3 Bridge input admittance curve to show the main violin reso- nances. From [21]......................... 14

1.4 Block diagram showing the different elements that affect the violin sound. Dotted lines show the usual separation between the non-linear and linear parts.................. 15

2.1 Recorded responses to impulse hammer excitation of the guitar bridge. a) From electret pickup b) From microphone placed at 1m facing sound hole [14]................... 18

2.2 Comparisson of 12th-order filter a) without frequency warping b) using the Bark bilinear transform frequency warping, from [24]................................ 22

3.1 Scotch-Yoke mechanism design considerations. The figure shows three different positions of the mechanism: a) Maximum dis- placement, where θ = 0 b) interemediate point where θ > 0 < π 2 and c) Minimum displacement, where^ θ^ =^ π.^........^26

3.2 PWM input for the servo motor showing three different com- mands: a) Move to 0 degrees b) Move to 180 degrees and c) Move to 90 degrees........................ 28

LIST OF FIGURES 6

4.1 Reported experience in violin playing from the survey, in de- scending order........................... 47

4.2 Histograms of the user survey quality ranking, both for the original and processed sound................... 49

4.3 Results for the trained violin player subjects.......... 50

List of Tables

3.1 Specifications for the linear actuator.............. 29

3.2 Initial conditions for six different recordings.......... 37

3.3 Initial conditions for six different recordings.......... 37

4.1 Comparative results Between violin players and Non-violinists in source identification...................... 48

4.2 Comparative results Between violin players and Non-violinists in quality ranking......................... 50

4.3 Sound quality improvement votes for violin players and non- violinists.............................. 51

Chapter 1

Introduction

The violin has been for many years and from many different points of view a recurring subject of study, however there is still a fascination in understand- ing how the instrument produces sound and how to improve its quality. With the use of technology this is no longer an exclusive task of violin makers, or luthiers, but also a continuous research field for many scientific contexts; its mechanical behavior, radiation patterns and the effect of its different parts in sound quality are all still developing lines of work. In the last decades, specially in modern music ensembles with different amplified instruments it is not uncommon to find electric violins. These violins on the contrary, and the crucial aspects regarding the quality of their sound, have not been studied so thoroughly, at least in a scientific context.

In this chapter we will provide a brief explanation of the relevant concepts of this work, its motivation and goals. In Chapter 2 we will discuss previous and related work, the specific methods that we plan to use, as well as its implications on the implementation. In Chapter 3 we will present the specific details of our implementation. in Chapter 4 we analyze the performance of the obtained sound and finally, in Chapter 5 we provide the conclusions obtained from this analysis and point towards future directions in which this work can be expanded or improved.

1.1 General Context and Objectives

1.1.1 Motivation

Equalization and amplification of instruments in musical performances is a known issue. For many musical applications, the sound of an acoustic in- strument is preferred over the one produced by its electrical version; however it may not always be feasible to use such instruments due to certain sound level requirements, and thus its electric counterpart must be chosen.

Much of the differences from acoustic and electric instruments can be found in the way they are built; in acoustical stringed instruments, the res- onance box or body of the instrument is the main element that provides amplification from the excitation of the strings, and the interaction between both elements and the air enclosed alter the timbre of the instrument by en- hancing or reducing certain frequencies. In the case of electric instruments, amplification is done in a separate element, the amplifier, which takes an in- put signal coming from a transducer embedded in the instrument, increases its amplitude and then transforms this amplified version into sound pressure by means of loudspeakers; transducers and amplifiers mainly account for the timbre of the electric instrument, since audio amplifiers are rarely designed to provide linear signal gain, and often include controls to alter the timbre.

Since the timbral characteristics of both instruments may differ signifi- cantly, when a player wants to imitate the sound of an acoustic instrument, the signal coming from the pickup of the electric instrument is usually altered by means of manually combining equalization and reverberation units; these alter specific parts of the spectrum of the incoming signals and the percep- tion of distance from the listener to the source or the space in which the instrument is played [26]. These techniques, however, are still not sufficient to simulate the radiated sound from an acoustic instrument. Since the meth- ods of generating sound are so different, they produce very distinguishable timbral qualities, and as mentioned before, this may not always be desirable.

In recent years and mainly since the 1980’s, researchers have tried dif- ferent methods to understand and alter the signals coming from the pickups of the electro acoustic stringed instruments to match their acoustic counter- parts. These techniques mainly include physical modelling and digital signal processing techniques or some sort of combination between both. Impulse re-

1.2 Main Elements of the Violin

The essential parts of the violin are: the strings, which are steel, gut or nylon (wound with silver, aluminium or steel); they are tuned to G 3 , D 4 , G 4 and E 5 [7]. They run from the scroll to the tailpiece. The top plate or belly is curved and it has two orifices at each side that are mirrored images of each other, these are named after their shape, "f-holes". Underneath it and running longitudinally there is the bass bar and a sound post attached to the back plate. Above the top plate there is the bridge; its function is to separate the strings from the fingerboard, and to transfer the vibration coming from the strings to the resonating structure. The fingerboard sits on top of the neck, where the violin is held by the performer at one end, while at the other it is pressed between the shoulder and the chin, in the chin rest. Figure 1.1 and 1.2 show all these parts, in an exploded diagram and as they would be observed on a standard violin.

Figure 1.1: Different parts of the violin, from [7]

1.2.1 Importance of the Violin Body in Sound Quality

As discussed previously, the violin body is one of the most determinant fac- tors of the timbral qualities of the instrument; it is responsible in shaping the spectrum in an fixed way, analogous to the effect of the vocal tract in speech[25]. The characteristics of these modifications share some similarities,

Figure 1.2: Different parts of the violin, from [23]

since the size of the violin and its f-holes are very standard at least in modern day violins and they don’t change or deform over time. Nevertheless violinist and violin makers are very sensitive to slight variations in construction that would yield a preferable sound according to their own taste or musical styles.

The response of the violin body is characterized by its resonances or modes. The nomenclature for these modes described in [10] has become a standard in the field; and is as follows:

  • A modes, caused by the motion of enclosed air. When the body is vibrating, the volume of the body is changing and air is pressed out and sucked into. The A0 resonance corresponds with the resonant frequency of the whole volume resonator.
  • B modes, are motion modes of the back plate.
  • T or P modes, are due to motion primarily of the top plate.
  • C modes, refer to bending and flexing modes of the "corpus" or body.
  • N mode, is the resonance of the neck.
  • BH is the frequently called bridge hill, and represents the resonances of the bridge, which overlap and form the shape of a smoothed hill (not a peak).

1.3 Source-Radiator Separation

The violin is a very complex system that behaves differently according to the instrumental controls articulated by the performer. In [2] we find an appropriate definition:

In a simplified model of violin sound production, we can consider all the elements of sound transmission from the bridge to the listener as linear and the sound pressure that arrives to our ears to be proportional to the transver- sal force exerted by the string vibration on its anchorage on the bridge.

Using this definition we can attribute the non-linearity to the bow and string interaction, and treat the body of the instrument as a linear system. This will be fully explained in section 2.3, but it’s important to know that this separation is not unique, it depends heavily on the properties of the violin that want to be studied and in the measurement techniques employed in analyzing it.

Figure 1.4: Block diagram showing the different elements that affect the violin sound. Dotted lines show the usual separation between the non-linear and linear parts

Chapter 2

Literature Review

2.1 Overview

In this chapter we want to describe the relevant literature regarding models of the violin body and the necessary techniques that are used to measure them; we attempt to provide a description of the main elements we want to consider in our implementation and the benefits and disadvantages of the different approaches. Another concern is to review the existing violin playing machines reported in the literature so we can observe what has been proved successful in the past to come up with the specifications for our own machine, as mentioned in section 1.1.2.

2.2 Signal Deconvolution

The use of deconvolution has a very clear application when an undesired source of noise affects our original signal. This can also be explained by saying that the original signal has been convolved with the noise. Deconvolution in this context is a process done to remove this source of noise and recreate the signal before it was affected; if we can know the spectral representation of this noise, then we can apply deconvolution to restore the signal to its original form. The problem of obtaining the original signal without knowing the spectral representation of the noise is called blind deconvolution.[26].

the instrument that is used. Their goal is to approximate the radiated sound from the guitar using the vibration signal coming from a bridge vibration pickup using a single digital filter. They compare two different methods for computing the BIR, both of them being direct methods. The crucial aspect is to excite the guitar bridge with a rich frequency content signal; in their first approach the guitar is hit with an impact hammer, with the strings damped with absorptive material between them and the fretboard and its response is measured in an anechoic chamber. The impulse hammer signal and the response from the guitar can be observed in figure 2.

Figure 2.1: Recorded responses to impulse hammer excitation of the guitar bridge. a) From electret pickup b) From microphone placed at 1m facing sound hole [14]

For the other approach they excite the guitar by playing the instrument. For this to work, the excitation signal has to contain sufficient energy in all audible frequencies. It is mentioned that when done properly, the results obtained are more useful that with the impact hammer method.

In the specific case of the violin, mainly impulse hammer or maximum length sequences (MLS) were used to determine the impulse response of the body. In [6] the difference between direct and reciprocal methods was also studied. Reciprocal methods use excitation of the sound field with a known volume and measuring the velocity of the bridge to calculate the impulse response of the body; these methods state that if the body resonates at the desired frequencies then the vibration measured will increase also when responding to the external source. However, for practical purposes the di- rect method is said to yield superior performances than the reciprocal, due to linearity of the transducers and greater signal-to-noise ratio, this is also confirmed in [29].In [30], it is mentioned that for exciting the violin, a steady- state bowing method is favored because it’s closer to human performance;

although the focus of that study was sound radiation and not strictly vio- lin body modelling, it helps raise the question that other methods could be developed to obtain the transfer function between the body excitation and its radiated sound, rather than the mechanical transfer function obtained by previous methods.

In [21] the proposed method for obtaining BIR from a normally played violin is approached by excitation and response measurements, like in [14]; surprisingly, this method was not studied previously in obtaining violin im- pulse responses. Since bowing does not interfere with measuring the response from the instrument and is the natural way of exciting the instrument the only condition for this method to work is to provide a signal that is rich in frequency content. For this purpose they experimented with a performer playing different exercises: glissandi and notes with different lengths, veloc- ities, dynamics, in one or more strings, muted or freely vibrating and with different pitch ranges. They evaluated the spectral content of these signals by performing a histogram of the energy contribution to each spectral bin.

As expected, each of the parameters affected the obtained response of the instrument and after performing several tests, they came up with the following configuration: 1 octave glissando played on the G string of around 50 seconds in total length, played forte. They built a structure to prevent the violin from moving, since its orientation and position will definitely affect the properties of the recorded sound; for their purposes it was important that the player held the instrument, since the goal of this work was highly realistic synthesis. The main difference between this and the previous methods is that for an impulsive signal, all frequencies get excited in a very short time- frame, whereas with this method the energy contribution of the frequencies is different for each instant, so an average of the energy must be performed to minimize the noise obtained in the desired transfer function.

The method then performs the frame by frame deconvolution of the two signals, the excitation measured by a pickup embedded in the bridge of the violin and the response from a microphone, after being aligned properly for compensating acoustic delay and expressed in the frequency domain. Once this is done, then an average of all the frames is performed taking into account the effect of the windows applied to the signals, thus frames that are mainly affected by the window sidelobes give less influence to the average. Maximum bin resolution and stability of the sinusoids in each frame are also critical in this method.