Method for generating a group of phase-coherent samples for a virtual instrument

By dynamically adjusting the playback speed of audio signals, the method achieves phase coherence and natural sound preservation, addressing the challenge of maintaining coherence between samples at different dynamic levels in virtual instruments, thus enhancing the sound quality and avoiding artifacts.

EP4047595B1Active Publication Date: 2024-08-14E-INSTR LAB GMBH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
EP2022153060
Authority / Receiving Office
EP · EP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-02-23
Filing Date
2022-01-24
Publication Date
2024-08-14
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

Existing virtual musical instruments face challenges in maintaining phase coherence between samples at different dynamic levels, leading to comb filter artifacts and a psychoacoustic impression of multiple instruments playing simultaneously, especially with spatial and multi-channel signals, which compromises the natural sound impression.

Method used

A method that modulates the playback speed of audio signals to maintain natural phase and overtone spectrum fluctuations, achieving phase coherence without resynthesis, suitable for multi-channel and spatial signals, and implementable on standard computer architectures for real-time processing.

Benefits of technology

This approach preserves natural phase and overtone dynamics while ensuring phase coherence, avoiding comb filter artifacts and maintaining a realistic sound impression, and can be efficiently implemented in digital audio processing software or sampler engines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IMGF0001
    Figure IMGF0001
  • Figure IMGF0002
    Figure IMGF0002
  • Figure IMGF0003
    Figure IMGF0003
Patent Text Reader

Abstract

The present invention relates to phase-coherent samples, their use in a virtual instrument (the virtual instrument), and the method for generating the samples. With sample-based virtual musical instruments, continuous transitions between samples at different dynamic levels of a real instrument present the problem that comb filter artifacts can occur due to phase incoherence between the samples. The objective is to avoid these disadvantages while still providing a solution for continuous transitions between samples at different dynamic levels of a real instrument.The problem is solved by comparing the phase response of a reference sample with the phase response of at least one other sample over a sample duration of at least 500ms of the reference sample to generate a phase relationship value and changing the speed and / or time base of the at least one other sample based on the phase relationship value, whereby the speed and / or time base is varied over a period of at least 500ms depending on the phase relationship value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present invention relates to phase-coherent samples, their use in a virtual instrument, the virtual instrument, and the method for generating the samples.

[0002] Playing multiple samples in a virtual instrument is known, for example, from US 9,805,702 B1.

[0003] US 2012 / 0243711 A1 discloses a mixer with multiple inputs to which different but static delays are applied to compensate for time lag differences between the sound generator and the different microphones. The delays are determined automatically. A single test tone is generated, based on which the time lag differences are determined and set once.

[0004] Furthermore, according to US 2017 / 0372711 A1, it is a (re)synthesis method that does not work with samples. It features a waveform memory in which compressed waveforms are stored. Several sound generation channels each read a waveform from the memory. If a pitch different from the stored waveform is set, the readout speed is adjusted accordingly, or appropriate intermediate values ​​are generated through linear interpolation. For this purpose, it uses a phase counter for the crossfade between several sound generation channels to control the dynamics of the crossfade.

[0005] JP 2001100756 A discloses the one-time calculation of an average static phase shift over a temporal subsection of the audio tracks on the basis of which a single-channel signal is shifted relative to a single-channel reference signal and thereby the reference signal is made on average more phase-coherent to the single-channel signal.

[0006] From WO 2018 / 055892 A1, it is also known to synthesize a percussion instrument tone. This involves using stored waveforms for different beats and combining them. The waveforms are each stored divided into different components, namely a component containing pitch envelope data, amplitude envelope data, and phase start values ​​of one or more sine components, and a residual component. The data of the sine components of the tones to be combined are calculated when creating the weighted mixed pitch envelope data, amplitude envelope data, and phase start values ​​to be used for generation in such a way that negative superposition is excluded. The sine components are then generated based on the weighted mixed pitch envelope data, amplitude envelope data, and phase start values ​​and mixed with the mixed residual components. This prevents a canceling superposition of the sine components.An extinguishing overlay of only the residual components is perceived as less negative by the listener.

[0007] DE 4008872 A1 discloses a storage and synthesis method in which sounds are composed of individual sound characteristics that are digitally stored in the form of sampled values ​​and that are read out in a controlled manner, subjected to a sampling rate conversion so that all sound characteristics are available at a uniform system sampling rate, and then combined. This allows the pitch to be varied during playback. The fact that certain commonalities prevail among the many sound patterns stored in the memory, which, for example, determine the characteristic sound of an instrument, is exploited to save storage space. The sound characteristics are then mixed in such a way that they exhibit a predefined phase relationship at the start of playback. US4779505A is also known from the prior art.

[0008] With sample-based virtual musical instruments, continuous transitions between samples at different dynamic levels of a real instrument pose the problem that phase incoherence between the samples can lead to comb filter artifacts, or even create the psychoacoustic impression of two instruments playing in unison. Such pathologies always have a negative impact on the realistic sound impression that is usually desired. Eliminating these artifacts requires dynamic alignment of the phases of the affected signals, which, however, presents a significant technological challenge when dealing with spatial and / or multi-channel recorded signals.

[0009] Furthermore, there are known solutions on the virtual musical instrument market to avoid the problems described above, which are only suitable for anechoic ("dry") and single-channel recorded signals. It is also known to achieve phase coherence for spatial and multi-channel signals at the expense of the original signal profile by modeling and completely resynthesizing the signals. In this process, natural phase fluctuations and time-dynamic changes in the overtone spectrum are lost, which significantly detracts from a natural, organic, and realistic sound impression.

[0010] The task is to avoid these disadvantages and yet provide a solution for continuous transitions between samples at different dynamic levels of a real instrument, without having to accept comb filter artifacts or the psychoacoustic impression of two instruments playing in unison, while preserving natural phase fluctuations and time-dynamic changes of the overtone spectrum.

[0011] The method presented here offers a solution to the aforementioned problems without resorting to resynthesis techniques: By simply modulating the playback speed of the original signals, natural phase and harmonic spectrum fluctuations are preserved. The procedure is therefore minimally invasive. Multi-channel and spatial signals can be easily converted into a phase-coherent form, while also preserving relative phase relationships, for example, between different simultaneous microphone positions in multi-microphone recordings. Furthermore, the method can also be implemented on a standard sequential computer architecture as a real-time processor with moderate computational effort, enabling use, for example, as a plug-in in digital audio processing software or as an onboard effect in a sampler engine.

[0012] The object is achieved in particular by a method for creating a group of phase-coherent audio sources, in particular audio signals or samples, comprising: Providing at least one input audio source each of two toner events, the same pitch of a real musical instrument, selecting an audio signal, in particular one of the input audio sources, as a reference sample, comparing the phase curve of the reference sample with the phase curve of at least one (further) of the input audio sources over in particular at least 500ms of audio source duration of the reference sample to generate a curve of a phase relationship value that varies over time, changing the speed and / or time base of the at least one (further) input audio source over a duration of the further input audio source of in particular at least 500ms on the basis of the curve of the phase relationship value, wherein the speed and / or time base is changed over the duration of in particular at least 500ms in a varying manner depending on the curve of the phase relationship value.

[0013] In this case, the course of the phase relationship value has in particular at least one change per 100 ms, in particular per 10 ms, and / or the change in the speed and / or time base is changed at least once per 100 ms, in particular per 10 ms.

[0014] The term time base refers in particular to the temporal assignment of the individual sample values ​​of the sample and / or audio source.

[0015] An input audio source is understood to mean, in particular, an audio source that is processed by the method and / or is used as a reference for the processing of at least one other audio source by the method.

[0016] The problem is also solved by a method for simultaneously playing at least one sample each of two toner events of at least 500ms length of the same pitch of a real instrument, wherein the samples are each played back in particular over at least 500ms and at least partially simultaneously in a phase-coherent manner.

[0017] The object is also achieved by a virtual instrument, in particular in a VST, AU or AAX plug-in, comprising at least one group of phase-coherent samples and / or configured to generate such, wherein the group comprises at least two samples each of a toner event of in particular at least 500ms in length of the same pitch of a real musical instrument.

[0018] The virtual instrument is designed to play at least two of the phase-coherent samples of the same pitch at least partially simultaneously and phase-coherently, whereby the samples have a length of at least 500ms in particular, in which they do not repeat.

[0019] In this case, at least one sample of the group preferably has a speed change that varies over its time course and / or at least one sample of the group is a processed sampling that has an RMS over its temporal length, in particular without attack and decay times, over the deviations normalized to the mean period in the interval from the mean period of the interval and / or from the period of a reference sample from the group of samples of less than 75% of the RMS of the unprocessed sample, also determined over the same period, from which the processed sampling was derived and / or of the sample corrected by means of a static time offset, from which the processed sampling was derived.

[0020] This applies in particular to a majority of the samples in the group and / or all samples in the group and / or all samples in the group apart from the reference sample.

[0021] The varying speed change has in particular at least one change per 100 ms, in particular per 10 ms.

[0022] The virtual instrument is in particular stored in the form of software and / or computer program on a data carrier and / or in the form of a computer that is set up as a virtual instrument and / or has such a computer program.

[0023] The object is also achieved by a system, in particular a hardware and software system, comprising at least one CPU and a memory, configured to carry out a method according to the invention.

[0024] The object is also achieved by a signal processor having at least two inputs for audio signals and at least two outputs for audio signals and configured to sample the signals applied to the audio inputs and to carry out the method according to the invention with the generated samples and to output the phase-coherent samples at the outputs.

[0025] The task is also solved by a group of phase-coherent samples of different dynamics of a pitch of a real musical instrument, whereby the samples have a length of at least 500ms in which they are phase-coherent and do not repeat.

[0026] In this case, at least one sample of the group preferably has a speed change that varies over its time course and / or at least one sample of the group is a processed sampling that has an RMS determined over its temporal length, in particular without attack and decay times, over the deviations normalized to the mean period in the interval from the mean period of the interval and / or from the period of a reference sample from the group of samples of less than 75% of the RMS also determined over the same period of the unprocessed sample from which the processed sampling originated and / or of the sample corrected by means of a static time offset from which the processed sampling originated.

[0027] This applies in particular to a majority of the samples in the group and / or all samples in the group and / or all samples in the group apart from the reference sample.

[0028] The varying speed change has in particular at least one change per 100ms, in particular per 10ms.

[0029] The problem is also solved by a group of samples comprising samples of different dynamics of a pitch of a real musical instrument, wherein the samples each have a length of at least 500ms, and wherein the group has information on the phase response of at least one, in particular of all samples, over the length of at least 500ms of the samples, in particular as a track, in particular a MIDI track, in particular an additional track containing the information on the phase response, in particular one for each sample. Such a group can be used to achieve phase-coherent playback in a simple manner by reducing the differences in the phase response of the samples during simultaneous playback by modulating the playback speed(s) of the sample(s).The phase difference curve can be easily obtained from the phase curve information. This offers the advantage, among other things, that the time offset can be selected relatively freely and / or smoothing and / or lookahead parameters can be configured by the user.

[0030] The problem is also solved by using a group of phase-coherent audio sources, in particular audio signals or samples, of at least two different dynamics of a pitch of a real musical instrument, wherein the audio sources have a length of at least 500 ms, in which they are phase-coherent and do not repeat, for the phase-coherent and at least partially simultaneous reproduction of the audio sources of a pitch with at least two different dynamics. The problem is also solved by using a group of audio sources, in particular audio signals or samples, of at least two different dynamics of a pitch of a real musical instrument, wherein the audio sources have a length of at least 500 ms, in which they have information on the phase response, for the phase-coherent and at least partially simultaneous reproduction of the audio sources of a pitch with at least two different dynamics.This is done, in particular, by determining a progression of a phase relationship value, in particular determining a progression of the phase deviation, over the duration of the audio source for each of the dependent audio sources and using the determined progression to adjust the speed and / or time base of the respective dependent audio source. The phase relationship value changes, in particular, over the duration of the sample.

[0031] The special feature of the method according to the invention lies in particular in the realization of a dynamic adaptation by means of which a permanent phase coherence can be achieved even when the phase relationships between the input signals change over time and in which it is also possible to make numerous recordings of the same sound event phase-coherent.

[0032] The comparison of the phase response can generally be performed using a cross-correlator, for example. However, it is preferred to determine edges of the audio signals and to perform a phase response comparison based on the temporal position of the edges in the samples. For this purpose, for example, the signal's passages, in particular the fundamental frequency, through a specified level, in particular the zero crossings, can be determined, and the position of the zero crossings can be used as information about the temporal position of the edges. In particular, the adjustment is carried out in such a way that the offset of the edges, in particular the zero crossings, is reduced.

[0033] From the position of the edges of two input audio sources, in particular the reference sample and a dependent / further audio source, the course of a phase comparison value is determined, which in particular indicates the deviation of the position of the edges.

[0034] The course of a phase comparison value is in particular smoothed. This is done in particular by a low-pass filter whose cutoff frequency is set in particular such that no artifacts, in particular no glitches, arise when used to modulate the samples and play the samples simultaneously. In order to at least partially compensate for the time delay caused by the low-pass filter, a look ahead can be used when determining the course of the phase comparison value. This look ahead is set in particular after setting the low-pass filter and / or is set in such a way, in particular by increasing it, that / until no comb filter artifacts occur. The look ahead is preferably in the range of 1 to 50 ms, in particular above 5 ms and / or below 20 ms.This creates, in particular, the progression of a phase relationship value, also known as a control function, which is preferably used to modulate the playback speed and / or to change the speed and / or time base. Thus, it is preferable to use an average value for modulating the playback speed and / or to change the speed and / or time base, which takes into account the phase progression of the reference sample and the dependent sample being changed before, at, and after the time at which the change is made.

[0035] The smoothing level is adjusted, in particular, using a control to adjust the cutoff frequency of a low-pass filter applied to the control signal. A high cutoff frequency results in a low smoothing level, and vice versa. In general, increasing the smoothing level prevents artifacts ("glitches") caused by measurement errors or signal quality. However, the correspondingly increased response time also reduces the efficiency of the method, and comb filter effects caused by phase shifts may become audible. By appropriately setting the look-ahead parameter, an effective response of the circuit to sudden changes in the phase difference curve can be achieved even at high smoothing levels. However, it should be noted that with high look-ahead times and low smoothing, the circuit reacts prematurely and may therefore itself generate comb filter effects.The parameter is set to a real value between zero and one, whereby with the latter setting the entire buffer time (usually around 60ms) is used for look-ahead (i.e. the control signal is applied earlier by the buffer time or the signals to be controlled are delayed by the buffer time), whereas with the former setting (value of 0) no look-ahead takes place at all. The two parameters are preferably set by the user for each signal and by ear so that a suitable compromise between short response time and freedom from artifacts is achieved with regard to the desired result. Sound engineers are generally familiar with this approach, since many of the industry-standard effects devices are operated in a similar way.For example, in a dynamic compressor, the reaction time ("attack" and "release") and look-ahead time are adjusted by ear in such a way that a satisfactory compromise between dynamic reduction and freedom from artifacts is achieved.

[0036] Preferably, the value of the course of the phase relationship value at a point in time of the reference sample at least partially takes into account the phase course of the reference sample and / or the phase course of another of the audio sources, before, at and / or after the point in time of the reference sample. In this case, the time in the reference sample and in the further audio source is counted identically, in particular from their beginning and / or predetermined times. Such consideration is carried out in particular by a look-ahead filter and / or a low-pass filter and / or averaging. In particular, the consideration is carried out over the entire course, with the exception of the beginning and end, in particular over 1 to 100 ms at the beginning and end of the further audio source and / or the reference sample.

[0037] An audio source can contain multiple tracks, for example, one or more stereo channels. Each audio source is, in particular, the recording of a real audio event, for example, using one microphone or a plurality of microphones, in particular at a common position. Static phase shifts due to different propagation times at different microphone positions, in particular of different audio sources, of a common audio event do not constitute a disadvantage. They are, in particular, preserved and not eliminated by the method.

[0038] An audio source is in particular the recording of a sound event, in particular at a position, generated by striking or stroking a string or playing a note on a wind instrument.

[0039] The dependent audio sources thus modified form a group of coherent audio sources, alone and / or together with the reference sample. One of the audio sources or an audio signal, particularly one with a constant frequency and in particular without phase shift, especially a sine signal, can be used as the reference sample. The latter enables time-shifted, phase-coherent playback without the need for phase correction adapted to the time shift, but eliminates the desired temporal fluctuations in the frequency of the samples or the phase-coherent audio sources.

[0040] To generate coherent audio sources, a group or plurality of audio sources are provided, which can be converted into coherent audio sources using the method according to the invention. These are stored, in particular, on a data carrier and / or are, in particular, part of the system and / or virtual instrument.

[0041] Advantageously, a first time period, in particular the duration of the transient process, with a length in particular in the range from 0 to 500 ms, in particular in the range from 100 to 400 ms, of the dependent audio sources is not changed in speed and / or time base and a second time period, in particular with a length of more than 500 ms and / or immediately following the first time period, of the or each of the dependent audio sources is changed in speed and / or time base.

[0042] The first and / or second time period is in particular a recording of a real sound event that is / is not repeated and / or does not repeat itself.

[0043] The group of coherent audio sources is in particular designed such that they are coherent when started simultaneously, in particular at least over a period of at least 500 ms, in which in particular there is no repetition and / or at least after a / the first time period.

[0044] The group of coherent audio sources is in particular designed to include or be accompanied by information indicating the temporal sequence in which the partially simultaneous playback is to be started so that the playback is coherent in the area of ​​simultaneous playback.

[0045] Instead of and / or in addition to maintaining a group of coherent audio sources, the group of coherent audio sources can also be generated as needed, particularly before (especially immediately before and / or up to one hour before) and / or during playback, depending on the settings and / or the time offset of the at least partially simultaneous playback. This allows for more flexibility with regard to the time offset of playback or its start.

[0046] The playback method, the use, the system, or the virtual instrument are, in particular, designed such that the volume of the samples, which are at least partially played back simultaneously, can be varied relative to one another, in particular varying over the duration of the playback. For this purpose, appropriate setting options are provided.

[0047] The temporal phase difference curve to the corresponding microphone signal of a dynamic stage to be adjusted is preferably determined by a phase correlator (not necessarily a cross correlator).

[0048] After a course of a phase comparison value has been generated, it is preferably processed and / or smoothed by suitable deconvolution, clipping, filtering and / or dynamic processors, for example by means of a low-pass filter with a corner or cut-off frequency in the range of 50 to 200 Hz, in particular from 60 to 150 Hz.

[0049] An unwrapping method detects the discontinuities and uses them to reconstruct the continuous phase difference curve. This can be done, for example, as described in "One-Dimensional Phase Unwrapping Problem" by Dr. Munther Gdeisat and Dr. Francis Lilley, e.g., at https: / / www.ljmu.ac.uk / - / media / files / ljmu / about-us / faculties-and-schools / fet / geri / onedimensionalphaseunwrapping_finalpdf.pdf. Alternatively or additionally, the sequence of detected zero crossings can be used, since, with error-free edge determination, a reversal of the phase difference function is immediately apparent from the presence of two consecutive pulses from one of the signals without an intervening pulse from the other signal. To avoid artifacts and discontinuities caused by edge measurement errors, a well-known unwrapping method can be combined with this method.This makes the unfolding process more precise and less susceptible to interference, which in turn can in many cases enable less invasive smoothing and thus a somewhat shorter response time.

[0050] A clipper can be used to cut off signal peaks beyond a specified frequency interval. The lower interval limit of the clipper is preferably identical to the inverse of the buffer time used to delay the playback of the samples, while the upper limit is preferably fixed, for example, set to a value in the range of 10^(-7) to 10^(-9) Hz.

[0051] This preferentially generates the course of a phase relationship value, also known as a control function.

[0052] The course of a phase relationship value is fed, in particular, as a time parameter into delay elements, to whose input buses a dependent sample is applied. The modulated audio sources, phase-coherent with the source signal, can then be tapped at the outputs of the delay elements.

[0053] For multi-channel and / or multi-track samples, the progression of a phase relationship value can be determined for a single channel / track, for multiple channels / tracks separately, or using a metric that takes multiple channels / tracks into account. The metric can, for example, be an average.

[0054] Changing the time base can, for example, be done separately and / or differently for each channel / track of a dependent sample and / or jointly and / or equally for all channels / tracks of a dependent sample.

[0055] It is best if all audio sources and / or all dependent audio sources have the same number of tracks and / or channels. However, the method can also be applied if the number of tracks and / or channels differs.

[0056] It is advantageous for all audio sources and / or all dependent audio sources to have the same sampling rate. These audio sources are, in particular, analog or digital recordings of analog acoustic events.

[0057] Advantageously, all audio sources and / or all dependent audio sources have the same duration. In particular, the reference sample has at least the duration of the second-longest, and especially the longest, dependent audio sources.

[0058] With highly spatial signals, the phase relationships between the signals may not be correctly detected by the correlator, for example due to diffuse sound-induced distortion. For example, it may be preferable to record reference samples using a microphone positioned closer than all of the microphones of the dependent audio sources, particularly very close to the sound source, particularly at a maximum of 1 meter from the sound source. This reference sample is then preferably not part of the group of coherent audio sources.

[0059] The preferred audio sources are recordings of a sound event that is stationary to the microphone(s) used. This means that the musical instrument and microphones used to create the audio sources are preferably stationary.

[0060] On the one hand, it is advantageous to use a real-time reacting phase relationship determination module to determine the course of the phase deviation so that the short-term phase fluctuations and deviations characteristic of monophonic musical instrument samples can be quickly compensated.

[0061] The determination time for the time interval between two edges is preferably essentially determined by this time interval, since upon arrival of an edge, one must, so to speak, wait for the corresponding edge of the second signal. The total response time is therefore very well approximated by the absolute temporal phase difference of the given signals plus a value based on the smoothing, in particular its cutoff or threshold frequency, which is preferably in the range of 1 to 20 ms. Thus, the response time is preferably less than 100 ms, in particular less than 50 ms.

[0062] On the other hand, in order to avoid measurement- or signal-related artifacts (e.g. caused by missing fundamental tones (often in the low registers of low-pitched (tenor and bass) instruments, such as a cello or double bass), a suitable smoothing and / or filtering of the course of the phase deviation before use to change the dependent samples is advantageous, for example by means of a low-pass filter with a corner or cut-off frequency in the range of 50 to 200 Hz, in particular from 60 to 150 Hz.

[0063] Alternatively or additionally, to avoid measurement- or signal-related artifacts, especially in the case of (briefly) missing fundamental tones, the first harmonic of the fundamental tone can be used temporarily or permanently as a reference instead of the fundamental tone. However, due to phase cancellations, which in turn are caused by the fact that the first harmonic essentially contains no information regarding the direction of the corresponding edges in the fundamental, this can lead to further artifacts, in particular artificially induced fundamental tone dropouts, when the resulting phase-aligned samples are played back synchronously. This can, however, be easily remedied by a static polarity reversal of the processed reference signal.Polarity reversal (often referred to as "phase shift," which is not entirely accurate) is also a standard process implemented in commercially available mixing consoles and digital audio processing environments. Alternatively, the processed reference signal can also be shifted by half a period.

[0064] The determination of the course of a phase relationship value can be performed in various ways, for example, analog, digital, in real time, or in a time-delayed manner. To determine the course of a phase relationship value, the fundamental tone of the reference sample and / or the audio sources is preferably first isolated using a steep-edged bandpass filter.

[0065] To determine the phase shift between the reference sample and dependent audio sources, the sinusoidal fundamental waveforms are preferably processed by a comparator, resulting in a square wave signal that can then be differentiated. This creates a sequence of Dirac pulses that are located precisely at the zero crossings of the samples and are positively or negatively signed depending on the direction of the zero crossing. However, both positively and negatively signed edges can also be considered to determine the phase shift. This doubles the resolution of the phase difference determination and can thus lead to shorter response times, for example, within half a signal period.

[0066] Preferably, the time interval between zero crossings of the reference sample and each dependent audio source is determined and / or used. The resulting step function, after unwrapping, displays the phase difference curve between the two samples.

[0067] To compensate for measurement errors and signal dropouts, as well as to avoid artifacts caused by excessively large jumps, the curve of a phase comparison value is advantageously filtered and / or smoothed. The result is ultimately preferably used as the curve of a phase relationship value.

[0068] Preferably, the course of a phase relationship value is passed as a control function to the time parameter of a delay element.

[0069] Since the modification is non-linear processing, it is preferably carried out by oversampling the sampling rate of the reference sample at least four times, in particular at least eight times, to avoid aliasing artifacts. For this purpose, the reference sample is provided with additional artificially generated values, in particular amplitude and phase values. This method is used particularly and frequently in commercially available digital emulations of analog signal shapers (such as distortion or overdrive effects) or dynamic processors (such as compressors). Advantageously, after the adaptation according to the invention, each of the adapted audio sources is band-limited again to the original sampling rate or Nyquist frequency, in particular by means of a bandpass filter, and / or sampled at the sampling rate of the digital medium used.

[0070] To illustrate an inventive solution, the following example is given: The middle C of a flute was recorded consecutively at the dynamic levels piano, mezzoforte, and forte, each simultaneously using three stereo microphone pairs in the three positions near, medium, and far. Thus, there are a total of six channels. The left channel of the "near" microphone pair of the mezzoforte dynamic level is selected as the reference sample. The two remaining dependent samples of the piano and forte dynamic levels are now to be adjusted to the phase response of the mezzoforte level. The corresponding channel of the samples of the forte and piano dynamic levels, respectively, is then compared with the reference sample. Thus, the left channel of the "near" microphone position is correlated with the left "near" channel of the reference sample to generate the response of a phase relationship value for each of the dependent samples.Each phase relationship value generated by the correlator for each of the dependent samples now controls the time parameter of a delay element, which changes the speed of the respective dependent sample, specifically all six microphone channels. This is how the phase-coherent dependent samples are generated.

[0071] Figure 1shows schematically and non-restrictively the determination of a curve of a phase relationship value (u). In the figure on the left, the reference sample (q) and the dependent sample (s) are first fed to a steep-edged bandpass filter to isolate the fundamental tone. In order to determine the phase shift between the reference sample and the dependent sample, the sinusoidal fundamental tone curves are processed by a comparator, resulting in a square wave, which is then differentiated. All of this does not happen once, but multiple times, in particular continuously and / or at least every 100 ms, in particular at least every 10 ms, over any desired period of time. This creates a sequence of Dirac pulses that are located precisely at the zero crossings of the samples and are signed positively or negatively depending on the direction of the zero crossing.The subsequent comparator with negative feedback serves to eliminate the negatively signed pulses, which correspond to falling edges. The integrator in the upper section acts as a ramp generator and is restarted by each pulse. The signal at its output indicates the time elapsed since the last incoming edge. This signal is then applied to the input of a sample and hold element (s&h), which is controlled by the pulses from the lower circuit section. The output therefore always contains the time difference, the phase relationship value (u), between the edges of the two input signals of the overall circuit (over the duration of the process).

[0072] Figure 2shows schematically and non-limitingly a setup that simultaneously adjusts all microphone signals (s0 to s N-1 ) of a single dynamic stage, whose phase response is to be adjusted to the reference signal (q). The progression of the phase relationship value (u), which is determined as in Figure 1 shown, where one of the microphone signals (so up to s N-1 ) is used as signal (s), is first unfolded.

[0073] The signal is then low-pass filtered and clipped. The clipper, which cuts off signal peaks beyond a specified frequency interval, serves the purpose of filtering out peak artifacts. The lower interval limit of the clipper is identical to the inverse buffer time (T buf ), while the upper limit, in this example, is fixed at 10^8 ms.

[0074] After this continuous processing, the course of a phase relationship value, also known as the control function (u) (over the duration of the procedure) results.

[0075] The adjustable buffer time (T buf ) is a basic delay, in particular constant, in the range from 5 to 50 ms, for all microphone signals (q and s 0 to s N-1 ), which is required to enable negative delay times and is added to the control function for the dependent microphone signals.

[0076] The sum of the buffer time (T buf ) and the phase relationship value (u) is then fed to a plurality of delay elements (dly), each of which is fed with a dependent microphone signal (s 0 to s N-1 ). The delay elements always delay the output signals relative to the input signals, whereby the delay is not constant. As a result, phase-coherent signals ( q , s 0 to s N-1 ).

[0077] Figure 3shows schematically and non-restrictively an alternative latency-free implementation. The in the first implementation of the Figure 2 The required buffer time results in a corresponding latency of the overall circuit. For applications with strict real-time requirements, this can be circumvented by using playback modules (metonymously referred to as "tape" here) with modulatable playback speed, such as those available in many sampler environments, instead of delay elements.

[0078] To assess the improvement possible through the invention, the following metric is used: Given two signals 0, 1 (input audio signals or a section of the same length) with identical periodicity (number of zero crossings) and identical average period duration T (because they are signals of the same pitch). With t (0)< and t (1)< equal to the vectors of the zero crossing times of signals 0 and 1, with a suitable norm (∥·∥) d ‖ ⋅ ‖ t 0 t 1 : = ‖ t 1 − t 0 T ‖ a measure of the phase incoherence of the signals 0, 1 .

[0079] Here, the RMS norm is chosen, where RMS is normalized by the number of period runs for the purpose of dimensional invariance.

[0080] According to the usual procedure in signal processing, it is advisable to work with a windowed RMS norm, which can be mathematically interpreted as a combination of RMS and PEAK. The window size was an RMS (root mean square) window according to the Figures 4 to 11 The time periods shown on the horizontal axis in ms were chosen. The order of the rows corresponds to the order of the figures.

[0081] The ratio between measured phase coherence before and after processing by the method or the relative change in phase coherence can now be used as a measure of the quality of the phase alignment procedure.

[0082] Various sound events were then analyzed. For this purpose, a multi-microphoned sound source was recorded at three different stereo microphone positions and at another single-channel reference microphone position. This resulted in three stereo and one mono tracks. As an example, the left channel of a stereo microphone pair (Signal 1) was selected as the input audio signal to be processed, and the signal from the reference microphone was selected as the reference audio signal (Signal 0). The phase coherence, in terms of the discussed metric, was determined between the reference audio signal (Signal 0) and the input audio signal (Signal 1) or the processed input audio signal (Signal 1'). Furthermore, for comparison with the state of the art, the input audio signal (Signal 1) was processed using constant time shifting according to JP 2001100756 A (Signal 1"). d(0,1) d(0,1') d(0,1') / d(0,1) (d(0,1)- d(0,1') / d(0,1) d(0,1") d(0.1") / d(0.1) (d(0,1)- d(0,1") / d(0,1) CE | ff | 45 (a1) 0,2173 0,0608 28% 72% 0,4 184% -84% VL | f | 55 (g2) 0,4215 0,0545 13% 87% 0,235 56% 44% VL | f | 60 (c3) 0,3983 0,1926 48% 52% 0,264 66% 34% VL | f | 69 (a3) 0,2737 0,0712 26% 74% 0,2879 105% -5% VL | f | 72 (c4) 0,2524 0,1387 55% 45% 0,3141 124% -24% VL | f | 77 (f4 0,2953 0,1952 66% 34% 0,2721 92% 8% VL | f | 78 (f#4) 0,2993 0,143 48% 52% 0,2502 84% 16% VL | f | 84 (c5) 0,2465 0,1183 48% 52% 0,3471 141% -41%

[0083] A cello (CE) and a violin (VL) were used as sound sources. Different dynamic levels (f and ff) were tested at different pitches (specified in MIDI pitch level and musical notation in parentheses).

[0084] It can be seen that static correction sometimes results in improvement and sometimes in deterioration, which fluctuates considerably. The method according to the invention always achieves an improvement that exceeds the improvement compared to the prior art by at least 18 percentage points.

[0085] For processing, the sound engineer adjusted the parameters "smoothing level" and "look-ahead" as explained above by ear with regard to a subjectively optimal ratio between audible phase coherence (i.e., absence of comb filter effects) on the one hand and freedom from artifacts on the other hand, without considering any metric.

[0086] The Figures 4 to 11 The graphs show the RMS values ​​(RMS values ​​on the vertical axis) with a window of 500 period runs of the measurements underlying the table above, in the order of the rows in the table. Time is plotted on the horizontal axis in ms. It can be seen here that an improvement can be achieved over large portions of the signal duration. Signal A is signal 1, signal B is signal 1", and signal C is signal 1'.

Claims

1. A method for creating a group of phase-coherent audio sources (q, so to SN-1), in particular audio signals or samples, comprising: a) Providing at least one input audio source (q, so to SN-1), in particular audio signals or samples, a first and a second sound of the same pitch of a single real musical instrument, b) Selecting an audio source, especially one of the input audio sources of the first sound event, as a reference sample (q), c) Comparison of the phase curve of the reference sample (q) with the phase curve of at least one of the other input audio sources (so to SN-1) of the second sound event over a first audio source duration of the reference sample to generate a phase relationship information (u), d) Changing the velocity and / or time base of at least one additional input audio source (so to SN-1) over a second duration of said at least one additional input audio source based on the phase relationship information (u), characterized in that the phase relationship information is a course of a phase relationship value varying over time, and that the velocity and / or time base varies over the second duration depending on the course of the phase relationship value is changed.

2. The method of claim 1, wherein the first duration is equal to the second duration and / or the first duration is longer than the second duration.

3. A method according to any of the preceding claims, wherein the value of the phase relationship value at one point in time of the reference sample takes into account, at least in part, the phase history of the reference sample and / or the phase history of another of the audio sources, before, on and / or after the same time in the reference sample, wherein the time points are measured in particular relative to the start of the respective sound event.

4. A method according to any one of the preceding claims, wherein the method is carried out for several second sound events, in particular simultaneously, with a common first sound event and a common reference sample, and for every second sound event a phase relationship information is generated and each phase relationship information is used to change the speed of at least one in particular several, input audio source of the respective second sound event.

5. A method according to any one of the preceding claims, wherein steps (c) and (d) are carried out by means of at least one, in particular by means of at least exactly one, counter-coupled control loop, wherein in particular one measurement loop per second sound event is used to determine the phase relationship information and / or one control loop per additional input audio source is used to change the speed.

6. A method for simultaneously playing back at least one audio source, in particular an audio signal or sample, of two sound events, in particular of a length of at least 500ms, of the same pitch of the same real instrument, wherein the audio sources are played back at least partially simultaneously, in particular over at least 500ms, at least in phase, and are generated and / or are generated according to claim 1.

Citation Information

Patent Citations

  • Method for waveform editing

    JP2001100756A

  • Mixing apparatus

    US20120243711A1

  • Multifunctional audio signal generation apparatus

    US20170372711A1

  • Separate isolated and resonance samples for a virtual instrument

    US9805702B1

  • Sound source for electronic percussion instrument

    WO2018055892A1