The present invention relates to technology for processing audio signals.
Time stretching technology for expanding/compressing (expanding or compressing) audio signals while maintaining the pitch and sound quality (for example, phonemes) has been proposed in the prior art. For example, Japanese Laid-Open Patent Application No. 2006-17900 (Patent Document 1) discloses technology to expand/compress audio signals on a time axis by means of decimation or interpolation, using a processing frame length that corresponds to the pitch of the audio signal as the unit.
However, for example, if transient sections such as a glissando, in which the acoustic characteristics fluctuate unsteadily, are expanded and compressed on the time axis in the same manner as for steady sections in which the acoustic characteristics are steadily maintained, the listener could perceive sound that creates an unnatural impression and that deviates from the sound before its expansion or compression. An audio processing method in accordance with some embodiments including; extracting feature quantities from a first audio signal for each of a plurality of periods, and generating a second audio signal by time axis expanding/compressing on a time axis either a section of the first audio signal in which the feature quantity is steadily maintained for a period time, or a section of the first audio signal in which a fluctuation of the feature quantity is repeated and excluding from the time axis expanding/compressing a section in which a fluctuation of the feature quantity is not similar to that of other sections.
An audio processing method in accordance with some embodiments including: extracting a feature quantity of a first audio signal for each of a plurality of first periods, calculating a similarity index of the feature quantity between each of the plurality of first periods, executing a time correspondence process for making the plurality of first periods correspond to a plurality of second periods within a target period after expansion/compression of the first audio signal, in accordance with the similarity index and a transition cost for transitioning between each of the plurality of first periods, and generating a second audio signal over the target period from a result of making the plurality of first periods correspond to each of the plurality of second periods.
An audio processing device in accordance with some embodiments including: an electronic controller having a feature extraction unit and a signal generating unit. The feature extraction unit is configured to extract a feature quantity of a first audio signal for each of a plurality of periods. The signal generating unit is configured to generate a second audio signal by time axis expanding/compressing on a time axis either a section of the first audio signal in which the feature quantity is steadily maintained for a period time, or a section of the first audio signal in which a fluctuation of the feature quantity is repeated and excluding from the time axis expanding/compressing a section in which a fluctuation of the feature quantity is not similar to that of other sections of the first audio signal.
An audio processing device in accordance with some embodiments including: an electronic controller having a feature extraction unit, an index calculation unit, an analysis processing unit and a signal generating unit. The feature extraction unit is configured to extract a feature quantity of a first audio signal for each of a plurality of first periods. The index calculation unit is configured to calculate a similarity index of the feature quantity between each of the plurality of first periods. The analysis processing unit is configured to make the plurality of first periods correspond to a plurality of second periods within a target period after expansion/compression of the first audio signal in accordance with the similarity index and a transition cost for transitioning between each of the plurality of first periods. The signal generating unit is configured to generate a second audio signal over the target period from a result obtained upon the analysis processing unit making the plurality of first periods correspond to the plurality of second periods.
Selected embodiments will now be explained with reference to the drawings. It will be apparent to those skilled in the position detection field and the substrate field from this disclosure that the following descriptions of the embodiments are provided for illustration only and not for the purpose of limiting the invention as defined by the appended claims and their equivalents.
A program that is executed by the electronic controller 12 and various data that are used by the electronic controller 12 are stored in the storage device 14. The storage device 14 is any computer storage device or any computer readable medium with the sole exception of a transitory, propagating signal. The storage device 14 can include nonvolatile memory and volatile memory. For example, the storage device 14 can includes a ROM (Read Only Memory) device, a RAM (Random Access Memory) device, a hard disk, a flash drive, etc. Thus, any known storage medium, such as a magnetic storage medium or a semiconductor storage medium, or a combination of a plurality of types of storage media can be freely employed as the storage device 14. An audio signal xA (example of a first audio signal) that represents various sounds such as musical sounds, voice, and the like are stored in the storage device 14 of the first embodiment. It is also possible, for example, to supply an audio signal xA to the audio processing device 100 from a reproduction device that reproduces the audio signal xA that is stored in a storage medium, such as an optical disc.
The electronic controller 12 is formed of one or more semiconductor chips that are mounted on a printed circuit board. The term “electronic controller” as used herein refers to hardware that executes software programs. The electronic controller 12 includes a processing circuit such as a CPU (Central Processing Unit) having at least one processor that comprehensively controls each element of the audio processing device 100. As is illustrated in
The input device 16 is a user operable input device that receives instructions from a user. For example, a plurality of operators or a touch panel can be suitably used as the input device 16. By appropriately operating the input device 16, the user can arbitrarily set the expansion/compression ratio α. The expansion/compression ratio α is a time ratio of the audio signal xB relative to the audio signal xA. That is, as illustrated in
As illustrated in
The feature extraction unit 22 extracts a feature quantity F relating to the acoustic characteristics of the audio signal xA. As illustrated in
The index calculation unit 24 calculates similarity indices Rn, m of the feature quantities F between each of the K periods UA of the audio signal xA. The index calculation unit 24 of the first embodiment generates a similarity matrix MR such as that illustrated in
The analysis processing unit 26 makes one of the K periods UA of the audio signal XA correspond to each of a plurality (Q) periods UB within a target period of
The signal generating unit 28 generates an audio signal xB over the target period from the result (indices Z1 to ZQ) of the analysis processing unit 26 making the period UA correspond to each of the Q periods UB. Briefly, the audio signal xB over the target period is generated by arranging the period UA specified by one arbitrary index Zq from among the K periods UA of the audio signal xA over the Q periods UB.
Specifically, the signal generating unit 28 generates the complex spectra XB1 to XBQ of the audio signal xB for each period UB from the complex spectra XA1 to XAK of each period UA of the audio signal xA, converts each of the plurality of complex spectra XB1 to XBQ into the time domain by an inverse Fourier transform and then interconnects them, thereby generating an audio signal xB. The complex spectrum XBq of the audio signal xB in one arbitrary period UB, for example, can be expressed by the following formula (1).
Formula 1
XBq=|XAZq|∠(arg XBq−1+Δϕq)
XB1=XAZ1
Δϕq=arg(XAZq)−arg(XAZq−1) (1)
That is, the complex spectrum XBq of the qth period UB of the audio signal xB is made up of the amplitude spectrum |XAZq| of the period UA of the audio signal xA specified by the index Zq and the phase spectrum obtained by adding the phase difference Δφq to the phase angle arg XBq−1 of the immediately preceding (q−1)th period UB. The phase difference Δφq is the difference between the phase angle arg (XAZq) for the period UA of the audio signal xA specified by the index Zq and the phase angle arg (XAZq−1) of the immediately preceding period UA. That is, the signal generating unit 28 of the first embodiment generates the complex spectrum XBq of the audio signal xB by using a phase vocoder technique. However, the method for generating an audio signal xB corresponding to the processing result by the analysis processing unit 26 is not limited to the example described above. For example, it is also possible to generate an audio signal xB by using audio processing technique such as PSOLA (Pitch Synchronous Overlap and Add), or the like.
The specific operation of the analysis processing unit 26 will now be described.
The analysis processing unit 26 calculates a basic cost Cn,q for each period UA Of the audio signal xA for each of the Q periods UB within the target period (S31). The basic cost Cn,q is calculated for each combination of each of the K periods UA and each of the Q periods UB. As illustrated in
As can be understood from formula (2), the allocation cost Ψq−1,n,m that is used for calculating the basic cost Cn,q that corresponds to the qth period UB and the nth period UA is the sum of the basic cost Cm,q−1 of the immediately preceding period UB, the similarity index Rn−1,m, and the transition cost Tn,m. The similarity index Rn−1,m is the distance of the feature quantity F between the (n−1)th period UA of the audio signal xA and an arbitrary (mth) period UA of the audio signal xA. Therefore, the allocation cost Ψq−1,n,m becomes a smaller numerical value and becomes more likely to be selected as the basic cost Cn,q, as the feature quantities F become more similar between the (n−1)th period UA and the mth period UA of the audio signal xA.
The transition cost Tn,m is the cost when transitioning from the nth period UA to an arbitrary (mth) period UA of the audio signal xA. Specifically, as shown in
If there is a jump in the audio signal xB to a period UA (mth) that is separated from the nth period UA of the audio signal xA on the time axis, then the reproduced audio signal xB creates an unnatural sound. Therefore, the analysis processing unit 26 sets the transition cost Tn,m for a transition from the nth period UA to a period UA that is ahead of time t1, which is earlier than the nth period UA by a threshold δ1 (n−δ1>m), to a numerical value τH. Similarly, the analysis processing unit 26 sets the transition cost Tn,m for a transition from the nth period UA to a period UA that is after time t2, which is later than the nth period UA by a threshold δ2 (n+δ2<m), to a numerical value τH. The numerical value τH is a sufficiently lame numerical value (for example, to τH=∞). Therefore, the allocation cost Ψq−1,n,m that corresponds to a transition from the nth period UA to a period ahead of time t1, or, the allocation cost Ψq−1,n,m that corresponds to a transition from the nth period to a period after time t2, is not selected as the basic cost Cn,q. On the other hand, the transition cost Tn,m for a transition from the nth period UA to a period between time t1, which is earlier than the nth period UA by a threshold δ1 and time t2, which is later than the nth period UA by a threshold δ2 (n−δ1≤m≤n+δ2), is set to a numerical value τL. The numerical value τL is a numerical value that is sufficiently less than the numerical value τH (for example, zero). That is, a transition within a prescribed range with respect to the nth period UA is permitted. The setting of the transition cost Tn,m illustrated above can be expressed by the following formula (3).
In addition to the calculation of the basic cost Cn,q illustrated above, the analysis processing unit 26 of the first embodiment calculates a candidate index In,q by using the following recurrence formula (4) (S32).
That is, the analysis processing unit 26 calculates a variable in that minimizes the allocation cost Ψq−1,n,m as a candidate index In,q of the qth period UB. Specifically, a variable m that corresponds to the minimum value of K allocation costs Ψq−1,n,1 to Ψq−1,n,K, calculated for the immediately preceding ((q−1)-th) period UB and corresponding to different periods UA, is adopted as the candidate index In,q of the period UB.
Then, as is expressed by the following formula (5), the analysis processing unit 26 sets an index ZQ at the end (qth) of the target period to the number K of the period UA that is positioned at the end of the audio signal xA, and, by tracking back the candidate index In,q (backtrack) toward the front of the time axis therefrom, sets an index Zq for each of the Q periods UB within the target period (S33).
When the time axis expansion/compression process is started, the feature extraction unit 22 extracts a feature quantity F for each period UA of the audio signal xA stored in the storage device 14 (S1). The index calculation unit 24 calculates similarity indices Rn,m of the feature quantities F extracted by the feature extraction unit 22 between each of the K periods UA of the audio signal xA (S2).
The analysis processing unit 26 makes the period UA correspond to each of the Q periods UB within the target period by using the time correspondence process S3 (S31-S33) described above with reference to
In addition, because the allocation cost Ψq−1,n,m of the first embodiment is calculated according to the transition cost Tn,m from the nth period UA to the mth period UA, a transition between two periods UA that widely diverge from each other on the time axis is restricted. From the above point of view as well, it is possible to realize the above-described effect of being able to expand/compress the audio signal xA while maintaining auditory naturalness. In the first embodiment in particular, the transition cost Tn,m is set to the numerical value τL (example of a first value) when the time difference between the nth period UA and the mth period UA is below a threshold value (n−δ1≤m≤n+δ2), and the transition cost Tn,m is set to the numerical value τH (example of a second value) when the time difference exceeds the threshold value (n−δ1>m, n+δ2<M). That is, the transition between two periods UA of the audio signal xA is constrained within a prescribed range. Therefore, it is to be noted that the above-described effect, that it is possible to expand/compress audio signals while maintaining auditory naturalness, is remarkable.
The second embodiment of the present invention will now be described. In each of the embodiments illustrated below, elements that have the same actions or functions as in the first embodiment have been the same reference symbols as those used to describe the first embodiment, and detailed descriptions thereof have been appropriately omitted.
In the second embodiment, as well as in the third embodiment, which is described below, a provisional relationship (hereinafter referred to as “provisional relationship”) is set between each of the periods UA of the audio signal xA and each of the periods UB of the audio signal xB, and an index Zq is set for each of the periods UB within the target period so as to not excessively deviate from the provisional relationship. As illustrated in
As can be understood from formula (6), under the provisional relationship, the Kth period UA of the audio signal xA corresponds to the qth period UB (q=Q=αK)(AQ=K). As can be understood from formula (6), it can also be said that the provisional relationship of the second embodiment is a correspondence relationship between each period UA and each period UB, when the audio signal xA is uniformly expanded/compressed over all the sections to generate the audio signal xB.
In the second embodiment, the basic cost Cn,q is set such that the relationship between each period UA and each period UB specified by the index Zq does not deviate widely from the provisional relationship of formula (6). Specifically, the analysis processing unit 26 sets the basic cost Cn,q by means of the following formula (7).
Formula 7
Cn,q=τH if |Aq−n|>δTH (7)
As can be understood from formula (7), of K basic costs Ct,q to CK,q that are calculated for the qth period UB, a basic cost Cn,q that is outside of a prescribed range (hereinafter referred to as “allowable range”) that corresponds to the period UB on the basis of the provisional relationship of formula (6), is set to the numerical value τH. As is illustrated in
As can be understood from the description above, in the second embodiment, the basic cost Cn,q is set such that a period UA within an allowable range defined by the provisional relationship of formula (6) corresponds to the qth period UB. Thus, it is possible to generate the audio signal xB within a range that does not deviate widely from the provisional relationship between each period UA and each period UB.
Specifically, the analysis processing unit 26 sets the basic cost Cn,q as in formula (8) below with respect to a period UB corresponding to a sound generation point tA of the audio signal XA under the provisional relationship (that is, the period UB in which Aq=tA).
As can be understood from formula (8) and formula (10), of K basic costs C1,q to CK,q that arc calculated for the qth period UB corresponding to the sound generation point tA under the provisional relationship, a basic cost Cn,q of one period UA in which the sound generation point tA exists (n=Aq) is set to the numerical value τL. On the other hand, the basic cost Cn,q of a period UA in which the sound generation point tA does not exist (n≠ Aq) is set to a numerical value τH, which sufficiently exceeds the numerical value τL. The numerical value τL is, for example, set to zero (τL=0), and the numerical value τH is, for example, set to infinity (τH=∞).
According to the configuration above, with respect to a period UB corresponding to the sound generation point tA wider the provisional relationship, only the number n of the period UA, which corresponds to said sound generation point tA from among K periods UA, is employed as the index Zq. Therefore, the time ratio between each sound generation point tA in the sound generation point tA is also equally maintained in the audio signal xB. That is, according to the second embodiment, there is the benefit that it is possible to generate an audibly natural audio signal xB, in which the rhythm of the generated sound remains equal to that of audio signal xA. It is also possible to apply the configuration of the second embodiment to the third embodiment.
Each of the embodiments exemplified above may be variously modified. Specific modified embodiments are illustrated below. Two or more embodiments arbitrarily selected from the following examples can be appropriately combined as long as they are not mutually contradictory.
(1) In each of the above-described embodiments, the analysis processing unit 26 sets the transition cost Tn,m with reference to the transition matrix MT illustrated in
(2) In each of the above-described embodiments, all of the sections of the audio signal xA are expanded/compressed with a common expansion/compression ratio α; however, it is also possible to change the expansion/compression ratio α in real-time at an arbitrary point in time of the audio signal xB. For example, a configuration is assumed in which the target period is divided into a plurality of unit sections on a time axis, and the time axis expansion/compression process of
(3) In each of the above-described embodiments, a linear relationship is exemplified (formula (6)) as the provisional relationship between each period UA of the audio signal xA and each period UB of the audio signal xB; however, the provisional relationship is not limited to the example described above. For example, it is also possible to employ a curvilinear relationship (for example, Aq=β×q2) as the provisional relationship between each period UA and each period UB (where β is a prescribed positive number).
(4) It is also possible to realize the audio processing device 100 with a server device that communicates with terminal devices (for example, mobile phones and smartphones) via a communication network such as a mobile communication network or the Internet. Specifically, the audio processing device 100 generates an audio signal xB by means of the time axis expansion/compression process illustrated in
(5) The audio processing device 100 illustrated in each of the above-described embodiments is realized cooperation between the electronic controller 12 and a program, as is illustrated in each of the above-described embodiments. A program according to a preferred aspect of the present invention causes a computer to function as a feature extraction unit 22 for extracting a feature quantity F of an audio signal xA for each of a plurality of periods UA; as an index calculation unit 24 for calculating a index Rn,m of the feature quantity F between each of the periods UA; as an analysis processing unit 26 for making one of the plurality of periods UA correspond to each of a plurality of periods UB within a target period such that an allocation cost Ψq−1,n,m corresponding to the similarity index Rn,m between each period UA and a transition cost Tn,m for transitioning between each period UA is minimized; and as a signal generating unit 28 for generating an audio signal xB over the target period from the result obtained when the analysis processing unit 26 causes the period UA to correspond to each of the plurality of periods UB.
The program exemplified above can be stored on a computer-readable storage medium and installed in a computer. The storage medium is, for example, a non-transitory (non-transitory) storage medium, a good example of which is an optical storage medium, such as a CD-ROM (optical disc), but may include well-known arbitrary storage medium formats, such as semiconductor storage media and magnetic storage media. Non-transitory storage media include any storage medium that excludes transitory propagating signals and does not exclude volatile storage media. Furthermore, it is also possible to deliver the program to a computer in the form of distribution via a communication network.
(6) For example, the following configurations may be understood from the embodiments exemplified above.
An audio processing method according to a preferred aspect (Aspect 1) of the present invention comprises extracting a feature quantity of a first audio signal for each of a plurality of periods; and generating a second audio signal by time axis expanding/compressing either a section of the first audio signal in which the feature quantity is steadily maintained for a period time, or a section of the first audio signal in which a fluctuation of the feature quantity is repeated and excluding from the time axis expanding/compressing a section in which a fluctuation of the feature quantity is not similar to that of other sections. Thus, for example, compared with a configuration in which the first audio signal is uniformly expanded/compressed over all the sections including both a steady section in which the feature quantity is steadily maintained and a transient section in which the feature quantity fluctuates unsteadily, it is possible to expand compress the audio signal while maintaining auditory naturalness.
An audio processing method according to a preferred aspect (Aspect 2) of the present invention comprises extracting a feature quantity of a first audio signal for each of a plurality of first periods; calculating a similarity index of the feature quantity between each of the plurality of first periods; executing a time correspondence process for making one of the plurality of first periods correspond to a plurality of second periods within a target period after expansion/compression of the first audio signal in accordance with the similarity index and a transition cost for transitioning between each of the plurality of first periods; and generating a second audio signal over the target period from a result obtained making the plurality of first periods correspond to the plurality of second periods. In the aspect described above, a first period is made to correspond to each second period within the target period such that the allocation cost corresponding to the similarity index between each first period is minimized. That is, a section of the first audio signal in which the feature quantity is steadily maintained on the time axis and or a section in which a fluctuation of the feature quantity is repeated (for example, one cycle of vibrato) is expanded/compressed on the time axis, and sections in which a fluctuation of the feature quantity does not resemble that of other sections (for example, a transient section in which the feature quantity fluctuates unsteadily, such as a glissando) are excluded as an object of expansion/compression. Thus, for example, compared to a configuration in which the first audio signal is uniformly expanded/compressed over all the sections including both a steady section in which the feature quantity is steadily maintained and a transient section in which the feature quantity fluctuates unsteadily, it is possible to expand/compress the audio signal while maintaining auditory naturalness. In addition, a first period is made to correspond to each second period within the target period, in in correspondence with the transition cost for transitioning between each of the first periods. Therefore, transitions between first periods that are widely divergent on the time axis is restricted. From the above point of view as well, it is possible to realize the above-described effect of being able to expand/compress the audio signal while maintaining auditory naturalness.
In a preferred example (Aspect 3) of Aspect 2, in the time correspondence process, one of the plurality of first periods is made to correspond to each of the plurality of second periods within the target period after expansion/compression of the first audio signal, such that an allocation cost, corresponding to the similarity index and to the transition cost for transitioning between each of the plurality of first periods is reduced. In the aspect described above, a first period is made to correspond to each second period within the target period such that the allocation cost is reduced. Therefore, transitions between first periods that are widely divergent on the time axis is restricted.
In a preferred example (Aspect 4) of Aspect 3, in the time correspondence process, one of the plurality of first periods is made to correspond to each of the plurality of second periods within the target period after expansion/compression of the first audio signal, such that the allocation cost is minimized. In the aspect described above, in the aspect described above, a first period is made to correspond to each second period within the target period such that the allocation cost is minimized. Therefore, the effect that transitions between first periods that are excessively divergent on the time axis is restricted is remarkable.
In a preferred example (Aspect 5) of any one of Aspects 2 to 4, in the time correspondence process, the transition cost between two first periods from among the plurality of first periods is set to a first value when a time difference between the two first periods is below a threshold value and is set to a second value that is greater the first value when the time difference exceeds the threshold value. In the aspect described above, because the transition cost is set to a first value when the time difference between two first periods is below a threshold value, and the transition cost is set to a second Value that is greater the first value when the time difference exceeds the threshold value, it is possible to constrain the transition between two first periods to within a prescribed range. Therefore, it is to be noted that the above-described effect, that it is possible to expand/compress audio signals while maintaining auditory naturalness, is remarkable.
It a preferred example (Aspect 6) of any one of Aspects 2 to 5, in the time correspondence process, a minimum value of an allocation cost immediately preceding one of the plurality of second period is sequentially calculated as a basic cost for each of the plurality of second periods, and one of the plurality of first periods is made to correspond to each of the plurality of second periods so as to minimize the allocation cost in accordance with the basic cost of the immediately preceding one of the plurality of second periods, the similarity index, and the transition cost.
In a preferred example (Aspect 7) of Aspect 6, in the time correspondence process, the basic cost is set for each of the plurality second periods such that one of the plurality of first period within a prescribed range corresponds to one of the plurality of second periods, based on a provisional relationship between each of the plurality of first periods and each of the plurality of second periods. In the aspect described above, the basic cost is set such that a first period corresponds to each of a plurality second periods within a prescribed range that corresponds to the second period, on the basis of a provisional relationship between each first period and each second period. Thus, it is possible to generate a second audio signal within a range that does not deviate widely from a provisional relationship between each first period and each second period.
In a preferred example (Aspect 8) of Aspect 6 or 7, in the time correspondence process, the basic cost is set such that one of the plurality of first periods corresponding to a sound generation point of the first audio signal and one of the plurality of second period corresponding to the sound generation point based on a provisional relationship between each of the plurality of first periods and each of the plurality of second periods correspond to each other. In the aspect described above, the basic cost is set such that a first period corresponding to a sound generation point of a first audio signal and a second period corresponding to the sound generation point on the basis of a provisional relationship between each first period and each second period correspond to each other. That is, a second audio signal that reflects the time ratio between each sound generation point in the first audio signal (for example, a second audio signal in which the time ratio between each sound generation point is kept the same as in the first audio signal) is generated. Therefore, there is the benefit that it is possible to generate an audibly natural second audio signal in which the rhythm of the sound remains equal to that of the first audio signal.
In a preferred example (aspect 9) of aspect 7 or 8, the provisional relationship is a linear relationship. In the aspect described above, there is the benefit that the provisional relationship is simplified.
In a preferred example (aspect 10) of aspect 7 or 8, the provisional relationship is a curvilinear relationship. In the aspect described above, it is possible to make the first period and the second period correspond to each other by means of various types of relationships that are not limited to a linear relationship.
In a preferred example (Aspect 11) of any one of Aspects 2 to 10, in the time correspondence process the transition cost to be applied to the time correspondence process is specified from a transition matrix whose elements are transition costs that correspond to combinations of the plurality of first periods.
In a preferred example (Aspect 12) of any one of Aspects 2 to 10, in the time correspondence process, a transition cost to be applied to the time correspondence process is specified from a transition vector that corresponds to one column of a transition matrix whose elements are transition costs that correspond to combinations of each of the plurality of first periods. In the aspect described above, because the transition cost is specified from a transition vector that corresponds to one column of a transition matrix, it is not necessary to store an entire transition matrix. Therefore, there is the benefit that the storage capacity required for the time correspondence process can be reduced.
An audio processing device according to a preferred aspect (Aspect 13) of the present invention comprises an electronic controller having a feature extraction unit and a signal generating unit. The feature extraction unit is configured to extract a feature quantity of a first audio signal for each of a plurality of periods. The signal generating unit is configured to generate a second audio signal by time axis expanding/compressing on a time axis either a section of the first audio signal in which the feature quantity is steadily maintained for a period time, or a section of the first audio signal in which a fluctuation of the feature quantity is repeated and excluding from the time axis expanding/compressing a section of the first audio signal in which a fluctuation of the feature quantity is not similar to that of other sections of the first audio signal. According to the configuration described above, for example, compared to a configuration in which the first audio signal is uniformly expanded/compressed over all the sections including both a steady section in which the feature quantity is steadily maintained and a transient section in which the feature quantity fluctuates unsteadily, it is possible to expand/compress the audio signal while maintaining auditory naturalness.
An audio processing device according to a preferred aspect (Aspect 14) of the present invention comprises an electronic controller having a feature extraction unit, an index calculation unit, an analysis processing unit and a signal generating unit. The feature extraction unit is configured to extract a feature quantity of a first audio signal for each of a plurality of first periods; an index calculation unit is configured to calculate a similarity index of the feature quantity between each of the plurality of first periods. The analysis processing unit is configured to make the plurality of first periods correspond to a plurality of second periods within a target period after expansion/compression of the first audio signal in accordance with the similarity index and a transition cost for transitioning between each of the plurality of first periods. The signal generating unit is configured to generate a second audio signal over the target period from a result obtained upon the analysis processing unit making the plurality of first periods correspond to the plurality of second periods. In the aspect described above, a first period is made to correspond to each second period within the target period such that the allocation cost corresponding to the similarity index between each first period is minimized. That is, a section of the first audio signal in which the feature quantity is steadily maintained on the time axis and a section in which the fluctuation of the feature quantity is repeated are expanded/compressed on the time axis, and sections in which a fluctuation of the feature quantity does not resemble that of other sections are excluded from the subject of expansion/compression. Thus, for example, compared to a configuration in which the first audio signal is evenly expanded/compressed over all the sections including both a steady section in which a feature quantity is steadily maintained and a transient section in which the feature quantity fluctuates unsteadily, it is possible to expand/compress the audio signal while maintaining auditory naturalness. In addition, a first period is made to correspond to each second period within the target period in relation to the transition cost for transitioning between each of the first periods. Therefore, transitions between first periods that are excessively divergent on the time axis are restricted. Consequently, it is possible to realize the above-described effect of being able to expand/compress the audio signal while maintaining auditory naturalness.
Number | Date | Country | Kind |
---|---|---|---|
2016-060425 | Mar 2016 | JP | national |
This application is a continuation application of International Application No. PCT/JP2017/011375, filed Mar. 22, 2017, which claims priority to Japanese Patent Application No. 2016-060425 filed in Japan on Mar. 24, 2016. The entire disclosures of International Application No. PCT/JP2017/011375 and Japanese Patent Application No. 2016-060425 are hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5083310 | Drory | Jan 1992 | A |
5375189 | Tsutsui | Dec 1994 | A |
5579434 | Kudo | Nov 1996 | A |
5873065 | Akagiri | Feb 1999 | A |
6915241 | Kohlmorgen | Jul 2005 | B2 |
7010491 | Kikumoto | Mar 2006 | B1 |
20040122662 | Crockett | Jun 2004 | A1 |
Number | Date | Country |
---|---|---|
S59-82608 | May 1984 | JP |
2000-276169 | Oct 2000 | JP |
2006-017900 | Jan 2006 | JP |
2008-209447 | Sep 2008 | JP |
2009-181044 | Aug 2009 | JP |
Entry |
---|
International Search Report in PCT/JP2017/011375 dated Jun. 13, 2017. |
Number | Date | Country | |
---|---|---|---|
20190019525 A1 | Jan 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2017/011375 | Mar 2017 | US |
Child | 16135818 | US |