Method for simulation and digital synthesis of an oscillating phenomenon

Information

  • Patent Grant
  • 7534953
  • Patent Number
    7,534,953
  • Date Filed
    Friday, October 31, 2003
    21 years ago
  • Date Issued
    Tuesday, May 19, 2009
    15 years ago
Abstract
A method for digital simulation of a non-linear interaction between an excitation source and a wave in a resonator, and is particularly applicable, to real-time synthesis of digital signals representing an oscillating phenomenon such as the sound produced by a musical instrument. The invention is characterized in that it consists in calculating the digital signals from equations whereof the solution corresponds to the physical representation of the phenomenon to be simulated which is expressed, each time and in each point of the resonator, by a relationship of impedance or of admittance between two variables representing the effect and the cause of the phenomenon and in directly transcribing the equation of the impedance or of the admittance in the form of a linear filter including delays, so as to produce a non-linear interaction between the two variables of the impedance or admittance relationship.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The invention refers to a digital simulation method of a non-linear interaction between an excitation source and a wave in a resonator and may be applied, in particular, to the digital synthesis, in real time, of an oscillating phenomenon such as the sound emitted by a musical instrument operating more particularly with sustained oscillations, such as wind or rubbed string instrument.


2. Description of the Related Art


The phenomena of wave propagation and formation of the emitted sounds, in particular, by a musical instrument have been studied scientifically for a very long time.


In particular, it is admitted, generally speaking, that a musical instrument includes, at least, one exciter, characterised by a non-linear characteristic, coupled possibly with certain linear elements (the reed, the lips, the bow, the hammer, etc. . . . ) and resonator elements, generally linear, where there is wave propagation as well as, generally, localised elements (for instance lateral bores or simple elements of the mass or spring type), generally linear as well.


Similarly, a digital instrument capable of synthesising the sounds emitted by a musical instrument, is composed generally of three main elements, respectively a first element, to sense the gests of a musician and to transform them into signals/control parameters, a second element computing the signal in real time, a third element converting this series of numbers calculated into a sound signal by means of digital/analogue converters, amplifier, loudspeakers.


The present invention concerns mainly the second real time calculation element of the signal.


It is known that the digital simulation of a sound or, more generally, of an oscillating phenomenon, may be conducted by discretisation in the time domain of equations forming the mathematic representation of the physical phenomenon to be simulated. Such a model is always expressed in the form of a system of equations with coupled partial derivations, linear or non-linear.


The simulation then consists, generally speaking, in computing as quickly as possible the solution of the acoustic/mechanical model describing the operation of the instrument or, at least, approximations preserving its most important characteristics.


Numerous methods exist to that effect and it is possible, in particular, to mention modal methods (which describe the resonator as a resonant filter comprised of a sum of elementary resonances), particular methods (which describe the medium wherein there is a wave propagation in the form of chains of the type mass-springs-dampers), or the digital methods for solving equations with partial derivations.


However, real time sound synthesis is difficult to realise and consequently, for some years, other methods have been developed, based on a “signal processing” formalism of the propagation in both directions of the resonator of the instrument. One may quote, for instance the methods called “digital wave guide” or “digital wave filter”.


Generally speaking, to represent the propagation of a wave, one may use, in the simplest formalism, the well known d'Alembert's equation, which applies to longitudinal waves (acoustic for instance) as well as transversal waves (vibration of a string for instance). In particular, in the case of the propagation of an acoustic wave, the acoustic pressure in all points of the resonator of a wind instrument may be split into a sum of two waves of acoustic pressure, one propagating from the player to the horn, and the other from the horn to the player, which are called away-wave and return-wave.


In practice, such propagation is expressed by a convolution equation (linear filtering), which yields the away wave (or return wave) at one point of the resonator at each time in relation to the away wave (or return wave) at another point at each instant. In the so-called Green formulation, which may be implemented in digital form, d'Alembert's equation specifies for instance that this linear filter, called Green core, is a pure delay, depending on the speed of propagation in the medium and on its length.


In a synthesis model, these waves, respectively away and return waves, are represented by two signals corresponding respectively to both propagative solutions of the differential equation.


Such a synthesis method is implemented, for instance in the document U.S. Pat. No. 5,332,862 which describes a synthesiser comprising generally speaking:

    • one non-linear part, simulating the exciter, to which two control parameters of the sound to be simulated are applied. These parameters are, in this case, the pressure of the player's breath and the pressure of his lips on the reed or the mouthpiece,
    • a linear part, simulating the resonator, which receives a signal noted q0, representative of the away wave, emitted by the non-linear part, and which emits a signal noted q1, representative of the return wave towards said part,
    • a means for creating the sound from the signals derived from the linear part and the non-linear part,
    • a digital/analogue converter generating the synthesised sound.


Obviously, there are other types of synthesisers but, until now, all the methods involving a modelization the physical phenomena within the instrument were based on the decomposition of the vibration inside the resonator in terms of away wave and return wave variables.


Still, it has appeared that such methods exhibited several shortcomings.


First of all, when the acoustic resonator is formed, for instance, of several parts of cylindrical tubes of different diameters, the section change causes the generation of a transmitted wave and of a reflected wave at each interface. The phenomenon has been taken into account for a long time, for instance, within the framework of the modelization of the vocal conduit.


This type of modelization, which is identical, in its approach, to the conventional theory of the geometrical optics, is also employed, for instance, in seismic-reflection, in order to describe the propagation of elastic waves in a multilayer ground.


It is known, indeed that it is interesting, in all the cases when one or several waves propagate, to characterise an interface by a diffusion matrix, since it is thus possible to access the reflexions and transmissions of the different waves directly. However, the behaviour of this localised element often becomes difficult to grasp and to calculate, insofar as the interface and continuity equations are always written initially with physical quantities, for instance by expressing, at the interface, the continuity of the pressure or of the flow, of the strength or of the speed.


It is hence often more advantageous to use “impedance” or “admittance” matrices, which link the physical quantities directly, as described in an article of J. Kergomard, “Calculation of discontinuities in waveguides using mode-matching method: an alternative to the scattering matrix approach” J. d'acoustique 4 pp 111-138, (1991)”.


On the other hand, when there are localised elements other than interfaces in the instrument to be simulated, the “waveguide” method must be complemented by a “wave filter” type method describing such localised elements (such as mass, spring, dampers) for a correct connection between the various sub-systems.


Similarly, when the acoustic resonator is composed for instance of a conical pipe, the waves moving from the player to the horn (away waves) and from the horn to the player (return waves) are different, which requires, either different modelization, by means of two linear filters corresponding to the Green cores describing the propagation in each direction, or approximating the cone by a succession of short length cylinders of different diameters.


Besides, the sound produced by a musical instrument is not derived solely from the propagation of a wave through a resonator, regardless of the complexity of its geometry, but results from the non-linear coupling between said resonator and an excitation source. Such non-linear coupling is expressed physically between the physical quantities representing a cause (pressure in the acoustic case, strength in the mechanical case) and an effect (flow in the acoustic case, speed in the mechanical case), called Kirchhoff variables. In the acoustic case, this so-called Euler-Bernoulli physical law, a simplified version of the Navier-Stokes equations used in fluid mechanics, specifies that the acoustic pressure, at the reed or the lips of a wind instrument, is proportional, within one additive constant, to the square of the acoustic flow. The formulation of the waves in the resonator in the form of away waves and return waves requires therefore changing the variables enabling the non-linear coupling to be expressed, not in relation to the pressure-flow physical variables any longer, but in relation to these new away-wave and return-wave variables, as for instance, in the aforementioned document U.S. Pat. No. 5,332,862. Still, the variable change introduces an additional complexity in the synthesis method. It is thus that the use of iterative or tabulation methods has been recently suggested to calculate the solution of the non-linear system.


Consequently, the synthesis methods used until now do not enable to simply express the non-linear coupling which exists between the excitation source and the resonator of the instrument and limit the physical parameterisation of the synthesis algorithms.


BRIEF SUMMARY OF THE INVENTION

The invention intends to remedy such shortcomings and to eliminate such limitations thanks to a new real-time simulation and synthesis method of an oscillating phenomenon, applicable especially, but without being limited thereto, to self-oscillating wind instruments. In particular, the invention refers to a simulation method enabling to take into account the physical process governing the operation of a real instrument and where the digital implementation may be particularly simple.


Moreover, from a basic method applicable to instruments such as a clarinet, with a cylindrical resonator, the invention may be adapted to the simulation of other types of wind or string instruments.


Besides, the invention is not limited to the simulation of musical instruments but may be applied, generally to real-time digital synthesis of all sorts of oscillating phenomena.


Generally, the invention therefore relates to the simulation of a non-linear interaction between an excitation source and a wave in a resonator, by means of a digital calculation tool, from equations whose solution corresponds to the physical event of a phenomenon to be simulated.


According to the invention, the phenomenon to be simulated is translated, at each time and at a given point of the resonator, by a linear relation between two variables representative of the effect and of the cause of said phenomenon, the impedance or admittance equation is transcribed directly in the form of a digital model enabling to realise a non-linear interaction between the two variables of the impedance or admittance relation.


In this view, the model comprises, on the one hand, at least one linear part representing directly the so-called input impedance or admittance of the resonator, i.e. at the point where the non-linear interaction occurs and, on the other hand, one non-linear part modelization the role of the excitation source of the phenomenon to be simulated.


In particular, for real-time digital synthesis of an oscillating phenomenon, the invention enables, from a system of equations between at least two variables representative of the behaviour of the resonator, to establish an expression of the input impedance or admittance of the resonator in the form of a linear filter including delays, without any decomposition into away-return waves, in order to realise at least one linear part of the model which may be coupled with a non-linear loop involving the evolution of the non-linearity as expressed between the two variables of the impedance or admittance relation of the resonator.


Particularly advantageously, such linear part of the model is composed of the sum of two elementary waveguides fulfilling a transfer function between the two variables of the impedance or admittance relation.


According to another particularly advantageous characteristic, the model is driven by at least two parameters representative of the non-linear physical interaction between the source and the resonator, by means of a loop connecting the output to the input of the linear part and comprising a non-linear function playing the part of an excitation source for the resonator.


Thus, contrary to the synthesis methods used conventionally, the method according to the invention does not involve away and return waves, but expresses directly and digitally the so-called impedance, linear relation between the cause and effect variables, i.e. pressure and flow in the acoustic case, strength and speed in the mechanical case.


Naturally, such relation puts in evidence propagative elements, involving filters and delays, insofar as the physical phenomenon to be simulated is unchanged.


Still, thanks to the method according to the invention, such relation is readily processable in digital form and may then be associated with the non-linear relation expressed physically between the same variables.


As indicated above, the present invention concerns therefore essentially the modelization element of a digital instrument which, from parameters prepared by a control means, such as a gestural sensor operated by the player, computes in real time a signal liable to be transformed into a sound signal by a conversion element.


In particular, for real-time synthesis, by physical modelization, of the sound of a musical instrument resulting from a non-linear coupling between the excitation source and the resonator, the invention enables to solve the system of equations representative of the phenomenon to be simulated by expressing directly and digitally the impedance or admittance linear relation between the cause and effect variables and by associating such linear relation in digital form with the non-linear relation between the same variables. Moreover, in the case of a resonator of a complex geometry, the former may be decomposed into successive elements, in order to combine the elementary linear relations corresponding respectively to each element of the resonator, in order to obtain an impedance or admittance corresponding to the geometry of the instrument.


As already mentioned, the invention applies, in particular, to real-time synthesis of the sound produced by a wind instrument. In such a case, the two variables of the impedance relation are the acoustic pressure and flow at the input of the resonator.


In the case of a cylindrical resonator having one open end, it is particularly advantageous to realise the linear part of the digital transcription model of the impedance equation in the form of a sum of two elementary waveguides having as an excitation source the flow at the input of the resonator and fulfilling the transfer function:








Z
e



(
ω
)


=



Pe


(
ω
)



Ue


(
ω
)



=


1

1
+

exp


(


-
2



ik


(
ω
)



L

)




-


exp


(


-
2



ik


(
ω
)



L

)



1
+

exp


(


-
2



ik


(
ω
)



L

)










wherein:

    • ω is the wave angular frequency,
    • Ze(ω) is the input impedance of the resonator,
    • Pe(ω) and Ue(ω) are the Fourier transforms of the dimensionless values of the pressure and of the flow at the input of the resonator,
    • k(ω) is a function of the wave angular frequency which depends on the phenomenon to be simulated,
    • L is the length of the resonator.


According to another characteristic, each of the two waveguides involves a filter having as a transfer function:

F(ω)2=−exp(−2ik(ω)L)


and representing a two-way travel of a wave with the sign changing at the open end of the resonator, each waveguide corresponding to a term of the impedance equation.


Such a model may advantageously be driven by the length of the resonator and at least two parameters representative of the non-linear physical interaction between the pressure and flow at the input of the resonator, by means of a loop connecting the output to the input of the linear part and comprising a non-linear function playing the part of an excitation source for the resonator.


In particular, for real-time synthesis of the sounds to be simulated, a formulation is prepared, in the time domain, of the angular frequency response of the resonator, by approximation of the losses represented by the filter by means of an approximated digital filter.


The invention covers other essential characteristics mentioned in the claims and referring, in particular, to the equations used by the digital signal calculation tool and which leads to waveguide models depending on the phenomenon to be simulated.


Indeed, according to an essential characteristic of the invention, the method suggested for the simulation of a simple phenomenon such as the propagation of a wave in a cylindrical resonator, may be adapted in multiple ways for the simulation of more complex phenomena and, in particular, of diverse types of instruments.


In the following description, we shall thus expose in detail the simulation method, the equations used and the model to be implemented for synthesising the sound of an instrument with a reed acoustic cylindrical resonator, such as a clarinet, and then certain adaptations for the simulation of other types of instruments.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 schematically represents a whole digital instrument for simulating a wind instrument, by the method according to the invention.



FIG. 2 provides two diagrams respectively representing, on the left, the transfer function, in Hertz, of a single-mode reed model and, on the right, the angular frequency response in relation to the samples, with a sampling frequency of 44,100 Hertz.



FIG. 3 is diagram per a calculation by combination of waveguides, representing the input impedance of a cylindrical resonator.



FIG. 4 provides two diagrams respectively representing, for a cylindrical resonator, at the top the input impedance in relation to the frequency expressed in Hertz and, at the bottom, the angular frequency response in relation to time, in seconds.



FIG. 5 is a calculation diagram of a simulation model of a cylindrical resonator reed-type instrument.



FIG. 6 provides two diagrams similar to FIG. 3, representing respectively, for a resonator model computed according to the invention, at the top the approximated input impedance and at the bottom the approximated impulse response.



FIG. 7 provides two diagrams similar to FIG. 2, respectively representing, for a reed model computed according to the invention, on the left the transfer function and on the right the angular frequency response.



FIG. 8
a shows the variations, in relation to time expressed in seconds, of the internal acoustic pressure at the mouthpiece of a cylindrical resonator.



FIGS. 8
b and 8c are enlargements of attack and extinction transients.



FIG. 9 provides two diagrams respectively representing, on the left, the transfer function and, on the right, the angular frequency response, for a multimode reed model computed according to the invention.



FIG. 10 provides two diagrams representing the spectrum of the external acoustic pressure, respectively, at the top, for a single-mode reed and, at the bottom, for a multiple mode reed.



FIG. 11 is a calculation diagram representing the impedance of a cylindrical resonator with terminal impedance.



FIG. 12 is a calculation diagram representing the impedance of a conical resonator.



FIG. 13 is a calculation diagram representing the impedance of a resonator for a wind instrument.



FIG. 14 is a general calculation diagram representing the impedance of a parallel combination of cylindrical resonators.



FIG. 15 provides two diagrams respectively representing, in the case of a string, at the top the exact admittance and at the bottom the approximated admittance, in relation to frequency expressed in Hertz.



FIG. 16 is a model of a digital instrument simulating a string instrument.



FIG. 17 shows, for a string struck, the time variations, at the top, of the speed of the string at the contact point and, at the bottom, of the strength exerted by the hammer on the string.



FIG. 18 represents, for a string struck, the trajectory of the strength with time, in relation to relative displacement of the hammer with respect to the string.



FIG. 19 is a general simulation diagram of an instrument operating by non-linear coupling between an excitation source and a resonator.





DETAILED DESCRIPTION OF THE INVENTION

The invention will first of all be described in its application to a clarinet-type wind instrument.



FIG. 1 schematically represents a whole digital instrument for the implementation of the invention comprising, generally speaking, a control element I including a gestural sensor 1 controlled by an operator 10 and transforming the actions thereof into control parameters ωr, ζ, γ, L, a modelization element II on which the control parameters act, including one non-linear part 2, associated with a linear part 3, and an element III creating the sound, including a means 4 for generating, from signals computed by the modelization element II, a signal which is transformed into sound synthesised by a digital/analogue converter 5. As known, the physical phenomena involved during the production of the sound of the clarinet, are expressed on the one hand, by a linear propagation equation of the waves in the pipe with loss, and on the other hand, by a non-linear equation linking the flow with the pressure and the displacement of the reed at the mouthpiece of the instrument.


A simulation model of the sound therefore includes a linear part of the model corresponding to the resonator of the instrument which, in the case of the clarinet is composed of a cylindrical tube. For such geometry, assuming that the radius of the tube is large relative to the thickness of the boundary layers, the acoustic pressure inside the tube is governed by an equation in the form:











2



p


(

x
,
t

)






x
2



-


1

c
2







2



p


(

x
,
t

)






t
2




-

α






3
2




p


(

x
,
t

)






t



3
2





=
0








where





α

=


2

Rc


3
2






(



l
v


+


(


cp
cv

-
1

)




l
t




)

.



,





R being the radius of the tube, i.e. 7 mm in the case of the clarinet. The values of the physical constants, in mKs units, are: c=340, Iv=4.10-8, It=5.6.10-8,







Cp
Cv

=

1.4
.





While looking for the solutions of the exp (i(ωt−k(ω)x)) type, ω being the angular frequency of the wave, the following may be written:











k


(
ω
)


2

=



ω
2


c
2




(

1
-

i


3
2


α






c
2



ω
-



1
2



)






(
1
)







by replacing √{square root over (1+x)} with the approximated value







1
+

x
2


,





when x is small, the conventional approximated expression of k(ω), which will be used below, becomes:










k


(
ω
)


=


ω
c

-



i

3
2


2


α





c






ω

1
2








(
2
)







We know that, if we consider a pipe of infinite length, supposedly excited at x=0 and t=0 by a unit pulse δ(x)δ(t), in all points x>0, the acoustic pressure propagated from such source is written in the form of a continuous sum of all the waves likely to propagate in the pipe;

p(x,t)=∫exp(−ik(ω)x)exp(iωt)

which appears as the inverse Fourier transform of the value exp(−ik(ω)).


in the following, the term “waveguide” will be reserved for the so-called Green formulation representing the propagation of a wave in a medium, and including the dissipation and the dispersion.


In this Green formalism, the transfer function of a pipe of length L, representing the propagation, the dissipation and the dispersion is:










F


(
ω
)


=


exp


(


-

ik


(
ω
)




L

)


=


exp


(


-

1
2



α





c



ω
2



L

)


×

exp


(

-

i


(



ω
c


L

+


1
2


α





c



ω
2



L


)



)








(
3
)







The dissipation, represented by the modulus of F(ω), and the dispersion, represented by the phase of F(ω), are therefore proportional to √{square root over (ω)}, while the propagation delay is provided by







L
c

.





The length of the pipe will be therefore the control parameter of the height and its radius the control parameter of the losses.


We know, on the other hand, that the Fourier transform of the dimensionless pressures and flows at the input (Pe(ω), Ue(ω)) and at the output (Ps(ω), Us(ω)) of the resonator are linked by the system of equations:

Pe(ω)=cos(k(ω)L)Ps(ω)+i sin(k(ω)L)Us(ω)
Ue(ω)=i sin(k(ω)L)Ps(ω)+cos(k(ω)L)Us(ω)


Conventionally, in order to model the internal acoustic pressure, the radiation may be neglected. The open end of the instrument is therefore perfectly reflecting, which involves that Ps(ω)=0. This enables to express the relation between pressure and flow at the input of the resonator

Pe(ω)=i tan(k(ω)L)Ue(ω)=Ze(ω)Ue(ω)  (4)


where Ze(ω)=i tan(k(ω)L) is the normalized input impedance of the resonator.


In the case of a conventional single-mode reed or lips model, the dimensionless displacement x(t) of the reed with respect to its point of equilibrium, and the acoustic pressure pe(t) at the origin thereof, are linked by the equation:












1

ω
r
2







2



x


(
t
)






t
2




+



q
r


ω
r







x


(
t
)





t



+

x


(
t
)



=

±


p
e



(
t
)







(
5
)







with the sign + when the pressure tends to close the reed or the lips and the sign − when the pressure tends to open it,


and wherein ωr=2πfr corresponds to the resonance frequency fr, for instance 2500 Hz and qr is the quality factor of the reed, for instance 0.2.


By writing, the equation (5) with the sign + in the Fourier domain, we obtain the transfer function of the reed:











X


(
ω
)



Pe


(
ω
)



=


ω
r
2



ω
r
2

-

ω
2

+







ω






q
r



ω
r








(
6
)







whereof the angular frequency response is provided by:










x


(
t
)


=



2


ω
r




4
-

qr
2






exp


(


-

1
2




ω
r



q
r


t

)




sin


(


1
2




4
-

qr
2





ω
r


t

)







(
7
)







For exemplification purposes, FIG. 2 provides two diagrams respectively indicating, on the left, the transfer so function and, on the right, the pulse response of the reed model, for a resonance frequency fr=2 500 Hz and a quality factor qr=0, 2.


As shown below, it should be noted that x(0)=0.


Besides, in the case of a clarinet-type reed instrument or trumpet-type mouthpiece instrument, the acoustic pressure pe(t) and acoustic flow ue(t) (dimensionless) at the input of the resonator are linked in a non-linear manner by the equation:











u
e



(
t
)


=


1
2



(

1
-

sign


(

γ
-

x


(
t
)


-
1

)



)



sign


(

γ
-


p
e



(
t
)



)




ζ


(

1
-
γ
+

x


(
t
)



)







γ
-


p
e



(
t
)











(
8
)







In the case of a reed instrument, the parameter ζ is characteristic of the mouthpiece and takes into account the position of the lips and the section ratio between the bill and the resonator. Such parameter ζ is proportional to the square root of the opening of the reed in idle position and usually ranges between 0.2 and 0.6.


The parameter γ is the ratio between the pressure inside the mouth of a player and the plating static pressure of the reed. For a no loss pipe, it ranges from ⅓ for the initiation of vibrations to ½ for the position of a beating reed.


The parameters ζ and γ are therefore two important playing parameters insofar as they represent, respectively, the way the player pinches the reed and the pressure of the breath into the instrument.


While combining the displacement equation of the reed or of the lips, the impedance relation and the non-linear characteristic, it appears that the acoustic pressure and flow, at the mouthpiece, are controlled by the following system of equations:












1

ω
r
2







2



x


(
t
)






t
2




+



q
r


ω
r







x


(
t
)





t



+

x


(
t
)



=

±


p
e



(
t
)







(
9
)








P
e



(
ω
)


=

i






tan


(



ω





L

c

-



i

3
/
2


2


α





c






ω

1
/
2



L


)





U
e



(
ω
)







(
10
)








u
e



(
t
)


=


1
2



(

1
-

sign


(

γ
-

x


(
t
)


-
1

)



)



sign


(

γ
-


p
e



(
t
)



)




ζ


(

1
-
γ
+

x


(
t
)



)







γ
-


p
e



(
t
)











(
11
)







The aim of the invention is therefore to find a formulation of the impedance relation in the time domain enabling to solve this three-equation system, by modelization the impedance relation in terms of elementary waveguides.


To model the input impedance of the resonator in terms of elementary waveguides, the Fourier transform of the impedance Ze(ω) is written in the form:








Z
e



(
ω
)


=


i






tan


(


k


(
ω
)



L

)



=


i



sin


(


k


(
ω
)



L

)



cos


(


k


(
ω
)



L

)




=



exp


(

i






k


(
ω
)



L

)


-

exp


(


-
i







k


(
ω
)



L

)





exp


(

i






k


(
ω
)



L

)


+

exp


(


-
i







k


(
ω
)



L

)










This expression may be written in the form:











Z
e



(
ω
)


=



Pe


(
ω
)



Ue


(
ω
)



=


1

1
+

exp


(


-
2


i






k


(
ω
)



L

)




-


exp


(


-
2


i






k


(
ω
)



L

)



1
+

exp


(


-
2


i






k


(
ω
)



L

)










(
12
)








FIG. 3 represents a calculation model by combination of waveguides, directly derived from such last equation and whose transfer function is the input impedance of the resonator. It is composed of a sum of two elementary waveguides. The upper element corresponds to the first term of the equation (12) while the lower element corresponds to the second. The filter whose transfer function is −F(ω)2=−exp(−2ik(ω)L) represents a two-way travel, with a sign change of the acoustic pressure at the open end.


For exemplification purposes, FIG. 4 provides two diagrams representing respectively, for a pipe of length L=0.5 m and of radius R=7 mm, at the top, the variation of the input impedance of the resonator in relation to the frequency and, at the bottom, the angular frequency response of the corresponding waveguide model, calculated by inverse Fourier transform of the impedance.


The system of the three coupled physical equations (9), (10), (11) enables to introduce the non-linearity in the form of a loop connecting the output pe of the resonator to the input ue.



FIG. 5 provides an equivalent calculation diagram enabling, for the simulation of a reed instrument or mouthpiece instrument, to couple in a non-linear way the displacement of the reed or of the lips and the acoustic pressure with the acoustic flow at the input of the resonator, by computing, at each sampled time, the internal acoustic pressure at the mouthpiece.


The model is entirely driven by the length L of the resonator and at least two parameters ζ and γ representative of the non-linear physical interaction between the source and the resonator, by means of a loop connecting the input to the output of the linear part and comprising a non-linear function playing the part of an excitation source for the resonator. As shown on FIG. 4, the linear part takes up the diagram of FIG. 2 and the non-linear function f is controlled by both parameters ζ and γ enabling to simulate the performance of a player, and has as input parameters, in the case of a clarinet, the pressure at the mouthpiece and the displacement x(t) of the reed with respect to its equilibrium point, computed in relation to the pressure at the mouthpiece, by a reed model (m) which forms the exciter.


No input signal is necessary, insofar as γ is directly proportional to the pressure in the mouth of the player. It is therefore the non-linearity itself, and its evolution imposed by the player, which plays the part of the excitation source, according to the physical model.


For real-time synthesis of the sounds to be simulated, the model requires digital sampling and, to do so, a formulation is prepared, in the time domain, of the angular frequency response of the resonator, corresponding to the inverse Fourier transform of the impedance. Such formulation in the time domain enables to calculate the pressure pe(t) at the mouthpiece in relation to the flow ue(t) but, to do so, it is necessary to approximate the losses represented by the filter F(ω) by means of an approximated digital filter. We shall therefore use an approximation of the transfer function of the filter, −F(ω)2=−exp(−2ik(ω)L), where the coefficients are determined from physical variables such as the length of the resonator and its radius, in order to be able to make the necessary modifications in relation to the geometry of the resonator. In this view, we express analytically the coefficients of the digital filter as functions of physical parameters.


In practice, it is particularly advantageous to use a single-pole filter while expressing the transfer function approximated in the form:











F
~



(
ϖ
)


=



b
0







exp


(


-
2


i





ϖD

)




1
-


a
1







exp


(


-
i






ϖ

)









(
13
)







wherein







ϖ
=

ω

f
e



,





fe being the sampling frequency, and






D
=


f
e



L
c







is the pure delay corresponding to an away or return travel of the waves in the resonator.


The parameters b0 and a1 are expressed in relation to the physical parameters so that |F(ω)2|2=|{tilde over (F)}( ω)|2 for two provided values of ω.


The first value adopted ω1 is that of the fundamental play frequency. This enables to ensure a down-slope time of the fundamental frequency of the angular frequency response of the waveguide model using the approximated filter, identical to that of the waveguide model using the exact filter.


The second adopted value ω2 is that of a harmonic selected in order to obtain global identical decrease in the angular frequency responses of the waveguides, respectively, exact and approximate waveguides.


The selection of such second value ω2 is therefore less restricted. It corresponds, for instance, to the second resonance peak in the case of the clarinet but, in certain cases, as shown below in the case of the trumpet it may be preferable to select a higher rank harmonic.


The system of equations to be solved is provided by:












F


(

ω
1

)


2



2



(

1
+

a
1
2

-

2


a
1







cos


(

ϖ
1

)




)


=



b
0
2











F


(

ω
2

)


2



2



(

1
+

a
1
2

-

2


a
1







cos


(

ϖ
2

)




)


=



b
0
2






wherein










F


(
ω
)


2



2


=


exp


(


-
2


α





c




ω
2


L



)


.







By neglecting the dispersion introduced by the non-linear to part of the phase of F(ω), the frequencies of the harmonics are:







ϖ
k

=


c






π


(

k
-

1
2


)



Lfe






where 2k−1 is the rank of the harmonic.


By noting:

c1=cos( ω1), c2=cos( ω2), F1=|F1)2|2, F2=|F2)2|2, A1=F1c1, A2=F2c2,

the coefficients a1 and b0 are provided by:










a
1

=



A





1

-

A





2

-




(


A
1

-

A
2


)

2

-


(


F
1

-

F
2


)

2






F
1

-

F
2







(
14
)







b
0

=



2


F
1




F
2



(


c
1

-

c
2


)




(


A
1

-

A
2

-





(


A
1

-

A
2


)

2

-


(


F
1

-

F
2


)

2


)








F
1

-

F
2







(
15
)







From the expression of the input impedance of the resonator:








Ze


(
ω
)


=


1

1
+

exp


(


-
2


i






k


(
ω
)



L

)




-


exp


(


-
2


i






k


(
ω
)



L

)



1
+

exp


(


-
2


i






k


(
ω
)



L

)






,




and by noting z=exp(i ω), we obtain directly:












P
e



(
z
)




U
e



(
z
)



=


1

1
+


(


b
0


1
-


a
1



z

-
1





)



z


-
2


D





-



(


b
0


1
-


a
1



z

-
1





)



z


-
2


D




1
+


(


b
0


1
-


a
1



z

-
1





)



z


-
2


D












=


1
-


a
1



z

-
1



-


b
0



z


-
2


D





1
-


a
1



z

-
1



+


b
0



z


-
2


D













wherefrom the differential equation is derived:

pe(n)=ue(n)−a1ue(n−1)−b0ue(n−2D)+a1pe(n−1)−b0pe(n−2D)  (16)



FIG. 6 provides two diagrams respectively showing, at the top the variation of the input impedance of the resonator approximated in relation to the frequency and, at the bottom, the angular frequency response of the corresponding waveguide model, calculated from the differential equation for a cylindrical pipe having a length L=0.5 m and a radius R=7 mm.


It can be noted that the model thus established provides a angular frequency response very close to that of the resonator, represented in FIG. 2.


As well as for the filter representing the losses, the relation between the acoustic pressure and the displacement of the exciter (reed or lips) must be discretized in the time domain. Or, the angular frequency response of the reed is a sinus wave damped exponentially which meets the condition x(0)=0, as already mentioned above. II is therefore possible to build a digital filter for which the displacement of the reed at the time







t
n

=

n
fe






is function of the acoustic pressure at the time







t

n
-
1


=


n
-
1

fe






and not tn. This enables to verify the property x(0)=0 of the continuous system when the reed is subjected to a Dirac excitation. To comply with such condition, instead of using the bilinear transformation to approximate the terms iω and −ω2, we use, according to the invention, the expressions







i





ω




fe
2



(

z
-

z

-
1



)







and −ω2≈fe2(z−2+z−1), which correspond to an exact centred digital second order differentiation.


With these approximations, the digital transfer function of the reed is provided by:











X


(
z
)



Pe


(
z
)



=


ω
r
2



ω
r
2

+


f
e
2



(

z
-
2
+

z

-
1



)


+



f
e

2



(

z
-

z

-
1



)



q
r



ω
r










=


z

-
1





f
e
2


ω
r
2


+



f
e



q
r



2


ω
r



-


z
-



(



2


f
e
2



ω
r
2


-
1

)


-


z

-
2




(




f
e



q
r



2


ω
r



-


f
e
2


ω
r
2



)











wherefrom the differential equation is derived:

x(n)=0×pe(n)+b1ape(n−1)+a1ax(n−1)+a2ax(n−2)  (17)


wherein the coefficients b1a, a1a and a2a are defined by:







a

0

a


=




f
e
2


ω
r
2


+




f
e



q
r



2


ω
r









b

1

a




=



1

a

0

a









a

1

a



=






2


f
e
2



ω
r
2


-
1


a

0

a









a

2

a



=





f
e



q
r



2


ω
r



-


f
e
2


ω
r
2




a

0

a











FIG. 7 provides, for such a reed model approximated, two diagrams representing, on the left the transfer function and on the right the angular frequency response, with a sampling frequency fe=44 100 Hertz, the values of the parameters being fr=2500 Hz and qr=0.2.


It can be seen that the diagrams obtained are very close to those of FIG. 2


This being established, we shall now expose an explicit resolution method, according to the invention, for coupling the differential equations with the non-linear characteristic.


The sampled formulations of the angular frequency responses of the displacement of the reed and of the impedance enable, indeed, to write the sampled equivalent of the system of equations (9, 10, 11) stated above, in the form:










x


(
n
)


=



b

1

a





p
e



(

n
-
1

)



+


a

1

a




x


(

n
-
1

)



+


a

2

a




x


(

n
-
2

)








(
18
)







pe


(
n
)


=



u
e



(
n
)


-


a
1




u
e



(

n
-
1

)



-


b
0




u
e



(

n
-

2

D


)



+


a
1




p
e



(

n
-
1

)



-


b
0




p
e



(

n
-

2

D


)








(
19
)








u
e



(
n
)


=


1
2



(

1
-

sign


(

γ
-

x


(
n
)


-
1

)



)



sign


(

γ
-


p
e



(
n
)



)




ζ


(

1
-
γ
+

x


(
n
)



)







γ
-


p
e



(
n
)











(
20
)







This system of equations is implicit, because the calculation of pe(n) by the impedance equation requires to know ue(n) and such value is itself obtained from the non-linear equation and requires to know pe(n). Still, as already mentioned above, the calculation of x(n) does not requires to know pe(n) but to know pe(n−1) which is indeed known at the time n.


This enables, according to the invention, to solve simply and exactly the coupled system. To do so, the terms of the equations (19) and (20) above, which do not depend on the time sample n, may, indeed, be gathered in the expressions:






V
=



-

a
1





u
e



(

n
-
1

)



-


b
0




u
e



(

n
-

2

D


)



+


a
1




p
e



(

n
-
1

)



-


b
0




p
e



(

n
-

2

D


)










W
=


1
2



(

1
-

sign


(

γ
-

x


(
n
)


-
1

)



)

×

ζ


(

1
-
γ
+

x


(
n
)



)







which enables to writer

pe(n)=ue(n)+V


To generalise the method, it is interesting to associate ue (n) with a coefficient bc0=1 in the case of a cylindrical pipe.


Both equations (19) and (20) above may then be written in the form;

pe(n)=b0c0ue(n)+V
ue(n)=Wsign(γ−Pe(n))√{square root over (|γ−Pe(n)|)}


Since the term







1
2



(

1
-

sign


(

γ
-

x


(
n
)


-
1

)



)






cancels W when (1−γ+x(n)) is negative, W always remains positive. If we successively consider both cases. γ−pe(n)≧0 and γ−pe(n)<0 corresponding respectively to the cases ue(n)≧0 and ue(n)<0, ue(n) may be expressed exactly and without involving the unknown pe(n), in the form:








u
e



(
n
)


=


1
2



sign


(

γ
-
V

)




(



-

bc
0




W
2


+

W





(


bc
0


W

)

2

+

4




γ
-
V














Consequently, the calculation of the acoustic pressure and the flow at the mouthpiece at a sampled time n, may be conducted by using sequentially the following equations:










x


(
n
)


=



b

1





a





p
e



(

n
-
1

)



+


a

1





a




x


(

n
-
1

)



+


a

2





a




x


(

n
-
2

)








(
21
)






V
=



-

a
1





u
e



(

n
-
1

)



-


b
0




u
e



(

n
-

2

D


)



+


a
1




p
e



(

n
-
1

)



-


b
0




p
e



(

n
-

2

D


)








(
22
)






W
=


1
2



(

1
-

sign


(

γ
-

x


(
n
)


-
1

)



)



ζ


(

1
-
γ
+

x


(
n
)



)







(
23
)








u
e



(
n
)


=


1
2



sign


(

γ
-
V

)




(



-

bc
0




W
2


+

W





(


bc
0


W

)

2

+

4




γ
-
V














(
24
)








p
e



(
n
)


=



bc
0




u
e



(
n
)



+
V





(
25
)







Thus, the invention enables to solve in the time domain, the system of equations governing the physical modelization of the instrument, from a sampled formulation equivalent to the angular frequency response of the displacement of the reed, of the impedance relation and of the non-linear characteristic, which is translated into the system of equations (18), (19), (20), wherein:

    • the equation (18) is a digital transcription of the model (m) of FIG. 5,
    • the equation (19) is a digital transcription of the impedance model of FIG. 3,
    • the equation (20) is a digital transcription of the non-linear characteristic linking the displacement of the reed and the acoustic pressure with the acoustic flow.


By grouping the terms which do not depend on the time sample n, the method according to the invention enables, indeed, to determine the flow and the pressure at the input of the resonator by a sequential calculation of the equations (21) to (25), and to solve, in the time domain, the system of equations (9), (10), (11) governing the physical modelization of a clarinet-type reed instrument, in order to synthesise the sounds produced by such an instrument.


For exemplification purposes, FIG. 7 shows the variation of the internal acoustic pressure at the mouthpiece, calculated by such a non-linear model involving waveguides, for a pipe having a length L-0.5 m and a radius R=7 mm, the values of the parameters being γ=0.4, ζ=0.4, fr=2205 Hz, qr=0.3.


Three phases can be observed: the attack transient corresponding to sudden increase of γ and ζ, the steady state while γ and ζ diminish gradually, in a linear manner, up to the oscillation threshold, and the extinction transient.


In practice, the digital implementation of such a non-linear waveguide model, may be conducted with the use of elements available on the market for the gestural sensor. For instance, digital implementation is possible in language C in the form of an external <<clarinet>> object for the environment known under the trade name Max-MSP, driven from MIDI controls supplied by a controller Yamaha WX5®. This controller measures the pressure of the lips on the reed, which controls the parameter ζ, and the pressure of the breath, which controls the parameter γ. Such information received in MIDI format (therefore between 0 and 127) are re-standardised to correspond to the scale of the physical parameters. The waveguide is tuned from the information MIDI pitch controlled from the finger position which determines the length L of the pipe.


Still, as in a real instrument, the height changes in relation to the physical parameters such as γ, ζ, ωr and qr. Still, in reality, a musical instrument is not tuned perfectly for all the finger positions. The use of an all-pass filter for the implementation of the fractional part of the delay D is therefore not compulsory.


In practice, it appears that the playing sensations of such to a virtual instrument are quite comparable to those of a real instrument.


Still, the method which has just been described for the simulation of the sound of a clarinet-type reed instrument, may still be perfected.


We know, indeed, that the acoustic pressure at the mouthpiece is not the variable representative of the sound perceived. It is therefore interesting to calculate the external pressure which, for a cylindrical pipe, may be expressed as the time derivate of the outgoing flow:








p
ext



(
t
)


=






u
s



(
t
)





t


.






By neglecting still the radiation, which involves ps(t)=0, it becomes:

Pe(ω)=i sin(k(ω)L))Us(ω)
Ue(ω)=cos(k(ω)L)Us(ω)


wherefrom we may derive:

Us(ω)=exp(−ik(ω)L)(Pe(ω)+Ue(ω))


From the perception viewpoint, the term exp(−ik(ω)L) is negligible. The expression above may therefore be simplified and becomes:











p
ext



(
t
)


=





t




(



p
e



(
t
)


+


u
e



(
t
)



)






(
26
)







Thus, from a digital viewpoint, the calculation, at each sampled time n, of the external pressure pext(n), is reduced to a simple differential between the sum of the internal pressure and of the flow, between the time n and the time n−1.


As shown in FIG. 1, which represents schematically a whole digital instrument for the implementation of the invention in the case of a wind instrument, the signals pe(t) and ue(t) enabling the calculation of the external pressure pext(t) are prepared by the modelization element II from control parameters ωr, ζ, γ, L.


For a cylindrical resonator, such modelization element II is of the type represented in FIG. 5 and enables coupling the three equations (9), (10), (11).


The linear part 3 includes a computing block 31 of the type represented in FIG. 3, the transfer function Ze(ω) of which is the input impedance of the resonator.


The model is driven by the length L of the resonator and the non-linear part 2 implements a non-linear function 21 controlled by both parameters ζ and γ and having as input parameters the pressure pe(t) calculated by the linear part 3 and the displacement x(t) of the exciter 22 calculated, in the case of the clarinet by a reed model (m) in relation to the same pressure pe(t) at the mouthpiece.


From such pressure pe(t) and the flow ue(t) at the mouthpiece, computed respectively by the linear part 3 and the non-linear part 2, the bloc 4 computes the sound signal pext(t) emitted by the digital instrument thanks to the converter 5.


The method according to the invention has been described in detail for the simulation of a simple instrument, with cylindrical resonator, of the clarinet type.


Still, as will now be seen, the general diagram of FIG. 1 may be applied to the simulation of more complex phenomena.


In particular, physical measurements have shown that the vibrations of a reed are more complex than a simple sine wave damped. It has therefore appeared that the simple model described above could be perfected in order to improve the quality of the sound produced, as perceived. To do so, we consider a very simplified reed model in the form of a free embedded string. Thus, the impedance model of a cylindrical pipe described above, which generates mainly odd harmonics, acts as a basis for the realisation of a multiple mode reed model complying with the same condition x(0)=0, which enables to keep the digital resolution diagram of the equations (21) to (25) specified above.


Since the value of the impedance is real for all the resonance peaks, its angular frequency response is a sum of cosine functions. On the other hand, it has been seen that the angular frequency response of a single mode reed model is a sine wave function. We shall therefore use, in the definition of the model, the transfer function between a damped sine wave and a damped cosine wave. While keeping the same notations, the Fourier transform of







x


(
t
)


=



2






ω
r




4
-

qr
2






exp


(


-

1
2




ω
r



q
r


t

)




sin


(


1
2




4
-

q
r
2





ω
r
t


)








is provided by:







X


(
ω
)


=



ω
r
2



ω
r
2

-

ω
2

+







ω






q
r



ω
r




.





Similarly, the Fourier transform of







y


(
t
)


=



2


ω
r




4
-

q
r
2






exp


(


-

1
2




ω
r



q
r


t

)




cos


[


1
2




4
-

q
r
2





ω

r







t

]








is provided by:







Y


(
ω
)


=




ω
r



(



ω
r



q
r


+

2

i





ω


)





4
-

q
r
2





(


ω
r
2

-

ω
2

+







ω






q
r



ω
r



)



.





The transfer function between y(t) and x(t) is then:








X


(
ω
)



Y


(
ω
)



=





4
-

q
r
2





ω
r





ω
r



q
r


+

2







ω



.





We may thus write the transmittance model in the form:








X


(
ω
)




P
e



(
ω
)



=


C


(

1
-

B






exp


(


-




πω

ω
a



)




)




(



1
2



ω
r



q
r


+







ω


)



(

1
+

B






exp


(


-




πω

ω
a



)




)







To determine the three unknown variables ωa, C, B, three conditions are set. The first condition consists in keeping the frequency of the first peak, which is the maximum peak. To do so, we select ωa=ωr or assuming that the frequency offset resulting from the quality factor qr can be negligible.


The second condition, satisfied by the single mode reed model, consists in imposing a unit value of the transmittance module for ω=0 in order to maintain X(ω)≈Pe(ω) at low frequencies.


The third condition is an imposed value of






1

q
r






for the transmittance module at the frequency ωr, in order to keep the height of the peak of the single mode reed model.


Thanks to these three conditions, the transfer function thus realised reproduces the main characteristics of the single mode reed model.


Both first and second conditions lead to the system of equations:








2


C


(

1
+
B

)





ω
t





q
r
2

+
4




(

1
-
B

)



=

1

q
r










2


C


(

1
-
B

)





ω
r




q
r



(

1
+
B

)




=
1




assuming:








A
1

=

2


ω
r





q
r
2

+
4





,


A
2

=



1
2



ω
r



q
r






and






A
3


=


A
2



A
1



q
r




,





the coefficients B and C solving the system are provided by:









B
=


1
+

A
3

-

2



A
3





1
-

A
3







(
27
)






C
=



A
3

-


A
3





(



A
3


-
1

)



q
r



A
1







(
28
)







Similarly to the case of the single mode reed, we shall prepare a digital model wherein the displacement of the reed at the sampled time







t
n

=

n

f
e







is a function of the acoustic pressure, not at time tn but at time







t

n
-
1


=



n
-
1


f
e


.






This is possible since the angular frequency response of the model is the sum of damped sine wave functions.


To fulfil such condition, we use an approximation of iω in the form iω≈fe(z−1)=fe(exp(i ω)−1).


Moreover, to add to the model an additional control parameter, we replace the coefficient B with a filter such as






B




b
a


1
-


a
a







exp


(


-







ϖ

)





.






Thus, we may adjust the damping of the harmonics in relation to the damping of the fundamental. To keep the characteristic X(0)=1, the parameters ba and aa are linked by the equation






B
=



b
a


1
-

a
a



.





The term






exp


(


-




πω

ω





a



)






is replaced with its sampled equivalent: z−Da=exp(−i ωDa) with the delay Da defined by:







D
a

=

E


(


π






f
e



ω
r


)







wherein E indicates the integer part.


Assuming:







β
=


1
2



ω
r



q
r



,





the digital transfer function is written:








X


(
z
)




P
e



(
z
)



=



C


(


z

Da
+
1


-


a
a



z
Da


-


b
a


z


)




(

β
+

fe


(

z
-
1

)



)



(


z

Da
+
1


-


a
a



z
Da


+


b
a


z


)



=


C


(


z

-
1


-


a
a



z

-
2



-


b
a



z

-

Da

-
1






)







f
e

-


(



f
e



(

1
+

a
a


)


-
β

)



z

-
1



-









a
a



(

β
-

f
e


)




z

-
2



+


f
e



b
a



z

-
Da



-



b
a



(


f
e

-
β

)




z


-
Da

-
1













which leads to the differential equation

x(n)=ba1pe(n−1)+ba2pe(n−2)+baD1pe(n−De−1)+aa1x(n−1)+aa2x(n−2)+a2Dx(n−Da)+aaD1x(n−Da−1)  (29)


wherein the coefficients aa1, aa2, aaD2, aaD1 are defined by:








a

a





1


=




f
e



(

1
+

a
a


)


-
β


f
e



,


a
a2

=



a
a



(

β
-

f
e


)



f
e



,


a
aD

=

-

b
a



,


a

aD





1


=



b
a



(


f
e

-
β

)



f
e







and the coefficients ba1, ba2, baD1 by:








b

a





1


=

C
fe


,


b
a2

=


-

Ca
a


fe


,


b

aD





1


=



-

Cb
a


fe

.






We notice that equation (29), thus established, enables to determine the dimensionless displacement x(n) of the reed at the sampled time n, from previous times.


It appears therefore that, in the case of a multimode reed model, the digital calculation diagram of the sound may be the same as that of the single mode reed while replacing equation (21) with equation (29) which is another digital transcription of the model (m) of FIG. 5.


For exemplification purposes, FIG. 9, which is analogous to FIGS. 2 and 7, provides, for an approximated multimode reed model computed according to the invention, two diagrams representing respectively, in solid lines, on the left, the transfer function and, on the right, the pulse response with a sampling frequency fe=44100 Hertz, the parameters having values fr=1837, 5 Hz, qr=0.2, aa=0.


On the same diagrams, we have superimposed, as doted lines, the transfer function and the angular frequency response of the single reed model as represented in FIG. 7.


According to another development of the invention, we may also improve the sound model of clarinet in order to make it more natural by integrating a certain noise thereto, the system being thus more realistic. Since the noise is created by a turbulence at the reed before the beginning of the pipe, the noise is added to x(t). It appears on the other hand that, in practice, the level of noise depends on the pressure of the breath whereas its <<colour>> depends on the pressure of the lips on the reed. Indeed, from a physical viewpoint, the harder the reed is pressed, the smaller the opening between the reed and the pipe and the greater the turbulence. Therefore we shall use a simple noise model whose level is driven by γ and the brilliance driven by ζ.


For the digital implementation of such a noise model, we shall use a low-pass filter of a white noise. The transfer function of this filter is provided by









T
b



(
z
)


=



b
b



(

1
-

a
b


)



1
-


a
b



z

-
1






,





the coefficient bb being driven by γ, and the coefficient ab driven by ζ. The variation laws of bb and aa may be determined so that the sound simulated by the model is as realistic as possible.


Both diagrams of FIG. 10 show for exemplification purpose, the variation of the module of the spectrum of the external acoustic pressure corresponding to the sound produced by the model, respectively on the top diagram for a single mode reed and on the bottom diagram for a multiple mode reed with additional noise, the simulation parameters being as follows:

fr=2205 Hz, qr=0.25, aa=0, γ=0.44, ζ=0.4, L=0.48 m, R=7.10−3 m


As already mentioned, the method according to the invention, as it has just been described in details, refers to the simulation of sounds produced by a reed and cylindrical resonator musical instrument of the clarinet type. But the invention is not limited to such an application and may, conversely, be subject to numerous developments.


Indeed, from the non-linear physical model, involving waveguides and schematised in FIG. 5, as well as of its digital transcription according to the sequence of equations (21) to (25), it will be possible, to simulate the operation of a resonator having any geometry, by modifying the impedance model for cylindrical resonator and the associated differential equations, to replace the latter with impedances and more complex differential equations.


While keeping the properties of the model which has just been described, it is possible indeed, from the general diagram of FIG. 1, to build other complex impedance models, by combining certain impedance elements in parallel or in series and by offering digital approximations enabling explicit usage of the physical variables and more flexible control of the digital instrument.


For exemplification purposes, we shall now describe certain developments of the basic model for cylindrical resonator, with reference to FIGS. 11 to 14 which represent equivalent calculation diagrams involving waveguides and corresponding to resonators having diverse geometries.


Generally, on these diagrams which correspond to the computing block 31 in FIG. 1, the operator C(ω) represents the input impedance and C−1(ω) the input admittance of a cylindrical resonator, the digital model corresponding to C−1(ω) being obtained by changing the sign of the coefficient b0 only.


A first improvement on the basic model which has just been described with reference to FIGS. 3 and 5, will enable, by the use of wave guides similarly, to realise a physical model for cylindrical resonator with terminal impedance. Such an element will enable, for instance, to link together parts of cylindrical resonators having different lengths and sections, in order to simulate the input impedance of a conduit of variable section, or still to take into account the radiation impedance.


To do so, we consider the formalism of the transmission line linking the acoustic pressure and flow, respectively to the input of the resonator (Pe(ω), Ue(ω)) and to its open end (Ps(ω), Us(ω)).


Noting







Z
c

=


ρ





c


π






R
2








the impedance characteristic, we have:








P
e



(
ω
)


=



cos


(


k


(
ω
)



L

)





P
s



(
ω
)



+


iZ
c



sin


(


k


(
ω
)



L

)





U
s



(
ω
)












U
e



(
ω
)


=



i

Z
c




sin


(


k


(
ω
)



L

)





P
s



(
ω
)



+


cos


(


k


(
ω
)



L

)





U
s



(
ω
)








By noting







Z
s

=



P
s



(
ω
)




U
s



(
ω
)








the output impedance and








R


(
ω
)


=



Z
c

-


Z
s



(
ω
)





Z
c

+


Z
s



(
ω
)





,





we can write the input impedance in two different ways:












P
e



(
ω
)




Z
c




U
e



(
ω
)




=





Z
s



(
ω
)



Z
c


+

i






tan


(


k


(
ω
)



L

)





1
+

i




Z
s



(
ω
)



Z
c




tan


(


k


(
ω
)



L

)









(
30
)

















=


1
-


R


(
ω
)




exp


(


-
2









k


(
ω
)



L

)





1
+


R


(
ω
)




exp


(


-
2









k


(
ω
)



L

)










(
31
)







The equation (31) shows therefore that the impedance of a cylindrical resonator with terminal impedance may be obtained from the impedance of a cylindrical resonator without terminal impedance, while replacing:

exp(−2ik(ω)L) with R(ω)exp(−2ik(ω)L).



FIG. 11 provides an equivalent calculation diagram involving waveguides, for the implementation of the equation (30), enabling to calculate the impedance of a cylindrical resonator with terminal impedance.


Such a model enables to generate in cascade the input impedance of a conduit having any geometry and liable to be defined by a succession of elementary cylindrical conduits.


Consequently, the invention may be applied to the simulation of the vocal conduit.


But the invention may be subject to many other developments and the diagram of FIG. 1 enables in particular, from the basic physical model for cylindrical resonator schematised on FIG. 5, to build specific models for the simulation of diverse musical instruments.


It is thus that in a first development of the basic model, we shall build a model for conical resonator, usable, for instance, for the simulation of a saxophone.


If we designate by L the length of the pipe, R its input radius, θ its opening, the distance xe between the apex of the cone and the input is:







x
e

=

R

(

sin


θ
2


)






The input impedance, relative to the characteristic impedance







Z
c

=


ρ
c


π






R
2








is then provided by the expression:












P
e



(
ω
)




Z
c




U
e



(
ω
)




=

1


1

i





ω



x
e

c



+

1

i






tan


(


k


(
ω
)



L

)










(
32
)







which may be written in the form:









P
e



(
ω
)




Z
c




U
e



(
ω
)




=


i





ω



x
e

c



1
+


i





ω



x
e

c



i






tan


(


k


(
ω
)



L

)











FIG. 12 provides an equivalent calculation diagram involving waveguides, wherein the element noted D is the differential operator D=iω and the element noted C−1(ω) corresponds to the diagram of FIG. 2 by replacing −exp(−2ik(ω)L) by +exp(−2ik(ω)L).


The corresponding differential equations may be established by following a process similar to that which has been described above.


Thus, using the bilinear transform to approximate iω, the digital transfer function of a conical resonator is provided by:









P
e



(
z
)




Z
c




U
e



(
z
)




=

1



z
+
1


2

fe


xe
c



(

z
-
1

)



+


1
-


a
1



z

-
1



+


b
0



z


-
2


D





1
-


a
1



z

-
1



-


b
0



z


-
2


D











By noting:







Gp
=


1
+


1

2


f
e




x
e

c








and





Gm


=

1
-

1

2


f
e




x
e

c






,





the transfer function is reduced to:









P
e



(
z
)




Z
c




U
e



(
z
)




=


1
-


(


a
1

+
1

)



z

-
1



+


a
1



z

-
2



-


b
0



z


-
2


D



+


b
0



z



-
2


D

-
1









G
p

-


(



a
1



G
p


+

G
m


)



z

-
1



+








a
1



G
m



z

-
2



+


b
0



G
m



z


-
2


D



-


b
0



G
p



z



-
2


D

-
1












wherefrom the differential equation is derived:

pe(n)=bc0ue(n)+bc1ue(n−1)+bc2ue(n−2)+bcDue(n−2D)+bcD1ue(n−2D−1)+ac1pe(n−1)+ac2pe(n−2)+acDpe(n−2D)+acD1pe(n−2D−1)  (33)


wherein the coefficients bc0, bc1, bc2, bcD and bcD1 are defined by:








bc
0

=

1

G
p



,


bc
1

=

-



a
1

+
1


G
p




,


bc
2

=


a
1


G
p



,


bc
D

=

-


b
0


G
p




,


bc

D





1


=


b
0


G
p







and the coefficients ac1, ac2, acD and acD1 are defined by:








ac
1

=

-




a
1



G
p


+

G
m



G
p




,


ac
2

=



a
1



G
m



G
p



,


ac
D

=

-



b
0



G
m



G
p




,


ac

D





1


=

b
0






Similarly, the invention may be applied to the case of short resonators which appear, for instance, in the mouthpiece of a brass instrument or in the bill of a reed instrument, or of a register hole or lateral hole.


To do so, it is admitted that the radius of the short resonator is sufficient enough to keep the loss model used until now.


This approximation of a short resonator will consist in approximating the impedance ZI(ω)=i tan(k(ω)I) for small values of k(ω)I.


We thus obtain the expression












Z
l



(
ω
)


=


i





tan






(


k


(
ω
)



l

)




l


(


k


(
ω
)



l

)





G


(
ω
)


+

i





ω






H


(
ω
)













wherein






G


(
ω
)



=




1
-

exp


(


-
αc




ω
2



l

)




1
+

exp


(


-
α






c



ω
2



l

)









and






H


(
ω
)



=


l
c




(

1
-

G


(
ω
)



)

.








(
34
)







In another development of the basic model for cylindrical resonator, the invention also enables to simulate a more complex resonator, by assembling elementary impedances representing, in the one hand, the conduit and, on the other hand, the bill of a reed instrument or the mouthpiece of a brass instrument.


In such a case, we shall model the mouthpiece or the bill by a Helmholtz resonator comprising a hemispheric cavity coupled with a short cylindrical pipe and a main resonator with conical pipe.


The input impedance of the resonator assembly may be expressed by:







Ze


(
ω
)


=


1

Z
n




i





ω


V

ρ






c
2




+

1



Z
1



(



k
1



(
ω
)




L
1


)


+


Z
2




i





ω


xe
c



1
+


i





ω


xe
c



i






tan


(



k
2



(
ω
)




L
2


)
















wherein






V
=


4
6


π






R
b
3







is the volume of the hemispheric cavity, L1 is the length of the short pipe, L2 is the length of the conical pipe, Z1 and Z2 are the characteristic impedances of both pipes which depend on their radii, k1(ω) and k2(ω) take into account the losses and of the radius R1 and R2 of each pipe.


This equation may be written in the form:








Z
n




Z
e



(
ω
)



=




iZ
1



(



k
1



(
ω
)




L
1


)


+


Z
2




i





ω



x
e

c



1
+


i





ω



x
e

c



i






tan


(



k
2



(
ω
)




L
2


)









1
+

i





ω


V

ρ






c
2





(



iZ
1



(



k
1



(
ω
)




L
1


)


+


Z
2




i





ω



x
e

c



1
+


i





ω



x
e

c



i






tan


(



k
2



(
ω
)




L
2


)








)








We may thus establish the equivalent calculation diagram represented in FIG. 13, wherein the operator noted C1(ω) corresponds to the diagram in FIG. 5 and the operator noted S(ω) corresponds to the input impedance of the conical pipe and to the diagram of FIG. 12.


Resolution methods similar to those which have been described previously, enable to express the equivalent digital model and the corresponding differential equations. The impedance of the short pipe may be modelled by using the approximation expressed by the previous equation (34). The impedance of the conical pipe is represented by the model corresponding to the differential equation (33). The admittance of the cavity






i





ω


V

ρ






c
2








is approximated by the bilinear transformation







d



z
-
1


z
+
1



,





where d=2fe.


Considering the association of the hemispheric cavity and of the short pipe as a Helmholtz resonator having as a resonance frequency








ω
h

=

c




S
1



L
1


V





,





we may use such frequency ωh to approximate G(ω) by G(ωh) and H(ω) by H(ωh). Both frequencies used for the calculation of the coefficients a1 and b0 are







ω
1

=


c


(


12





π





L

+

9


π
2



x
e


+

16

L


)



4


L


(


4

L

+

3

π






x
e


+

4


x
e



)









which correspond to the first impedance peak of the conical pipe, and ω2h. moreover, we shalt use







Z
n

=



ρ





c


S
2


=

Z
2







to normalize the input impedance.


The digital impedance of a brass-type resonator is thus provided by the expression:











Z
e



(
z
)


=



S
n


ρ





c





Vd


(

z
-
1

)



ρ







c
2



(

z
+
1

)




+

1




ρ





c


S
1





C
1



(
z
)



+



ρ





c


S
2





S
2



(
z
)











(
35
)







which may be simplified in the form








Z
e



(
z
)


=






k
=
0


k
=
4









bc
k



z

-
k




+




k
=
0


k
=
3









bc
Dk



z



-
2


D

-
k







ac
0

-




k
=
1


k
=
4









ac
k



z

-
k




-




k
=
0


k
=
3









ac
Dk



z



-
2


D

-
k










wherefrom the differential equation may be derived











p
e



(
n
)


=





k
=
0


k
=
4









bc
k




u
e



(

n
-
k

)




+




k
=
0


k
=
3









bc
Dk




u
e



(

n
-
k
-

2

D


)




+




k
=
1


k
=
4









ac
k




p
e



(

n
-
k

)




+




k
=
0


k
=
3









ac
Dk




p
e



(

n
-
k
-

2

D


)









(
36
)









    • The coefficients are derived from direct calculation of the equation (35).





The invention may still be applied to the modelization of a cylindrical resonator with register holes. To that effect we use elements involving waveguides and corresponding respectively to a physical model of a cylindrical pipe with terminal impedance representing a pipe of length L1 between the mouthpiece and the register hole, a model of short pipe which represents the register hole of length h1 and the basic model for cylindrical pipe representing a pipe of length L2 between the register hole and the open end.


The terminal impedance of the first part of the pipe may be written:








Z
s



(
ω
)


=

1


1


Z
t




C
t



(
ω
)




+

1


Z
2




C
2



(
ω
)










By writing such expression in the form:








Z
s



(
ω
)


=



Z
2




C
2



(
ω
)




1
+



Z
2


Z
t






C
2



(
ω
)




C
t



(
ω
)










we may establish a general calculation diagram by waveguides represented on FIG. 14, which, in the case which has just been described, is used to calculate the terminal impedance by a parallel combination of the impedances Z2C2(ω) and ZfCt(ω).


In the limit case of a closed register hole, with two parts of the pipe having the same radius, we assume ZtCt(ω)=∞ and Z2=Zc


leading to Zs(ω)=iZc tan(k(ω)L2) and Zc(ω)=iZc tan(k(ω)(L1+L2)).


The total input impedance of the pipe may then be expressed by:












P
e



(
ω
)




Z
c




U
e



(
ω
)




=




(



C
2



(
ω
)


+


C
1



(
ω
)



)



Z
t




C
t



(
ω
)



+


Z
c




C
1



(
ω
)





C
2



(
ω
)







(

1
+



C
1



(
ω
)





C
2



(
ω
)




)



Z
t




C
t



(
ω
)



+


Z
c




C
2



(
ω
)









(
37
)







Using iω=fe(1−Z−1) in the impedance of the short pipe, the differential equation can be derived directly as previously.


Thus, the model for simulating the cylindrical resonator of the clarinet-type, obtained by direct transposition of the simplified equations of the physical behaviour of the instrument, may be adapted to the simulation of instruments with non-cylindrical resonator, such as saxophone, trumpet or other wind instruments.


But the invention is not limited to such an embodiment and to adaptations which have just been described since, without departing from the scope of the claims, it may be applied to the simulation of other types of instruments, for instance when a string is rubbed as with the violin or struck as with the piano.


Indeed, in the case of a string, it is known that using the formalism of mechanical transmission line, analogous to that of an acoustic transmission line, we establish analogous relations between the variables of the impedance relation. Said relations are the strength exerted on the mechanical element, and the speed of such an element resulting from such strength. Insofar as the quantity linked to the sound emitted is linked with the speed (i.e. the effect) in the mechanical case, by opposition to the acoustic case wherein the quantity linked with the sound emitted is the pressure (i.e. the cause), we prefer to describe the resonator in terms of admittance rather than impedance.


The equations of the mechanical transmission line between a point (b) and a point (e) are then:












F
c



(
ω
)


=



cos


(


k


(
ω
)



L

)





F
b



(
ω
)



+


iZ
c



sin


(


k


(
ω
)



L

)





V
b



(
ω
)













V
e



(
ω
)


=



i

Z
c




sin


(


k


(
ω
)



L

)





F
b



(
ω
)



+


cos


(


k


(
ω
)



L

)





V
b



(
ω
)









(
38
)








wherein F and V represent respectively the strengths and speeds at each point.


The wave number k(ω) is expressed conventionally from the differential equation of the movement of a string under deflection and comprises, as in the acoustic case, propagation (delay), dissipation, dispersion parts (see for instance: C. Valette, C. Cuesta “Mécanique de la corde vibrante”, Hermès, treatise on new technologies, série Mécanique. 1993).


If we assume that the end (b) of the string is fixed and the end (e) mobile, we have:







V
b

=


0



Y
e



(
ω
)



=




V
e



(
ω
)




F
e



(
ω
)



=


1

Z
c



i






tan


(


k


(
ω
)



L

)









This relation forms the input admittance of a part of embedded-free string at the point where it is free, and is identical, within one multiplying constant, to the acoustic impedance of a cylindrical resonator. It may therefore be represented by a diagram analogous to that of FIG. 3.


At the point where the interaction with the exciter is realised, we write the equations of continuity between both parts of string 1 and 2, by considering that the total strength exerted is the sum of the strengths exerted on each part, while the speeds of each part are equal.

F(ω)=F1(ω)+F2(ω)
V(ω)=V1(ω)=V2(ω)


Assuming that the complete string is fixed at both ends, this enables to express the input admittance of the string from a series combination of each part of the string, i.e., in terms of admittance:










Y


(
ω
)


=



V


(
ω
)



F


(
ω
)



=


1


1


Y
1



(
ω
)



+

1


Y
2



(
ω
)





=

1



Z
c


i






tan


(


k


(
ω
)




L
1


)




+


Z
c


i






tan


(


k


(
ω
)




L
2


)












(
39
)







Such a relation is identical, within one constant, to the parallel combination of two cylindrical acoustic resonators and may therefore be represented by the diagram of FIG. 14 wherein the elements noted Ct and C2 represent the admittance of each part of the string.


For exemplification purposes, FIG. 15 represents, in relation to the frequency, at the top, the exact admittance of a string at the eighth of its length, calculated with an expression of k(ω) derived from a conventional model, and, at the bottom, the admittance approximated using an approximation of the losses with a digital first order filter whose coefficients are computed with the same method as in the acoustic case.


It should be noted that, in the case of the violin, the contact point between the bow and the string is very close to one of the ends of the string. Consequently, it is possible to use the <<short pipe>> approximation for the admittance of either of both parts. Moreover, insofar as the losses expressed by k(ω) are very small in a string, it is also possible to neglect it for the short part. Thus, the admittance of a violin string at the contact point with the bow may be expressed in the same manner as the impedance of an acoustic conical resonator and can therefore be represented by the diagram of FIG. 12.


As in the case of acoustic self-oscillating instruments, the admittance described in this basic model comprising a string with two fixed ends, may be refined in order to take into account additional physical phenomena. The method consists again in associating the admittances of different elements. Thus, it is possible with such an approach to build an input admittance of a resonator composed of two strings coupled by a harmonic table, i.e. whose the ends are not fixed any longer, but mobile. Indeed, in most notes of a piano, there are two or three strings tuned to very close frequencies, which are struck simultaneously by the same hammer. In such a case, the total admittance is expressed by an association of two admittances of identical strings, each of these admittances being composed of two parts of strings, one of these parts is expressed identically to the input impedance of a cylindrical pipe with terminal impedance. In the mechanical case, the terminal admittance corresponding to that of the sound board, may be expressed by combinations of localised elements similar to those employed to describe the mouthpiece or the bill (i.e. masses, springs, dampers), enabling to take into account one or several vibration modes of the sound board.


According to the invention, the formulation of the resonator en terms of mechanical admittance may be processed, for instance in an instrument where the string is struck as with the piano. In such a case, and as in the acoustic case, the speed of a string struck by a hammer such as that of a piano, may be expressed from the system with three coupled equations:











f


(
t
)


=



K


(



y
h



(
t
)


-


y
s



(
t
)



)


p



(

1
-

α





t




(



y
h



(
t
)


-


y
s



(
t
)



)



)













2




y
h



(
t
)






t
2



=


-

1

M
h





f


(
t
)












V
s



(
ω
)


=


Y


(
ω
)




F


(
ω
)








(
40
)








i.e.:


a non-linear characteristic expressing the strength in relation to the relative displacements and speeds of the hammer and of the string,


an equation of the dynamics of the hammer linking its acceleration to the strength exerted by the string thereon by reaction, which is analogous to the expression of the displacement of the reed in relation to pressure,


an admittance equation expressing the speed of the string in relation to the strength which is imposed thereupon, which is equivalent to the acoustic impedance relation.


The non-linear impact characteristic used here is known as the Hunt-Crossley characteristic. The exponent (p) ranges conventionally between 2 and 3, and is not an integer. yh(n) designates the displacement of the hammer, ys(n) that of the string. It should be noted that it is here a new way of writing the problem. Indeed, conventionally, the impedance relation used here is replaced with the differential equation of the movement of the string.


Such a simulation method of a string instrument may be implemented by a digital instrument whereof the model is schematised on FIG. 16 which is analogous to the general diagram of FIG. 1 and wherein:


Ye(ω) designates the input admittance of the resonator;


MA is, in the case of an instrument where the string is struck, a model of hammer, expressing its speed from the strength f(t);


Vs(t) is the speed of the string and Vh(t) that of the hammer;


MV is a calculation model of the speed at the bridge which is then radiated by the sound board, from the strength and the speed of the string at the hammer-string contact point;


G is the non-linear characteristic, and groups the non-linear function and the calculation means of the displacements Yh(t) and Ys(t) from Vh(t) and Vs(t);


Vh(0) is the control parameter acting on the block MA, fixing the initial speed of the hammer at impact;


L is the control parameter of the note played. In the case of an instrument where the string is rubbed, G is the non-linear friction characteristic, whereof numerous models can be found in the literature and whereof the control parameters are the pressure of the bow on the string and its speed of displacement.


In a simplified model, the block MA may be deleted.


In the case of an instrument where the string is struck, the discrete time model involves, as for certain elements of the acoustic models, the bilinear transform to approximate the time derivation operators. By noting W (noted V in the acoustic case) all the independent terms of (n) of the differential equation linking the speed of the string vs(n) and the strength f(n), and vh(n) the speed of the hammer, the transcription of the system of equations above in terms of sampled signals is:











f


(
n
)


=



K


(



y
h



(
n
)


-


y
s



(
n
)



)


p



(

1
-

α


(



v
h



(
n
)


-


v
s



(
n
)



)



)











v
h



(
n
)


=



v
h



(

n
-
1

)


-


1

2


f
e



M
b





(


f


(
n
)


+

f


(

n
-
1

)



)












v
s



(
n
)


=



c
0



f


(
n
)



+
W










y
h



(
n
)


=



y
h



(

n
-
1

)


+


1

2


f
e





(



v
h



(
n
)


+


v
h



(

n
-
1

)



)












y
s



(
n
)


=



y
s



(

n
-
1

)


+


1

2


f
e





(



v
s



(
n
)


+


v
s



(

n
-
1

)



)








(
41
)







Taking into account that the exponent (p) is not an integer, there is no explicit solution to this system, contrary to the acoustic case. By substituting in the first equation the expressions of yh(n) and ys(n) obtained from the two last equations, we obtain a <<fixed point>> type equation:

f(n)=(A−Bf(n))p(C′−Df(n))


Although there is no analytical solution, this type of equation is solved conventionally using iterative methods, the easiest being the so-called fixed point method. The regularity in the time domain of the strength f(n) enables to obtain very rapid convergence. Indeed, we observe that two or three iterations are sufficient.


The model is controlled, for the note played, by acting on the resonator (length, diameter, tension of the string). The dynamics are controlled by the initial speed of the hammer, obtained by fixing vh(n=0).


For exemplification purposes of realisation, FIG. 17 represents, in relation to time, at the top the speed of the string at the contact point (the eighth of its length), at the bottom the strength exerted by the hammer on the string, solutions of the previous system of equations, solved by the fixed point method.


Similarly, FIG. 18 represents the time trajectory of the strength in relation to the relative displacement of the hammer with respect to the string.


We have thus described in detail an application of the method according to the invention to the simulation of a string instrument. As for the wind instruments described previously and contrary to the methods known previously, the invention enables to dispense with away-waves and return-wave quantities.


Besides, it should be noted that the simulation model of a string instrument, illustrated in FIG. 16 is very similar to the wind instrument model illustrated on FIG. 1. Indeed, in both cases, they involve linear filters including delays, to realise non-linear interaction between two physical variables, so-called Kirchhoff variables, representative of the effect and of the cause of the phenomenon to be simulated.


It appears therefore that the invention may be generally extrapolated to the simulation of any instrument operating by non-linear coupling between an excitation source and a resonator.


For exemplification purposes, FIG. 19 represents the general diagram of the model of such a digital instrument comprising, as usual, a control element I, a modelization element II and an element creating the sound III.


As previously, the modelization element II includes a linear part 3 with a computing block (31) whose transfer function is, according to the instrument to be simulated, either the input impedance of the resonator Ze(ω) or the admittance Ye(ω) and one non-linear part 2 which implements a non-linear function 21.


The block 1 may be a gestural sensor supplying control parameters CL acting on the linear part 3 of the model, and control parameters CNL acting on the non-linear part 2.


According to the direction of the arrows indicated on the block 31 on FIG. 19, the linear part 3 receives from the non-linear part 2, from left to right, when the transfer function of the computing block 31 is the impedance, an effect signal E to produce a cause signal C which is transmitted to the non-linear part 2, the latter producing, from this cause signal C, a new effect signal E bound for the linear part 3.


Conversely, when the transfer function of the computing block 31 is the admittance, the linear part 3 receives from right to left, from the non-linear part 2, a cause signal C and produces an effect signal E which is transmitted to the non-linear part 2 to produce a new cause signal C bound for the linear part 3.


The non-linear part 2 is associated with exciters 23 transforming respectively the cause and effect signals to produce the other variables involved in the non-linear characteristic H.


The block 4 includes calculation means of the sound to be emitted from the cause C and effect E signals, which is transmitted to a digital/analogue converter 5.


The invention thus enables to simulate all sorts of instrument and is not limited, besides, to the field of music.


Indeed, the method according to the invention could be also applied to the simulation of other oscillating phenomena, thanks to an adaptation of certain differential equations and a selection of other non-linear characteristics and of control parameters taking into account the physical characteristics of the phenomena to be simulated.

Claims
  • 1. A digital simulation method of a non-linear interaction between an excitation source and a wave in a resonator, by means of digital signal calculation tools based on equations the solution of which corresponds to the physical event of a phenomenon to be simulated which can translated, at each time and at each point of the resonator, by a linear relation between two variables representative of the effect and of the cause of said phenomenon to be simulated comprising: transcribing the impedance or admittance equation directly into a digital model form enabling to realise a non-linear interaction between the two variables of the impedance or admittance relation,wherein said method is adapted for real-time sound synthesis of a musical instrument comprising, at least, one excitation source with non-linear characteristics and a linear resonator, the sound produced by the instrument resulting from a coupling, between the excitation source and the resonator, expressed at least by a linear impedance or admittance relation and a non-linear relation between two physical variables representative of the effect and of the cause of the sound produced, a method where the sound produced by the instrument is simulated, in real time, by modelization the physical phenomena governing the operation of the instrument, wherein, to realise said physical modelization, the impedance or admittance linear relation is expressed directly and digitally between two physical variables representative of the cause and of the effect of the phenomenon to be simulated and said impedance or admittance relation in digital form is associated with the non-linear relation between the same variables.
  • 2. A method according to claim 1, for simulating an oscillating phenomenon, wherein the digital model comprises, on the one hand at least one linear part (3), representing the input impedance or admittance of the resonator, and, on the other hand, one non-linear part (2) modelization the role of the excitation source (22) of the phenomenon to be simulated.
  • 3. A simulation method according to claim 1, for real time digital synthesis of an oscillating phenomenon, wherein, from a system of equations between at least two variables representative of the behaviour of a wave in the resonator, an expression of the input impedance or admittance of the resonator is established in the form of a linear filter including delays, without any decomposition into two-way waves, in order to realise at least one linear part (3) of the model.
  • 4. A method according to claim 3, wherein the linear part (3) of the model is coupled with one non-linear part (2) involving the evolution of the non-linearity as expressed between the two variables of the input impedance or admittance relation of the resonator.
  • 5. A method according to claim 4, wherein the linear part (3) of the digital simulation model of the impedance or admittance equation in based on to two elementary waveguides fulfilling a transfer function between the two variables of the impedance or admittance relation.
  • 6. A method according to claim 5, wherein the linear part (3) with two waveguides of the model is coupled with a loop connecting the output to the input of said linear part (3) and comprising a function (21) involving the non-linearity as expressed physically.
  • 7. A method according to claim 6, wherein the model is driven by at least two parameters representative of the non-linear physical interaction between the source and the resonator, by means of a loop connecting the output to the input of the linear part (3) and comprising a non-linear function (21) playing the part of an excitation source for the resonator.
  • 8. A method according to claim 1 for synthesis of the sound of an instrument with complex resonator, wherein the resonator is decomposed into a series of successive elements and wherein the impedance or admittance relations corresponding respectively to each element of the resonator are calculated and combined in order to obtain a global impedance corresponding to the geometry of the resonator.
  • 9. A method according to claim 1, wherein, for real-time synthesis of the sound produced by a wind instrument, the two variables of the impedance relation are the acoustic pressure (pe) and flow (ue) at the input of the resonator.
  • 10. A method according to claim 9, wherein, for an open-ended cylindrical resonator, the linear part (3) of the digital transcription model of the impedance equation is the sum of two elementary waveguides having as excitation source the flow (ue) at the input of the resonator, and fulfils the transfer function
  • 11. A method according to claim 10, wherein each of the two waveguides involves a filter having as a transfer function: −F=(ω)=−exp(−2ik(ω)L)and representing a two-way travel of a wave, with a sign change at the open end of the resonator, each waveguide corresponding to a term of the impedance equation.
  • 12. A method according to claim 11, wherein the model is driven by the length (L) of the resonator and at least two parameters (ζ, γ) representative of the non-linear physical interaction between the pressure (pe) and the flow (ue) at the input of the resonator, by means of a loop connecting the output to the input of the linear part (3) and comprising a nonlinear function (21) as an excitation source for the resonator.
  • 13. A method according to claim 10, wherein the non-linear function has the pressure and the displacement of the vibration formation member as input parameters, and is controlled by at least two parameters simulating a player playing.
  • 14. A method according to claim 13, wherein the playing parameters for controlling the non-linear function are: a parameter ζ characteristic of the mouthpiece and of the action of the player on the vibration formation member,a parameter γ representative of the pressure applied to the vibration formation member.
  • 15. A method according to claim 9, wherein, for real-time synthesis of the sound to be simulated, a formulation is realised in the time domain of the angular frequency response of the impedance of the resonator, by approximation of the losses represented by the filter by means of an approximated digital filter.
  • 16. A method according to claim 15, wherein, to express the angular frequency response of the impedance of the resonator, a one pole digital filter is used of the form:
  • 17. A method according to claim 16, wherein the coefficients bo and a1 are obtained by solving the equation system: |F(ω1)2|2(1+a12−2a1 cos( ω1))=b02 |F(ω2)2|2(1+a12−2a1 cos( ω2))=b02 with
  • 18. A method according to claim 17, for simulating a cylindrical resonator instrument, from a physical modelization governed by the system of equations:
  • 19. A method according to claim 18, for more realistic simulation of the produced sound, wherein, by neglecting the radiation, the external pressure is expressed as the time derivation of the outgoing flow, in the form:
  • 20. A method according to claim 18 for simulating a multimode reed instrument, wherein the calculation of the acoustic pressure and of the flow at the mouthpiece is performed by sequential resolution of a system of equations wherein the displacement of the reed at each time(n) is in the form: x(n)=ba1pe(n−1)+ba2pe(n−2)+baD1pe(n−Da−1)+aa1x(n−1)+aa2x(n−2)+aaDx(n−Da)+aaD1x(n−Da−1)the coefficients aa1, aa2, aaD2, aaD1 being defined by:
  • 21. A method according to one claim 18, wherein that a model is prepared for a cylindrical resonator with terminal impedance from the basic model corresponding to a cylindrical resonator and being the sum of two waveguides involving each a filter having as a transfer function −F(ω)2=−exp(−2ik(ω)L), while replacing the expression exp (−2ik (ω)L) by the expression R(ω)exp(−2ik(ω)L), wherein
  • 22. A method according to claim 18, wherein, from the impedance model for cylindrical resonator instrument and the associated differential equations, other more complex impedance models are built for simulating oscillating phenomena produced by a resonator of any shape by combining impedance elements in parallel or in series and by using digital approximations for an explicit use of the physical variables involved in the production of said oscillating phenomena and a more flexible control of the result of the simulation.
  • 23. A method according to claim 22, wherein that, from the basic model of a cylindrical resonator wherein the angular frequency response of the displacement of the reed or of the lips is translated by a system of differential equations providing, at each time(n), the displacement x(n) the pressure pe(n) and the flow ue(n) at the input of the resonator, a model for a conical resonator is built wherein the equation of the pressure is in the form: pe(n)=bcoue(n)+bc1ue(n−1)+bc2ue(n−2)+bcDue(n−2D)+bcD1ue(n−2D−1)+ac1pe(n−1)+ac2pe(n−2)+acDpe(n−2D)+acD1pe(n−2D−1)  (33)wherein the coefficients bc0, bc1, bc2, bcD and bcD1 are defined by:
  • 24. A method according to claim 23 wherein that, from the basic model for a cylindrical resonator, a model for a short resonator having a length l is built, by an approximation of the impedance according to the expression:
  • 25. A method according to claim 24 for simulating a wind instrument, wherein the mouthpiece or the bill is modelled by a Helmholtz resonator comprising a hemispheric cavity coupled with a short cylindrical pipe and a main resonator with a conical pipe, the input impedance of the resonator assembly which may be expressed as:
  • 26. A method according to claim 18, wherein that, from the basic model of a cylindrical resonator wherein the angular frequency response of the displacement of the reed or of the lips is translated by a system of differential equations providing, at each time(n), the displacement x(n) the pressure pe(n) and the flow ue(n) at the input of the resonator, a model for a conical resonator is built wherein the equation of the pressure is in the form: pe(n)=bcoue(n)+bc1ue(n−1)+bc2ue(n−2)+bcDue(n−2D)+bcD1u1(n−2D−1)+ac1pe(n−1)+ac2pe(n−2)+acDpe(n−2D)+acD1pe(n−2D−1)  (33)wherein the coefficients bc0, bc1, bc2, bcD and bcD1 are defined by:
  • 27. A method according to claim 18 wherein that, from the basic model for a cylindrical resonator, a model for a short resonator having a length l is built, by an approximation of the impedance according to the expression:
  • 28. A method according to claim 1, for the simulation of an oscillating phenomenon wherein both physical variables of the linear relation are the strength applied to one point of a mechanical system such as a string generating vibrations and the speed at this point, wherein that the admittance is expressed, at this point, in the form of a combination of the admittances of each part of the string, on both sides of said point, each mechanical admittance being obtained from the basic model describing the acoustic impedance of a cylindrical pipe resonator, by expressing the speed at the point considered of the string in relation to the strength applied to this point, where the filter F(ω) of the basic model may be expressed from a bending wave propagation model in a having a stiffness.
  • 29. A digital device to implement the method according to claim 1, for the simulation of a musical instrument generating a sound resulting from a coupling between a linear resonator and an excitation source with a non-linear characteristic, which can be expressed at least by a linear impedance or admittance relation and a non-linear relation between two variables representative of the effect and of the cause of the produced sound, said simulation device comprising a control element I including at least one gestural sensor 1 transforming the actions of a player into control parameters, a modelization element II including one non-linear part (2) associated with a linear part (3) and an element creating the synthesised sound III, wherein that the linear part (3) includes a computing block (31) driven by the length (L) of the resonator, having as an input parameter a signal representative of one of the variables, cause or effect, computed by the nonlinear part (2), and the transfer function of which is the input impedance or admittance of the resonator, in that the non-linear part (2) implements a nonlinear function (21) driven by at least two control parameters and having as input parameters a signal representative of the other variable, cause or effect, computed by the linear part (3) and a signal modelization the role of the excitation source, the linear part (3) being thus coupled with the non-linear part (2) in a closed loop, and in that the element creating the sound III computes a sound signal from signals representative of the cause and of the effect of the sound to be simulated, emitted respectively by the linear part (3) and the non-linear part (2).
Priority Claims (1)
Number Date Country Kind
02 13682 Oct 2002 FR national
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/FR03/03264 10/31/2003 WO 00 5/2/2005
Publishing Document Publishing Date Country Kind
WO2004/042696 5/21/2004 WO A
US Referenced Citations (19)
Number Name Date Kind
3878748 Spence Apr 1975 A
4985690 Eguchi et al. Jan 1991 A
5119427 Hersh et al. Jun 1992 A
5144096 Kunimoto Sep 1992 A
5157216 Chafe Oct 1992 A
5266734 Komano et al. Nov 1993 A
5272275 Kunimoto Dec 1993 A
5332862 Kakishita et al. Jul 1994 A
5340942 Kunimoto Aug 1994 A
5359146 Funaki et al. Oct 1994 A
5459280 Masuda et al. Oct 1995 A
5466884 Van Duyne et al. Nov 1995 A
5703313 Pierce et al. Dec 1997 A
5748513 Van Duyne May 1998 A
5824927 Tonon Oct 1998 A
6752018 Goldmeer et al. Jun 2004 B2
6766288 Smith Jul 2004 B1
6906532 Slates Jun 2005 B2
20060201312 Zinato Sep 2006 A1
Related Publications (1)
Number Date Country
20060065108 A1 Mar 2006 US