The invention pertains to a method and apparatus for converting a movement of a magnetic object relatively to a magnetic field sensor into a signal directly perceptible to a human being. The invention also pertains to an instrument incorporating this apparatus for converting.
These known conversion methods comprise:
For example, the patent application JP 2004-08 55 98 describes a method of this kind. In this method, the amplitude of the magnetic field measured in one direction is used to set a parameter of an audible signal.
However, the use of amplitude alone does not make it easy to make several characteristics of the movement of the object simultaneously perceptible. For example, it is difficult to make the speed of movement of the object and a rotation of the object on itself or a variation of this speed simultaneously perceptible.
The invention seeks to overcome this drawback by proposing a method of conversion by which the characteristics of the magnetic field measured and hence the characteristics of the movement of the magnetic object can be made perceptible differently.
An object of the invention therefore is a method for converting of this kind comprising:
Processing a temporal succession of measurements makes it possible to simultaneously read several characteristics of the magnetic field modified by the movement of the object and therefore to make several characteristics of the movement of the object directly perceptible.
The embodiments of this method may comprise one or more of the following characteristics:
These embodiments of the method furthermore have the following advantages:
An object of the invention is also an apparatus for converting a movement of a magnetic object into a signal directly perceptible to a human being, this apparatus comprising:
Finally, an object of the invention is also an instrument comprising a magnetic object moveable by a human being and the above apparatus for converting movements of the magnetic object into a signal directly perceptible to a human being.
The invention will be understood more clearly from the following description, given purely by way of a non-exhaustive example and made with reference to the drawings of which:
a to 4c are graphs schematically illustrating the waveforms of an orthogonal base of Anderson functions in field mode,
In these figures, the same references are used to designate the same elements.
Here below in this description, the features and functions well known to those skilled in the art are not described in detail.
This instrument 2 comprises an object whose constituent material has magnetic properties (rare earths, ferrites, steels etc) 4 and that a user can move by hand. The object 4 is for example a bipolar permanent magnet.
Here, the object 4 can easily be moved by the user in a plane or in a three-dimensional space. The movement of the object 4 is activated by hand by the user. For example, the object 4 is shaped to be directly manipulated by hand.
In
The instrument 2 also comprises an apparatus 10 for converting movements of the object 4 into a signal directly audible to a human being. To this end, the apparatus 4 is equipped with:
The sensor 12 is situated in proximity to the object 4. The sensor 12 is deemed to be in the proximity to the object 4 when any movement of the object 4 results in a modification of the audible signal perceptible to the user.
Here, the shortest distance between the sensor 12 and the path 6 is denoted as D.
Preferably, the sensor 12 is a triaxial sensor, i.e. a sensor capable of measuring the components of the magnetic field along three orthogonal directions X, Y and Z. Here, the direction X is parallel to the path 6.
Typically, the computer 16 is a programmable computer capable of executing instructions recorded on an information-recording medium. To this end, the computer 16 is connected to a memory 20 comprising the instructions and the data needed to the execute the method of
For example, the generator 18 is a speaker or a set of speakers.
The working of the instrument 2 shall now be described with reference to the method of
To play the instrument 2, the user manually moves the object 4 to proximity with the sensor 2.
At a step 30, the sensor 12 measures the magnetic field modified by the movement of the object 4. In response, it generates three electrical signals respectively proportional to the components x, y and z of the magnetic field measured along the directions X, Y and Z.
Here below in this description, only the operations of processing the component x are described in detail. The operations for processing the other measured components are similar and derive from the explanations given for the component x.
At a step 32, the converter 14 samples the electrical signal 31 to produce a temporal succession of measurements of the magnetic field that is transmitted to the computer 16 as and when each sample is produced.
At the step 32, the computer 16 acquires a temporal succession S(tc) of measurements of the component x performed during a time window ΔT having a predetermined duration and ending at the current instant tc. The time window ΔT is represented in this
At a step 34, the computer builds several signals sj(t) from this temporal succession of measurements, each signal representing a characteristic i independent of the magnetic field measured. The term “independent” characteristic herein designates a characteristic that can vary independently of the other characteristics of the magnetic field measured. For example, the signals sj(t) are not correlated.
Here, in an operation 40, the computer 16 carries out an adaptive filtering of the S(tc) on a base of Anderson functions in order to build the signals si(t).
Such an adaptive filtering to a base of Anderson functions is for example described in the following document:
R. Blanpain, “Traitement en temps réel du signal issu d'une sonde magnétométrique pour la détection d'anomalie magnétique”, (“Real-time processing of the signal coming from a magnetometrical probe for the detection of magnetic anomalies”, I.N.P.G. thesis, October 1979).
The
where:
The projection of the sequence S(tc) on one of the functions ej(t) is done for example by computing the coefficient αi of correlation between the sequence S(tc) and the function ei(t). This computation is described in detail in the document referred to here above.
More specifically, each function ei(t) depends not only on the time t but also on the ratio V/D. Here, a set of j values of the ratio V/D is built preliminarily, j being greater than 1 and, preferably, greater than 2 or 10. The function ei(t) obtained for a particular value of the ratio V/D is denoted as eij(t), where i is the index of the Anderson function (i=0, 1 or 2) and j is the index of a particular value of the ratio V/D chosen from the preliminarily built set of values. The functions eij(t) are pre-recorded in the memory 20.
At the step 40, the sequence S(tc) is projected on each of the recorded functions eij(t). We thus obtain j coefficients αij of correlation between this sequence S(tc) and the corresponding function eij(t).
For each index j, an energy Ej(tc) is computed using the following relationship:
E
j(tc)=α0j2+α1j2+α2j2
Then, again at the step 40, the computer 16 selects the value m of the index j which maximizes the energy Ej(tc). This value m corresponds to a set of coefficients αim.
Then, at a step 42, a filtering is done to maximize the likelihood between the sequence S(tc) and the functions of the Anderson base. For example, at the step 42, the energy Em(tc) is compared with the energies Em(tc−1) and Em(tc−2) computed respectively during the two preceding iterations of the step 40.
New signals sj(t) are built only if the following two relationships are met:
E
m(tc)<Em(tc−1), and
E
m(tc−1)>Em(tc−2)
If the answer is yes, the computer builds the following signals sj(t):
s
0(t)−α0m*e0m(t),
s
1(t)=α1m*e1m(t), and
s
2(t)=α2m*e2m(t)
where the index m and the coefficients αim are those determined during the preceding iteration of the step 40, i.e. those determined from the sequence S(tc−1).
If new signals si(t) are built, then the computer 16 carries out a step 50 for setting different independent parameters of an audible signal played by the generator 18. For example, the parameters of the audible signal are chosen from the group comprising the volume, the timbre, the frequency of a sound and the duration of a sound.
For example, the value m is used to select a set of three different notes ni. The values of the coefficients αim are used to set the volume of a respective note ni. Thus, four characteristics of the magnetic field measured, and therefore of the movement of the object 4, are simultaneously presented to the user, namely the coefficients αim of correlation with the Anderson field functions and the ratio V/D.
The correlation between the component x and one of the functions ei(t) is maximum when the object 4 is moved at constant speed V along a rectilinear path parallel to the direction X with its bipolar field aligned on one of the three directions X, Y or Z. In this case, the component x is correlated solely with only one of the three functions ei(t). Thus, the signals si(t) enable the orientation of the object 4 and the path followed by the object 4 to be made simultaneously perceptible.
In another embodiment, the values of the coefficients αim are used to control the timbre of a respective note ni played. The coefficients αim can also be used to control the frequency of a note or the duration of a note.
It is also possible to use the waveforms of the signals sj(t). For example, these waveforms are directly used to generate a sound signal having the same temporal envelope.
At the end of the step 50, the method returns to the step 30. The procedure described here above is reiterated for a time window ΔT offset by one sample in time. The process temporal sequence is then the sequence S(tc+1).
What has been described in the particular case of the components x of the magnetic field measured can also be done in parallel, at the steps 52 and 54, respectively for the components y and z. Thus, the generator 18 also in parallel plays audible signals representing characteristics of the components y and z.
At the step 60, the computer 16 uses a group of 12 filters Fi to build the signals si(t), where i is the index of the filter.
Qi=fci/dfi
Here, the quality factors Qi are all equal. Such a choice enables an analogy to be drawn between the signals si(t) built and the theory of musical notes. According to this analogy, the response of each filter corresponds to a note and the response of the group of filters gives a chord. The width of the frequency interval between the smallest central frequency fcmin and the greatest central frequency fcmax covers the equivalent of one octave and the number of filters is the equivalent of a number of halftones. The frequency fcmin and the width dfmin are chosen so as to eliminate the continuous components of the magnetic field measured.
At a step 60, the computer 16 builds the responses sj(t) of each of the filters Fi excited at input by the sequence S(tc).
At the step 62, the signals si(t) are used to set the audible signal generated. For example, at an operation 80, the computer 16 compresses the response si(t) of the filter Fi so that its duration is equal to the sampling period. This operation 80 is performed for each of the responses si(t) of each of the filters of the group of filters.
Then, during an operation 82, the compressed response si(t) obtained successively in response to the sequences S(tc), S(tc+1), S(tc+2), . . . of a same filter Fi are placed end to end to form a continuous sound signal. The generator 18 simultaneously plays the different continuous sound signals thus obtained from the response of each filter Fi.
An example of such a continuous sound signal is illustrated in
For example, the generator 94 generates a visual signal. In this case, the signals si(t) are used to modify one parameter of this visual signal chosen from the group comprising the direction of a light beam, the color of a light beam or of a pixel of an image, the intensity of a light beam or of a pixel of the image.
For example, the signals si(t) are used to drive:
When the signals si(t) are the result of a projection on three orthogonal functions, the three coefficients αim are used to encode the color of a pixel or of a set of pixels. For example, each coefficient αim drives the level of one of the basic colors in a red, green blue (RGB) color encoding scheme.
Many other embodiments are possible. For example, the signals si(t) are obtained by adaptive filtering on a base of Anderson functions of types other than those described with reference to
It is also possible to use other bases of functions other than Anderson functions. For example, wavelets can be used so as to obtain a decomposition of the magnetic field measured on a base of wavelets.
The building of the signals si(t) can also be obtained by filtering this temporal succession of measurements by means of a low-pass filters or high-pass filters or bandwidth filters carefully arranged so as to produce signals that are “interesting” from a musical viewpoint.
As a variant, the magnetic field sensor may be a magnetic field vector sensor that is a mono-axial or biaxial or more than triaxial sensor or a magnetic field scalar sensor.
The object 4 is not necessarily a permanent magnet. It can also be an electromagnet or any other object, the material of which can modify the magnetic field measured by the sensor 12 when it is moved. Thus, the object 4 can be a simple magnetic core that deforms the lines of a pre-existing magnetic field. The pre-existing magnetic field can be created by an electromagnet fixed relatively to the sensor 12. For example, in the latter case, the magnetic core will be a ferromagnetic core.
The moving of the object 4 can be guided in one or more directions in order to restrict the freedom of movement of the object 4 in this direction or directions.
As a variant, the signals si(t) built can be signals correlated with each other.
The parameters of the directly perceptible signal can also be set using any function of the coefficients αim. For example, at least one of the parameters is set as a function of αim2.
The generator 18 may be other than a speaker. For example, the generator 18 has several electrically actuatable hammers and several different rods or cords facing each of these hammers. The computer 16 activates the movement of different hammers depending on the signals si(t) built. The musical instrument thus obtained is then close to a percussion instrument.
In another embodiment, the embodiments of
It is also possible to superimpose, on the directly perceptible signals described here above, other directly perceptible signals independent of the movements of the object 4. For example, these other signals represent magnetic signals naturally existing in the environment of the sensor 12 such as:
What has been described there above in the particular case where the magnetic object moves relatively to the sensor can also be applied to the reverse case where it is the sensor that moves relatively to the magnetic object.
Number | Date | Country | Kind |
---|---|---|---|
0954379 | Jun 2009 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2010/059089 | 6/25/2010 | WO | 00 | 2/27/2012 |