Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
RHYTHM PROCESSING AND FREQUENCY TRACKING IN GRADIENT FREQUENCY NONLINEAR OSCILLATOR NETWORKS
Document Type and Number:
WIPO Patent Application WO/2011/152888
Kind Code:
A2
Abstract:
A method for mimicking the auditory system's response to rhythm of an input signal having a time varying structure comprising the steps of receiving a time varying input signal x(t) to a network of n nonlinear oscillators, each oscillator having a different natural frequency of oscillation and obeying a dynamical equation of the form(the mathematic formula should be inserted here) wherein ω represents the response frequency, r is the amplitude of the oscillator and Φ is the phase of the oscillator. Generating at least one frequency output from said network useful for describing said varying structure.

Inventors:
LARGE EDWARD W (US)
Application Number:
PCT/US2011/022993
Publication Date:
December 08, 2011
Filing Date:
January 28, 2011
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CIRCULAR LOGIC LLC (US)
UNIV FLORIDA ATLANTIC (US)
LARGE EDWARD W (US)
Foreign References:
US20070005348A12007-01-04
US20050283360A12005-12-22
US20050234366A12005-10-20
Attorney, Agent or Firm:
GITTEN, Howard, M. et al. (P.O.Box 55874Boston, MA, US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method for mimicking the auditory system's response to rhythm of an input signal having a time varying structure comprising the steps of:

receiving a time varying input signal x(t) to a network of m nonlinear oscillators, each oscillator having a different natural frequency of oscillation and obeying a dynamical equation of the form:

r = r a + l3i \z\2 + c + c x(t)—— -~

wherein ω represents the response frequency, r is the amplitude of the oscillator and φ is the phase of the oscillator; and

generating at least one frequency output from said network useful for describing said varying structure.

2. A method for mimicking the auditory system's response to rhythm of an input signal having a time varying structure comprising the steps of:

receiving a discrete time input signal sn at discrete times t„ to a network of m nonlinear oscillators, each oscillator having a different natural frequency of oscillation and obeying a dynamical equation of the form:

1 y/-2kn - W, where { n + " ^ -a ^ c^ + i >

wherein n indexes discrete input events, Γη+ί is an inter-onset time, sn is onset strength, β is a nonlinear dampening parameter, r is the amplitude of the oscillator, c corresponds to the strength of coupling to the external stimulus and φ is the phase of the oscillator, and ω is a resonant frequency; and

generating at least one frequency output from said network useful for describing said varying structure.

3. The method of claim 2, further comprising the steps of:

determining discrete times at which events are expected from an input stream by determining: where tx is expected event time, Tn-n is an inter-onset time, s„ is onset strength, β is a nonlinear dampening parameter, r is the amplitude of the osciilator, c corresponds to the strength of coupling to the external stimulus and φ is the phase of the oscillator; and

updating expected event time, tx, according to tx = tx + f/f when t = tx, where t is real time, and outputting musical beats when t = tx.

Description:
RHYTHM PROCESSING AND FREQUENCY TRACKING IN GRADIENT FREQUENCY NONLINEAR OSCILLATOR NETWORKS

Federally Sponsored Research or Development

[0001] The United States Government has rights in this invention pursuant to Contract No. FA9550-07-C0095 between Air Force Office of Scientific Research and Circular Logic, LLC and Contract No. FA9550-07-C-0017 between Air Force Office of Scientific Research and Circular Logic, LLC.

CROSS REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. provisional application no. 61/299,768 filed on January 29, 2010 in its entirety.

BACKGROUND OF THE INVENTION

[0003] This invention is directed to the perception and recognition of audio signal inputs and, more particularly, to a signal processing method and apparatus for providing a nonlinear frequency analysis of temporally structured signals in a manner which more closely mimics the operation of the human brain.

[0004] The use of an array of nonlinear oscillators to process input audio signal is known in the art from U.S. Patent No. 7,376,562 granted to Edward W. Large (Large).

[0005] It is generally known from Large to process signals using networks of nonlinear oscillators. Nonlinear resonance provides a wide variety of behaviors that are not observed in linear resonance (e.g. neural oscillations). Moreover, as in nature, oscillators can be connected into complex networks. Figure 1 shows a typical architecture used to process acoustic signals. It consists of a network 100 of layers of one-dimensional arrays of nonlinear oscillators, called gradient-frequency nonlinear oscillator networks (GFNNs). In Figure 1 , GFNNs are arranged into processing layers to simulate auditory processing by two different brain areas (102) at Layer 1 (the input layer) and (104) at Layer 2.

[0006] More specifically, as illustrated in F!G. 2, an exemplary nonlinear oscillator system is comprised of a network 402 of nonlinear oscillators 405i, 405 2 , 405 3 . . . 405 N . An input stimulus layer 401 can communicate an input signal to the network 402 through a set of the stimulus connections 403. In this regard, the input stimulus layer 401 can include one or more input channels 406i, 406 2 , 4Ο63 . . . 406 c . The input channels can include a single channel of multi-frequency input, two or more channels of multi-frequency input.

[0007] Assuming C input channels as shown in FiG. 2, then the stimulus on channel 406 c at time t is denoted x c (t), and the matrix of stimulus connections 403 may be analyzed as strength of a connection from an input channel 406 c to an oscillator 405 N , for a specific resonance, as known from Large. Notably, the connection matrix can be selected so that the strength of one or more of these stimulus

connections is equal to zero.

[00081 As known from Large, signal processing by networks of nonlinear oscillators can be performed to broadly mimic the brain's response. This is similar to signal processing by a bank of linear filters, but with the important difference that the processing units are nonlinear, rather than linear oscillators. In this section, this approach is explained by comparing it with linear time-frequency analysis.

[0009] A common signal processing operation is frequency decomposition of a complex input signal, for example by a Fourier transform. Often this operation is accomplished via a bank of linear bandpass filters processing an input signal, x(t). For example, a widely used model of the cochlea is a gammatone filter bank (Patterson, et a!., 992). For comparison with our model a generalization can be written as a differential equation i = z( + ίω) + x{t) (1 ) where the overdot denotes differentiation with respect to time (i.e., dz/dt), z is a complex-valued state variable, ω, is radian frequency (ω = 2nf, f in Hz), a <0 is a linear damping parameter. The term, x(f), denotes linear forcing by a time-varying external signal. Because z is a complex number at every time, f, it can be rewritten in polar coordinates revealing system behavior in terms of amplitude, r, and phase, φ. Resonance in a linear system means that the system oscillates at the frequency of stimulation, with amplitude and phase determined by system parameters. As stimulus frequency, ω 0 , approaches the oscillator frequency, ω, oscillator amplitude, r, increases, providing band-pass filtering behavior.

[0010] Recently, nonlinear models of the cochlea have been proposed to simulate the nonlinear responses of outer hair cells. It is important to note that outer hair cells are thought to be responsible for the cochlea's extreme sensitivity to soft sounds, excellent frequency selectivity and amplitude compression (e.g., Egulluz, Ospeck, Choe, Hudspeth, & Magnasco, 2000). Models of nonlinear resonance that explain these properties have been based on the Hopf normal form for nonlinear oscillation, and are generic. Normal form (truncated) models have the form z - ζ(α + ίω + + x(t) + h.o.t. (2)

[0011] Note the surface similarities between this form and the linear oscillator of Equation 1. Again ω is radian frequency, and a is still a linear damping parameter. However in this nonlinear formulation, a becomes a bifurcation parameter which can assume both positive and negative values, as well as a = 0. The value a = 0 is termed a bifurcation point, β < 0 is a nonlinear damping parameter, which prevents amplitude from blowing up when a > 0. Again, x(f) denotes linear forcing by an external signal. The term h.o.t. denotes higher-order terms of the nonlinear expansion that are truncated (i.e., ignored) in normal form models. Like linear oscillators, nonlinear oscillators come to resonate with the frequency of an auditory stimulus; consequently, they offer a sort of filtering behavior in that they respond maximally to stimuli near their own frequency. However, there are important differences in that nonlinear models address behaviors that linear ones do not, such as extreme sensitivity to weak signals, amplitude compression and high frequency selectivity. The compressive gammachirp filterbank exhibits similar nonlinear behaviors, to Equation 2, but is formulated within a signal processing framework (irino & Patterson, 2006).

[0012] Large taught expanding the higher order terms of Equation 2 to enable coupling among oscillators of different frequencies. This enables efficient computation of gradient frequency networks of nonlinear oscillators, representing an improvement to the technology. As known from applicant's copending Application No.

, the canonical model (Equation 3) is related to the normal form (Equation 2; see e.g., Hoppensteadt & Izhikevich, 1997), but it has properties beyond those of Hopf normal form models because the underlying, more realistic oscillator model is fully expanded, rather than truncated. The complete expansion of higher-order terms produces a model of the form z + c V(e, x(t))A(t, z) {3)

[0013] There are again surface similarities with the previous models. The parameters, ω, a and β 1 correspond to the parameters of the truncated model, β 2 is an additional amplitude compression parameter, and c represents strength of coupling to the external stimulus. Two frequency detuning parameters 5j and δ 2 are new in this formulation, and make oscillator frequency dependent upon amplitude. The parameter ε controls the amount of nonlinearity in the system. Most importantly, coupling to a stimulus is nonlinear and has a passive part, ^( e > and an active part, -4(e, i) f producing nonlinear resonances.

[0014] Equation 3 above is generally stated in terms of x(t) wherein x(t) is the input audio source signal. However, in the human brain, neural oscillators experience sound not only from the exterior environment, but signals input from other oscillators either across the array layer or between layers of array, which would include feedback as shown in Fig. 1a between oscillator layers, inputs from oscillator layers both above and below the subject oscillator, and the like. Equation 3 accounts for these different inputs, but for ease of explanation, utilizes a generic x(t).

10015] The Large method and system for the behavior of a network of nonlinear oscillator better mimics the complexity of the ear response to complex audio signals than the prior art linear models. However, it suffers from the disadvantage that it does not include a method for tracking changes in frequency of an input signal.

Moreover, digital implementations of this system require significant computation which may limit applications that require real-time operation.

SUMMARY OF THE INVENTION

[0016] A method by which to compute the response of a network of oscillators to an impulsive input signal, such as a sequence of onset impulses representing a musical rhythm, is provided. A method by which to track the changing frequency of an input signal, such as the changing tempo of a musical rhythm is provided. A method by which to compute the response of a network of oscillators, and to track the changing frequency, of a discrete time impulsive input signal is provided.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Other objects, features and advantages of the present invention will be apparent from the written description and the drawings in which:

[0018] FIG. 1 is a diagram illustrating the basic structure of a nonlinear neural network;

[0019] FIG. 1 a is a schematic representation of the analogous neuron oscillator response for a nonlinear oscillator;

[0020] FIG. 2 is a further diagram illustrating the basic structure of a nonlinear network and its relation to the input signal in accordance with the invention; [0021] FIGS. 3A-B are graphic representations of an impulsive input signal and a discrete time approximation of an impulsive input signal;

[0022] FIGS. 4A-C are graphical representations of the input and output of a nonlinear oscillator computed in discrete time, compared with the output of a nonlinear oscillator computed in continuous time, in accordance with the invention;

[0023] FiG. 5 is a graphical representation of oscillator output amplitude for five different oscillator frequencies in response to an impulsive input signal; and

[0024] FIG. 6A-D are a graphical representations of the input and output of a nonlinear oscillator computed in discrete time, compared with the output of a nonlinear oscillator computed in continuous time, in accordance with the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] The objective of this invention is to apply nonlinear signal processing to temporal human-computer interactions for computer music and music recognition. Rhythmic complexity and temporal expressivity are natural aspects of solo musical performance and human rhythmic interaction. However, current technological approaches cannot properly interpret human rhythm, and computers cannot

rhythmically coordinate with humans. The current state of the art in computer rhythm analysis limits musical creativity and can make musical communication with computers awkward and frustrating.

[0026] An advantage of the canonical model described above is that the state variable, z, is complex - possessing both amplitude and a phase. Previous entrainment models of rhythm utilized oniy phase dynamics, limiting system capabilities. With amplitude dynamics, it becomes possible to determine which oscillators are responding best to the input signal at any specific point in time.

Equation 3 can be rewritten in terms of amplitude and phase. The input stimulus, x{f), consists of impulses representing the onsets of musical events (e.g.

notes), as shown in Figure 3A. We also observe that the passive nonlinearity, p ( e > x ) does not change the nature of an impulsive input signal, so we neglect the passive nonlinearity in this derivation. We further note that the definition of the active

nonlinearity is = Therefore, we write:

+ ¾ |^ + e " ' ) + c x(t)

1 - φ j 2 ) ' " 1 er 2 - 2y/er cos φ + 1 (4) where r is the amplitude of the oscillator, and φ is the phase of the oscillator, and the parameters are defined above. Due to the impulsive nature of the stimulus, in implementation it is necessary to enforce the condition 0≤ r < 1/Va at each time step.

Figure 4 shows the response of this system to a purely impulsive input rhythm, presented as a continuous time series. The input pulses are shown Figure 4A (dotted lines, strength is divided by df). Figure 4B shows the phase, φ, of the oscillator (dotted lines) and Figure 4C shows the amplitude, r, of the oscillator (dotted lines).

[0027] Adaptation to smooth tempo change is accomplished via adaptation of a frequency parameter. In previous models of tempo tracking by adaptive oscillators, a single oscillator with adaptive period was used successfully, with certain limitations. The current method estimates frequency (inverse of period) directly, providing more stable behavior. It also enables every oscillator in the network to provide an estimate of how frequency should change. Estimates are weighted by amplitude, and combined to form a global estimate of how the input signal's frequency ω is changing. The entire network contributes to the estimate of tempo, providing greatly improved performance. sm ' <p

ώ =— k x(t)

2 — 2 βτ cos φ + 1 (5) Equations 4 and 5 provide a method for analysis of rhythm input to the system as a continuous time series, as is illustrated in Figures 3A, 4A and 6A. Figure 6 shows the response of this system to a purely impulsive input rhythm, presented as a continuous time series, having a different frequency than the oscillator. The input pulses are shown in Figure 6A (dotted lines, amplitude is divided by dt). Figure 6B shows the phase, φ, of the oscillator (dotted lines) and Figure 6C shows the amplitude, r, of the oscillator (dotted lines). Figure 6D shows the changing frequency, f = ω/2π > of the oscillator, illustrating how it comes to match the input frequency, f lnput = 1 Hz.

[0028] Utilizing a network of nonlinear oscillators which behave in accordance with Equations 4 and 5, a system which mimics the human response to rhythm is provided. As a result, utilizing these equations, the network of nonlinear oscillators may operate on any rhythmic input consisting of onset impulses, and track a changing frequency.

[0029] Because a rhythm is input to the system as a series of onset impulses, as shown in Figure 3A, and because these impulses can be approximated as a sequence of discrete events, as shown in Figure 3B, it is possible to compute the state of an oscillator at only those time points that correspond to discrete input events. This enables faster computation for impulsive input sequences, when a discrete approximation is appropriate. Formally, this means that we assume x(t) = s(t) S(t), where S(t) is the Dirac delta function. To arrive at this form, it is necessary to integrate the differential equations (4), solving for oscillator amplitude, r, phase, φ, as a function of time. The solutions are then used to compute oscillator amplitude and phase at the time of the next input impulse. The input is taken into account as part of the initial condition. A new initial condition is computed by adding the nonlinear coupling term to the initial condition using the input impulse, and the process iterates until the end of the input sequence.

When β 2 = 0, it is possible to find solutions for the amplitude equation. The specific form of the solution depends on the value of oscillator parameters. Here we show the case when a = 0 and βι < 0. For simplicity of explication, we assume that δι = <½ = 0. However, because the points of time of interest are those at which the input occurs, other embodiments include any discrete equation derived from Equation 4 that provides the solutions to Equation 4 at the times at which those events occur. This gives the finite difference equations:

?'n-H ^ , n . =¾ ~ ( r 4_ r cos <f>„ -r„ y t s 2

-2k n - 2ί ? where K " n ∞_ <»„+ι / , and

Wherein n denotes the n m input impulse, s n is the strength and t n is the time of the n' h event, and Γ η+ί is the time interval between t n and t n +i- The variables r n and <j> n represent the amplitude and phase, respectively, of the oscillator just before the n th input impulse. Due to the way the nonlinear coupling grows, and the properties of finite difference equations, it is advantageous to normalize the maximum value to one of the coupling terms. This is accomplished by multiplying the coupling terms by 1 ~ f . This gives us the normalized discrete version:

Due to the impulsive nature of the stimulus, in implementation it is necessary to enforce the condition 0≤ r < 1/V at each time step In Equations 5 and 6.

Figure 4 shows the response of this system (Equation 6) to an impulsive input rhythm, presented as a discrete time series, and compares the result to the continuous time version. The discrete input pulses are shown Figure 4A (solid lines with circles on top). Figure 4B shows the phase, φ Πι of the oscillator at the discrete time points, n, of the computation (circles) and Figure 4C shows the amplitude, r n , of the oscillator at the discrete time points of the computation (circles), and also connects these with a solid line. Note that at the discrete time points of the computation, the result matches the result of the continuous time system (dotted lines).

Figure 5 shows the amplitude response of five different oscillators that have different frequency ratios with the input frequency (oscillator frequency : input frequency = 1 : 1 , 2: 1 , 3:1 , 1 :2 and 3:2). This shows that the discrete time system responds appropriately at higher order resonances, an important feature of nonlinear oscillator networks, as described in Large, and in copending application .

[0030] Once this transformation has been accomplished, the phase variable, <f>, represents relative phase, the phase of the oscillator when an input event occurs (cf. Pikovsky, Rosenblum, & Kurths, 2001). This equation can also be transformed to produce discrete times at which events are expected, tx, in the input stream modeling perceived musical beats. This is accomplished by observing that phase is related to time by the relation Φ = 2 /ί, and transforming the phase equation to tXn+ i = tX n + + i -

2nf f j - 2ver„ cos fi + 1 (7)

In implementation it is advantageous to update expected event time, tx, according to tx = tx + ΐ/fwhen t≥ tx, where t is real time. Thus expected event time (ix) keeps pace with real time, and allows the system to output perceived musical beats.

Frequency dynamics {Equation 5) can also be written as a discrete time equation.

The discrete time model is simple, but powerful. This method allows us to work directly with discrete time event based inputs, such as MIDI, and provides fast implementation for real-time operation.

Figure 6 shows the response of this system (Equations 6 and 8) to an impulsive input rhythm, presented as a discrete time series, and compares the result to the continuous time version. The discrete input pulses are shown Figure 6A (solid lines with circles on top). Figure 6B shows the phase, φ, of the oscillator at the discrete time points of the computation (circles) and Figure 6C shows the amplitude, r, of the oscillator at the discrete time points of the computation (circles), and also connects these (solid line). Figure 6D shows the changing frequency of the oscillator as , f = (ο/2π, at the discrete time points of the computation, and also connects these points (solid line). This illustrates that the frequency of the discrete time system comes to match the input frequency, f mpili = 1 Hz. Note that at the discrete time points of the computation, the result matches the result of the continuous time system (dotted lines).

[0031] By providing a network of nonlinear oscillators which behave as discussed above, a method and apparatus for more accurately provide an estimate of how frequency should change in response to the rhythm of the input signal is achieved. It is understood that modifications, variations and changes in detail can be made to the described preferred embodiments of the invention by those skilled in the art. Therefore, it is intended that all matters in the foregoing description and shown in the

accompanying drawings be interpreted as illustrative and not in a limiting sense. Thus, the scope of the invention is determined by the appended claims.