SOUND PROCESSING DEVICE, SOUND PROCESSING PROGRAM, AND SOUND PROCESSING METHOD
The sound processing device addresses the issue of artificial masker signals by using longer signal frames and selecting masker segments from past frames to generate a masking effect, enhancing speech privacy without creating unpleasant sounds.
Patent Information
- Application Number
- JP2020020057
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-07
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-02-07
AI Technical Summary
Existing sound processing methods generate artificial and unpleasant masker signals due to the rapid transformation of spectral envelopes, which can be heard by third parties and compromise speech privacy.
A sound processing device that stores microphone input signals in frames long enough to be recognized as words or sentences, selects masker segment signals from past frames, and generates masker signals using these segments to create a masking effect without altering the acoustic features of the speaker's voice.
The method reduces the unpleasantness of the masker signal by using longer signal frames and maximizing the masking effect, ensuring the masker signal is not artificial and effectively masks the target speaker's voice.
Smart Images

Figure 0007532791000025 
Figure 0007532791000029 
Figure 0007532791000026
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 contents of a conversation being leaked to nearby third parties when a speaker and his or her interlocutor converse 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 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. The sound that masks is generally called the masker, and the target sound that is masked is called the maskee.
[0005] Patent Document 1 proposes a technique for preventing the contents of a conversation from being leaked to a third party (protecting speech privacy) by utilizing this masking effect.
[0006] The voice processing method described in Patent Document 1 extracts the spectral envelope and spectral fine structure of a microphone input voice signal, transforms the extracted spectral envelope to generate a transformed spectral envelope, synthesizes the transformed spectral envelope and the extracted spectral fine structure to generate a transformed spectrum, and outputs a signal generated based on the transformed spectrum as a "masker signal," thereby preventing the contents of the conversation from being heard by a third party. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2006-243178 A Summary of the Invention [Problem to be solved by the invention]
[0008] However, in the voice processing method described in Patent Document 1, the spectral envelope of the input voice signal of the microphone is extracted, the spectral envelope is transformed to generate a transformed spectral envelope, and the transformed spectral envelope is used as a signal to generate a masker signal by combining with the spectral fine structure. Therefore, the masker signal generated by transforming the speaker's voice signal may sound artificial, and the masker signal may sound unpleasant.
[0009] Furthermore, because the spectral envelope of a voice changes over time, extracting the spectral envelope requires a short processing cycle (approximately 80 to 160 milliseconds). As a result, a signal with a transformed spectral envelope in a short processing cycle continues to be output as a masker signal, which may result in an even more artificial sound, making the masker signal unpleasant.
[0010] In view of the above problems, there is a demand for an audio processing device, an audio processing program, and an audio processing method that can achieve a high masking effect without analyzing the acoustic features of the speaker speaking the voice (hereinafter referred to as the "target speaker"). [Means for solving the problem]
[0011] The first sound processing device of the present invention comprises: (1) a target speaker making an utterance; In (2) an input signal storage means for storing a microphone input signal supplied from a microphone for picking up sound in storage frame units of a predetermined length that can be recognized as a sound signal; While the target speaker is speaking(3) a signal selection means for selecting a masker segment signal to be used for generating a masker signal that makes it difficult to hear the speech uttered by the target speaker from the past storage frames stored in the input signal storage means, and outputting the selection result; While the target speaker is speaking The present invention is characterized by comprising a masker signal generating means for generating and outputting the masker signal using the masker segment signal selected by the signal selecting means.
[0012] The second aspect of the present invention is a sound processing device that includes: (1) a computer that receives an utterance from a target speaker; In (2) an input signal storage means for storing a microphone input signal supplied from a microphone for picking up sound in storage frame units of a predetermined length that can be recognized as a sound signal; While the target speaker is speaking (3) a signal selection means for selecting a masker segment signal to be used for generating a masker signal that makes it difficult to hear the speech uttered by the target speaker from the past storage frames stored in the input signal storage means, and outputting the selection result; While the target speaker is speaking The masker signal generating means functions as a masker signal generating means which generates and outputs the masker signal using the masker segment signal selected by the signal selecting means.
[0013] The third aspect of the present invention is a sound processing method performed by a sound processing device, which comprises: (1) an input signal storage means, a signal selection means, and a masker signal generation means; and (2) the input signal storage means stores a speech signal uttered by a target speaker. In (3) storing a microphone input signal supplied from a microphone for picking up sound in storage frame units of a predetermined length that can be recognized as a sound signal; and While the target speaker is speaking (4) the masker signal generating means selects a masker segment signal to be used for generating a masker signal that makes it difficult to hear the speech uttered by the target speaker from the past frames for storage stored in the input signal storage means, and outputs the selection result; While the target speaker is speaking The masker signal is generated and output using the masker segment signal selected by the signal selection means. Effect of the Invention
[0014] According to the present invention, by increasing the length of the signal used to generate a masker signal, the generated masker signal does not sound artificial, thereby making it possible to provide an audio processing device, an audio processing program, and an audio processing method that can reduce the discomfort felt by the masker signal. [Brief description of the drawings]
[0015] [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 (part 1) showing how a masker signal generated by the sound masking device according to the first embodiment is output. [Figure 4] FIG. 2 is a conceptual diagram (part 2) showing an example of outputting a masker signal generated by the sound masking device according to the first embodiment. [Diagram 5] FIG. 11 is a block diagram showing a functional configuration of a sound masking device according to a second embodiment. [Figure 6] FIG. 11 is a block diagram showing a functional configuration of a sound masking device according to a third embodiment. [Figure 7] FIG. 13 is a block diagram showing a functional configuration of a sound masking device according to a fourth embodiment. [Figure 8] FIG. 13 is a block diagram showing a functional configuration of a sound masking device according to a fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] (A) First embodiment A first embodiment of a sound processing device, a sound processing program, and a 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, the sound processing program, and the sound processing method according to the present invention are applied to a sound masking device will be described.
[0017] (A-1) Configuration of the First Embodiment FIG. 1 is a block diagram showing the functional configuration of a sound masking device 100 according to this embodiment.
[0018] The sound masking device 100 includes a microphone 101 , a microphone amplifier 102 , an AD converter 103 , a DA converter 104 , a speaker amplifier 105 , a speaker 106 , and a sound masking processing unit 200 .
[0019] The microphone 101 converts air vibrations such as human voice and other sounds into an electrical signal.
[0020] The microphone amplifier 102 amplifies the electrical signal received (collected) by the microphone 101 .
[0021] The AD converter 103 converts the electrical signal (analog signal) amplified by the microphone amplifier 102 into a digital signal. Hereinafter, the digital signal output from the AD converter 103 will be referred to as a "microphone input signal."
[0022] The sound masking processing unit 200 generates a masker signal from the input microphone input signal, which is a signal that masks the microphone input signal, and outputs the signal.
[0023] The DA converter 104 converts the output signal (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 output from the DA converter 104 .
[0025] The speaker 106 converts an electrical signal into vibrations in the air and outputs the vibrations as sound.
[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 long-time frame signal creation unit 202, a DB (database) writing unit 203, an input signal DB 204, a frame signal DB 205, a frame signal selection unit 206, a delay time calculation unit 207, a masker signal generation unit 208, a sound input terminal IN, and a sound output terminal OUT.
[0028] The sound input terminal IN is an interface (audio interface) that inputs a microphone input signal to the sound masking processing unit 200.
[0029] The frame dividing unit 201 divides the microphone 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 L1") and outputs the frames. It is desirable to apply a length suitable for analyzing voice as the frame length L1 in general. For example, in the frame dividing unit 201, the frame length L1 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 long-term frame signal creation unit 202 combines the divided frame signals into a frame (hereinafter referred to as a "long-term frame") of a predetermined length (hereinafter referred to as a "frame length L2") and outputs the combined signal. It is desirable to apply a frame length L2 (length of combining divided frames; number of combining divided frames) that is long enough to recognize as a word or sentence of a speech signal (long enough to recognize as a part of a word or sentence spoken by a human being when heard by the human ear). For example, in the long-term frame signal creation unit 202, the frame length L2 may be a length obtained by combining 3 to 5 frames of divided frame signals (for example, L2=L2×3 to L2=L2×5), may be combined to be a length of a sound segmentation unit (for example, a mora length of 1 mora to 2 moras), or may be a time unit (for example, any length in a range of 300 ms to 1000 msec). Then, the long-term frame signal creation unit 202 outputs the combined long-term frame signal (hereinafter referred to as a "long-term frame signal").
[0031] The DB writing unit 203 writes the long time frame signal into the frame signal DB205 of the input signal DB204. The input signal DB204 is a storage means for storing (holding) each past long time frame signal for each long time frame. Although the data format in the input signal DB204 is not limited, it is assumed here that the input signal DB204 is composed of a frame signal DB205 that stores past long time frame signals. The frame signal selection unit 206 selects multiple frames of the past long time frame signals stored in the frame signal DB205 of the input signal DB204 as signals to be used for generating a masker signal (hereinafter referred to as "masker segment signals"), and outputs the selection result.
[0032] Based on the selection result of the frame signal selection unit 206, the delay time calculation unit 207 reads out multiple frames of the selected past long-time frame signal as a masker segment signal from the frame signal DB205 of the input signal DB204, calculates the delay time of the masker segment signal that will produce the highest masking effect based on the masker segment signals of the read out multiple frames and the current divided frame signal, and outputs the calculated delay time.
[0033] The masker signal generation unit 208 reads out the selected masker segment signal from the frame signal DB205 of the input signal DB204 for multiple frames based on the selection result of the frame signal selection unit 206 and the delay time of the masker segment signal calculated by the delay time calculation unit 207, and generates and outputs a masker signal using a signal obtained by delaying the read masker segment signal of the multiple frames by the delay time calculated by the delay time calculation unit 207.
[0034] The sound output terminal OUT is an interface (audio interface) that outputs the masker signal generated by the masker signal generating unit 210 to the DA converter 104 .
[0035] 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.
[0036] 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.
[0037] FIG. 2 shows a configuration for implementing the sound masking processing unit 200 in software (computer).
[0038] 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.
[0039] 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.
[0040] 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).
[0041] 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).
[0042] 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.
[0043] (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.
[0044] When the operation of the sound masking device 100 starts and a target speaker U1 of the sound masking device 100 speaks into the microphone 101, a voice signal is input to the microphone 101.
[0045] An analog audio signal input to the microphone 101 is converted into an electrical signal (analog signal), amplified by the microphone amplifier 102, converted from the analog signal to a digital signal by the AD converter 103, and input as a microphone input signal x(n) to a sound input terminal IN of the sound masking processing unit 200. In the microphone input signal x(n), n is a parameter indicating a discrete time series of the input signal.
[0046] When the microphone input signal x(n) starts to be input to the sound input terminal IN of the sound masking processing unit 200 , the signal is input to the frame division unit 201 .
[0047] The frame division unit 201 divides the microphone input signal x(n) into divided frame signals with a frame length L1. The frame division unit 201 divides the microphone input signal x(n) into divided frames according to, for example, equation (1).
number
[0048] In equation (1), x_fram(l;m) is the divided frame signal, l is the frame number, and m is the time within the divided frame (m=0, 1, 2, . . . , L1-1).
[0049] The frame dividing unit 201 outputs the divided frame signal x_fram(l;m) to the long time frame signal creating unit 202 and the delay time calculating unit 207 .
[0050] The long-term frame signal creation unit 202 combines the divided frame signals into a long-term frame signal with a frame length L2. The specific method by which the long-term frame signal creation unit 202 creates the long-term frame is not limited, and various methods can be applied. For example, when combining divided frame signals with a divided frame, the long-term frame signal creation unit 202 may create the long-term frame signal x_fram_long(s) according to equation (2).
number
[0051] In equation (2), i is an index (i = 0, 1, 2, ..., I-1), and I is the number of divided frames used in the long-term frame signal (hereinafter referred to as the "number of frames used") (I = L2 / L1).
[0052] The long-term frame signal x_fram_long(s) may be generated, for example, according to equations (3) and (4).
number
[0053] In equation (3), s is the time in the long-term frame (s=0, 1, 2, . . . , L2-L1-1). Equation (3) shifts the long-term frame input signal x_fram_long(s) forward by the divided frame length L1, and equation (4) stores the divided frame signal x_fram(l;m) after the long-term frame signal x_fram_long(s). Also, the divided frame signals x_fram(l;m) may be combined in time units.
[0054] The long time frame signal creation unit 202 outputs the long time frame signal x_fram_long(s) to the DB writing unit 203 .
[0055] The DB writing unit 203 writes the long time frame signal x_fram_long(t) to the frame signal DB 205 of the input signal DB 204. The DB writing unit 203 writes the long time frame signal x_fram_long(t) to the frame signal DB 205 DB_singal(j;t) of the input signal DB 204 for each long time frame, for example, according to equation (5).
number
[0056] In equation (5), t is the time in the long time frame (t=0, 1, 2,..., L2-1), j is an index (j=0, 1, 2,..., DB_LEN-1; primary key; long time frame identifier) that is incremented when a long time frame signal is written to the frame signal DB205 of the input signal DB204, and DB_LEN is the database length. As shown in equations (5) and (6), the long time frame signal x_fram_long(s) is accumulated for each long time frame in the frame signal DB205DB_singal(j;t).
[0057] The input signal DB 204 is a storage means for storing (holding) each past long-time frame signal.
[0058] As described above, the input signal DB 204 in this embodiment includes the frame signal DB 205. Here, each long-term frame signal x_fram_long(t) is accumulated in the frame signal DB 205.
[0059] The frame signal selection unit 206 selects multiple frames as masker segment signals from past long-time frame signals stored in the frame signal DB 205 of the input signal DB 204. The specific method by which the frame signal selection unit 206 selects the masker segment signal is not limited, and various methods can be applied. For example, the frame signal selection unit 206 selects the frame selection result T(p) as shown in equation (7).
number
[0060] In equation (7), p (p=0, 1..., SEL_NUM-1) is the index of the selected frame selection result 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 (6). Equation (7) selects long-term frame signals stored in the frame signal DB205 of the input signal DB204 in chronological order, and assigns the index number of the database in which the selected long-term frame signal is stored to T(p).
[0061] Moreover, the method of selecting the masker segment signal may be such that the masker segment signal is selected according to, for example, equation (8).
number
[0062] In equation (8), rand(p) is a function that generates a random number for a natural number p. Equation (8) uses the MOD function to return the remainder when the random number generated by rand(p) is divided by DB_LEN-1, so that the random number is randomly selected from the long-time frame signal stored in the frame signal DB205 of the input signal DB204.
[0063] As described above, the frame signal selection unit 206 selects a plurality of frames from the long time frame signals held in the frame signal DB 205 , and outputs the selection result T(p) to the delay time calculation unit 207 and the masker signal generation unit 208 .
[0064] The delay time calculation unit 207 reads out a masker segment signal from the frame signal DB 205 of the input signal DB 204 based on the selection result T(p) of the frame signal selection unit 206, calculates a delay time of the masker segment signal based on the masker segment signal and the divided frame signal x_fram(l;m) output from the frame division unit 201 so as to maximize the masking effect, and outputs the calculated delay time. The delay time calculation unit 207 may calculate the delay amount delay(l;p) according to, for example, equation (9).
number
[0065] In equation (9), τ1 (τ1=0, 1 . . . , L1-1) is the delay of the cross-correlation function, and cross_corr(l; τ1) is the cross-correlation function of the masker segment signal. Equations (9) and (10) are used to calculate the cross-correlation function cross_corr(l; k) between the masker segment signal and the divided frame signal x_fram(l; m), and to calculate the index τ1 at which the cross-correlation function cross_corr(l; k) is maximized, and substitute this for the delay amount delay(l; p).
[0066] The delay time calculation unit 207 outputs the calculated delay amount delay(l;p) to the masker signal generation unit 208 .
[0067] The masker signal generating unit 208 reads out a plurality of frames of masker segment signals from the frame signal DB 205 of the input signal DB 204 based on the selection result T(p) of the frame signal selecting unit 206, and generates a masker signal by delaying the masker segment signals by the delay amount delay(l;p) calculated by the delay time calculating unit 207. The specific method by which the masker signal generating unit 208 generates a masker signal is not limited, and various methods can be applied. The masker signal generating unit 210 generates a masker signal h(l;t) according to, for example, equation (11).
number
[0068] Equation (11) is an equation in which a plurality of masker segment signals selected by the frame signal selection unit 206 are read from the frame signal DB205 of the input signal DB204, and the read masker segment signals are delayed by a delay amount delay(l;p) and then superimposed to generate a masker signal h(l;t).
[0069] Then, the masker signal generator 208 performs overlap addition on the masker signal h(l;t) in accordance with equation (12) and outputs the result as an output signal y(n) to the sound output terminal OUT.
number
[0070] The masker signal y(n) output from the sound output terminal OUT of the sound masking processing unit 200 is converted from a digital signal to an analog signal by the DA converter 104, amplified by the speaker amplifier 105, and then output from the speaker .
[0071] Figures 3 and 4 are diagrams showing examples of the positional relationship (positioning configuration of speaker 106) between microphone 101, target speaker U1 speaking into microphone 101, a person other than target speaker U1 standing behind target speaker U1 (a person who makes the speech of target speaker U1 difficult to hear with a masker signal: hereafter referred to as the "masking subject") U2, and speaker 106.
[0072] 3 and 4, the dotted line indicates the directivity of a direct sound DS (Direct Sound) output from the speaker 106. Also, in Fig. 3, the dashed line indicates the directivity of a reflected sound RS (Reflected Sound) generated when the direct sound is reflected on the floor FR (FLOOR).
[0073] In Fig. 3, the speaker 106 is installed in front of the target speaker U1 at about knee height, with the vibration surface of the speaker 106 facing downward and obliquely relative to the surface of the floor FR, so that the direct sound DS is reflected by the floor FR and the reflected sound RS is directed to be transmitted to the masking target U2 behind the target speaker U1. The masker signal emitted from the speaker 106 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 target speaker U1. At this time, the direct sound of the voice uttered by the target speaker U1 is also transmitted to the masking target U2, but is masked by the masker signal.
[0074] As described above, the speaker 106 can be installed in a wide variety of ways as long as it is installed so that the masker signal is not audible to the target speaker U1 and the masking subject U2 can hear the masker signal. For example, as shown in FIG. 4(a), if there is space to install a speaker 106 behind the target speaker U1, the speaker may be installed behind the target speaker U1 and the vibration surface of the speaker 106 may be directly directed toward the masked person U2. Alternatively, as shown in FIG. 4(b), if there is space to embed the speaker 106 in the floor FR near the masked person U2, the speaker 106 may be embedded in the floor FR and the vibration surface of the speaker 106 may be directly directed toward the masked person U2 to output a masker signal. Alternatively, as shown in FIG. 4(c), if there is space to install a speaker 106 on the ceiling CE (CEILING) near the masked person U2, the speaker 106 may be installed on the ceiling CE and the vibration surface of the speaker 106 may be directly directed toward the masked person U2 to output a masker signal.
[0075] (A-3) Effects of the First Embodiment As described above, according to the first embodiment, in order to prevent the generated masker signal from becoming an artificial sound (a mechanical sound), the sound masking device 100 accumulates the generated masker signal in the input signal DB204 with a long frame length L2 that is long enough to recognize the target speaker's voice as a voice signal (long enough to recognize it as a word or part of a sentence spoken by a human when heard by the human ear), and uses the past long frame signals accumulated in the input signal DB2054 as masker segment signals without modifying them.
[0076] Furthermore, by calculating the delay amount at which the correlation function between the masker segment signal and the divided frame signal is maximized and then generating the masker signal after delaying it, the correlation between the target speaker's voice and the generated masker signal is increased, resulting in a higher masking effect.
[0077] (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.
[0078] (B-1) Configuration of the second embodiment Fig. 5 is a block diagram showing a functional configuration of a sound masking device 100A according to the second embodiment. In Fig. 5, the same or corresponding parts as in Fig. 1 are denoted by the same or corresponding reference numerals.
[0079] 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.
[0080] The sound masking device 100A of the second embodiment is different from that of the first embodiment in that the sound masking processing unit 200 is replaced with a sound masking processing unit 200A.
[0081] The sound masking processing unit 200A differs from the first embodiment in that a voice section determination unit 209, a DB accumulation determination unit 210, and a masker signal generation determination unit 211 are added, and further, the DB writing unit 203, the frame signal selection unit 206, and the masker signal generation unit 208 are replaced with a DB writing unit 203A, a frame signal selection unit 206A, and a masker signal generation unit 208A.
[0082] 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 209 and a DB accumulation determination unit 210 are added and replaced with a DB writing unit 203A, resulting in a different accumulation method of long-time frame signals accumulated in a frame signal DB205 of an input signal DB204; a masker signal generation determination unit 211 is added and replaced with a frame signal selection unit 206A, resulting in a different method of selecting a masker segment signal; and a masker signal generation unit 208A, resulting in a different method of generating a masker signal.
[0083] The detailed configuration of the sound masking processor 200A will be described.
[0084] The sound masking processing unit 200A has a frame division unit 201, a long-time frame signal creation unit 202, a voice section determination unit 209, a DB accumulation determination unit 210, a DB writing unit 203A, an input signal DB 204, a frame signal DB 205, a masker signal generation determination unit 211, a frame signal selection unit 206A, a delay time calculation unit 207, a masker signal generation unit 208A, a sound input terminal IN, and a sound output terminal OUT.
[0085] The voice section determination unit 209 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.
[0086] The DB accumulation determination unit 210 determines whether to write and accumulate the long-time frame signal in the DB or not based on the determination result of the voice section determination unit 209, and outputs the determination result.
[0087] The DB writing unit 203A writes a long time frame signal into a frame signal DB 205 of an input signal DB 204 based on a result of a decision made by the DB accumulation decision unit 210 as to whether or not to write and accumulate the divided frame signal in the DB.
[0088] The masker signal generation determination unit 211 determines whether or not to generate a masker signal based on the determination result of the voice section determination unit 209, and outputs the determination result.
[0089] The frame signal selection unit 206A selects a multi-frame masker segment signal from past long-time frame signals stored in the frame signal DB 205 of the input signal DB 204 based on the determination result of the masker signal generation determination unit 211, and outputs the selection result.
[0090] In the second embodiment, the masker signal generation determination unit 211 may be omitted.
[0091] (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.
[0092] 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.
[0093] The following describes in detail the operations of the voice segment determination unit 209, DB accumulation determination unit 210, DB writing unit 203A, masker signal generation determination unit 211, frame signal selection unit 206A, and masker signal generation determination unit 2011, which are different from the first embodiment.
[0094] The frame dividing unit 201 divides the microphone input signal x(n) into divided frame signals of frame length L1, and outputs the divided frame signals x_fram(l;m) to the long-time frame signal creating unit 202, the voice segment determining unit 209, and the delay time calculating unit 207.
[0095] The voice section determination unit 209 uses the divided frame signal x_fram(l;m) to determine whether it is a voice section or a non-voice section. There is no limitation on the specific method by which the voice section determination unit 209 determines whether it is a voice section or a non-voice section, and various methods can be applied. For example, the voice section determination unit 209 determines whether it is a voice section or a non-voice section according to equations (13) and (14).
number
[0096] In equations (13) and (14), x_fram_amp(l) is the average amplitude value of the divided frame signal, VAD(l) is the voice activity determination result, and TH is the threshold value used to determine the voice activity. Equation (13) is an equation for calculating the average amplitude value x_fram_amp(l) of the divided frame signal x_fram(l;m), and equation (14) is an equation for determining a voice activity and substituting 1 for the voice activity 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 (13) is greater than the threshold TH, and for determining a non-voice activity and substituting 0 for the voice activity determination result VAD(l) if the value is smaller than the threshold TH.
[0097] The threshold value TH in equation (14) 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 (15), a fixed threshold value TH may be used in which a frame (hereinafter referred to as the "initial frame") of a predetermined length (hereinafter referred to as the "frame length L3") from when the sound masking device 100A begins to operate 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 (16), a threshold value TH(l) that varies for each divided frame using a time constant filter on x_fram_amp(l) may be used.
number
[0098] In equation (16), a is the coefficient of the time constant filter and takes a value between 0 and 1. In equation (16), 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.).
[0099] In addition, the means for determining whether it is a voice section or a non-voice section can be a wide variety of methods, for example, the method may be to calculate the autocorrelation of the divided frame signal x_fram(l;m) to determine whether it is a voice section or a non-voice section.
[0100] The voice section determination unit 209 outputs the voice section determination result VAD(l) to the DB accumulation determination unit 210 and the masker signal generation determination unit 211 .
[0101] The DB accumulation determination unit 210 determines whether or not to accumulate the long-time frame signal x_fram_long(s) 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 209. The determination means performs the determination according to, for example, equation (17).
number
[0102] In equation (17), DB_flag(l) is the result of the decision as to whether to store or not. In equation (17), 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).
[0103] The DB accumulation determination unit 210 outputs the determination result DB_flag(l) indicating whether or not to accumulate in the DB to the DB writing unit 203A.
[0104] The DB writer 203A writes the long time frame signal x_fram_long(t) to the frame signal DB205 of the input signal DB204, for example, according to equations (5) and (6), only when the determination result DB_flag(l) output from the DB accumulation determiner 210 is 1. On the other hand, when the determination result DB_flag(l) of the DB accumulation determiner 210 is 0, the DB writer 203A does not write the long time frame signal x_fram_long(s) to the frame signal DB205 of the input signal DB204.
[0105] The masker signal generation determination unit 211 determines whether or not to generate a masker signal based on the voice section determination result VAD(l) of the voice section determination unit 209. The determination means performs the determination according to, for example, equation (18).
number
[0106] In equation (18), mask_flag(l) is the decision result of whether or not to generate a masker signal. When the speech activity decision result VAD(l) is 1, equation (18) 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).
[0107] The masker signal generation decision unit 211 outputs the decision result mask_flag(l) indicating whether or not to generate a masker signal to the frame signal selection unit 206A and the masker signal generation unit 208A.
[0108] The frame signal selection unit 206A selects the frame selection result T(p) according to, for example, equation (7) or equation (8) 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 211 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.
[0109] As described above, the frame signal selection unit 206 selects multiple frames from the long time frame signals stored in the frame signal DB 205 only when the decision result mask_flag(l) of whether to generate a masker signal is 1, and outputs the selection result T(p) to the delay time calculation unit 207 and the masker signal generation unit 208A.
[0110] The masker signal generating unit 208A reads out a past long frame signal from the frame signal DB 205 of the input signal DB 204 as a masker segment signal 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 211 and the selection result T(p) of the frame signal selecting unit 206, and generates and outputs a masker signal delayed by the delay amount delay(l;p) calculated by the delay time calculating unit 207. The masker signal generating unit 208A generates a masker signal ha(l;t) according to, for example, equation (19).
number
[0111] Equation (19) generates a masker signal h(l;t) and assigns it to ha(l;t) only when the judgment result mask_flag(l) of whether or not to generate a masker signal output from the masker signal generation judgment unit 211 is 1. On the other hand, when the judgment result mask_flag(l) of whether or not to generate a masker signal is 0, 0 (silence) is assigned to ha(l;t).
[0112] As described above, the masker signal generating unit 208A generates a masker signal only when the determination result mask_flag(l) indicating whether or not to generate a masker signal is 1.
[0113] Then, the masker signal generating unit 208A performs overlap addition processing on the masker signal ha(l;t) in accordance with equation (20) and outputs the result as an output signal y(n) to the sound output terminal OUT.
number
[0114] (B-3) Effects of the Second Embodiment As described above, according to the second embodiment, in the sound masking device 100A of the second embodiment, in order to prevent the generated masker signal from becoming an artificial sound (mechanical sound), the signal is stored in the input signal DB204 at a length that allows it to be recognized as a voice signal, and past long-term frame signals stored in the input signal DB204 are used as masker segment signals without modification, and the masker segment signals are delayed before generating the masker signal, thereby achieving the effect of increasing the correlation between the voice of the target speaker and the generated masker signal and improving the masking effect.
[0115] Also, by accumulating the voice of the target speaker U1 in the frame signal DB205 of the input signal DB204 only when it is determined to be a voice section, only the voice section is accumulated in the input signal DB204, 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, the masker signal can be generated and output only when the voice of the target speaker U1 is input, so that a configuration can be made in which the masker signal is output only when voice is input.
[0116] (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.
[0117] (C-1) Configuration of the third embodiment Fig. 6 is a block diagram showing a functional configuration of a sound masking device 100B according to a third embodiment. In Fig. 6, the same or corresponding parts as those in Figs. 1 and 5 are denoted by the same or corresponding reference numerals.
[0118] In the following, the third embodiment will be described, focusing on the differences from the first and second embodiments, and a description of the parts that overlap with the first and second embodiments will be omitted.
[0119] 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.
[0120] The sound masking processing unit 200B differs from the second embodiment in that a pitch estimation unit 212 is added, and the DB accumulation determination unit 210 and the masker signal generation determination unit 211 are replaced with a DB accumulation determination unit 210B and a masker signal generation determination unit 211B, respectively.
[0121] The sound masking device 100B of the third embodiment differs from the sound masking device 100 of the second embodiment in that a pitch estimation unit 212 is added to estimate the pitch of the divided frame signal, a DB accumulation determination unit 210B is replaced with a DB accumulation determination unit 210B to accumulate the long-time frame signal in the frame signal DB205 of the input signal DB204, and a masker signal is generated in a different way by being replaced with a masker signal generation determination unit 211B.
[0122] The detailed configuration of the sound masking processing unit 200B will be described.
[0123] The sound masking processing unit 200B has a frame division unit 201, a long-time frame signal creation unit 202, a voice section determination unit 209, a pitch estimation unit 212, a DB accumulation determination unit 210B, a DB writing unit 203A, an input signal DB 204, a frame signal DB 205, a masker signal generation determination unit 211B, a frame signal selection unit 206A, a delay time calculation unit 207, a masker signal generation unit 208A, a sound input terminal IN, and a sound output terminal OUT.
[0124] Based on the result of the voice section determination output from the voice section determination unit 209, the pitch estimation unit 212 estimates the pitch (voice pitch) of the divided frame signal only when a voice section is determined to exist, and outputs the pitch estimation result (hereinafter referred to as the "pitch estimate").
[0125] DB accumulation determination section 210B determines whether or not to accumulate the divided frame signal in frame signal DB 205 of input signal DB 204 based on the pitch estimate value from pitch estimation section 212, and outputs the determination result.
[0126] The masker signal generation determination section 211B determines whether or not to generate a masker signal based on the pitch estimate value from the pitch estimation section 212, and outputs the determination result.
[0127] In the third embodiment, the masker signal generation determination unit 211B may be omitted, as in the first embodiment.
[0128] (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.
[0129] The basic operation of the sound masking process in the sound masking processor 200B according to the third embodiment is similar to the sound masking process described in the first and second embodiments.
[0130] The following will mainly describe in detail the processing operations in pitch estimation section 212, DB accumulation determination section 210B, and masker signal generation determination section 211B, which are different from the second embodiment.
[0131] The voice section determination unit 209 determines whether the divided frame signal x_fram(l;m) is a voice section or a non-voice section according to, for example, equations (13) to (15), and outputs the voice section determination result VAD(l) to the pitch estimation unit 212.
[0132] The pitch estimation unit 212 estimates the pitch of the divided frame signal x_fram(l;m) only for divided frames determined to be voice segments by the voice segment determination unit 209 (divided frames with VAD(l)=1). The specific method by which the pitch estimation unit 212 estimates the pitch is not limited, and various methods can be applied. The pitch estimation unit 212 makes the determination according to, for example, equations (21) to (23).
number
[0133] In equation (21), τ2 (τ2 = 0, 1..., L1-1) is the autocorrelation delay, in equation (22), fs is the sampling frequency, tmp_pitch(l) is a variable that temporarily holds the estimated pitch, and in equation (23), pitch(l) is the estimated pitch. Equation (21) calculates the autocorrelation function x_fram_corr(l;τ2) of the divided frame signal x_fram(l;m), and in equation (22), the delay τ2 at which the autocorrelation function x_fram_corr(l;τ2) is maximized is calculated and divided by the sampling frequency fs to estimate the pitch, which is temporarily substituted for tmp_pitch(l). In equation (23), when the speech segment determination result VAD(l) is 1 (when there is a speech segment), the pitch estimate pitch(l) is substituted with the estimated pitch value, and when the speech segment determination result VAD(l) is 0 (when there is a non-speech segment), 0 is substituted with the estimated pitch value pitch(l).
[0134] 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.
[0135] The pitch estimation section 212 outputs the pitch estimate pitch(l) to the DB accumulation determination section 210B and the masker signal generation determination section 211B.
[0136] The DB accumulation determination unit 210B determines whether to accumulate the long-term frame signal x_fram_long(s) in the frame signal DB 205 of the input signal DB 204 based on the pitch estimate value pitch(l) of the pitch estimation unit 212. The determination means makes the determination according to, for example, equation (24).
number
[0137] In equation (24), DB_flag(l) is the decision result of whether to store or not, and TH_PITCH is the threshold value used to decide whether to store or not in DB. In equation (24), if the estimated pitch value picth(l) is greater than the threshold value TH_PITCH, it is decided to store 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 store in DB and the decision result DB_flag(l) is substituted with 0.
[0138] 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 unit 212 determines that picth(l) is other than 0, TH_PITCH may be set to 0 to store in the DB, or TH_PITCH may be set to 100 to indicate that the fundamental frequency is greater than or equal to the lower limit of the fundamental frequency of human voice (e.g., 100 Hz).
[0139] The DB accumulation determination unit 210B outputs the determination result DB_flag(l) indicating whether or not to accumulate in the DB to the DB writing unit 203A.
[0140] The masker signal generation decision section 211B decides whether or not to generate a masker signal based on the pitch estimate pitch(l) of the pitch estimation section 212. The decision means makes the decision according to, for example, equation (25).
number
[0141] In equation (25), 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 (25) 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).
[0142] For example, when picth(l) is other than 0 in the pitch estimation unit 212, TH2_PITCH=0 may be set to store in the DB, or TH2_PITCH=100 may be set to be equal to or greater than the lower limit of the fundamental frequency of human voice (e.g., 100 Hz). Also, TH2_PITCH=TH_PITCHDB may be set to be the same as the threshold TH_PITCH in equation (24) used in the storage determination unit 209A.
[0143] The masker signal generation determination unit 211 outputs the determination result mask_flag(l) indicating whether or not to generate a masker signal to the frame signal selection unit 206A.
[0144] (C-3) Effects of the Third Embodiment As described above, according to the third embodiment, in the sound masking device 100B of the third embodiment, in order to prevent the generated masker signal from becoming an artificial sound (mechanical sound), it is stored in the input signal DB204 at a length that allows it to be recognized as a voice signal, and past long-term frame signals stored in the input signal DB204 are used as masker segment signals without modification, and the masker segment signals are delayed before generating the masker signal, thereby achieving the effect of increasing the correlation between the voice of the target speaker and the generated masker signal and improving the masking effect.
[0145] Also, by estimating the pitch of the voice of target speaker U1 and using the estimated pitch value in DB accumulation determination unit 210B and masker signal generation determination unit 211B, only voiced sounds are accumulated in the input signal DB 204 during the speech section, making it possible to generate a masker signal from only the voice and maintaining a high masking effect. Furthermore, since the masker signal is generated only when a sound is determined to be voiced during the speech section, the masker signal is generated and output only when the voice of target speaker U1 is input. This makes it possible to configure the system so that the masker signal is output only when speech is input.
[0146] (D) Fourth embodiment A fourth embodiment of a sound processing device, a sound processing program, and a 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, the sound processing program, and the sound processing method according to the present invention are applied to a sound masking device will be described.
[0147] (D-1) Configuration of the Fourth Embodiment Fig. 7 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 Figs. 1, 5, and 6 are denoted by the same or corresponding reference numerals.
[0148] In the following, the fourth embodiment will be described, focusing on the differences from the first, second, and third embodiments, and a description of the parts that overlap with the first, second, and third embodiments will be omitted.
[0149] The sound masking device 100C of the fourth embodiment is different from that of the second embodiment in that the sound masking processing unit 200B is replaced with a sound masking processing unit 200C.
[0150] Sound masking processing unit 200C differs from the third embodiment in that it additionally includes long-term pitch estimation information creation unit 213 and pitch information DB 214, and further in that DB writing unit 203A, input signal DB 204, and frame signal selection unit 206A are replaced with DB writing unit 203C, input signal DB 204C, and frame signal selection unit 206C.
[0151] The sound masking device 100C of the fourth embodiment differs from the sound masking processing unit 200B of the third embodiment in that a long-term pitch estimation information creation unit 213 and a pitch information DB 214 have been added, and have been replaced with an input signal DB 204C, resulting in pitch being stored in the input signal DB, that the input signal DB 204C has been replaced with a DB writing unit 203C, resulting in a different method of storing the input signal DB 204C, and that the masker segment signal selection method has been replaced with a frame signal selection unit 206C, resulting in a different method of selecting a masker segment signal.
[0152] The detailed configuration of the sound masking processor 200C will be described.
[0153] Sound masking processing unit 200C has a frame division unit 201, a long-term frame signal creation unit 202, a voice section determination unit 209, a pitch estimation unit 212, a long-term pitch estimation information creation unit 213, a DB accumulation determination unit 210B, a DB writing unit 203C, an input signal DB 204C, a frame signal DB 205, a pitch estimation information DB 214, a masker signal generation determination unit 211B, a frame signal selection unit 206C, a delay time calculation unit 207, a masker signal generation unit 208A, a sound input terminal IN, and a sound output terminal OUT.
[0154] Long-term pitch estimation information creation section 213 creates pitch estimation information for a long-term frame (hereinafter referred to as "long-term pitch estimation information") based on the pitch estimate value for each divided frame estimated by pitch estimation section 212, and outputs the long-term pitch estimation information.
[0155] DB writing section 203C writes the long time frame signal into frame signal DB205 of input signal DB204C and the long time pitch estimation information into pitch estimation information DB214 of input signal DB204C based on the result of the decision of DB accumulation decision section 210B as to whether to accumulate in the DB.
[0156] The input signal DB204C is a storage means for storing (holding) past long-term frame signals and past long-term pitch estimation information in association with each long-term frame. Although the data format in the input signal DB204C is not limited, it is assumed here that the input signal DB204C is composed of a frame signal DB205 storing past long-term frame signals and a pitch information DB214 storing past long-term pitch estimation information.
[0157] The frame signal selection unit 206C selects a masker segment signal from the frame signal DB205 of the input signal DB204C based on the judgment result of the masker signal generation judgment unit 211B and the comparison result between the pitch estimate of the pitch estimation unit 212 and the past long-term pitch estimation information stored in the pitch estimation information DB214 of the input signal DB204C, and outputs the selection result.
[0158] In the fourth embodiment, the masker signal generation determination unit 211B may be omitted, as in the first embodiment.
[0159] (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.
[0160] The basic operation of the sound masking process in the sound masking processor 200C according to the fourth embodiment is similar to the sound masking process described in the first, third, and second embodiments.
[0161] The following will mainly describe in detail the processing operations in long-term pitch estimation information creation section 213, DB writing section 203C, input signal DB 204C and frame signal selection section 206C, which are different from the third embodiment.
[0162] Pitch estimation section 212 estimates the pitch of divided frame signal x_fram(l;m) and outputs pitch estimate value pitch(l) to long-term pitch estimation information creation section 213, DB accumulation determination section 210B, masker signal generation determination section 211B and frame signal selection section 206C.
[0163] The long-term pitch estimation information creation unit 213 creates long-term pitch estimation information for the long-term frame signal x_fram_long(s) by combining the pitch estimates pitch(l) of the divided frame signals estimated by the pitch estimation unit 212. The long-term pitch estimation information creation unit 204 may create long-term pitch estimation information pitch_long(i) by combining the pitch estimates according to, for example, equation (26).
[0164] Equation (26) shows that the long-term pitch estimation information pitch_long(i) is generated by combining the pitch estimates pitch(l) of the divided frame signals used in generating the long-term frame signal.
number
[0165] Then, long-term pitch estimation information creation unit 213 outputs the created long-term pitch estimation information pitch_long(i) to DB writing unit 203C. DB writing unit 203C writes long-term frame x_fram_long(t) and long-term pitch estimation information pitch_long(i) in association with frame signal DB205 and pitch estimation information DB214 of input signal DB204 based on the determination result DB_flag(l) output from DB accumulation determination unit 210B. DB writing unit 203C writes long-term frame signal x_fram_long(t) to DB_singal(j;t) of frame signal DB205 and simultaneously writes long-term pitch estimation information pitch_long(i) to pitch estimation information DB214DB_pitch(i) according to, for example, equations (5), (27), and (6) only when the determination result DB_flag(l) output from DB accumulation determination unit 210B is 1. On the other hand, when the determination result DB_flag(l) of DB accumulation determination section 210B is 0, the long-term frame signal x_fram_long(s) and long-term pitch estimation information pitch_long(i) are not written to frame signal DB205 and pitch estimation information DB214 of input signal DB204C.
number
[0166] The input signal DB204C stores (holds) the long-term frame x_fram_long(t) and the long-term pitch estimation information pitch_long(i) in association with the frame signal DB205 and the pitch estimation information DB214 of the input signal DB204.
[0167] As described above, the input signal DB204C in this embodiment includes the frame signal DB205 and the pitch information DB214. Here, each long-term frame signal x_fram_long(t) is recorded in the frame signal DB205, and long-term pitch estimation information pitch_long(i) is recorded in the pitch information DB214.
[0168] The frame signal selection unit 206C compares the pitch estimate (pitch based on the current divided frame) of the pitch estimation unit 212 with past long-term pitch estimation information stored in the pitch information DB 214 of the input signal DB 204C based on the decision result mask_flag(l) of whether to generate a masker signal output from the masker signal generation decision unit 211, and selects a long-term frame signal having pitch information (close pitch value) close to the pitch estimate of the pitch estimation unit 212 as a masker segment signal. The frame signal selection unit 206C selects the frame selection result Tc(p) according to, for example, equation (28) or (29) only when the decision result mask_flag(l) of whether to generate a masker signal output from the masker signal generation decision unit 211 is 1. On the other hand, when the decision result mask_flag(l) of whether to generate a masker signal is 0, the frame selection result Tc(p) is not selected.
number
[0169] In equation (28), DB_pitch_ave(i) is the average value of past long-term pitch estimation information, in equation (29), Sub_pitch(j) is the absolute value of the difference between the pitch estimate pitch(l) and the average value of past long-term pitch estimation information and DB_pitch_ave(i), and in equation (30), 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 (30) is a function that outputs the index k_p of the p-th smallest x(k_p) in array x(k). Equations (26) and (27) are equations for calculating the average value DB_pitch_ave(i) of the past long-term pitch estimation information stored in the pitch information DB 214 for each index j, and selecting multiple frames of the index j (long-term frame) having the smallest absolute value of the difference between the pitch estimate pitch(l) of the pitch estimator 212 and the average value DB_pitch_ave(i) of the past pitch estimation information as a masker segment signal.
[0170] The frame signal selection unit 206C may calculate a value indicating the pitch of the entire long-term frame based on the long-term pitch estimation information for each past long-term frame stored in the pitch information DB 214 (hereinafter referred to as "long-term frame pitch"), and select a long-term frame to be selected as a masker segment signal based on a comparison result between the pitch estimation value of the pitch estimation unit 212 and the long-term frame pitch. For example, the frame signal selection unit 206C may select a long-term frame having a long-term frame pitch close to the pitch estimation value of the pitch estimation unit 212 as a masker segment signal.
[0171] As described above, the frame signal selection unit 206C selects a long-time frame signal (index) having pitch information (close pitch value) close to the pitch estimated value of the pitch estimation unit 212 as a masker segment signal, and outputs the frame selection result Tc(p).
[0172] (D-3) Effects of the Fourth Embodiment As described above, according to the fourth embodiment, in the sound masking device 100C of the fourth embodiment, in order to prevent the generated masker signal from becoming an artificial sound (mechanical sound), it is accumulated in the input signal DB204C at a length that allows it to be recognized as a voice signal, and past long-term frame signals accumulated in the input signal DB204C are used as masker segment signals without modification, and the masker segment signals are delayed before generating the masker signal, thereby achieving the effect of increasing the correlation between the voice of the target speaker and the generated masker signal and improving the masking effect.
[0173] In addition, by estimating the pitch of the voice of the target speaker U1, creating long-term pitch information from the estimated pitch value and storing it in the input signal DB204C, and using it in the frame signal selection section, a long-term frame signal with a similar pitch can be selected from the frame signal DB205, the frequency characteristics of the scar signal become close to the pitch of the voice of the target speaker U1, and a masker signal with a high masking effect can be generated.
[0174] (E-1) Configuration of the fifth embodiment Hereinafter, a fifth 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.
[0175] (E-1) Configuration of the fifth embodiment Fig. 8 is a block diagram showing a functional configuration of a sound masking device 100D according to a fifth embodiment. In Fig. 8, the same or corresponding parts as those in Figs. 1, 5, 6, and 7 are denoted by the same or corresponding reference numerals.
[0176] In the following, the fifth embodiment will be described, focusing on the differences from the first, second, third, and fourth embodiments, and a description of the parts that overlap with the first, second, third, and fourth embodiments will be omitted.
[0177] The sound masking device 100D of the fifth embodiment is different from that of the second embodiment in that the sound masking processing unit 200C is replaced with a sound masking processing unit 200D.
[0178] The sound masking processing unit 200D differs from the fourth embodiment in that the delay time calculation unit 207 is replaced with a delay time calculation unit 207D.
[0179] The sound masking device 100D of the fifth embodiment differs from the sound masking processing unit 200C of the fourth embodiment in that a delay time calculation method is different due to the replacement with a delay time calculation unit 207D.
[0180] The detailed configuration of the sound masking processing unit 200D will be described.
[0181] Sound masking processing unit 200D has a frame division unit 201, a long-term frame signal creation unit 202, a voice section determination unit 209, a pitch estimation unit 212, a long-term pitch estimation information creation unit 213, a DB accumulation determination unit 210B, a DB writing unit 203C, an input signal DB 204C, a frame signal DB 205, a pitch estimation information DB 214, a masker signal generation determination unit 211B, a frame signal selection unit 206C, a delay time calculation unit 207D, a masker signal generation unit 208A, a sound input terminal IN, and a sound output terminal OUT.
[0182] The delay time calculation unit 207D reads out the long frame selected by the frame signal selection unit 206C from the signal DB206 of the input signal DB205 as a masker segment signal, calculates the delay time of the masker segment signal based on the read out masker segment signal and the current divided frame signal so as to maximize the masking effect, and outputs the calculated delay time.
[0183] In the fifth embodiment, the masker signal generation determination unit 211B may be omitted, as in the first embodiment.
[0184] (E-2) Operation of the Fifth Embodiment Next, the operation of the sound masking device 100D in the fifth embodiment having the above-mentioned configuration (the sound processing method according to the embodiment) will be described in detail.
[0185] The basic operation of the sound masking process in the sound masking processor 200D according to the fifth embodiment is similar to the sound masking process described in the first, second, third and fourth embodiments.
[0186] The following will mainly describe in detail the processing operation in delay time calculation section 207D, which is different from the fourth embodiment.
[0187] Pitch estimation section 212 estimates the pitch of divided frame signal x_fram(l;m) and outputs the estimated pitch value to long-term pitch estimation information creation section 213, DB accumulation determination section 210B, masker signal generation determination section 211B, frame signal selection section 206C and delay time calculation section 207D.
[0188] The delay time calculation unit 207D reads out the long-time frame signal selected as the masker segment signal by the frame signal selection unit 206C from the frame signal DB205 of the input signal DB204C, calculates the delay time of the masker segment signal so as to maximize the masking effect based on the pitch estimation value of the pitch estimation unit 212 and the pitch estimation information DB214DB_pitch(j;i) of the input signal DB204C, and outputs the calculated delay time. The delay time calculation unit 207D may calculate the delay amount delay_D(l;p) according to, for example, equations (29) and (32).
number
[0189] In equation (31), Sub_pitch2(p;l) is the absolute value of the difference between the pitch estimate pitch(l) and the past long-term pitch estimation information DB_pitch(j;i), and delay_D(l;p) is the calculated delay. Equations (31) and (32) define the index i with the smallest absolute value Sub_pitch2(p;l) of the difference between the pitch estimate pitch(l) and the past long-term pitch estimation information DB_pitch(j;i) as the delay, and assign it to delay_D(l;p).
[0190] The delay time calculation unit 207D supplies the calculated delay amount delay_D(l;p) to the masker signal generation unit 210.
[0191] (E-3) Effects of the First Embodiment As described above, according to the fifth embodiment, in the sound masking device 100D of the fifth embodiment, in order to prevent the generated masker signal from becoming an artificial sound (mechanical sound), the signal is stored in the input signal DB204C at a length that allows it to be recognized as a voice signal, and the past long frame signal stored in the input signal DB204C is used as a masker segment signal without modification, and the masker segment signal is delayed before generating the masker signal, thereby achieving the effect of increasing the correlation between the voice of the target speaker and the generated masker signal and improving the masking effect.
[0192] In addition, by estimating the pitch of the voice of the target speaker U1, creating long-term pitch information from the estimated pitch value, storing it in the input signal DB 204C, and using it in the delay time calculation unit 207D, it becomes possible to delay the masker segment signal so that the pitch becomes closer, and a masker signal with a high masking effect can be generated.
[0193] (F) Other embodiments The present invention is not limited to the above-described embodiments, and may include modified embodiments such as those exemplified below.
[0194] (F-1) For example, the sound masking device 100 of the above embodiment may be installed in a device that prevents the contents of a conversation from being leaked to people other than the target person in a telephone conference. In this case, in the sound masking device, the target speaker U1 is the person speaking in the telephone conference.
[0195] (F-2) In the above embodiment, the sound masking processing unit 200 of the sound masking device 100 may be configured to be processed by a processing device (eg, a server) on a network.
[0196] (F-3) In the above embodiment, the sound masking device 100 has been described as including audio devices (a microphone, a microphone amplifier, an AD converter, a speaker, a speaker amplifier, and a DA converter), but the sound masking device 100 may be manufactured without the audio devices, and the audio devices may be connected separately at the site where it is actually used. In other words, the sound masking device 100 may be configured to include at least the sound masking processing unit 200.
[0197] (F-4) In the sound masking device 100 of the above embodiment, a long-term frame is constructed using a plurality of divided frames, but a similar long-term frame may be obtained directly from a microphone input signal and stored in the input signal DB 204 (frame signal DB 205). In this case, the long-term pitch estimation information creation unit 213 may regard the long-term frame as one frame, perform a process of estimating pitch in the same manner as the divided frames, and store the estimation result as long-term pitch estimation information in the input signal DB 204 (pitch estimation information DB 214). [Explanation of symbols]
[0198] 100, 100A, 100B, 100C, 100D... sound masking device, 101... microphone, 102... microphone amplifier, 103... AD converter, 104... DA converter, 106... speaker, 105... speaker amplifier, 200, 200A, 200B, 200C, 200D... sound masking processing unit, 201... frame division unit, 202... long-term frame signal creation unit 203, 203A, 203C... DB writing unit, 204, 204C... input signal DB, 205... frame signal DB, 2 06, 206A, 206C...frame signal selection unit, 207, 207D...delay time calculation unit, 208, 208A...masker signal generation unit, 209...voice section determination unit, 210, 210B...DB accumulation determination unit, 211, 211B...masker signal generation determination unit, 212...pitch estimation unit, 213...long-term pitch estimation information creation unit, 214...pitch estimation information DB, IN...sound input terminal, OUT...sound output terminal, 300...computer, 301...processor, 302...primary memory unit, 303...secondary memory unit.
Claims
1. an input signal storage means for storing a microphone input signal supplied from a microphone that collects the voice of a target speaker while the target speaker is speaking, in storage frame units of a predetermined length that can be recognized as a voice signal; a signal selection means for selecting a masker segment signal to be used for generating a masker signal that makes the speech of the target speaker difficult to hear from the past storage frames stored in the input signal storage means while the target speaker is speaking, and outputting the selection result; a masker signal generating means for generating and outputting the masker signal by using the masker segment signal selected by the signal selecting means while the target speaker is speaking; 13. An audio processing device comprising:
2. a pitch estimation means for calculating a pitch estimate of the microphone input signal, the input signal storage means stores the respective storage frames together with pitch estimation information based on the pitch estimation value calculated by the pitch estimation means, The signal selection means acquires a storage frame pitch, which is a value indicating the pitch of the storage frame created based on the pitch estimation information of each of the storage frames, and selects one of the storage frames as the masker segment signal based on a comparison result between the pitch estimation value of the current microphone input signal and the storage frame pitch of each of the storage frames.
2. The sound processing device according to claim 1,
3. 3. The sound processing device according to claim 2, wherein the signal selection means selects, as the masker segment signal, the storage frame having the storage frame pitch closer to the pitch estimate value of the current microphone input signal.
4. a delay time calculation means for calculating a delay time for delaying the masker segment signal, The sound processing device according to any one of claims 1 to 3, characterized in that the masker signal generating means generates the masker signal using a delayed signal obtained by delaying the masker segment signal selected by the signal selecting means by the delay time calculated by the delay time calculating means.
5. 5. The sound processing apparatus according to claim 4, wherein the delay time calculation means calculates the delay time based on the current microphone input signal and the masker segment signal selected by the signal selection means.
6. 6. The sound processing device according to claim 1, further comprising a speaker that emits the masker signal output by the masker signal generating means toward a masking subject other than the target speaker.
7. Computer, an input signal storage means for storing a microphone input signal supplied from a microphone that collects the voice of a target speaker while the target speaker is speaking, in storage frame units of a predetermined length that can be recognized as a voice signal; a signal selection means for selecting a masker segment signal to be used for generating a masker signal that makes the speech of the target speaker difficult to hear from the past storage frames stored in the input signal storage means while the target speaker is speaking, and outputting the selection result; a masker signal generating means for generating and outputting the masker signal by using the masker segment signal selected by the signal selecting means while the target speaker is speaking; The present invention relates to an acoustic processing program for performing an acoustic processing function.
8. In a sound processing method performed by a sound processing device, The input signal storage means includes a signal selection means and a masker signal generation means. the input signal storage means stores a microphone input signal supplied from a microphone that picks up the voice of a target speaker while the target speaker is speaking in storage frame units of a predetermined length that can be recognized as a voice signal; the signal selection means selects a masker segment signal to be used for generating a masker signal that makes it difficult to hear the speech uttered by the target speaker from the past storage frames stored in the input signal storage means while the target speaker is speaking, and outputs the selection result; The masker signal generating means generates and outputs the masker signal by using the masker segment signal selected by the signal selecting means while the target speaker is speaking.
13. An acoustic processing method comprising:
Citation Information
Patent Citations
Method and system for masking language
JP2005534061A
Method and device for processing voice, program, and voice system
JP2006243178A
Masking sound generation apparatus, masking sound generation method, program, and recording medium
JP2008233672A
Device and method for changing voice, and confidential communication system for voice information
JP2012008393A
Sound masking apparatus and method, and program
JP2014199445A
