Signal processing method, signal processing device and program
By calculating and processing the delay of audio signals in online music courses, it solves the problems of delay and complex operation when transmitting high-quality sound in call applications, and realizes the synchronous transmission of high-quality sound, which is suitable for beginners.
Patent Information
- Application Number
- CN202080100307.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-11
- Filing Date
- 2020-06-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-06-12
AI Technical Summary
It is difficult for existing calling applications to suppress delays and deliver high-quality sound at the same time during online music courses. It is especially complex for beginners to operate and is not suitable for music learning.
By using the audio-specific conversation application and the general-purpose call application respectively on the sending side terminal and the receiving side terminal, the relative delay between the two is calculated, and the receiving side terminal performs delay processing on the received audio signal to make it consistent with the general purpose The application's output is synchronized to ensure high-quality sound delivery.
It realizes the use of popular call applications to transmit high-quality sound, simplifies operations, and is suitable for the needs of online music courses.
Smart Images

Figure CN115462058B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a signal processing method, a signal processing device and a program.
[0002] This application claims priority based on U.S. patent application No. 63 / 022,591 filed on May 11, 2020, the contents of which are incorporated herein by reference. Background Art
[0003] There is a need to connect remote parties via the Internet to conduct online music lessons and teleconferences. It is conceivable to use existing applications (hereinafter referred to as call applications) that provide online call services such as "Skype" (registered trademark) to link images and sounds to conduct online music lessons.
[0004] In the case of communication based on sound, such as online music lessons, it is required to suppress delays and transmit particularly high-quality sound. On the other hand, for images, it is sufficient to synchronize sound and images, and high-definition image quality is not required. For example, Patent Document 1 discloses a technology for suppressing delays and expanding the number of participants in a music session. Patent Document 2 discloses a technology for achieving high-quality and real-time online performances. Patent Document 3 discloses a technology for synchronizing multiple images.
[0005] Patent Document 1: Japanese Patent Application Publication No. 2015-138040
[0006] Patent Document 2: U.S. Patent No. 10182093
[0007] Patent Document 3: Japanese Patent Application Publication No. 2008-193561 Summary of the invention
[0008] However, the internal specifications of existing call applications are usually not disclosed and are kept in a black box state. Therefore, even if one wishes to use the techniques disclosed in Patent Documents 1 to 3 for existing call applications, it is usually difficult.
[0009] Since there are already multiple call applications on the market, it is also conceivable to select an application suitable for music courses. Universal call applications such as "Skype" (registered trademark) are widely popular, and most people are accustomed to the operation of the universal call applications as described above, so the introduction is relatively smooth. However, for the universal call applications as described above, the transmission status of sound and image changes according to the condition of the frequency band, and it is not an application that necessarily transmits high-quality sound. In contrast, there is a conversation application dedicated to audio that can transmit each other's performances with high-quality sound while suppressing transmission delays as much as possible. However, it is specifically used for audio transmission and is rarely used for normal calls, so the average person is not accustomed to the operation of the application, and it is difficult to introduce. In addition, since there is only audio and no image, it is not suitable for lessons.
[0010] That is, in the existing call application and conversation application, there is no technology that can easily be introduced and transmit high-quality sound for beginners who want to start music learning from now on. Therefore, there is a problem that it is difficult to use for online music lessons.
[0011] The present invention has been made in view of the above-mentioned situation, and its object is to provide a signal processing method, a signal processing device, and a program that can transmit high-quality voice using a generally popular call application.
[0012] In order to solve the above-mentioned problems, a signal processing method of the present invention is a signal processing method for a first sound signal and a second sound signal picked up from the same sound source, in which a first receiving unit receives the first sound signal transmitted via a first transmission path, a second receiving unit receives the second sound signal transmitted via a second transmission path having a delay time greater than that of the first transmission path, a delay amount calculating unit calculates a transmission delay amount which is a relative delay amount between the first sound signal and the second sound signal, and a delay amount adding unit delays the first sound signal based on the transmission delay amount and outputs the delayed first sound signal.
[0013] In addition, a signal processing device of the present invention is a signal processing device that performs signal processing of a first sound signal and a second sound signal picked up from the same sound source, and the signal processing device includes: a first receiving unit that receives the first sound signal transmitted via a first transmission path; a second receiving unit that receives the second sound signal transmitted via a second transmission path having a delay time greater than that of the first transmission path; a delay amount calculating unit that calculates a transmission delay amount that is a relative delay amount between the first sound signal and the second sound signal; and a delay amount adding unit that delays the first sound signal based on the transmission delay amount and outputs the delayed first sound signal.
[0014] In addition, the program of the present invention is for causing a computer of a signal processing device that performs signal processing of a first sound signal and a second sound signal picked up from the same sound source to execute the following steps: a first receiving step of receiving the first sound signal transmitted via a first transmission path; a second receiving step of receiving the second sound signal transmitted via a second transmission path having a longer delay time involved in transmission than the first transmission path; a delay amount calculating step of calculating a transmission delay amount that is a relative delay amount between the first sound signal and the second sound signal; and a delay amount adding step of delaying the first sound signal based on the transmission delay amount and outputting the delayed first sound signal.
[0015] Effects of the Invention
[0016] As described above, according to the present invention, high-quality voice can be transmitted using a generally popular call application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a block diagram showing a configuration example of the transmission system 1 according to the first embodiment.
[0018] Figure 2 It is a diagram for explaining the processing performed by the control unit 23 according to the first embodiment.
[0019] Figure 3 It is a sequence diagram showing the processing flow of the transmission system 1 according to the first embodiment.
[0020] Figure 4 It is a block diagram showing a configuration example of a transmission system 1A according to the second embodiment.
[0021] Figure 5 It is a sequence diagram showing the flow of processing in the transmission system 1A according to the second embodiment. DETAILED DESCRIPTION
[0022] Hereinafter, a transmission system according to an embodiment will be described with reference to the drawings.
[0023] (First embodiment)
[0024] Figure 1 1 is a block diagram showing a configuration example of a transmission system 1 according to the first embodiment. The transmission system 1 includes, for example, a transmission terminal 10, a reception terminal 20, a microphone 30, and a speaker 40. The transmission terminal 10 and the reception terminal 20 are connected in a communicable manner via a general communication line such as the Internet.
[0025] The transmission system 1 is applied, for example, when conducting music communication in a remote manner such as an online music course. In this case, in the transmission system 1, the transmission terminal 10 and the reception terminal 20 transmit sound signals to each other. In the following description, the case where the sound signal x(t) is transmitted from the transmission terminal 10 to the reception terminal 20 is described as an example. The same method can also be applied to the case where the sound signal is transmitted from the reception terminal 20 to the transmission terminal 10.
[0026] In this embodiment, two applications, a conversation application and a call application, are installed on both the transmitting terminal 10 and the receiving terminal 20. The conversation application (hereinafter referred to as a dedicated application) is a conversation application dedicated to audio. In the dedicated application, high-quality sound can be transmitted while minimizing the delay caused by transmission. The call application (hereinafter referred to as a general application) is a general call application such as Skype (registered trademark) that is generally widely used. However, in the general application, the transmission state changes according to the condition of the frequency band, and it is not an application that can transmit high-quality sound.
[0027] The transmitting terminal 10 uses both the conversation application and the call application to transmit the sound signal x(t) picked up from the same sound source to the receiving terminal 20. The receiving terminal 20 receives the sound signal x(t) transmitted from each of the conversation application and the call application.
[0028] Specifically, the receiving terminal 20 receives an acoustic signal x(t) transmitted via a dedicated application (hereinafter referred to as a received acoustic signal xN(t)) and an acoustic signal x(t) transmitted via a general-purpose application (hereinafter referred to as a received acoustic signal xS(t)).
[0029] Here, in the dedicated application, the transmission is performed via the transmission path ND. In the general application, the transmission is performed via the transmission path SD. In the transmission paths ND and SD, the transmission paths are usually different. Therefore, the reception side terminal 20 receives the reception acoustic signal xN(t) and the reception acoustic signal xS(t) at different timings.
[0030] Here, in the dedicated application, transmission with minimal delay can be performed, so the received acoustic signal xN(t) is received by the receiving terminal 20 with a smaller delay than the received acoustic signal xS(t). In this case, the received acoustic signal xN(t) is an example of the "first acoustic signal". The transmission path ND is an example of the "first transmission path". In addition, the received acoustic signal xS(t) is an example of the "second acoustic signal". The transmission path SD is an example of the "second transmission path".
[0031] The receiving terminal 20 synchronously outputs two acoustic signals received at different timings. The receiving terminal 20 calculates the relative transmission delay amount of the two acoustic signals. In the following description, the transmission delay amount is simply referred to as the delay amount.
[0032] The receiving terminal 20 uses the calculated delay amount τ to generate a received sound signal xN(t-τ) which is a sound signal on the side with a smaller delay, that is, a received sound signal xN(t) delayed by the delay amount τ. Furthermore, the receiving terminal 20 outputs the received sound signal xN(t-τ) to the speaker 40 instead of the received sound signal xS(t). Thus, high-quality sound can be output in accordance with the timing at which the general-purpose application outputs sound on the receiving side. Therefore, a call via the general-purpose application can be made with high-quality sound.
[0033] The transmission terminal 10 is a computer device on the transmission side, such as a smartphone, a personal computer, a mobile phone, a tablet terminal, a wearable terminal, etc. The transmission terminal 10 includes, for example, a communication unit 11 , a storage unit 12 , a control unit 13 , and an input / output unit 14 .
[0034] The communication unit 11 communicates with the receiving terminal 20. For example, the communication unit 11 transmits the acoustic signal x(t) to the receiving terminal 20 under the control of the dedicated application. Alternatively, the communication unit 11 transmits the acoustic signal x(t) to the receiving terminal 20 under the control of the general-purpose application.
[0035] The storage unit 12 is composed of a storage medium such as an HDD (Hard Disk Drive), a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), a RAM (Random Access read / write Memory), a ROM (Read Only Memory), or any combination of the above storage media. The storage unit 12 stores programs for executing various processes of the transmission side terminal 10 and temporary data used when performing various processes.
[0036] The control unit 13 realizes its functions by causing a processing unit (processing unit) such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit) included in the transmission-side terminal 10 as hardware to execute a program stored in the storage unit 12 .
[0037] The control unit 13 includes, for example, a dedicated application 130, a general application 131, and a device control unit 132. The dedicated application 130 is a functional unit that implements the functions of the general application, and transmits the sound signal x(t) obtained from the microphone 30 to a device of a predetermined communication target (here, the receiving terminal 20). The general application 131 is a functional unit that implements the functions of the general application, and transmits the sound signal x(t) obtained from the microphone 30 to a device of a predetermined communication target (here, the receiving terminal 20). The device control unit 132 controls the transmitting terminal 10 in an integrated manner. For example, the device control unit 132 outputs the sound signal x(t) input from the microphone 30 to the dedicated application 130 and the general application 131. In addition, the device control unit 132 outputs the control signal for establishing communication with the device of the communication target output from the dedicated application 130 and the general application 131 to the communication unit 11, thereby transmitting the control signal to the receiving terminal 20.
[0038] The input / output unit 14 is a functional unit that mediates input / output of signals with external equipment connected to the transmission-side terminal 10. Here, the input / output unit 14 receives an acoustic signal x(t) picked up by the microphone 30.
[0039] The receiving terminal 20 is a computer device on the receiver side, such as a smart phone, a personal computer, a mobile phone, a tablet terminal, a wearable terminal, etc. Here, the receiving terminal 20 has the same structure as the transmitting terminal 10. In the following description, only the functions of the receiving terminal 20 that are different from the transmitting terminal 10 are described, and the detailed description of the functions that are the same as those of the transmitting terminal 10 is sometimes omitted.
[0040] The receiving terminal 20 includes, for example, a communication unit 21, a storage unit 22, a control unit 23, and an input / output unit 24. The communication unit 21 communicates with the transmitting terminal 10. For example, the communication unit 21 receives a reception acoustic signal xN(t) from the transmitting terminal 10. The communication unit 21 receives a reception acoustic signal xS(t) from the transmitting terminal 10.
[0041] The storage unit 22 is composed of a storage medium such as HDD, flash memory, EEPROM, RAM, ROM, or any combination of the above storage media. The storage unit 22 stores programs for executing various processes of the receiving terminal 20 and temporary data used when performing various processes.
[0042] The control unit 23 realizes its functions by causing a processing unit (processing unit) such as a CPU or a GPU included in the reception terminal 20 as hardware to execute a program stored in the storage unit 22 .
[0043] The input / output unit 24 is a functional unit that mediates input / output of signals with external equipment connected to the receiving terminal 20. Here, the input / output unit 24 outputs the reception sound signal xN(t-τ) to the speaker 40.
[0044] The control unit 23 includes, for example, a delay estimation unit 230, a delay unit 231, a device control unit 232, a dedicated application 233, and a general application 234. The delay estimation unit 230 is an example of a "delay amount calculation unit". The delay unit 231 is an example of a "delay amount adding unit". The device control unit 232 controls the receiving terminal 20 in an integrated manner. The dedicated application 233 is a functional unit equivalent to the dedicated application 130. The general application 234 is a functional unit equivalent to the general application 131.
[0045] Figure 2 2 is a diagram for explaining the processing performed by the control unit 23 . The delay estimation unit 230 obtains the received acoustic signal xN(t) and the received acoustic signal xS(t) and calculates the relative delay amount τ of the two signals. The delay estimation unit 230 outputs the calculated delay amount τ to the delay unit 231 .
[0046] The delay unit 231 generates a received acoustic signal xN(t-τ) by delaying the received acoustic signal xN(t) using the delay amount τ acquired from the delay estimation unit 230 , and outputs the generated received acoustic signal xN(t-τ).
[0047] Here, a specific method for calculating the delay amount by the delay estimation unit 230 is described. The delay estimation unit 230, for example, buffers an amount of the received acoustic signal xN(t) corresponding to a constant time interval (for example, 1 second). That is, the delay estimation unit 230 sequentially stores the received acoustic signal xN(t) received by the communication unit 21, and temporarily stores the signal corresponding to the constant time interval in, for example, the storage unit 22.
[0048] In addition, the delay estimation unit 230, for example, buffers an amount of the received acoustic signal xS(t) corresponding to a constant time interval (for example, 1 second). That is, the delay estimation unit 230 sequentially stores the received acoustic signal xS(t) received by the communication unit 21, and temporarily stores the signal corresponding to the constant time interval in, for example, the storage unit 22.
[0049] The delay estimation unit 230 obtains the cross-correlation value between the received acoustic signal xN(t) and the received acoustic signal xS(t) in the buffered fixed time interval T. For example, the delay estimation unit 230 calculates the cross-correlation value R using the following formula (1). In formula (1), R(n) represents the cross-correlation value when the delay amount is set to n. T represents a fixed time interval. t represents time.
[0050] [Formula 1]
[0051]
[0052] For example, the delay estimation unit 230 calculates the cross-correlation value R(n) while changing n. The delay estimation unit 230 sets the delay amount n at which the absolute value |R(n)| of the calculated cross-correlation value R(n) becomes the maximum as the relative delay amount between the received acoustic signal xN(t) and the received acoustic signal xS(t).
[0053] In addition, the delay estimation unit 230 may set the weighted sum of the mutual correlation values R′(n) as the mutual correlation value R(n) as shown in the following formula (2). The mutual correlation value R′(n) here is a mutual correlation value obtained most recently (for example, in the previous time interval). In formula (2), R′(n) represents the most recent mutual correlation value and the mutual correlation value when the delay amount is set to n. T represents a certain time interval. t represents time.
[0054] [Formula 2]
[0055]
[0056] Here, the delay amount caused by the transmission path ND and the transmission path SD does not always take a constant value, and generally changes every moment depending on the condition of the frequency band, the degree of convolution of the transmitted and received signals, etc. Therefore, even if the received acoustic signal xN(t) is delayed using the calculated delay amount, the synchronization between the received acoustic signal xN(t) and the received acoustic signal xS(t) may gradually deviate.
[0057] As a countermeasure, the delay estimation unit 230 appropriately updates the delay amount. For example, the delay estimation unit 230 calculates the delay amount each time a predetermined calculation timing arrives. The delay estimation unit 230 stores the calculated delay amount in the storage unit 22 as, for example, delay amounts n(1), n(2), ..., n(N). The independent variable (1, 2, ..., N) of the delay amount n represents the calculation timing. The delay estimation unit 230 sets the delay amount n(k) obtained at each calculation timing k (k = 1 to N) as the delay amount at that moment. Thus, even if the delay amount involved in the transmission changes from moment to moment, it is possible to output a received acoustic signal xN(t) that follows the change.
[0058] In addition, the calculation timing can be set arbitrarily. For example, the delay amount can be calculated each time the received sound signal xN(t) or the received sound signal xS(t) is received. Alternatively, the calculation timing can be set for each time interval T (or 1 / 2T, 1 / 4T, etc.) for buffering, or the calculation timing can be set randomly.
[0059] In the above description, the case where the received acoustic signal xN(t) is delayed by the calculated delay amount each time the delay amount is calculated is described as an example, but the present invention is not limited thereto. For example, the delay unit 231 may determine whether to delay the received acoustic signal xN(t) by the calculated delay amount, i.e., whether to update the delay amount, based on the delay amount calculated by the delay estimating unit 230.
[0060] For example, the delay unit 231 obtains a reference value nf, which is a reference delay amount stored in advance in the storage unit 22 or the like. The delay unit 231 uses the obtained reference value nf and the calculated delay amount n(k) to determine whether to update the delay amount of the received acoustic signal xN(t) with the calculated delay amount n(k). For example, when the absolute value |nf-n(k)| of the difference between the reference value nf and the delay amount n(k) is greater than a predetermined threshold value (an allowable range described later), the delay unit 231 determines to update the delay amount. When the absolute value |nf-n(k)| is less than the predetermined threshold value, the delay unit 231 determines not to update the delay amount. Alternatively, when the absolute value |nf-n(k)| is less than the predetermined threshold value, the delay unit 231 may set the delay amount to the reference value nf.
[0061] In other words, the delay unit 231 determines to update the delay amount when the delay amount n(k) is greater than (reference value nf + allowable range) or less than (reference value nf - allowable range). The delay unit 231 determines not to update the delay amount when the delay amount n(k) is less than (reference value nf + allowable range) and greater than (reference value nf - allowable range). In this case, (reference value nf + allowable range) is an example of the "first threshold value". Thus, the delay amount can be updated only when the calculated delay amount n(k) exceeds the allowable range relative to the currently set value. Therefore, it is possible to suppress small changes in the delay amount and reduce the occurrence of acoustic discomfort and follow the actual changes in the delay amount.
[0062] In the above, the case where the reference value nf is a fixed value is used as an example for explanation. However, it is not limited to this. The reference value nf can also be set to a variable value. The delay estimation unit 230 can, for example, set the reference value nf to the average of the delay amounts n(1), n(2), ..., n(N) calculated at each calculation timing. The average can be a simple addition average up to the calculation timing 1 to N, or a weighted average. Alternatively, it can be the most recent moving average. Regarding the most recent moving average, when the most recent delay amount is n(N), it is the average of the delay amount n(N) and multiple most recent delay amounts (for example, the delay amounts n(N-1) and n(N-2) of the calculation timings N-1 and N-2).
[0063] In addition, when the delay unit 231 updates (changes) the delay amount, the change can be set to be smooth or to be changed in stages. For example, when the delay unit 231 updates the delay amount, first, the difference between the current delay amount and the updated delay amount is calculated as the change amount. Based on the calculated change amount, the delay unit 231 makes the change speed (change amount per unit time) not exceed a specified threshold. Thus, the delay unit 231 can gradually change the delay amount, and can suppress the occurrence of broken sound, skipped sound, etc.
[0064] In the above description, an example is described in which the delay estimating unit 230 uses the delay amount n when the absolute value |R(n)| of the cross-correlation value reaches a peak (maximum value) as the relative delay amount between the received acoustic signal xN(t) and the received acoustic signal xS(t).
[0065] However, when a sound signal close to silence is transmitted, the overall signal amplitude of the received sound signal becomes smaller than that of a sound signal that is not silent. In this case, it is considered that a cross-correlation value R(n) is taken such that no prominent peak appears and the same cross-correlation value is obtained regardless of the value of the delay amount n. In such a case, there is a high possibility that the value of n at which the cross-correlation value R(n) becomes the maximum is unreliable as the actual delay amount.
[0066] As a countermeasure, when the peak value of the cross-correlation value R(n) is less than a predetermined threshold, the delay estimation unit 230 determines not to adopt the corresponding delay amount n as the actual delay amount. That is, when the peak value of the cross-correlation value R(n) is greater than or equal to the predetermined threshold, the delay estimation unit 230 adopts the corresponding delay amount n as the actual delay amount. Thus, the delay estimation unit 230 can calculate the delay amount with high accuracy.
[0067] In addition, for some reason, signal transmission through either the transmission path SD or the transmission path ND may be cut off. In such a case, the delay amount calculated using the cross-correlation value R(n) cannot be trusted. As a countermeasure, the delay estimation unit 230 determines whether the transmission path is cut off, and does not calculate the cross-correlation value R(n) if it is determined that either transmission path is cut off.
[0068] For example, the delay estimation unit 230 calculates the power (maximum level) of each of the buffered received acoustic signal xS(t) and the buffered received acoustic signal xN(t). The power here is an index indicating the strength of the buffered signal. The power may be, for example, the sum of the absolute values of the signal amplitudes of the buffered signals, or the signal amplitude value of the signal having the maximum absolute value of the signal amplitude among the buffered signals.
[0069] When one of the calculated powers of the received acoustic signal xS(t) and the received acoustic signal xN(t) exceeds a predetermined threshold and the other is less than the threshold, the delay estimation unit 230 determines that the transmission path of the one less than the threshold is disconnected. The threshold here is an example of a "second threshold".
[0070] Specifically, when the power of the received acoustic signal xN(t) is less than a threshold value and the power of the received acoustic signal xS(t) is greater than or equal to the threshold value, the delay estimating unit 230 determines not to calculate the cross-correlation value R(n) and does not calculate the delay amount. Alternatively, when the power of the received acoustic signal xN(t) is greater than or equal to the threshold value and the power of the received acoustic signal xS(t) is less than the threshold value, the delay estimating unit 230 determines not to calculate the cross-correlation value R(n) and does not calculate the delay amount.
[0071] Furthermore, when the delay estimation unit 230 determines that the signal transmission through the transmission path SD or the transmission path ND has been disconnected, it can also play the sound signal of the one that has not been disconnected. Specifically, when the power of the received sound signal xN(t) is less than the threshold and the power of the received sound signal xS(t) is greater than the threshold, the delay estimation unit 230 outputs the received sound signal xS(t) to the speaker 40 via the input / output unit 24. In addition, when the power of the received sound signal xN(t) is greater than the threshold and the power of the received sound signal xS(t) is less than the threshold, the delay estimation unit 230 outputs the received sound signal xN(t-τ) to the speaker 40 via the input / output unit 24. The delay amount τ here is the currently set delay amount. Thus, the delay estimation unit 230 can continue to play the sound even when one of the transmission paths is disconnected.
[0072] Figure 3 1 is a sequence diagram showing the processing flow of the transmission system 1 according to the first embodiment. The transmission terminal 10 obtains the acoustic signal x(t) from the microphone 30 (step S10). The transmission terminal 10 transmits the acoustic signal x(t) to the reception terminal 20 via the dedicated application and the general application (step S11). The acoustic signal x(t) passing through the dedicated application reaches the reception terminal 20 as the received acoustic signal xN(t) via the transmission path ND. The acoustic signal x(t) passing through the general application reaches the reception terminal 20 as the received acoustic signal xS(t) via the transmission path SD.
[0073] The receiving terminal 20 receives the received acoustic signal xN(t) (step S12). The receiving terminal 20 receives the received acoustic signal xS(t) (step S13). The receiving terminal 20 estimates (calculates) the delay amount τ using the received acoustic signal xN(t) and the received acoustic signal xS(t) (step S14). The receiving terminal 20 delays the received acoustic signal xN(t) using the estimated delay amount τ (step S15), and outputs the delayed received acoustic signal xN(t-τ) to the speaker 40 (step S16).
[0074] As described above, the transmission method implemented by the transmission system 1 of the first embodiment is a transmission method for transmitting the received sound signal xN(t) and the received sound signal xS(t) picked up from the same sound source, that is, the sound signal x(t). The transmission method is an example of a "signal processing method". The received sound signal xN(t) is an example of a "first sound signal". The received sound signal xS(t) is an example of a "second sound signal".
[0075] In the transmission method implemented by the transmission system 1, the communication unit 21 receives the reception acoustic signal xN(t) transmitted via the transmission path ND. The communication unit 21 is an example of a "first receiving unit". The transmission path ND is an example of a "first transmission path". The communication unit 21 receives the reception acoustic signal xS(t) transmitted via the transmission path SD. The communication unit 21 is an example of a "second receiving unit". The transmission path SD is a transmission path in which the delay time involved in transmission is greater than that of the transmission path ND, and is an example of a "second transmission path". The delay estimation unit 230 calculates the relative delay amount τ between the reception acoustic signal xN(t) and the reception acoustic signal xS(t). The delay estimation unit 230 is an example of a "delay amount calculation unit". The delay amount τ is an example of a "transmission delay amount". The delay unit 231 delays the reception acoustic signal xN(t) based on the calculated delay amount τ, and outputs the delayed reception acoustic signal xN(t-τ).
[0076] As described above, in the transmission system 1 of the first embodiment, high-quality sound can be output at a timing synchronized with the sound output from the general-purpose application. Therefore, high-quality sound can be transmitted using a generally popular call application.
[0077] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, the delay estimation unit 230 calculates the delay amount τ each time the predetermined calculation timing k arrives. Each time the delay unit 231 calculates the delay amount τ, it delays the received acoustic signal xN(t) by the delay amount τ calculated this time. The delay unit 231 outputs the delayed received acoustic signal xN(t-τ). Thus, in the transmission method implemented by the transmission system 1 of the embodiment, even if the delay amount changes from moment to moment, it is possible to follow the change and continuously output the received acoustic signal xN(t) synchronized with the received acoustic signal xS(t).
[0078] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, the delay unit 231 determines whether the delay amount τ calculated this time is greater than a threshold value (first threshold value) each time the delay amount is calculated. When the delay amount τ calculated this time is greater than the threshold value, the delay unit 231 delays the received acoustic signal xN(t) by the delay amount τ calculated this time. The delay unit 231 outputs the delayed received acoustic signal xN(t-τ). In this way, when the delay amount changes greatly, it is possible to follow the change.
[0079] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, the delay unit 231 determines whether the delay amount τ calculated this time is greater than a threshold value (first threshold value) each time the delay amount τ is calculated. When the delay amount τ calculated this time is not greater than the threshold value, the delay unit 231 delays the received acoustic signal xN(t) by a predetermined delay amount (for example, a reference value nf). The delay unit 231 outputs the delayed received acoustic signal xN(t-nf). In this way, it is possible to suppress the change of a small delay amount and reduce the occurrence of acoustic discomfort.
[0080] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, the threshold value (first threshold value) is the average of the delay amount n(k) calculated each time the predetermined calculation timing k arrives. Thus, when the delay amount calculated this time has a large change compared to the average of the delay amount so far, the change is followed, and when the delay amount calculated this time is the same as the delay amount so far, the delay amount can be maintained as a small change. Therefore, the same effect as the above effect can be achieved.
[0081] In the transmission method implemented by the transmission system 1 of the first embodiment, the delay unit 231 delays the received sound signal xN(t) in stages based on the delay amount calculated last time and the delay amount calculated this time each time the delay amount τ is calculated. Thus, the delay amount can be gradually changed, and the occurrence of sound interruption, sound skipping, etc. can be suppressed.
[0082] In the transmission method implemented by the transmission system 1 of the first embodiment, the delay estimation unit 230 calculates the delay amount n at which the cross-correlation value R(n) between the time series change of the received acoustic signal xN(t) and the time series change of the received acoustic signal xS(t) received in the predetermined time interval T becomes the maximum. When the calculated delay amount is equal to or greater than the threshold value (second threshold value), the delay estimation unit 230 sets the calculated delay amount n as the delay amount τ. Thus, when the calculated delay amount cannot be trusted, such as when a silent state continues, the unreliable delay amount can be not applied.
[0083] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, when the calculated delay amount is greater than the threshold value (second threshold value), the delay estimation unit 230 sets the calculated delay amount n as the delay amount τ. When the calculated delay amount is less than the threshold value (second threshold value), the delay estimation unit 230 does not set the calculated delay amount n as the delay amount τ. Thus, in the case where the calculated delay amount cannot be trusted, such as when a silent state continues, the unreliable delay amount is not applied.
[0084] In addition, in the transmission method implemented by the transmission system 1 of the first embodiment, the delay estimation unit 230 does not calculate the delay amount when the maximum level of the received acoustic signal xN(t) received in the predetermined time interval T is greater than the threshold value (second threshold value) and the maximum level of the received acoustic signal xS(t) is less than the threshold value (second threshold value). The delay estimation unit 230 does not calculate the delay amount when the maximum level of the received acoustic signal xN(t) received in the predetermined time interval T is less than the threshold value (second threshold value) and the maximum level of the received acoustic signal xS(t) is greater than the threshold value (second threshold value). Thus, when the calculated delay amount cannot be relied upon, such as when one of the transmission paths is disconnected, the unreliable delay amount can be prevented from being applied.
[0085] (Second embodiment)
[0086] Next, a second embodiment will be described. This embodiment is different from the above-described embodiment in that a video signal y(t) is transmitted together with an audio signal x(t) in a general-purpose application.
[0087] Figure 4 1A is a block diagram showing a configuration example of a transmission system 1A according to the second embodiment. In the transmission system 1A, a camera 50 is connected to a transmission-side terminal 10. In the transmission system 1A, a display 60 is connected to a reception-side terminal 20.
[0088] The transmitting terminal 10 obtains the sound signal x(t) from the microphone 30 via the input / output unit 14. In addition, the transmitting terminal 10 obtains the video signal y(t) from the camera 50 via the input / output unit 14. The transmitting terminal 10 transmits the sound signal x(t) via the dedicated application to the receiving terminal 20 via the dedicated application 130. In addition, the transmitting terminal 10 transmits the sound signal x(t) and the video signal y(t) via the general application to the receiving terminal 20 via the general application 131.
[0089] The receiving terminal 20 receives the received sound signal xN(t) via the transmission path ND. In addition, the receiving terminal 20 receives the received sound signal xS(t) and the received video signal yS(t) via the transmission path SD. The received sound signal xN(t) is passed through the delay estimation unit 230, and the relative delay amount τ between the received sound signal xN(t) and the received sound signal xS(t) is calculated. The receiving terminal 20 outputs the received sound signal xN(t-τ) delayed by the calculated delay amount τ to the speaker 40 via the input / output unit 24. The receiving terminal 20 outputs the received video signal yS(t) to the display 60 via the input / output unit 24.
[0090] Figure 5 1 is a sequence diagram showing a processing flow of the transmission system 1A according to the second embodiment. The transmission terminal 10 obtains the acoustic signal x(t) from the microphone 30 and obtains the video signal y(t) from the camera 50 (step S20). The transmission terminal 10 transmits the acoustic signal x(t) to the reception terminal 20 via the dedicated application and transmits the acoustic signal x(t) and the video signal y(t) to the reception terminal 20 via the general application (step S21). The acoustic signal x(t) via the dedicated application reaches the reception terminal 20 as a received acoustic signal xN(t) via the transmission path ND. The acoustic signal x(t) and the video signal y(t) via the general application reach the reception terminal 20 as a received acoustic signal xS(t) and a received video signal yS(t) via the transmission path SD.
[0091] The receiving terminal 20 receives the received sound signal xN(t) (step S22). The receiving terminal 20 receives the received sound signal xS(t) and the received video signal yS(t) (step S23). The receiving terminal 20 estimates (calculates) the delay amount τ using the received received sound signal xN(t) and the received sound signal xS(t) (step S24). The receiving terminal 20 delays the received sound signal xN(t) using the estimated delay amount τ (step S25), outputs the delayed received sound signal xN(t-τ) to the speaker 40, and outputs the received video signal yS(t) to the display 60 (step S26).
[0092] As described above, the transmission method implemented by the transmission system 1A of the second embodiment is a method of transmitting the received acoustic signal xN(t) and the received acoustic signal xS(t) picked up from the same sound source, ie, the acoustic signal x(t).
[0093] In the transmission method implemented by the transmission system 1A, the communication unit 21 receives the received sound signal xN(t) transmitted via the transmission path ND. The communication unit 21 receives the received sound signal xS(t) and the received video signal yS(t) transmitted via the transmission path SD. The delay estimation unit 230 calculates the relative delay amount τ between the received sound signal xN(t) and the received sound signal xS(t). The delay unit 231 delays the received sound signal xN(t) based on the calculated delay amount τ, and outputs the delayed received sound signal xN(t-τ).
[0094] As described above, in the transmission system 1A of the second embodiment, high-quality audio can be played synchronously with the video transmitted by the general-purpose application. Therefore, high-quality audio can be transmitted using a generally popular communication application.
[0095] Industrial Applicability
[0096] According to the above-exemplified embodiments, it is possible to provide a delivery system that is applicable to online music lessons and the like.
[0097] Description of the label
[0098] 1…transmission system, 10…transmission side terminal, 11…communication unit, 12…storage unit, 13…control unit 13, 130…dedicated application, 131…general application, 20…receiving side terminal (signal processing device), 21…communication unit, 22…storage unit, 23…control unit, 230…delay estimation unit (delay amount calculation unit), 231…delay unit (delay imparting unit), 30…microphone, 40…speaker, 50…camera, 60…display.
Claims
1. A signal processing method, comprising: processing a first sound signal and a second sound signal picked up from the same sound source; In this signal processing method, The first receiving unit receives the first sound signal transmitted via a first transmission path capable of transmitting sound while suppressing a delay caused by transmission in the dedicated application. The second receiving unit receives the second sound signal transmitted via a second transmission path having a greater delay time than the first transmission path in transmission in the general application. The delay amount calculation unit calculates a relative delay amount between the first acoustic signal and the second acoustic signal, that is, a transmission delay amount. The delay amount adding unit delays the first acoustic signal based on the transmission delay amount, and outputs the delayed first acoustic signal.
2. A signal processing method, which is a signal processing method for a first sound signal and a second sound signal picked up from the same sound source, In this signal processing method, The first receiving unit receives the first sound signal transmitted via a first transmission path capable of transmitting sound while suppressing a delay caused by transmission in the dedicated application. The second receiving unit receives the second sound signal transmitted together with the video signal via a second transmission path having a longer delay time than the first transmission path in transmission in the general application. The delay amount calculation unit calculates a relative delay amount between the first acoustic signal and the second acoustic signal, that is, a transmission delay amount. The delay amount adding unit delays the first acoustic signal based on the transmission delay amount, and outputs the delayed first acoustic signal.
3. The signal processing method according to claim 1 or 2, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the transmission delay amount is calculated, the delay amount adding unit delays the first acoustic signal by the transmission delay amount calculated this time, and outputs the delayed first acoustic signal.
4. The signal processing method according to claim 1 or 2, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the delay amount adding unit calculates the transmission delay amount, it determines whether the transmission delay amount calculated this time is greater than the first threshold value. When the transmission delay amount calculated this time is greater than the first threshold value, the first sound signal is delayed by the transmission delay amount calculated this time, and the delayed first sound signal is output.
5. The signal processing method according to claim 1 or 2, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the delay amount adding unit calculates the transmission delay amount, it determines whether the transmission delay amount calculated this time is greater than the first threshold value. If the transmission delay amount calculated this time is not greater than the first threshold value, the first sound signal is delayed by a prescribed delay amount and the delayed first sound signal is output.
6. The signal processing method according to claim 4, wherein: The first threshold value is an average of the transmission delay amounts calculated every time a predetermined calculation timing arrives.
7. The signal processing method according to claim 1 or 2, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. The delay amount adding unit delays the first acoustic signal in stages based on the last calculated transmission delay amount and the current calculated transmission delay amount each time the transmission delay amount is calculated, and outputs the delayed first acoustic signal.
8. The signal processing method according to claim 1 or 2, wherein: The delay amount calculation unit calculates a delay amount at which a mutual correlation value between a time series change of the first sound signal and a time series change of the second sound signal received in a predetermined time interval becomes maximum, and when the calculated delay amount is greater than or equal to a second threshold value, sets the calculated delay amount as the transmission delay amount.
9. The signal processing method according to claim 8, wherein: The delay amount calculation unit does not calculate the transmission delay amount when the maximum level of the first acoustic signal received in a predetermined time period is lower than the second threshold and the maximum level of the second acoustic signal is equal to or higher than the second threshold.
10. The signal processing method according to claim 8, wherein: The delay amount calculation unit does not calculate the transmission delay amount when the maximum level of the first acoustic signal received in a predetermined time period is equal to or greater than the second threshold and the maximum level of the second acoustic signal is less than the second threshold.
11. A signal processing device for performing signal processing on a first sound signal and a second sound signal picked up from the same sound source, The signal processing device has: a first receiving unit for receiving the first sound signal transmitted via a first transmission path capable of transmitting sound while suppressing a delay caused by transmission in a dedicated application; a second receiving unit for receiving the second acoustic signal transmitted via a second transmission path having a greater delay time than the first transmission path in transmission in a general application; a delay amount calculation unit that calculates a relative delay amount, that is, a transmission delay amount, between the first acoustic signal and the second acoustic signal; and The delay adding unit delays the first acoustic signal based on the transmission delay amount and outputs the delayed first acoustic signal.
12. The signal processing device according to claim 11, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the transmission delay amount is calculated, the delay amount adding unit delays the first acoustic signal by the transmission delay amount calculated this time, and outputs the delayed first acoustic signal.
13. The signal processing device according to claim 11, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the delay amount adding unit calculates the transmission delay amount, it determines whether the transmission delay amount calculated this time is greater than the first threshold value. When the transmission delay amount calculated this time is greater than the first threshold value, the first sound signal is delayed by the transmission delay amount calculated this time, and the delayed first sound signal is output.
14. The signal processing device according to claim 11 or 13, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. Each time the delay amount adding unit calculates the transmission delay amount, it determines whether the transmission delay amount calculated this time is greater than the first threshold value. If the transmission delay amount calculated this time is not greater than the first threshold value, the first sound signal is delayed by a prescribed delay amount and the delayed first sound signal is output.
15. The signal processing device according to claim 13, wherein: The first threshold value is an average of the transmission delay amounts calculated every time a predetermined calculation timing arrives.
16. The signal processing device according to claim 11 or 13, wherein: The delay amount calculation unit calculates the transmission delay amount every time a predetermined calculation timing arrives. The delay amount adding unit delays the first acoustic signal in stages based on the last calculated transmission delay amount and the current calculated transmission delay amount each time the transmission delay amount is calculated, and outputs the delayed first acoustic signal.
17. The signal processing device according to any one of claims 11 to 13, wherein: The delay amount calculation unit calculates a delay amount at which a mutual correlation value between a time series change of the first sound signal and a time series change of the second sound signal received in a predetermined time interval becomes maximum, and when the calculated delay amount is greater than or equal to a second threshold value, sets the calculated delay amount as the transmission delay amount.
18. The signal processing device according to claim 17, wherein: The delay amount calculation unit does not calculate the transmission delay amount when the maximum level of the first acoustic signal received in a predetermined time period is lower than the second threshold and the maximum level of the second acoustic signal is equal to or higher than the second threshold.
19. The signal processing device according to claim 17, wherein: The delay amount calculation unit does not calculate the transmission delay amount when the maximum level of the first acoustic signal received in a predetermined time period is equal to or greater than the second threshold and the maximum level of the second acoustic signal is less than the second threshold.
20. A storage medium storing the following program for causing a computer of a signal processing device that performs signal processing of a first sound signal and a second sound signal picked up from the same sound source to execute the following steps: A first receiving step of receiving the first sound signal transmitted via a first transmission path capable of transmitting sound while suppressing a delay caused by transmission in a dedicated application; a second receiving step of receiving the second acoustic signal transmitted via a second transmission path having a greater delay time than the first transmission path in transmission in a general application; a delay amount calculation step of calculating a relative delay amount, that is, a transmission delay amount, between the first sound signal and the second sound signal; as well as A delay amount adding step is performed to delay the first acoustic signal based on the transmission delay amount and output the delayed first acoustic signal.
