SOUND PROCESSING DEVICE, SOUND PROCESSING PROGRAM, AND SOUND PROCESSING METHOD
The sound processing device improves sound masking by aligning the frequency characteristics of the masker signal with the speaker's audio, ensuring effective privacy by minimizing the audibility of conversations to third parties.
Patent Information
- Application Number
- JP2020030119
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-26
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2040-02-26
AI Technical Summary
Existing sound masking technologies fail to maintain an effective masking effect due to differences in frequency characteristics between the speaker's audio output and the masker signal, leading to reduced privacy in conversations.
A sound processing device that analyzes the speaker's audio signal, estimates its pitch, and adjusts the masker signal's frequency characteristics to match those of the speaker, ensuring consistent masking across different output environments.
The device enhances the masking effect by aligning the frequency characteristics of the masker signal with the speaker's output, maintaining privacy by making the conversation less audible to third parties.
Smart Images

Figure 0007552034000014 
Figure 0007552034000016 
Figure 0007552034000013
Abstract
Description
[Technical field]
[0001] The present invention relates to an audio processing device, an audio processing program, and an audio processing method, and can be applied, for example, to sound masking processing used as a method for preventing the contents of a conversation from being leaked to third parties around a speaker. [Background technology]
[0002] In recent years, there has been a problem of the content of conversations being leaked to nearby third parties when a speaker talks with another person at reception counters, windows, meeting spaces, etc. in facilities where a large number of people are present (e.g., hospitals, pharmacies, banks, etc.).
[0003] Preventing the contents of a conversation from being leaked to a third party is called speech privacy, and the sound masking effect is used to achieve speech privacy.
[0004] The sound masking effect is a phenomenon in which a certain sound (hereafter referred to as the target sound) becomes difficult to hear (is masked) when another sound with similar acoustic characteristics (e.g. frequency characteristics, pitch, formants, etc.) is present when the target sound is heard. Generally, the masking sound is called the masker, and the masked sound is called the maskee.
[0005] Patent Document 1 proposes a sound masking device that utilizes this sound masking effect to prevent the contents of a conversation from being leaked to a third party (protecting speech privacy). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2006-243178 A Summary of the Invention [Problem to be solved by the invention]
[0007] In the audio processing method described in Patent Document 1, the spectral envelope of an extracted audio signal is transformed to generate a transformed spectral envelope, and the transformed spectral envelope and the spectral fine structure of the extracted audio signal are synthesized and used to generate a masker signal. However, since the generated masker signal is output without taking into account the frequency characteristics of the speaker, the frequency characteristics of the masker signal change when it is output from the speaker, reducing the masking effect.
[0008] Furthermore, in the voice processing method described in Patent Document 1, when masking voice output from a speaker (for example, voice guidance from a transaction device such as a ticket machine, the voice of the other party in a remote conference system, the voice of an operator in a remote location, etc.), if the frequency characteristics of the speaker that outputs the voice differ from the frequency characteristics of the speaker that outputs the masker signal, the masking effect will be reduced because the frequency characteristics of the voice output from the speaker and the frequency characteristics of the masker signal will differ.
[0009] In view of the above problems, there is a demand for a sound processing device, a sound processing program, and a sound processing method that are capable of outputting a masker signal that exerts a higher masking effect on sounds output from speakers. [Means for solving the problem]
[0010] The first sound processing device of the present invention comprises: (1) a terminal for inputting a sound from a target sound source that outputs a sound to be masked; Suitable for voice analysis (2) frame division means for dividing an input signal into frames of a predetermined length; (3) pitch estimation means for estimating the pitch of the input signal divided into frames by the frame division means; (4) input signal storage means for storing the input signal divided into frames by the frame division means and the pitch estimation result estimated by the pitch estimation means for each frame; and (5) a masker segment signal used to generate a masker signal from the pitch estimation result estimated by the pitch estimation means and past pitch estimation results stored in the input signal storage means. multiple(5) a masker signal generation means for generating and outputting a masker signal that makes at least the sound output from the target sound source difficult to hear, using a signal used to generate the masker signal; and (6) a frequency characteristic correction means for correcting the frequency characteristics of the masker signal generated by the masker signal generation means in accordance with the frequency characteristics of the target sound source to generate a corrected masker signal and outputting the corrected masker signal to a speaker, (7) the input signal storage means stores the input signal that has been divided into frames by the frame division means without processing it, and (8) the frequency characteristic correction means corrects the masker signal using a correction filter that corrects the difference between the frequency characteristics of the speaker and the frequency characteristics of the target sound source.
[0011] The second sound processing program of the present invention causes a computer to: (1) receive a microphone input signal supplied from a terminal for inputting a sound from a target sound source that outputs a sound to be masked; Suitable for voice analysis (2) frame division means for dividing the input signal into frames of a predetermined length; (3) pitch estimation means for estimating the pitch of the microphone input signal divided into frames by the frame division means; (4) input signal storage means for storing the microphone input signal divided into frames by the frame division means and the pitch estimation result estimated by the pitch estimation means for each frame; and (5) a masker segment signal used to generate a masker signal from the pitch estimation result estimated by the pitch estimation means and past pitch estimation results stored in the input signal storage means. multiple(5) a masker signal generation means for generating and outputting a masker signal that makes at least the sound output from the target sound source difficult to hear, using a signal used to generate the masker signal; (6) a frequency characteristic correction means for correcting the frequency characteristics of the masker signal generated by the masker signal generation means in accordance with the frequency characteristics of the target sound source to generate a corrected masker signal and outputting the corrected masker signal to a speaker; (7) the input signal storage means for storing the input signal divided into frames by the frame division means without processing it; and (8) the frequency characteristic correction means for correcting the masker signal using a correction filter that corrects the difference between the frequency characteristics of the speaker and the frequency characteristics of the target sound source.
[0012] The third aspect of the present invention is a sound processing method performed by a sound processing device, comprising: (1) the sound processing device has a frame division means, a pitch estimation means, an input signal storage means, a signal selection means, a masker signal generation means, and a frequency characteristic correction means; and (2) the frame division means divides an input signal supplied from a terminal for inputting a sound from a target sound source that outputs a sound to be masked into a signal to be input to a target sound source. Suitable for voice analysis (3) the pitch estimation means estimates the pitch of the input signal divided into frames by the frame division means; (4) the input signal storage means stores the input signal divided into frames by the frame division means and the pitch estimation result estimated by the pitch estimation means for each frame; and (5) the signal selection means selects a masker segment signal to be used for generating a masker signal from the pitch estimation result estimated by the pitch estimation means and the past pitch estimation results stored in the input signal storage means. multiple(6) the masker signal generating means uses a signal used for generating the masker signal to generate and output the masker signal that makes at least the sound output from the target sound source difficult to hear; (7) the frequency characteristic correcting means corrects the frequency characteristic of the masker signal generated by the masker signal generating means in accordance with the frequency characteristic of the target sound source to generate a corrected masker signal and outputs the corrected masker signal to a speaker; (8) the input signal accumulating means accumulates the input signal that has been divided into frames by the frame dividing means without processing it; and (9) the frequency characteristic correcting means corrects the masker signal using a correction filter that corrects the difference between the frequency characteristic of the speaker and the frequency characteristic of the target sound source. Effect of the Invention
[0013] According to the present invention, it is possible to provide a sound processing device, a sound processing program, and a sound processing method that output a masker signal that exerts a higher masking effect on a sound output from a speaker. [Brief description of the drawings]
[0014] [Figure 1] 1 is a block diagram showing a functional configuration of a sound masking device according to a first embodiment. [Diagram 2] 1 is a block diagram showing an example of a hardware configuration of a sound masking device according to a first embodiment. [Diagram 3] FIG. 2 is a conceptual diagram of a means for outputting a masker signal generated by the sound masking device according to the first embodiment. [Figure 4] FIG. 11 is a block diagram showing a functional configuration of a sound masking device according to a second embodiment. [Diagram 5] FIG. 11 is a block diagram showing a functional configuration of a sound masking device according to a third embodiment. [Figure 6] FIG. 13 is a block diagram showing a functional configuration of a sound masking device according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] (A) First embodiment Hereinafter, a first embodiment of the sound processing device, sound processing, and sound processing method of the present invention will be described in detail with reference to the drawings. In the first embodiment, an example in which the sound processing device, sound processing program, and sound processing method of the present invention are applied to a sound masking device will be described.
[0016] (A-1) Configuration of the First Embodiment FIG. 1 is a block diagram showing a functional configuration of a sound masking device 100 according to the first embodiment.
[0017] The sound masking device 100 includes a device output sound input terminal 101 , an amplifier 102 , an AD converter 103 , a DA converter 104 , a speaker amplifier 105 , a speaker output terminal 106 , and a sound masking processing unit 200 .
[0018] The device output sound input terminal 101 is an interface (audio interface) that inputs, as an electrical signal, a sound signal such as human voice or sound (for example, voice guidance from a transaction device such as a ticket vending machine, the voice of the other party in a remote conference system, the voice of an operator in a remote location, etc.) output from a speaker of a terminal or device that outputs a masking signal.
[0019] The amplifier 102 amplifies the electrical signal input to the device output sound input terminal 101 .
[0020] The AD converter 103 converts the electrical signal (analog signal) amplified by the amplifier 102 into a digital signal. Hereinafter, the signal converted by the AD converter 103 will be referred to as an "input signal."
[0021] As described above, in the first embodiment, the device output sound input terminal 101, the amplifier 102, and the AD converter 103 constitute a sound signal input means for inputting a masking signal as an electric signal. Note that the detailed configuration of the sound signal input means is not limited to the configuration in Fig. 1, and various configurations of audio devices can be applied. For example, a configuration without the amplifier 102 may be used so that an amplifier can be attached externally, or a configuration without the amplifier 102 and the AD converter 103 may be used so that a digital signal is output.
[0022] The sound masking processing unit 200 generates a masker signal from an input signal and outputs it.
[0023] The DA converter 104 converts the digital signal output from the sound masking processing unit 200 into an electrical signal (analog signal).
[0024] The speaker amplifier 105 amplifies the electrical signal converted by the DA converter 104 .
[0025] The speaker output terminal 106 is an interface (audio interface) that outputs an amplified electrical signal.
[0026] Next, the detailed configuration of the sound masking processing unit 200 will be described.
[0027] The sound masking processing unit 200 has a frame division unit 201, a DB (database) writing unit 202, an input signal DB 203, a frame signal DB 204, a frame signal selection unit 205, a masker signal generation unit 206, a masker signal frequency characteristic correction unit 207, a sound input terminal IN, and a sound output terminal OUT.
[0028] The sound input terminal IN is an interface (audio interface) that inputs an input signal to the sound masking processing unit 200.
[0029] The frame dividing unit 201 divides the input signal input to the sound masking processing unit 200 into frames (hereinafter referred to as "divided frames") of a predetermined length (hereinafter referred to as "frame length L") and outputs the frames. It is desirable to apply a length suitable for analyzing voice as the frame length L. For example, in the frame dividing unit 201, the frame length L may be set to 100 to 200 msec. Then, the frame dividing unit 201 outputs the divided frame signals (hereinafter referred to as "divided frame signals").
[0030] The DB writing unit 202 writes the divided frame signals into a frame signal DB 204 of an input signal DB 203 .
[0031] The input signal DB203 is a storage means for storing (holding) past divided frame signals for each divided frame. Although the data format in the input signal DB203 is not limited, it is assumed here that the input signal DB203 is configured as a frame signal DB203 for storing past divided frame signals.
[0032] The frame signal selection unit 205 selects multiple frames of signals (hereinafter referred to as "masker segment signals") to be used to generate a masker signal from past divided frame signals stored in the frame signal DB 204 of the input signal DB 203, and outputs the selection result.
[0033] Based on the selection result of the frame signal selection unit 205, the masker signal generation unit 206 reads out the selected masker segment signal for multiple frames from the frame signal DB 204 of the input signal DB 203, and generates and outputs a masker signal using the read masker segment signals for the multiple frames.
[0034] The masker signal frequency characteristic correction unit 207 performs a process of correcting the frequency characteristic of the generated masker signal (hereinafter, referred to as "frequency characteristic correction process"), and outputs the masker signal that has undergone the frequency characteristic correction process. The frequency characteristic correction process will be described in detail later.
[0035] The sound output terminal OUT is an interface (audio interface) that outputs the masker signal that has been subjected to frequency characteristic correction processing to the DA converter 104 .
[0036] The sound masking processing unit 200 may be configured entirely in hardware (for example, using a dedicated board or a DSP (Digital Signal Processor)), or may be configured entirely in software using a computer. The sound masking processing unit 200 may be configured, for example, by installing a program (including the sound processing program according to the embodiment) in a computer having a memory and a processor.
[0037] In this embodiment, the AD converter 103 and the DA converter 104 are disposed outside the sound masking processing unit 200, but the AD converter 103 and the DA converter 104 may be mounted in the sound masking processing unit 200.
[0038] FIG. 2 shows a configuration in which the sound masking processing unit 200 is realized in software (by using a computer).
[0039] 2 is configured as software using a computer 300. A program (including the sound processing program of the embodiment) is installed in the computer 300. The computer 300 may be a computer dedicated to the sound processing program, or may be configured to be shared with programs of other functions.
[0040] 2 includes a processor 301, a primary storage unit 302, a secondary storage unit 303, a sound input terminal IN, and a sound output terminal OUT. The sound input terminal IN and the sound output terminal OUT are the same as the elements shown in FIG.
[0041] The primary storage unit 302 is a storage means that functions as a working memory for the processor 301, and is implemented by a high-speed memory such as a dynamic random access memory (DRAM).
[0042] The secondary memory unit 303 is a storage means for recording various data such as the OS (Operating System) and program data (including data of the acoustic processing program according to the embodiment), and may be, for example, a non-volatile memory such as a FLASH memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive).
[0043] In the computer 300 of this embodiment, when the processor 301 starts up, it reads the OS and programs (including the acoustic processing program according to the embodiment) recorded in the secondary storage unit 303, and deploys and executes them on the primary storage unit 302. Note that the specific configuration of the computer 300 is not limited to the configuration in Fig. 2, and various configurations can be applied. For example, if the primary storage unit 302 is a non-volatile memory (e.g., a flash memory, etc.), the secondary storage unit 303 may be excluded from the configuration.
[0044] FIG. 3 is a diagram showing an example of the arrangement relationship between a transaction device 400 such as a terminal or device that outputs (plays) a masker signal, a speaker 401 of the transaction device 400, a masker signal playback speaker 501 that outputs (plays) a masker signal generated by the sound masking device 100, a user U1 using the transaction device 400, and a person U2 (a person who is a target of making it difficult to hear (mask) the sound output from the speaker of the terminal or device that outputs the masker signal; hereinafter, referred to as a "masking target") who is behind or around the user U1 and is other than the user U1. In FIG. 3, only the speaker 401 and the transaction device sound output terminal 402 of the transaction device 400 are illustrated as the configuration of the transaction device 400, but the configuration of the transaction device 400 is not limited, and various device configurations (for example, configurations including various computers, devices that perform transactions, DACs, amplifiers, etc.) can be applied.
[0045] Here, as shown in FIG. 3, the speaker 401 of the transaction device 400 is described as being mounted on the transaction device 400, but the device that reproduces the maskee signal is not limited thereto.
[0046] The transaction device 400 is a device or terminal that can communicate with a user (user U1 in this embodiment) or a person in a remote location via a network by voice or video to conduct transactions such as a ticket vending machine that sells tickets (e.g., train tickets) for transportation, a vending machine that sells goods (e.g., food and drink), or an ATM (Automatic Teller Machine) of a financial institution. The transaction device 400 outputs sound (e.g., audio guidance or the voice of a person in a remote location) from a speaker 401 of the transaction device 400 as necessary during the course of the transaction.
[0047] As described above, in the first embodiment, the DA converter 104, the speaker amplifier 105, the speaker output terminal 106, and the speaker connected to the speaker output terminal 106 output the masker signal as an electric signal, and output (reproduce) it from the masker signal reproduction speaker 501 connected to the speaker output terminal 106 (hereinafter referred to as masker signal output means). The detailed configuration of the masker signal output means is not limited to the configuration of FIG. 3, and various configurations of audio devices can be applied. For example, the sound masking device 100 may be configured without the speaker amplifier 105, and the speaker amplifier may be externally attached, or the sound masking device 100 may be configured without the DA converter 104 and the speaker amplifier 105, and output as a digital signal. In addition, the transaction device 400 is configured to output (reproduce) the masker signal to the speaker 401 of the transaction device (hereinafter referred to as masker signal output means). The detailed configuration of the masking signal output means is not limited to the configuration of Figure 3, and various acoustic device configurations can be applied. For example, the configuration may be such that the speaker trading device 400401 does not have to be provided, and a speaker can be attached externally.
[0048] In this embodiment, a user U1 standing in front of the transaction device 400 (speaker 401 of the transaction device 400) can only hear the sound (masker signal) output from the speaker 401 of the transaction device 400, while a person U2 to be masked can hear the sound output from the speaker 401 of the transaction device 400 and the masker signal generated by the sound masking device 100.
[0049] 3, the dotted line indicates the directivity of a direct sound DS (Direct Sound) output from the masker signal reproduction speaker 501. Also, in (a) of FIG. 3, the dashed line indicates the directivity of a reflected sound RS (Reflected Sound) generated when the direct sound is reflected by a floor FR.
[0050] In (a) of FIG. 3, the masker signal reproduction speaker 501 is installed in front of the user U1 at about knee height, with the vibration surface of the masker signal reproduction speaker 501 facing downward and obliquely relative to the surface of the floor FR, so that the direct sound is reflected by the floor FR and the reflected sound RS is directed to be transmitted to the masking target U2 behind the user U1. The masker signal emitted from the masker signal reproduction speaker 501 is output toward the surface of the floor FR and is reflected when it reaches the floor FR. As a result, the masker signal reflected by the floor FR is transmitted to the masking target U2 behind the user U1. At this time, the direct sound of the voice uttered by the user U1 is also transmitted to the masking target U2, but is masked by the masker signal.
[0051] As described above, the masker signal reproduction speaker 501 can be installed in a wide variety of ways as long as it is installed so that the masker signal cannot be heard by the user U1 and can be heard by the masking subject U2. For example, as shown in Fig. 3(b), if there is space available for installation behind the user U1, the masker signal may be output directly from the vibration surface of the masker signal reproduction speaker 501 toward the masking subject U2, as shown in Fig. 3(c), the masker signal reproduction speaker 501 may be embedded in the floor FR and the vibration surface of the masker signal reproduction speaker 501 may be directly directed toward the masking subject U2 to output the masker signal, or as shown in Fig. 3(d), the masker signal reproduction speaker 501 may be installed on the ceiling CE and the vibration surface of the masker signal reproduction speaker 501 may be directly directed toward the masking subject U2 to output the masker signal.
[0052] (A-2) Operation of the First Embodiment Next, the operation of the sound masking device 100 of the first embodiment having the above-mentioned configuration (the sound processing method of the embodiment) will be described.
[0053] The sound masking device 100 starts operating, a transaction is initiated between user U1 and the transaction device 400, audio (e.g., audio guidance) is output from the speaker 401 of the transaction device 400, and an audio signal is input to the device output sound input terminal 101.
[0054] An audio signal input to a device output sound input terminal 101 is converted to an electrical signal (analog signal), amplified by an amplifier 102, converted from the analog signal to a digital signal by an AD converter 103, and input as an input signal x(n) to a sound input terminal IN of a sound masking processing unit 200. In the input signal x(n), n is a parameter indicating a discrete time series of the input signal.
[0055] When the input signal x(n) starts to be input to the sound input terminal IN of the sound masking processing unit 200 , it is input to the frame division unit 201 .
[0056] The frame dividing unit 201 divides the input signal x(n) into divided frame signals having a frame length L. The frame dividing unit 201 may divide the input signal x(n) into divided frames according to, for example, equation (1). x_fram(l;m) = x(l L + m)…(1)
[0057] In equation (1), x_fram(l;m) is a divided frame signal, l is a frame number, and m is a time within the frame (m=0, 1, 2, . . . , L−1). The frame dividing unit 201 outputs the divided frame signal x_fram(l;m) to the DB writing unit 202.
[0058] The DB writing unit 2024 writes the frame-divided input signal x(n) for each frame into the frame signal DB of the input signal DB 203. The DB writing unit 202 writes the divided frame signal x_fram(l;m) for each divided frame into the frame signal DB 204 of the input signal DB 203, for example, in accordance with the equations (2) and (3).
number
[0059] In equation (2), j is the database index number (j = 0, 1, 2, ..., DB_LEN-1; primary key; split frame identifier), and DB_LEN is the database length.
[0060] The input signal DB 203 is a storage means for storing (holding) each past divided frame signal.
[0061] As described above, the input signal DB 203 in this embodiment includes the frame signal DB 204. Here, the signal x_fram(l;m) of each divided frame is accumulated in the frame signal DB 204.
[0062] The frame signal selection unit 205 selects multiple frames as masker segment signals from the past divided frame signals stored in the frame signal DB 204 of the input signal DB 203. The method of selecting the masker segment signal is not limited, and various methods can be applied. For example, the frame signal selection unit 205 selects the frame number T(p) according to equation (4).
number
[0063] In equation (4), p (p=0, 1..., SEL_NUM-1) is the index of the selected frame number T(p), SEL_NUM (SEL_NUM<=DB_LEN-1) is the number of selected masker segment signals, and j is the index of the database in equation (3). Equation (4) selects the divided frame signals held in frame signal DB204 of input signal DB203 in chronological order, and assigns the index number of the database in which the selected divided frame signal is held to T(p).
[0064] Alternatively, the frame signal selection unit 205 may randomly select a frame number T(p) from the divided frame signals stored in the frame signal DB 204 of the input signal DB 203, as shown in, for example, equation (5). T(p)=MOD(rand(p),DE-LEN)…(5)
[0065] In equation (5), rand(p) is a function that generates a non-negative random integer for a natural number p. Equation (5) uses the MOD function to return the remainder when the random number generated by rand(k) is divided by DB_LEN, and the selection result T(p) is assigned a random value from 0 to DB_LEN-1.
[0066] As described above, the frame signal selection unit 205 selects a plurality of frames from the divided frame signals held in the frame signal DB 204 , and outputs the selection result T(p) to the masker signal generation unit 206 .
[0067] The masker signal generation unit 206 reads out a masker segment signal from the frame signal DB 204 of the input signal DB 203 based on the selection result T(p) of the frame signal selection unit 205, and generates and outputs a masker signal. The masker signal generation unit 206 generates a masker signal h(l;m) according to, for example, equation (6).
number
[0068] Equation (6) is an equation for generating a masker signal h(l;m) by reading multiple frames of multiple masker segment signals selected by the frame signal selection unit 205 from the frame signal DB204DB_singal(j;m) of the input signal DB203 and superimposing the read masker segment signals.
[0069] Then, the masker signal generating unit 206 outputs the generated masker signal h(l;m) to the masker signal frequency characteristic correcting unit 207 .
[0070] The masker signal frequency characteristic correction unit 207 corrects the generated masker signal h(l;m).
[0071] In this embodiment, the masker signal frequency characteristic correction unit 207 corrects the difference between the frequency characteristic (hereinafter referred to as "frequency characteristic FC1") of the signal output from the masker signal output means (in this embodiment, the DA converter 104, the speaker amplifier 105, the speaker output terminal 106, and the masker signal playback speaker 501) and the frequency characteristic (hereinafter referred to as "frequency characteristic FC2") of the signal output from the masker signal output means (in this embodiment, the trading device 400 and the speaker 401 of the trading device 400).
[0072] For example, the frequency characteristic FC1 of the signal output from the masker signal output means of the sound masking device 100 and the frequency characteristic FC2 of the signal output from the masker signal output means may be measured in advance, and the measurement results may be used to calculate a correction filter filter(m) that corrects the difference between the two frequency characteristics, and the correction filter filter(m) may be set in the masker signal frequency characteristic correction unit 207.
[0073] When the masker signal h(l;m) is supplied, the masker signal frequency characteristic correction unit 207 uses a preset correction filter to calculate and output a corrected masker signal h'(l;m). For example, the masker signal frequency characteristic correction unit 207 may calculate the corrected masker signal h'(l;m) according to equation (7). h'(l;m)=filer(m)*h(l;m) …(7)
[0074] In equation (7), filter(m) is a correction filter that corrects the frequency characteristics. Also, the "*" in equation (7) represents a convolution operation.
[0075] In addition, as a method of acquiring the correction filter filer(m) that corrects the difference between the frequency characteristics FC1 and FC2, various methods can be widely applied.
[0076] For example, the correction filter filer(m) can be obtained by performing the following process in advance. First, the sound in which the same sample of sound signal is output (reproduced) from the masker signal output means and the masker signal output means is recorded in advance (for example, a microphone and a microphone amplifier are connected to the sound signal input means of the sound masking device 100 and recorded). Then, the recorded sound of each signal output means is transformed into the frequency domain (for example, transformed by Fast Fourier Transform (FTT) or the like) to calculate the amplitude spectrum of the recorded sound of each speaker. Then, for each frequency, the amplitude spectrum of the recorded sound of the masker signal output means is divided by the amplitude spectrum of the recorded sound of the masker signal output means, the phase of the spectrum of the recorded sound of the masker signal output means is added, and the value transformed into the time domain (for example, transformed by Inverse Fast Fourier Transform (IFTT) or the like) may be set as the amplitude spectrum of the correction filter filer(m) and set to the masker signal frequency characteristic correction unit 207.
[0077] Moreover, in the masker signal frequency characteristic correction unit 207, various methods can be widely applied to the process of correcting the masker signal h(l;m).
[0078] For example, the masker signal frequency characteristic correction unit 207 may convert the correction filter filer(m) and the masker signal h(l;m) into the frequency domain, and perform correction by multiplying the amplitude spectrum of the correction filter by the amplitude spectrum of the masker signal, adding the phase of the spectrum of the masker signal h(l;m) to the amplitude spectrum, and performing an inverse fast Fourier transform (IFFT).
[0079] As described above, the masker signal frequency characteristic correction unit 207 corrects the frequency characteristic of the masker signal h(l;m).
[0080] Then, the masker signal frequency characteristic correction unit 207 outputs the corrected masker signal h'(l;m) according to equation (8) as an output signal y(n) to the sound output terminal OUT. y(l M+m) = h'(l;m) (8)
[0081] An output signal y(n) output from a sound output terminal OUT of the sound masking processing unit 200 is converted from a digital signal to an analog signal by a DA converter 104, amplified by a speaker amplifier 105, and then output from a speaker output terminal 106.
[0082] (A-3) Effects of the First Embodiment According to the first embodiment, the following effects can be obtained.
[0083] In the sound masking device 100 of the first embodiment, the frequency characteristics of the generated masker signal are corrected by a correction filter that corrects the difference between the frequency characteristics of the masker signal reproducing means and the frequency characteristics of the masker signal output means. As a result, in the sound masking device 100 of the first embodiment, the frequency characteristics of the masker signal reproducing speaker 501 are corrected to the frequency characteristics of the speaker 401 of the transaction device 400, and the generated masker signal has the same frequency characteristics when output from the speaker 401 of the transaction device 400, thereby achieving an effect of enhancing the masking effect.
[0084] (B) Second embodiment A second embodiment of the sound processing device, sound processing program, and sound processing method according to the present invention will be described below in detail with reference to the drawings. In this embodiment, an example in which the sound processing device, sound processing program, and sound processing method according to the present invention are applied to a sound masking device will be described.
[0085] (B-1) Configuration of the second embodiment Fig. 4 is a block diagram showing a functional configuration of a sound masking device 100A according to the second embodiment. In Fig. 4, the same or corresponding parts as in Fig. 1 are denoted by the same or corresponding reference numerals.
[0086] In the following, the second embodiment will be described, focusing on the differences from the first embodiment, and a description of the parts that overlap with the first embodiment will be omitted.
[0087] The sound masking device 100A of the second embodiment is different from the first embodiment in that the sound masking processing unit 200 is replaced with a sound masking processing unit 200A.
[0088] The sound masking processing unit 200A differs from the first embodiment in that a voice section determination unit 208, a DB accumulation determination unit 209, and a masker signal generation determination unit 210 are added, and the DB writing unit 202, the frame signal selection unit 205, and the masker signal generation unit 206 are replaced with a DB writing unit 202A, a frame signal selection unit 205A, and a masker signal generation unit 206A.
[0089] The sound masking device 100A of the second embodiment differs from the sound masking device 100 of the first embodiment in that a voice section determination unit 208 and a DB accumulation determination unit 209 are added and replaced with a DB writing unit 202A, resulting in a different accumulation method of divided frame signals accumulated in a frame signal DB204 of an input signal DB203; a masker signal generation determination unit 210 is added and replaced with a frame signal selection unit 205A, resulting in a different method of selecting a masker edge signal; and a masker signal generation unit 206A is replaced with a masker signal generation unit 206A, resulting in a different method of generating a masker signal.
[0090] Next, a detailed configuration of the sound masking processing unit 200A will be described.
[0091] The sound masking processing unit 200A has a frame division unit 201, a voice section determination unit 208, a DB accumulation determination unit 209, a DB writing unit 202A, an input signal DB 203, a frame signal DB 204A, a masker signal generation determination unit 210, a frame signal selection unit 205A, a masker signal generation unit 206A, a masker signal frequency characteristic correction unit 207, a sound input terminal IN, and a sound output terminal OUT.
[0092] The voice section determination unit 208 determines whether the divided frame signal is a voice section or a non-voice section (a section other than a voice section), and outputs the determination result.
[0093] The DB storage determination unit 209 determines whether to write and store the divided frame signals in the DB or not based on the determination result of the voice section determination unit 208, and outputs the determination result.
[0094] The DB writing unit 202A writes the divided frame signal into a frame signal DB 204 of the input signal DB 203 based on the result of the determination by the DB storage determination unit 209 as to whether or not to write and store the divided frame signal in the DB.
[0095] The masker signal generation determination unit 210 determines whether or not to generate a masker signal based on the determination result of the voice section determination unit 208, and outputs the determination result.
[0096] The frame signal selection unit 205A selects masker edge signals of a plurality of frames from the past divided frame signals stored in the frame signal DB 204 of the input signal DB 203 based on the determination result of the masker signal generation determination unit 210, and outputs the selection result.
[0097] In the second embodiment, the masker signal generation determination unit 210 may be omitted, as in the first embodiment.
[0098] (B-2) Operation of the Second Embodiment Next, the operation of the sound masking device 100A in the second embodiment having the above-mentioned configuration (the sound processing method according to the embodiment) will be described in detail.
[0099] The basic operation of the sound masking process in the sound masking device 100A according to the second embodiment is similar to the sound masking process described in the first embodiment.
[0100] The following will mainly describe in detail the operations of the voice segment determination unit 208, DB accumulation determination unit 209, DB writing unit 202A, masker signal generation determination unit 210, frame signal selection unit 205A, and masker signal generation unit 206A, which are different from the first embodiment.
[0101] The frame division unit 201 divides the input signal x(n) into divided frame signals of frame length L1, and sequentially outputs the divided frame signals x_fram(l;m) to the voice segment determination unit 208 and the masker signal generation determination unit 210.
[0102] The voice section determination unit 208 determines whether it is a voice section or a non-voice section using the divided frame signal x_fram(l;m). The voice section or non-voice section determination means performs the determination according to, for example, equations (9) and (10).
number
[0103] In equations (9) and (10), x_fram_amp(l) is the average amplitude value of the divided frame signal x_fram(l;m), VAD(l) is the voice section determination result, and TH is the threshold value used to determine the voice section. Equation (9) is an equation for calculating the average amplitude value x_fram_amp(l) of the divided frame signal x_fram(l;m), and equation (10) is an equation for determining a voice section and substituting 1 for the voice section determination result VAD(l) if the average amplitude value x_fram_amp(l) of the divided frame signal x_fram(l;m) calculated by equation (9) is greater than the threshold TH, and for determining a non-voice section and substituting 0 for the voice section determination result VAD(l) if the value is less than the threshold TH.
[0104] The threshold value TH in equation (10) only needs to be able to determine the presence or absence of speech, and various methods can be widely applied. For example, as shown in equation (11), a fixed threshold value TH may be used in which a frame (hereinafter referred to as an "initial frame") of a predetermined length (hereinafter referred to as "frame length L2") from when the sound masking device 100A begins operating is treated as a silent section, and the average amplitude value of that initial frame is used as the threshold value TH; or, as shown in equation (12), a threshold value TH(l) that varies for each frame may be used by using a time constant filter for x_fram_amp(l).
number
[0105] In equation (12), a is the coefficient of the time constant filter and takes a value between 0 and 1. In equation (12), if it is desired to slow down the updating of the threshold, a value close to 1 is desirable (for example, a = 0.9, etc.), and if it is desired to speed up the updating of the threshold, a value close to 0 is desirable (for example, a = 0.1, etc.).
[0106] For example, the voice section or non-voice section may be determined by calculating the autocorrelation of the divided frame signal x_fram(l;m). The voice section determination unit 208 outputs the voice section determination result VAD(l) to the DB accumulation determination unit 209 and the masker signal generation determination unit 210.
[0107] The DB accumulation determination unit 209 determines whether or not to accumulate the divided frame signal x_fram(l;m) in the frame signal DB 204 of the input signal DB 203 based on the voice activity determination result VAD(l) of the voice activity determination unit 208. The determination means performs the determination according to, for example, equation (13).
number
[0108] In equation (13), DB_flag(l) is the result of the decision as to whether to store or not. In equation (13), when the voice activity decision result VAD(l) is 1, it is decided to store in the DB, and 1 is substituted for the decision result DB_flag(l). On the other hand, when the voice activity decision result VAD(l) is 0, it is decided not to store in the DB, and 0 is substituted for the decision result DB_flag(l).
[0109] The DB storage determination unit 209 outputs the determination result DB_flag(l) indicating whether or not to store in the DB to the DB writing unit 202A.
[0110] The DB writing unit 202A writes the divided frame signal x_fram(l;m) to the frame signal DB204 of the input signal DB203, for example, in accordance with equations (2) and (3), only when the judgment result DB_flag(l) output from the DB accumulation judgment unit 209 is 1. On the other hand, when the judgment result DB_flag(l) of the DB accumulation judgment unit 209 is 0, the DB writing unit 202A does not write the divided frame signal x_fram(l;m) to the frame signal DB204 of the input signal DB203.
[0111] The masker signal generation determination unit 210 determines whether or not to generate a masker signal based on the voice section determination result VAD(l) of the voice section determination unit 208. The determination means performs the determination according to, for example, equation (14).
number
[0112] In equation (14), mask_flag(l) is the result of the decision as to whether or not to generate a masker signal. When the speech activity decision result VAD(l) is 1, equation (14) decides to generate a masker signal, and assigns 1 to the decision result mask_flag(l). On the other hand, when the speech activity decision result VAD(l) is 0, it decides not to generate a masker signal, and assigns 0 to the decision result mask_flag(l).
[0113] The masker signal generation decision section 210 outputs the decision result mask_flag(l) indicating whether or not to generate a masker signal to the frame signal selection section 205A and the masker signal generation section 206A.
[0114] The frame signal selection unit 205A selects a frame number T(p) according to, for example, equation (4) or (5) only when the determination result mask_flag(l) of whether or not to generate a masker signal output from the masker signal generation determination unit 210 is 1. On the other hand, when the determination result mask_flag(l) of whether or not to generate a masker signal is 0, multiple frames are not selected.
[0115] As described above, the frame signal selection unit 205A selects multiple frames from the divided frame signals stored in the frame signal DB 204 only when the decision result mask_flag(l) indicating whether or not to generate a masker signal is 1, and outputs the selection result T(p) to the masker signal generation unit 206A.
[0116] The masker signal generating unit 206A reads out a masker segment signal from the frame signal DB 204 of the input signal DB 203 based on the decision result mask_flag(l) of whether or not to generate a masker signal output from the masker signal generation deciding unit 210 and the selection result T(p) of the frame signal selecting unit 205A, and generates and outputs a masker signal. The masker signal generating unit 206A generates a masker signal ha(l;m) according to, for example, equation (15).
number
[0117] In equation (15), only when the decision result mask_flag(l) of whether to generate a masker signal output from the masker signal generation decision unit 210 is 1, multiple frames of masker segment signals selected by the frame signal selection unit 205A are read from the frame signal DB204 of the input signal DB203, and the read masker segment signals are superimposed to generate a masker signal h(l;t) and substitute it for ha(l;t).On the other hand, when the decision result mask_flag(l) of whether to generate a masker signal is 0, 0 is substituted for ha(l;t).
[0118] As described above, the masker signal generating unit 206A generates a masker signal only when the determination result mask_flag(l) indicating whether or not to generate a masker signal is 1.
[0119] Then, the masker signal generating unit 206A outputs the generated masker signal ha(l;m) to the masker signal frequency characteristic correcting unit 207.
[0120] (B-3) Effects of the Second Embodiment According to the second embodiment, the following effects can be obtained.
[0121] In the sound masking device 100A of the second embodiment, by storing divided frame signals in the frame signal DB204 of the input signal DB203 only when the input signal is determined to be a voice section (for example, when a voice is output from the speaker transaction device 400401), only the voice section is stored in the DB, so that a masker signal can be generated from only the voice, and a high masking effect can be maintained. Furthermore, since the masker signal is generated only when it is determined to be a voice section, a masker signal can be generated and output only when voice is input, and a configuration can be made such that the masker signal is output only when voice is input.
[0122] (C) Third embodiment Hereinafter, a third embodiment of a sound processing device, a sound processing program, and a sound processing method according to the present invention will be described in detail with reference to the drawings. In this embodiment, an example in which the sound processing device, the sound processing program, and the sound processing method according to the present invention are applied to a sound masking device will be described.
[0123] (C-1) Configuration of the third embodiment Fig. 5 is a block diagram showing a functional configuration of a sound masking device 100B according to a third embodiment. In Fig. 5, the same or corresponding parts as those in Figs. 1 and 4 are denoted by the same or corresponding reference numerals.
[0124] In the following, the third embodiment will be described, focusing on the differences from the second embodiment, and a description of the parts that overlap with the second embodiment will be omitted.
[0125] The sound masking device 100B of the third embodiment is different from that of the second embodiment in that the sound masking processing unit 200A is replaced with a sound masking processing unit 200B.
[0126] The sound masking processing unit 200B differs from the second embodiment in that a pitch estimation unit 211 is added, and the DB accumulation determination unit 209 and the masker signal generation determination unit 210 are replaced with a DB accumulation determination unit 209B and a masker signal generation determination unit 210B, respectively.
[0127] The sound masking device 100B of the third embodiment differs from the sound masking device 100A of the second embodiment in that a pitch estimation unit 211 is added to estimate the pitch of the divided frame signal, and that a DB accumulation determination unit 209B is replaced with a DB accumulation determination unit 209B, thereby accumulating the divided frame signals in the frame signal DB204 of the input signal DB203 in a different manner.
[0128] The detailed configuration of the sound masking processing unit 200B will be described.
[0129] The sound masking processing unit 200B includes a frame division unit 201, a voice section determination unit 208, a pitch estimation unit 211, a DB accumulation determination unit 209B, a DB writing unit 202A, an input signal DB 203, a frame signal DB 204A, a masker signal generation determination unit 210B, a frame signal selection unit 205A, a masker signal generation unit 206A, a masker signal frequency characteristic correction unit 207, a sound input terminal IN, and a sound output terminal OUT.
[0130] Based on the result of the voice section determination output from the voice section determination unit 208, the pitch estimation unit 211 estimates the pitch (sound pitch) of the divided frame signal only when it is determined that a voice section exists, and outputs an estimated pitch value.
[0131] DB accumulation determination section 209B determines whether to accumulate the divided frame signals in the input signal DB or not, based on the pitch estimate value from pitch estimation section 211, and outputs the determination result.
[0132] Masker signal generation decision section 210B decides whether or not to generate a masker signal based on the pitch estimate value from pitch estimation section 211, and outputs the decision result.
[0133] In the third embodiment, the masker signal generation determination unit 210 may be omitted, as in the first embodiment.
[0134] (C-2) Operation of the Third Embodiment Next, the operation of the sound masking device 100B in the third embodiment having the above-mentioned configuration (the sound processing method according to the embodiment) will be described in detail.
[0135] The basic operation of the sound masking process in the sound masking device 100B according to the third embodiment is similar to the sound masking process described in the second embodiment.
[0136] The following will mainly describe in detail the processing operations in pitch estimation section 211, DB accumulation determination section 209B, and masker signal generation determination section 210B, which are different from the second embodiment.
[0137] The voice section determination unit 208 determines whether the divided frame signal x_fram(l;m) is a voice section or a non-voice section, and outputs the voice section determination result VAD(l) to the pitch estimation unit 211.
[0138] The pitch estimation unit 211 estimates the pitch of the divided frame signal x_fram(l;m). The pitch estimation method is determined, for example, according to equations (16) to (18).
number
[0139] In equation (16), τ2 (τ2 = 0, 1..., L1-1) is the delay of autocorrelation, in equation (17), fs is the sampling frequency, and in equation (18), pitch(l) is the estimated pitch. Equation (16) is used to calculate the autocorrelation function x_fram_corr(l;τ2) of the divided frame signal x_fram(l;m). Equation (17) is used to calculate the pitch by calculating the delay τ2 at which the autocorrelation function x_fram_corr(l;τ2) is maximized and dividing it by the sampling frequency, and then substituting the calculated pitch estimate for tmp_pitch(l). And, (18) is used to substitute the calculated pitch estimate for pitch(l) when the voice activity determination result VAD(l) is 1 (voice activity), and substitute 0 for pitch estimate pitch(l) when the voice activity determination result VAD(l) is 0 (non-voice activity).
[0140] Incidentally, various methods can be widely applied as a pitch estimation method. For example, the divided frame signal x_fram(l;m) may be subjected to a discrete Fourier transform or a fast Fourier transform, and then a cepstrum analysis may be performed to calculate the pitch.
[0141] The pitch estimation section 211 outputs the pitch estimate pitch(l) to the DB accumulation determination section 209B and the masker signal generation determination section 210B.
[0142] The DB accumulation determination unit 209B determines whether to accumulate the divided frame signal x_fram(l;m) in the frame signal DB 204 of the input signal DB 203 based on the pitch estimate value pitch(l) of the pitch estimation unit 211. The method of judging whether to accumulate or not is, for example, according to equation (19).
number
[0143] In equation (19), DB_flag(l) is the result of the decision as to whether to accumulate or not, and TH_PITCH is the threshold value used to decide whether to accumulate in DB or not. In equation (19), if the estimated pitch value picth(l) is greater than the threshold value TH_PITCH, it is decided to accumulate in DB and the decision result DB_flag(l) is substituted with 1. On the other hand, if the value is smaller than the threshold value TH_PITCH, it is decided not to accumulate in DB and the decision result DB_flag(l) is substituted with 0.
[0144] The threshold value TH_PITCH only needs to be able to determine whether or not to store in the DB, and various methods can be widely applied. For example, when the pitch estimation value picth(l) in the pitch estimation unit 211 is other than 0, TH_PITCH may be set to 0 to store in the DB, or when the pitch estimation value is equal to or greater than the lower limit of the fundamental frequency of human voice (e.g., approximately 100 Hz), TH_PITCH may be set to 100 to store in the DB.
[0145] The DB storage determination unit 209B outputs the determination result DB_flag(l) indicating whether or not to store in the DB to the DB writing unit 202A.
[0146] Masker signal generation decision section 210B decides whether or not to generate a masker signal based on pitch estimate pitch(l) from pitch estimation section 211. The decision means makes the decision according to, for example, equation (20).
number
[0147] In equation (20), mask_flag(l) is the result of the decision as to whether or not to generate a masker signal, and TH2_PITCH is the threshold value used to decide whether or not to store it. Equation (20) decides to store it in DB if the estimated pitch value picth(l) is greater than the threshold value TH2_PITCH, and assigns 1 to the decision result DB_flag(l). On the other hand, if the value is smaller than the threshold value TH2_PITCH, it decides not to generate a masker signal, and assigns 0 to the decision result mask_flag(l).
[0148] The threshold value TH2_PITCH may be set to 0 so that the signal is stored in the DB when picth(l) is other than 0 in the pitch estimation unit 211, or TH2_PITCH=100 so that the signal is stored in the DB when the signal is equal to or greater than the lower limit of the fundamental frequency of the voice (e.g., about 100 Hz). Also, the threshold value TH2_PITCH=TH_PITCHDB may be set to the same value as the threshold value TH_PITCH in equation (19) used in the DB storage determination unit 209B so that a masker signal is generated when a divided frame signal is written.
[0149] The masker signal generation decision section 210 outputs the decision result mask_flag(l) indicating whether or not to generate a masker signal to the frame signal selection section 205A.
[0150] (C-3) Effects of the Third Embodiment According to the third embodiment, the following effects can be obtained.
[0151] In the sound masking device 100B of the third embodiment, the pitch is estimated only when the input signal is determined to be a voice section (for example, when a voice is output from the speaker 401 of the transaction device 400), and the estimated pitch value is used in the DB accumulation determination unit 209B and the masker signal generation determination unit 210B. By accumulating the divided frame signals in the frame signal DB204 of the input signal DB203, only voiced sounds in the voice section are accumulated in the DB, so that the masker signal can be generated only from the voiced sounds of the voice, and a high masking effect can be maintained. Furthermore, in the sound masking device 100B of the third embodiment, the masker signal is generated only when the voice section is determined to be a voiced sound, so that the masker signal is generated and output only when the voice is input. As a result, the sound masking device 100B of the third embodiment can be configured to output the masker signal only when the voice is input.
[0152] (D) Fourth embodiment A fourth embodiment of the sound processing method will be described in detail with reference to the drawings. In this embodiment, an example in which the sound processing device, the sound processing program, and the sound processing method of the present invention are applied to a sound masking device will be described.
[0153] (D-1) Configuration of the Fourth Embodiment Fig. 6 is a block diagram showing a functional configuration of a sound masking device 100C according to a fourth embodiment. In Fig. 7, the same or corresponding parts as those in Fig. 5 above are denoted by the same or corresponding reference numerals.
[0154] In the following, the fourth embodiment will be described, focusing on the differences from the third embodiment, and a description of the parts that overlap with the third embodiment will be omitted.
[0155] The sound masking device 100C of the fourth embodiment is different from the third embodiment in that the sound masking processing unit 200B is replaced with a sound masking processing unit 200C.
[0156] Sound masking processing unit 200C differs from the third embodiment in that a pitch estimation information DB 212 is added, and that DB writing unit 202A, input signal DB 203, and frame signal selection unit 205A are replaced with DB writing unit 202C, input signal DB 203C, and frame signal selection unit 205C.
[0157] The sound masking device 100C of the fourth embodiment differs from the sound masking device 100B of the third embodiment in that a pitch estimation information DB212 is added and replaced with an input signal DB203C, resulting in an estimated pitch value being stored in the input signal DB, that the input signal DB203C is stored in a different manner due to the replacement with a DB writing unit 202C, and that the masker edge signal selection method is different due to the replacement with a frame signal selection unit 205C.
[0158] The detailed configuration of the sound masking processor 200C will be described.
[0159] The sound masking processing unit 200C includes a frame division unit 201, a voice section determination unit 208, a pitch estimation unit 211, a DB accumulation determination unit 209B, a DB writing unit 202C, an input signal DB 203C, a frame signal DB 204, a pitch estimation information DB 212, a masker signal generation determination unit 210B, a frame signal selection unit 205C, a masker signal generation unit 206A, a masker signal frequency characteristic correction unit 207, a sound input terminal IN, and a sound output terminal OUT.
[0160] Based on the result of the decision by DB accumulation decision section 209B as to whether to write and accumulate the divided frame signal in the DB, DB writing section 202C writes the divided frame signal into frame signal DB204 of input signal DB203C and writes the pitch estimate into pitch estimation information DB212 of input signal DB203C.
[0161] The input signal DB203C is a storage means for storing (holding) past divided frame signals and past pitch estimates in association with each other. Although the data format in the input signal DB203C is not limited, it is assumed here that the input signal DB203C is composed of data including a frame signal DB204 storing past divided frame signals and a pitch estimation information DB212 storing past pitch estimates.
[0162] Based on the judgment result of the masker signal generation judgment section, the frame signal selection section 205C compares the pitch estimate value estimated by the pitch estimation section 211 with past pitch estimate values stored in the pitch estimation information DB212 of the input signal DB203C, and based on the comparison result, selects a masker segment signal from the frame signal DB204 of the input signal DB203C, and outputs the selection result.
[0163] In the fourth embodiment, the masker signal generation determination section 210B may be omitted, as in the first embodiment.
[0164] (D-2) Operation of the Fourth Embodiment Next, the operation of the sound masking device 100C in the fourth embodiment having the above-mentioned configuration (the sound processing method according to the embodiment) will be described in detail.
[0165] The basic operation of the sound masking process in the sound masking device 100C according to the fourth embodiment is similar to the sound masking process described in the third embodiment.
[0166] The following will mainly describe in detail the processing operations in the DB writing unit 202C, the input signal DB 203C, and the frame signal selection unit 205C, which are different from the third embodiment.
[0167] Pitch estimation section 211 estimates the pitch of divided frame signal x_fram(l;m), and outputs the estimated pitch value to DB accumulation determination section 209B, DB writing section 202C, masker signal generation determination section 210B, and frame signal selection section 205C.
[0168] Based on the determination result DB_flag(l) output from the DB accumulation determination unit 209B, the DB writing unit 202C writes the divided frame x_fram(l;m) and the pitch estimate pitch(l) in association with the frame signal DB204 of the input signal DB203 and the pitch estimation information DB212. Only when the determination result DB_flag(l) of the DB accumulation determination unit 209 is 1, the DB writing unit 202C writes the divided frame signal x_fram(l;m) to DB_singal(j;m) of the frame signal DB204 and simultaneously writes the pitch estimate pitch(l) to DB_pitch(j) of the pitch estimation information DB212 according to, for example, equations (2), (21), and (3). On the other hand, when the determination result DB_flag(l) of DB accumulation determination section 209 is 0, divided frame signal x_fram(l;m) and pitch estimate pitch(l) are not written to frame signal DB204 and pitch estimation information DB212 of input signal DB203C. DB_pitch(j)=x_fram_long(l)…(21)
[0169] The input signal DB203C stores (holds) the divided frame x_fram(l;m) and the pitch estimate pitch(l) in association with the frame signal DB204 and the pitch estimation information DB212 of the input signal DB203.
[0170] As described above, the input signal DB203C in this embodiment includes the frame signal DB204 and the pitch estimation information DB212. Here, the signal x_fram(l;m) of each divided frame is recorded in the frame signal DB204, and the pitch estimation information DB212 records the pitch estimate value pitch(l).
[0171] The frame signal selection unit 205C compares the pitch estimate value (the pitch estimate value based on the current divided frame) of the pitch estimation unit 211 with the past pitch estimate value stored in the pitch estimation information DB 212 based on the decision result mask_flag(l) of whether to generate a masker signal output from the masker signal generation decision unit 210B, and selects a divided frame signal having a pitch estimate value (close pitch value) close to the pitch estimate value of the pitch estimation unit 211 as a masker segment signal. The frame signal selection unit 205C selects a frame number T(p) according to, for example, equation (22) or (23) only when the decision result mask_flag(l) of whether to generate a masker signal output from the masker signal generation decision unit 210B is 1. On the other hand, when the decision result mask_flag(l) of whether to generate a masker signal is 0, multiple frames are not selected. Sub_pitch(j) =|picth(l)-"DB_pitch"(j)|…(22) Tc(p) =small(Sub_Pitch(j), p+1))…(23)
[0172] In equation (22), Sub_pitch(j) is the absolute value of the difference between the pitch estimate pitch(l) of the pitch estimation unit 211 and the past pitch estimate DB_pitch(i), and in equation (23), Tc(p) is the selected frame number, and p (p=0, 1..., SEL_NUM-1) is the number of selected frames. Also, small(x(k), p) in equation (23) is a function that outputs index k_p of the p-th smallest x(k_p) in array x(k). Equation (22) is an equation for selecting, as a masker segment signal, index j (divided frame) having the smallest absolute value of the difference between the pitch estimation result pitch(l) of the pitch estimation unit 211 and the past pitch estimate stored in the pitch estimation information DB 212 for each index j.
[0173] As described above, the frame signal selection unit 205C selects a signal (index) of a divided frame having pitch information (close pitch value) close to the pitch estimated value of the pitch estimation unit 211 as a masker segment signal, and outputs the selected frame number Tc(p) to the masker signal generation unit 206A.
[0174] (D-3) Effects of the Fourth Embodiment According to the fourth embodiment, the following effects can be obtained.
[0175] In the sound masking device 100C of the fourth embodiment, the pitch is estimated only when the input signal is determined to be a voice section (for example, when voice is output from the speaker 401 of the trading device 400), and the pitch estimate is used in the DB accumulation determination unit 209B and the masker signal generation determination unit 210B, and at the same time, the divided frame signal and the pitch estimate are accumulated in the input signal DB203C and used in the frame signal selection unit 205C, so that a divided frame signal with a similar pitch can be selected from the frame signal DB204 of the input signal DB203C, and the frequency characteristics of the masker signal become close to the pitch of the input voice, making it possible to generate a masker signal with a high masking effect.
[0176] (E) Other embodiments The present invention is not limited to the above-described embodiments, and may include modified embodiments such as those exemplified below.
[0177] (E-1) For example, the sound masking device of the present invention may be installed in a device that prevents the contents of a conversation between user U1 and other people around him or her during a telephone conference.
[0178] (E-2) In each of the above embodiments, the sound masking unit of the sound masking device may be configured to be processed by a processing device (for example, a server, etc.) on a network.
[0179] (E-3) In each of the above embodiments, the sound masking device has been described as including an audio device (a device output sound input terminal, an amplifier, an AD converter, a speaker output terminal, a speaker amplifier, and a DA converter), but the sound masking device may be manufactured without the audio device, and the audio device may be connected separately at the site where it is actually used. In other words, the sound masking device may be configured to include at least a sound masking processing unit. [Explanation of symbols]
[0180] 100...sound masking device, 101...device output sound input terminal, 102...amplifier, 103...AD converter, 104...DA converter, 105...speaker amplifier, 106...speaker output terminal, 113...target speaker, 114...person other than the corresponding speaker, 115...floor, 116...masker signal emission area, 117...ceiling, 200...sound masking device, 201...frame division unit, 202...DB writing unit, 203...input signal DB, 204...frame signal DB, 205...frame signal Selection unit, 206... delay time calculation unit, 207... masker signal generation unit, 208... voice section determination unit, 209... DB accumulation determination unit, 210... masker signal generation unit, 211... pitch estimation unit, 212... pitch estimation information DB, 300... computer, 301... processor, 302... primary memory unit, 303... secondary memory unit, 400... transaction device, 401... transaction device speaker, 402... transaction device sound output terminal, 501... masker signal playback speaker, IN... sound input terminal, OUT... sound output terminal.
Claims
1. a frame division means for dividing an input signal supplied from a terminal for inputting a sound from a target sound source that outputs a sound to be masked into a predetermined length suitable for speech analysis; a pitch estimation means for estimating the pitch of the input signal divided into frames by the frame division means; an input signal storage means for storing, for each frame, the input signal divided into frames by said frame division means and the pitch estimation result estimated by said pitch estimation means; a signal selection means for selecting a plurality of masker segment signals to be used for generating a masker signal from the pitch estimation result estimated by said pitch estimation means and the past pitch estimation results stored in said input signal storage means; a masker signal generating means for generating and outputting a masker signal that makes it difficult to hear at least the sound output from the target sound source, using a signal used for generating the masker signal; a frequency characteristic correction means for correcting a frequency characteristic of the masker signal generated by the masker signal generation means in accordance with a frequency characteristic of the target sound source to generate a corrected masker signal, and outputting the corrected masker signal to a speaker, the input signal storage means stores the input signal divided into frames by the frame division means without processing it, The frequency characteristic correction means corrects the masker signal using a correction filter that corrects the difference between the frequency characteristic of the speaker and the frequency characteristic of the target sound source.
13. An audio processing device comprising:
2. Computer, a frame division means for dividing an input signal supplied from a terminal for inputting a sound from a target sound source that outputs a sound to be masked into a predetermined length suitable for speech analysis; a pitch estimation means for estimating the pitch of the input signal divided into frames by the frame division means; an input signal storage means for storing, for each frame, the input signal divided into frames by said frame division means and the pitch estimation result estimated by said pitch estimation means; a signal selection means for selecting a plurality of masker segment signals to be used for generating a masker signal from the pitch estimation result estimated by said pitch estimation means and the past pitch estimation results stored in said input signal storage means; a masker signal generating means for generating and outputting a masker signal that makes it difficult to hear at least the sound output from the target sound source, using a signal used for generating the masker signal; a frequency characteristic correction means for correcting the frequency characteristic of the masker signal generated by the masker signal generation means in accordance with the frequency characteristic of the target sound source to generate a corrected masker signal, and outputting the corrected masker signal to a speaker; the input signal storage means stores the input signal divided into frames by the frame division means without processing it, The frequency characteristic correction means corrects the masker signal using a correction filter that corrects the difference between the frequency characteristic of the speaker and the frequency characteristic of the target sound source.
2. An acoustic processing program comprising:
3. In a sound processing method performed by a sound processing device, the sound processing device includes a frame division means, a pitch estimation means, an input signal storage means, a signal selection means, a masker signal generation means, and a frequency characteristic correction means; The frame division means divides an input signal supplied from a terminal for inputting a sound from a target sound source that outputs a sound to be masked into a predetermined length suitable for speech analysis; The pitch estimation means estimates the pitch of the input signal divided into frames by the frame division means, the input signal storage means stores, for each frame, the input signal divided into frames by the frame division means and the pitch estimation result estimated by the pitch estimation means; the signal selection means selects a plurality of masker segment signals to be used for generating a masker signal from the pitch estimation result estimated by the pitch estimation means and the past pitch estimation results stored in the input signal storage means; the masker signal generating means generates and outputs the masker signal, using a signal used for generating the masker signal, the masker signal making at least the sound output from the target sound source difficult to hear; the frequency characteristic correction means corrects the frequency characteristic of the masker signal generated by the masker signal generation means in accordance with the frequency characteristic of the target sound source to generate a corrected masker signal, and outputs the corrected masker signal to a speaker; the input signal storage means stores the input signal divided into frames by the frame division means without processing it, The frequency characteristic correction means corrects the masker signal using a correction filter that corrects the difference between the frequency characteristic of the speaker and the frequency characteristic of the target sound source.
13. An acoustic processing method comprising:
Citation Information
Patent Citations
Method and device for processing voice, program, and voice system
JP2006243178A
Sound masking apparatus and method, and program
JP2014199445A
Personal sound masking system
US6188771B1
