Information processing method, information processing device, and non-transitory computer readable recording medium storing information processing program
The method generates sound images for analysis using frequency analysis and trained models to identify specific sounds, ensuring privacy and efficient masking sound management.
Patent Information
- Application Number
- US19/734660
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2024-01-09
- Filing Date
- 2026-07-08
- Publication Date
- 2026-11-26
AI Technical Summary
Existing techniques struggle to accurately determine whether an acquired sound includes a specific sound while ensuring privacy protection, leading to potential unnecessary masking sounds and privacy breaches.
An information processing method that generates a visual representation of sound using frequency characteristic analysis, applies a learning model to analyze this image, and determines the presence of specific sounds based on trained models, reducing data processing and preserving privacy.
Accurately identifies specific sounds while protecting privacy, reduces computational load, and minimizes discomfort by optimizing masking sound switching.
Smart Images

Figure US20260378459A1-D00000_ABST
Abstract
Description
FIELD OF INVENTION
[0001] The present disclosure relates to a technique for determining whether or not an acquired sound includes a specific sound.BACKGROUND ART
[0002] For example, Patent Literature 1 discloses an audio output system in which a control device analyzes a use state of a network and controls output of a masker sound of an audio output device connected to the control device via the network.
[0003] Further, for example, Patent Literature 2 discloses an abnormality detection device of a belt conveyor including a microphone that collects an operation sound of a roller of the belt conveyor, and a personal computer that uses the operation sound collected by the microphone as a visualized image, performs machine learning by AI on the visualized image, and performs abnormality determination by AI by using the operation sound currently collected by the microphone as a visualized image based on a result of the machine learning.
[0004] However, in the above-described conventional technique, it is difficult to accurately determine whether or not an acquired sound includes a specific sound while protecting privacy, and further improvement has been required.
[0005] Patent Literature 1: JP 5565280 B2
[0006] Patent Literature 2: JP 2023-83737 ASUMMARY OF THE INVENTION
[0007] The present disclosure has been made to solve the above problem, and an object of the present disclosure is to provide a technique capable of accurately determining whether or not an acquired sound includes a specific sound while protecting privacy.
[0008] An information processing method according to the present disclosure is an information processing method executed by a computer, the method including acquiring a first sound, generating a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and determining, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determining whether or not the first sound includes the second sound based on a determination result.
[0009] According to the present disclosure, it is possible to accurately determine whether or not an acquired sound includes a specific sound while protecting privacy.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] FIG. 1 is a diagram illustrating a configuration of a sound reproduction device according to the present embodiment.
[0011] FIG. 2 is a diagram illustrating an example of a first image obtained by visualizing a first sound including human voice in the present embodiment.
[0012] FIG. 3 is a flowchart for explaining masking processing by an information processing device according to an embodiment of the present disclosure.
[0013] FIG. 4 is a diagram illustrating an example of a first sound, a first masking sound, and a second masking sound in the present embodiment.DETAILED DESCRIPTIONFinding Underlying Present Disclosure
[0014] Conventionally, a person who works alone in a space where a plurality of persons are present, such as an office, may hear voice of another person, an air-conditioning sound, and the like and may feel uncomfortable. In view of the above, masking voice of another person, an air-conditioning sound, or the like by outputting continuous noise into a space as a masking sound (masker sound) has been performed.
[0015] In Patent Literature 1 described above, for example, when a predetermined number or more of DHCP addresses are allocated, it is determined that a predetermined number or more of users are present, and control is performed to cause an audio output device to output a masker sound.
[0016] However, in Patent Literature 1, even if a predetermined number or more of users are present, the predetermined number or more of users are not necessarily talking. For this reason, there is a possibility that an unnecessary masker sound is output even though a predetermined number or more of users are not talking. Further, in Patent Literature 1, it is not determined whether or not an acquired sound includes a specific sound such as user's voice.
[0017] Further, since Patent Literature 2 is an abnormality detection device for detecting an abnormality of a belt conveyor, protection of privacy is not considered. For this reason, in Patent Literature 2, it is difficult to accurately determine whether or not an acquired sound includes a specific sound while protecting privacy.
[0018] To solve the above problem, a technique below is disclosed.
[0019] (1) An information processing method according to one aspect of the present disclosure is an information processing method executed by a computer, the method including acquiring a first sound, generating a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and determining, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determining whether or not the first sound includes the second sound based on a determination result.
[0020] According to this configuration, the first image obtained by visualizing the first sound is generated based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and whether or not the first sound includes the second sound is determined based on the first image by using the learning model. Here, since the first image is an image visualized based on the power spectrum obtained by frequency characteristic analysis of the first sound that is personal information, it is difficult to identify the original first sound from the first image. For this reason, it is possible to accurately determine whether or not an acquired sound includes a specific sound while protecting privacy.
[0021] Further, an image has a smaller amount of data than a sound. According to this configuration, since the first image obtained by visualizing the first sound is generated and the determination processing is performed on the first image, an amount of arithmetic processing can be reduced as compared with a case where determination processing is performed on the first sound, and downsizing and power saving of the device can be realized.
[0022] (2) In the information processing method according to (1) above, the generation of the first image may include generating the first image based on the continuous power spectrum included in the first sound in a predetermined period, and the first image may represent, with a plurality of colors, temporal changes of a frequency component and intensity of sound pressure of the first sound in the power spectrum.
[0023] According to this configuration, the first image in which the temporal changes in the frequency component and the intensity of sound pressure of the first sound in the power spectrum are represented by a plurality of colors is used for the determination processing, whereby whether or not an acquired sound includes a specific sound can be accurately determined.
[0024] (3) In the information processing method according to (1) or (2) above, the determination of whether or not the first image includes the second image may include inputting the first image to the learning model and determining whether or not a similarity output from the learning model between the first image and the second image is equal to or more than a threshold.
[0025] According to this configuration, whether or not the first sound includes the second sound can be easily determined by determining whether or not the similarity between the first image and the second image is equal to or more than the threshold.
[0026] (4) In the information processing method according to any one of (1) to (3) above, the acquisition of the first sound may include acquiring the first sound at predetermined intervals, and the determination of whether or not the first sound includes the second sound may include determining that the first sound includes the second sound in a case where it is determined that the first image includes the second image continuously a predetermined number of times or more.
[0027] If the first image is determined to include the second image only once, there is a risk of erroneous determination. In view of the above, the first sound is determined to include the second sound in a case where it is determined that the first image includes the second image continuously a predetermined number of times or more, so that it is possible to prevent erroneous determination.
[0028] (5) In the information processing method according to any one of (1) to (4) above, the acquisition of the first sound may include acquiring the first sound at predetermined intervals, and the determination of whether or not the first sound includes the second sound may include determining that the first sound does not include the second sound in a case where it is determined that the first image does not include the second image continuously a predetermined number of times or more.
[0029] For example, in a case where a person is having a conversation, the conversation may be interrupted, and when the first masking sound and the second masking sound are switched every time the conversation is interrupted, switching processing becomes frequent, and the user may feel uncomfortable. In view of the above, in a case where it is determined that the first image does not include the second image continuously a predetermined number of times or more, it may be determined that the first sound does not include the second sound, and the first masking sound may be switched to the second masking sound. By this, the number of times of the switching processing is reduced, and the user can hear the first masking sound and the second masking sound without feeling uncomfortable.
[0030] (6) The information processing method according to any one of (1) to (5) above may further include performing noise reduction processing for reducing noise other than the second sound on the acquired first sound, and the generation of the first image may include generating the first image based on the power spectrum obtained by frequency characteristic analysis of the first sound after the noise reduction processing is performed.
[0031] According to this configuration, since noise other than the second sound is reduced, determination accuracy as to whether or not the first sound includes the second sound can be improved.
[0032] (7) In the information processing method according to (6) above, the noise reduction processing may reduce the noise by subtracting a power spectrum of the noise stored in advance from a power spectrum of the first sound, and the method may further include updating the noise stored in advance to the first sound that does not include the second sound in a case where it is determined that the first sound does not include the second sound.
[0033] According to this configuration, the noise included in the first sound can be reduced by a spectral subtraction method. Further, since noise stored in advance is updated to the first sound that does not include the second sound, noise included in the first sound can be reduced using noise obtained in real time.
[0034] (8) The information processing method according to (6) or (7) above may further include allowing, by a band pass filter, a sound in a frequency band corresponding to the second sound to pass from the first sound on which the noise reduction processing is performed, and the generation of the first image may include generating the first image based on the power spectrum obtained by frequency characteristic analysis of the sound that is allowed to pass by the band pass filter.
[0035] According to this configuration, after the noise reduction processing is performed, only a sound in a frequency band corresponding to the second sound is extracted from the first sound, so that determination accuracy as to whether or not the first sound includes the second sound can be further improved.
[0036] (9) In the information processing method according to any one of (1) to (8) above, the learning model may be created by machine learning using the second image obtained by visualizing the second sound and a third image obtained by visualizing noise other than the second sound as training data.
[0037] According to this configuration, by inputting the first image obtained by visualizing the acquired first sound to the learning model, it is possible to determine whether the first sound includes the second sound or whether the first sound includes noise other than the second sound.
[0038] (10) The information processing method according to any one of (1) to (8) above may further include receiving, after it is determined whether or not the first sound includes the second sound, input by a user as to whether or not the first sound includes the second sound, performing machine learning of the learning model by using, as training data, the first image with a label indicating that the second sound is not included in a case where it is determined that the first sound includes the second sound and then the user inputs that the first sound does not include the second sound, and performing machine learning of the learning model by using, as training data, the first image with a label indicating that the second sound is included in a case where it is determined that the first sound does not include the second sound and then the user inputs that the first sound includes the second sound.
[0039] In a case where the user determines that the first sound does not include the second sound although a computer determines that the first sound includes the second sound, the determination result of the learning model may be wrong. In view of the above, in such a case, machine learning of the learning model is performed using the first image with the label indicating that the second sound is not included as the training data, whereby determination accuracy of the learning model can be improved.
[0040] Further, in a case where the user determines that the first sound includes the second sound although a computer determines that the first sound does not include the second sound, the determination result of the learning model may be wrong. In view of the above, in such a case, machine learning of the learning model is performed using the first image with the label indicating that the second sound is included as the training data, whereby determination accuracy of the learning model can be improved.
[0041] (11) In the information processing method according to any one of (1) to (10) above, the second sound may be human voice.
[0042] According to this configuration, it is possible to determine whether or not the first sound includes human voice.
[0043] (12) In the information processing method according to any one of (1) to (10) above, the second sound may be a non-steady sound.
[0044] According to this configuration, it is possible to determine whether or not the first sound includes a non-steady sound.
[0045] (13) The information processing method according to any one of (1) to (12) above may further include reproducing a first masking sound according to a frequency or sound pressure of the second sound in a case where it is determined that the first sound includes the second sound.
[0046] According to this configuration, since the second sound is masked by the first masking sound, discomfort caused to a person by the second sound can be reduced.
[0047] (14) The information processing method according to (13) above may further include reproducing a second masking sound according to a frequency or sound pressure of noise other than the second sound in a case where it is determined that the first sound does not include the second sound.
[0048] According to this configuration, since noise other than the second sound is masked by the second masking sound, discomfort caused to a person by the noise other than the second sound can be reduced.
[0049] (15) In the information processing method according to (14) above, the first masking sound and the second masking sound may be natural sounds different in type from each other or natural sounds different in volume from each other.
[0050] According to this configuration, since the first masking sound and the second masking sound are natural sounds different in type from each other or natural sounds different in volume from each other, it is possible to provide a comfortable space for the user.
[0051] (16) In the information processing method according to any one of (1) to (15) above, a frequency range of the power spectrum may be a range of 1 Hz to 8 kHz.
[0052] According to this configuration, the first image can be generated based on a power spectrum in the frequency range of 1 Hz to 8 kHz, and a detection frequency is narrowed, so that determination accuracy of the learning model can be improved.
[0053] The present disclosure can be implemented not only as the information processing method for executing the characteristic processing as described above, but also as an information processing device or the like having a characteristic configuration corresponding to the characteristic processing executed in the information processing method. Further, the present disclosure can also be implemented as a computer program that causes a computer to execute characteristic processing included in the information processing method described above. Therefore, an effect similar to the effect in the above information processing method can also be achieved by other aspects described below.
[0054] (17) An information processing device according to another aspect of the present disclosure includes an acquisition unit that acquires a first sound, a generation unit that generates a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and a determination unit that determines, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determines whether or not the first sound includes the second sound based on a determination result.
[0055] (18) An information processing program according to another aspect of the present disclosure causes a computer to function to acquire a first sound, generate a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and determine, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determine whether or not the first sound includes the second sound based on a determination result.
[0056] (19) A non-transitory computer-readable recording medium according to another aspect of the present disclosure records an information processing program, and the information processing program causes a computer to function to acquire a first sound, generate a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and determine, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determine whether or not the first sound includes the second sound based on a determination result.
[0057] Hereinafter, an embodiment of the present disclosure will be described with reference to the accompanying drawings. Note that each of the embodiments described below illustrates one specific example of the present disclosure. Numerical values, shapes, components, steps, orders of steps, and the like of the embodiments below are merely examples, and are not intended to limit the present disclosure. Further, a component not described in an independent claim representing a highest concept among components in the embodiment below is described as an optional component. Further, in all the embodiments, individual contents can be combined.Embodiment
[0058] FIG. 1 is a diagram illustrating a configuration of a sound reproduction device 10 according to the present embodiment.
[0059] The sound reproduction device 10 illustrated in FIG. 1 includes a microphone 1, an information processing device 2, an amplifier 3, and a speaker 4.
[0060] The microphone 1 and the speaker 4 are provided outside a main body of the sound reproduction device 10, and the information processing device 2 and the amplifier 3 are provided inside the main body of the sound reproduction device 10. Further, the amplifier 3 and the speaker 4 may be provided outside the main body of the sound reproduction device 10, and the amplifier 3 and the speaker 4 may be integrated. Note that the information processing device 2 may be a server. In this case, the information processing device 2 is communicably connected to a terminal device including the microphone 1, the amplifier 3, and the speaker 4 via a network.
[0061] The microphone 1 collects a first sound in a predetermined space. The sound reproduction device 10 is disposed at a position where a sound in a predetermined space can be collected. The predetermined space is, for example, a place where a plurality of people can gather, such as an office room, an entrance of a building, a rest room of a building, a cafe, a restaurant, a hospital, and a nursing care facility. The first sound is environmental noise around the microphone 1. The environmental noise includes background noise which is a steady sound such as an air conditioning sound and a second sound which is a non-steady sound such as human voice.
[0062] The microphone 1 is connected to the information processing device 2 in a wired or wireless manner so that the collected first sound can be input to the information processing device 2. The microphone 1 may be communicably connected to the information processing device 2 via a network. The microphone 1 outputs the collected first sound to the information processing device 2.
[0063] The information processing device 2 includes at least a computer system including, for example, a control program, a processing circuit such as a processor or a logic circuit that executes the control program, and a recording device such as an internal memory or an accessible external memory that stores the control program. Note that the information processing device 2 may be implemented by, for example, hardware implementation by a processing circuit, execution of a software program held in a memory by a processing circuit or distributed from an external server, or a combination of the hardware implementation and software implementation.
[0064] The information processing device 2 includes a sound acquisition unit 21, a background noise storage unit 22, a noise reduction unit 23, an image generation unit 24, a sound determination unit 26, a sound source storage unit 27, a sound selection unit 28, a sound reproduction unit 29, and a background noise update unit 30.
[0065] The sound acquisition unit 21 acquires the first sound collected by the microphone 1. The sound acquisition unit 21 acquires the first sound for a predetermined period at predetermined intervals. For example, the sound acquisition unit 21 acquires the first sound for 1 second at 1 second intervals.
[0066] The background noise storage unit 22 stores, in advance, background noise to be reduced from the first sound by noise reduction processing.
[0067] The noise reduction unit 23 performs noise reduction processing for reducing background noise other than the second sound on the first sound acquired by the sound acquisition unit 21. For the noise reduction processing, a spectral subtraction method is used. That is, the noise reduction unit 23 reduces background noise by subtracting a power spectrum of the background noise stored in advance in the background noise storage unit 22 from a power spectrum of the first sound.
[0068] The image generation unit 24 generates a first image obtained by visualizing the first sound based on the power spectrum obtained by frequency characteristic analysis of the first sound acquired by the sound acquisition unit 21. Note that the image generation unit 24 generates the first image based on a power spectrum obtained by frequency characteristic analysis of the first sound after the noise reduction processing is performed by the noise reduction unit 23.
[0069] The image generation unit 24 includes a power spectrum conversion unit 241 and an image conversion unit 242.
[0070] The power spectrum conversion unit 241 converts the first sound in a time domain into a power spectrum in a frequency domain. The power spectrum conversion unit 241 performs Fourier transform on the first sound to convert a sound waveform of the first sound into a power spectrum obtained by decomposing the sound waveform into a frequency component.
[0071] The image conversion unit 242 converts the power spectrum converted by the power spectrum conversion unit 241 into the first image.
[0072] FIG. 2 is a diagram illustrating an example of the first image obtained by visualizing the first sound including human voice in the present embodiment.
[0073] As illustrated in FIG. 2, in the first image, the horizontal axis represents time, the vertical axis represents frequency, and a color represents intensity of sound pressure. Note that the color is expressed in color, and is expressed by a color space of RGB (red, green and blue) or CMYK(cyan, magenta, yellow and black). Further, a frequency range of a power spectrum is in a range of 1 Hz to 8 kHz.
[0074] The image conversion unit 242 generates the first image based on a continuous power spectrum included in the first sound in a predetermined period. The image conversion unit 242 generates the first image by arranging the power spectra converted by the power spectrum conversion unit 241 in time series. In the first image, temporal changes in the frequency component of the first sound and the intensity of the sound pressure in the power spectrum are represented by a plurality of colors.
[0075] The sound determination unit 26 determines whether or not the first image includes a second image by using a learning model trained using the second image obtained by visualizing a predetermined second sound, and determines whether or not the first sound includes the second sound based on the determination result. The second sound is human voice. Note that the second sound may be a non-steady sound other than human voice. In a case where it is determined that the first image includes the second image, the sound determination unit 26 determines that the first sound includes the second sound. Further, in a case where it is determined that the first image does not include the second image, the sound determination unit 26 determines that the first sound does not include the second sound.
[0076] Whether or not the first image includes the second image can be determined by similarity between the first image and the second image. Here, the sound determination unit 26 inputs the first image to a learning model and determines whether or not similarity, which is between the first image and the second image and output from the learning model, is equal to or more than a threshold. The similarity is represented by a numerical value of 0 to 1.00. The threshold is, for example, 0.98. In a case where the similarity output from the learning model is equal to or more than the threshold, the sound determination unit 26 determines that the first sound includes the second sound. Further, in a case where the similarity output from the learning model is smaller than the threshold, the sound determination unit 26 determines that the first sound does not include the second sound.
[0077] Note that the similarity may be a matching rate between the first image and the second image when the first image and the second image are compared. Further, the similarity may be a prediction score indicating a degree of possibility that the first image includes the second image. For example, depending on types of the first sound and the second sound or a sound collection condition, even in a case where the first sound includes the second sound, a matching rate between the first image and the second image may be low. Even in such a case, a predicted score may be high in a case where an image element unique to the second sound included in the second image is also included in the first image, so that it is possible to determine without omission whether or not the first sound includes the second sound.
[0078] Further, the sound determination unit 26 determines that the first sound includes the second sound in a case where the first sound in a predetermined period includes the second sound in the entire period, and determines that the first sound does not include the second sound in a case where the first sound in the predetermined period includes the second sound only in a part of the period.
[0079] The learning model is created by machine learning using, as training data, the second image obtained by visualizing the second sound based on a power spectrum obtained by frequency characteristic analysis of the second sound and a third image obtained by visualizing background noise based on a power spectrum obtained by frequency characteristic analysis of background noise other than the second sound. The second sound is human voice. A label indicating human voice is assigned to the second image, and a label indicating non-human voice is assigned to the third image. When the second image is input, machine learning of the learning model is performed so as to output a value “1” indicating human voice, and when the third image is input, the machine learning of the learning model is performed so as to output a value “0” indicating non-human voice. A plurality of the second images and a plurality of the third images are used for training of the learning model.
[0080] The sound source storage unit 27 stores in advance a first masking sound corresponding to a frequency or sound pressure of the second sound and a second masking sound corresponding to a frequency or sound pressure of background noise other than the second sound. The first masking sound includes a first natural sound, a second natural sound, and a third natural sound different in type from each other. The first masking sound is a sound obtained by synthesizing the first natural sound, the second natural sound, and the third natural sound. The second masking sound includes the second natural sound and the third natural sound different in type from each other. The second masking sound is a sound obtained by synthesizing the second natural sound and the third natural sound.
[0081] A frequency of the first natural sound is higher than a frequency of the second natural sound, and a frequency of the second natural sound is higher than a frequency of the third natural sound. A frequency band of the first natural sound is, for example, 2 kHz to 15 kHz, a frequency band of the second natural sound is, for example, 500 Hz to 6 kHz, and a frequency band of the third natural sound is, for example, 200 Hz to 3 kHz. For example, the first natural sound is a birdsong, the second natural sound is a spring water sound indicating a sound of water coming out, and the third natural sound is a flowing water sound indicating a sound of water flowing. Note that the first natural sound may be an insect sound.
[0082] Since the frequency of the first natural sound is higher than the frequencies of the second natural sound and the third natural sound, human voice (non-steady sound) can be masked by the first natural sound. Further, background noise (steady sound) other than human voice can be masked by the second natural sound and the third natural sound.
[0083] Note that the first masking sound may include the first natural sound and at least one of the second natural sound and the third natural sound. Further, the second masking sound may include at least one of the second natural sound and the third natural sound.
[0084] The sound selection unit 28 selects one of the first masking sound and the second masking sound stored in the sound source storage unit 27 based on a determination result determined by the sound determination unit 26. In a case where the sound determination unit 26 determines that the first sound includes the second sound, the sound selection unit 28 selects the first masking sound. Further, in a case where the sound determination unit 26 determines that the first sound does not include the second sound, the sound selection unit 28 selects the second masking sound. The sound selection unit 28 reads one of the selected first masking sound and the selected second masking sound from the sound source storage unit 27, and outputs the read masking sound to the sound reproduction unit 29.
[0085] The sound reproduction unit 29 reproduces one of the first masking sound and the second masking sound selected by the sound selection unit 28. In a case where the sound determination unit 26 determines that the first sound includes the second sound, the sound reproduction unit 29 reproduces the first masking sound according to a frequency or sound pressure of the second sound. Further, in a case where the sound determination unit 26 determines that the first sound does not include the second sound, the sound reproduction unit 29 reproduces the second masking sound according to a frequency or sound pressure of background noise other than the second sound. The sound reproduction unit 29 outputs one of the reproduced first masking sound and the reproduced second masking sound to the speaker 4.
[0086] Note that the sound reproduction unit 29 may make sound pressure of the first masking sound higher than sound pressure of the second masking sound. The first masking sound and the second masking sound are natural sounds different in volume from each other. Sound pressures of the second natural sound and the third natural sound included in the first masking sound are higher than sound pressures of the second natural sound and the third natural sound included in the second masking sound.
[0087] Further, the first masking sound and the second masking sound are natural sounds different in type from each other. That is, the first masking sound includes the first natural sound for masking the second sound and the second natural sound and the third natural sound for masking background noise other than the second sound, but the second masking sound does not include the first natural sound but includes only the second natural sound and the third natural sound.
[0088] Further, in a case where the sound determination unit 26 determines that the first sound includes the second sound, the sound reproduction unit 29 performs time masking to make sound pressure of the first masking sound higher than sound pressure of the first sound including the second sound. In a case where the sound determination unit 26 determines that the first sound includes the second sound, the sound reproduction unit 29 reproduces the first masking sound with sound pressure higher than sound pressure of the first sound including the second sound. In this manner, the second sound may be masked by time masking.
[0089] Further, in a case where the sound determination unit 26 determines that the first sound does not include the second sound, the sound reproduction unit 29 performs time masking to make sound pressure of the second masking sound higher than sound pressure of the first sound including background noise other than the second sound. In a case where the sound determination unit 26 determines that the first sound does not include the second sound, the sound reproduction unit 29 reproduces the second masking sound with sound pressure higher than sound pressure of the first sound including background noise other than the second sound. In this manner, background noise other than the second sound may be masked by time masking.
[0090] Note that the sound reproduction unit 29 may mask background noise other than the second sound by frequency masking. That is, the sound reproduction unit 29 reproduces the second masking sound (the second natural sound and the third natural sound) having a frequency band of a critical bandwidth around a frequency of background noise to be masked. Note that a critical bandwidth CB is calculated by Equation (1) below by using a frequency fc to be masked.CB=25+75{1+1.4 (fc / 1000)2}0.69 (1)
[0091] By reproducing the second masking sound (the second natural sound and the third natural sound) having a frequency band of the critical bandwidth around a frequency of background noise other than the second sound, the background noise can be masked.
[0092] When the sound determination unit 26 determines that the first sound does not include the second sound, the background noise update unit 30 updates background noise stored in advance in the background noise storage unit 22 to the first sound that does not include the second sound.
[0093] The amplifier 3 amplifies the first masking sound or the second masking sound input from the sound reproduction unit 29 of the information processing device 2.
[0094] The speaker 4 outputs the first masking sound or the second masking sound amplified by the amplifier 3.
[0095] Next, masking processing by the information processing device 2 in the embodiment of the present disclosure will be described.
[0096] FIG. 3 is a flowchart for explaining masking processing by the information processing device 2 according to an embodiment of the present disclosure. Note that in the masking processing shown in FIG. 3, the second sound is human voice.
[0097] First, in Step S1, the sound acquisition unit 21 acquires the first sound collected by the microphone 1. Note that the masking processing illustrated in FIG. 3 is performed at predetermined intervals at which the first sound is acquired. When the predetermined interval is, for example, 1 second, the masking processing illustrated in FIG. 3 is performed every second.
[0098] Next, in Step S2, the noise reduction unit 23 executes noise reduction processing for reducing background noise other than human voice on the first sound acquired by the sound acquisition unit 21.
[0099] Next, in Step S3, the power spectrum conversion unit 241 converts the first sound into a power spectrum.
[0100] Next, in Step S4, the image conversion unit 242 converts the power spectrum converted by the power spectrum conversion unit 241 into the first image.
[0101] Next, in Step S5, the sound determination unit 26 inputs the first image to a trained learning model, determines whether or not a similarity output from the learning model between the first image and the second image is equal to or more than a threshold, and determines whether or not the first sound includes human voice based on a determination result.
[0102] Here, in a case where it is determined that the first sound includes human voice (YES in Step S5), in Step S6, the sound selection unit 28 selects the first masking sound for masking human voice.
[0103] On the other hand, in a case where it is determined that the first sound does not include human voice (NO in Step S5), in Step S7, the sound selection unit 28 selects the second masking sound for masking background noise other than the second sound.
[0104] Next, in Step S8, the background noise update unit 30 updates background noise stored in advance in the background noise storage unit 22 to the acquired first sound that does not include the second sound.
[0105] Next, in Step S9, the sound reproduction unit 29 reproduces the first masking sound or the second masking sound selected by the sound selection unit 28. The sound reproduction unit 29 outputs the reproduced first masking sound or second masking sound to the speaker 4 via the amplifier 3. The amplifier 3 amplifies the first masking sound or the second masking sound reproduced by the sound reproduction unit 29. The speaker 4 outputs the first masking sound or the second masking sound.
[0106] According to the present embodiment, the first image obtained by visualizing the first sound is generated based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound, and whether or not the first sound includes the second sound is determined based on the first image by using the learning model. Here, since the first image is an image visualized based on the power spectrum obtained by frequency characteristic analysis of the first sound that is personal information, it is difficult to identify the original first sound from the first image. For this reason, it is possible to accurately determine whether or not an acquired sound includes a specific sound while protecting privacy.
[0107] Further, an image has a smaller amount of data than a sound. According to the present embodiment, since the first image obtained by visualizing the first sound is generated and the determination processing is performed on the first image, an amount of arithmetic processing can be reduced as compared with a case where determination processing is performed on the first sound, and downsizing and power saving of the device can be realized.
[0108] Next, in the present embodiment, a relationship between the first sound, the first masking sound, and the second masking sound will be described.
[0109] FIG. 4 is a diagram illustrating an example of the first sound, the first masking sound, and the second masking sound in the present embodiment. In FIG. 4, the horizontal axis represents time (t), and the vertical axis represents sound pressure (dB).
[0110] As illustrated in FIG. 4, the first sound that is environmental noise is divided into periods 102 and 104 including human voice and periods 101, 103, and 105 not including human voice. The first sound in the periods 102 and 104 includes human voice and background noise other than human voice. The first sound in the periods 101, 103, and 105 includes only background noise other than human voice. Note that in FIG. 4, a waveform indicating human voice is represented by a white line.
[0111] In the periods 101, 103, and 105 not including human voice, the speaker 4 outputs the second masking sound obtained by synthesizing the second natural sound that is a spring water sound and the third natural sound that is a flowing water sound. Background noise other than human voice is masked by the second masking sound.
[0112] On the other hand, in the periods 102 and 104 including human voice, the speaker 4 outputs the first masking sound obtained by synthesizing the first natural sound that is birdsong, the second natural sound that is a spring water sound, and the third natural sound that is a flowing water sound. The first masking sound masks human voice and background noise other than human voice. In particular, the first natural sound included in the first masking sound changes the human voice from a meaningful sound to a meaningless sound, thereby protecting privacy of surrounding people.
[0113] Further, sound pressure of the first natural sound, the second natural sound, and the third natural sound in the periods 102 and 104 is higher than sound pressure of the second natural sound and the third natural sound in the periods 101, 103, and 105.
[0114] In a case where the second masking sound is switched to the first masking sound, the sound reproduction unit 29 fades out the second masking sound and fades in the first masking sound. Further, in a case where the first masking sound is switched to the second masking sound, the sound reproduction unit 29 fades out the first masking sound and fades in the second masking sound. This makes it possible to switch between the first masking sound and the second masking sound without causing discomfort to the user.
[0115] Note that, in the present embodiment, the information processing device 2 does not need to include the background noise storage unit 22, the noise reduction unit 23, and the background noise update unit 30.
[0116] Further, the information processing device 2 may further include a band pass filter. The band pass filter allows a sound in a frequency band corresponding to the second sound to pass from the first sound on which noise reduction processing is performed by the noise reduction unit 23. For example, the band pass filter allows a sound in a frequency band in a range of 100 Hz to 4 kHz or in a range of 200 Hz to 4 kHz corresponding to human voice to pass. In this case, the image generation unit 24 may generate the first image based on a power spectrum obtained by frequency characteristic analysis of the sound that is allowed to pass through by the band pass filter.
[0117] Further, in the present embodiment, in a case where the first image is determined to include the second image, the sound determination unit 26 determines that the first sound includes the second sound, but the present disclosure is not particularly limited thereto. The sound acquisition unit 21 may acquire the first sound at predetermined intervals. Then, the sound determination unit 26 may determine that the first sound includes the second sound in a case where it is determined that the first image includes the second image continuously a predetermined number of times or more. The predetermined number of times is 3 times, for example. This can prevent the first masking sound from being reproduced in a case where human voice is instantaneously uttered or in a case where it is erroneously determined that the first image includes the second image.
[0118] Further, the sound determination unit 26 may determine that the first sound does not include the second sound in a case where it is determined that the first image does not include the second image continuously a predetermined number of times or more. The predetermined number of times is 5 times, for example. For example, in a case where a person is having a conversation, the conversation may be interrupted, and when the first masking sound and the second masking sound are switched every time the conversation is interrupted, switching processing becomes frequent, and the user may feel uncomfortable. In view of the above, in a case where it is determined that the first image does not include the second image continuously a predetermined number of times or more, it may be determined that the first sound does not include the second sound, and the first masking sound may be switched to the second masking sound. By this, the number of times of the switching processing is reduced, and the user can hear the first masking sound and the second masking sound without feeling uncomfortable.
[0119] Further, in the present embodiment, types of the first masking sound and the second masking sound are determined in advance, but the present disclosure is not particularly limited thereto, and the user may determine types of the first masking sound and the second masking sound. In this case, the sound reproduction device 10 may further include an input unit. Further, the information processing device 2 may further include a sound source type selection unit.
[0120] The input unit is, for example, a keyboard, a mouse, a touch panel, or a microphone, and receives information input by the user. The input unit may receive selection by the user of a natural sound to be used as the first masking sound and the second masking sound from among a plurality of natural sounds different in types. The sound source type selection unit may store the first masking sound and the second masking sound including the natural sound selected by the user in the sound source storage unit 27.
[0121] Further, in the present embodiment, a trained learning model is used for determination of the first image, but the present disclosure is not particularly limited thereto, and the information processing device 2 may train the learning model while reproducing the first masking sound or the second masking sound. In this case, the sound reproduction device 10 may further include an input unit. Further, the information processing device 2 may further include a training unit.
[0122] The input unit is, for example, a keyboard, a mouse, a touch panel, or a microphone, and receives information input by the user. After it is determined whether or not the first sound includes the second sound, the input unit may receive input by the user as to whether or not the first sound includes the second sound. That is, after it is determined whether or not the first sound includes the second sound and the first masking sound or the second masking sound is reproduced, the input unit may receive input by the user as to whether or not the first sound includes the second sound. The user listens to the first masking sound or the second masking sound output from the speaker 4, and inputs whether or not the first sound includes the second sound.
[0123] In a case where it is determined that the first sound includes the second sound and then the user inputs that the first sound does not include the second sound, the training unit may perform machine learning on the learning model by using the first image with a label indicating that the second sound is not included as training data. That is, in a case where the user determines that the first sound does not include the second sound although it is determined that the first sound includes the second sound and the first masking sound is output, there is a possibility that the learning model makes an erroneous determination. In view of the above, in such a case, machine learning of the learning model is performed using the first image with the label indicating that the second sound is not included as the training data, whereby determination accuracy of the learning model can be improved.
[0124] In a case where it is determined that the first sound does not include the second sound and then the user inputs that the first sound includes the second sound, the training unit may perform machine learning on the learning model by using the first image with a label indicating that the second sound is included as training data. That is, in a case where the user determines that the first sound includes the second sound although it is determined that the first sound does not include the second sound and the second masking sound is output, there is a possibility that the learning model makes an erroneous determination. In view of the above, in such a case, machine learning of the learning model is performed using the first image with the label indicating that the second sound is included as the training data, whereby determination accuracy of the learning model can be improved.
[0125] Further, the sound reproduction device 10 according to the present embodiment may be provided in an autonomous vehicle. A space in the autonomous vehicle includes a first space in which a passenger other than a driver is present and a second space in which the driver is present. The sound reproduction device 10 is provided in each of the first space and the second space.
[0126] For example, in the first space, the second sound includes at least one of a sound generated when a vehicle passes over a joint in a road, a horn sound, a siren sound of an emergency vehicle such as an ambulance, an exhaust sound of another vehicle such as a truck or a motorcycle, a sound of an air conditioner in the vehicle, a sound of a car navigation device, voice of a driver during a call, and an operating sound of a wiper. The sound determination unit 26 inputs the first image obtained by visualizing the first sound to the learning model, and determines whether or not the first sound includes at least one of the plurality of sounds based on an output result from the learning model. At this time, the sound determination unit 26 may determine whether or not the first sound includes each of the plurality of sounds by using one learning model, or may determine whether or not the first sound includes each of the plurality of sounds by using a plurality of learning models corresponding to each of the plurality of sounds. In a case where it is determined that the first sound includes at least one of the plurality of sounds, the sound reproduction unit 29 reproduces the first masking sound according to a frequency or sound pressure of at least one sound. On the other hand, in a case where it is determined that the first sound does not include the plurality of sounds, the sound reproduction unit 29 may reproduce the second masking sound according to a frequency or sound pressure of noise other than the plurality of sounds.
[0127] Further, for example, in the second space, the second sound includes at least one of an exhaust sound of another vehicle such as a truck or a motorcycle, a sound of an air conditioner in the vehicle, and an operating sound of a wiper. The sound determination unit 26 inputs the first image obtained by visualizing the first sound to the learning model, and determines whether or not the first sound includes at least one of the plurality of sounds based on an output result from the learning model. At this time, the sound determination unit 26 may determine whether or not the first sound includes each of the plurality of sounds by using one learning model, or may determine whether or not the first sound includes each of the plurality of sounds by using a plurality of learning models corresponding to each of the plurality of sounds. In a case where it is determined that the first sound includes at least one of the plurality of sounds, the sound reproduction unit 29 reproduces the first masking sound according to a frequency or sound pressure of at least one sound. On the other hand, in a case where it is determined that the first sound does not include the plurality of sounds, the sound reproduction unit 29 may reproduce the second masking sound according to a frequency or sound pressure of noise other than the plurality of sounds.
[0128] Note that in each of the above embodiments, each component may be implemented by being configured with dedicated hardware or by execution of a software program suitable for each component. Each component may be implemented by a program execution unit, such as a CPU or a processor, reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. Further, a program may be executed by another independent computer system by recording and transferring the program on a recording medium or transferring the program via a network.
[0129] Some or all functions of the devices according to the embodiment of the present disclosure are implemented as Large Scale Integration (LSI), which is typically an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip so as to include some or all of these. Further, circuit integration is not limited to LSI, and may be implemented by a dedicated circuit or a general-purpose processor. A Field Programmable Gate Array (FPGA) that can be programmed after manufacturing of LSI or a reconfigurable processor in which connection and setting of circuit cells inside the LSI can be reconfigured may be used.
[0130] Further, some or all functions of the device according to the embodiment of the present disclosure may be implemented by a processor such as a CPU executing a program.
[0131] Further, the numerical figures used above are all exemplified to specifically describe the present disclosure, and the present disclosure is not limited to the illustrated numerical figures.
[0132] Further, order in which steps illustrated in the above flowchart are executed is exemplified for specifically describing the present disclosure, and may be any order other than the above order as long as a similar effect is obtained. Further, some of the above steps may be executed simultaneously (in parallel) with other steps.
[0133] Since the technique according to the present disclosure can accurately determine whether or not an acquired sound includes a specific sound while protecting privacy, the technique is useful as a technique for determining whether or not the acquired sound includes the specific sound.
Claims
1. An information processing method executed by a computer, the method comprising:acquiring a first sound;generating a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound; anddetermining, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determining whether or not the first sound includes the second sound based on a determination result.
2. The information processing method according to claim 1, whereinthe generation of the first image includes generating the first image based on the continuous power spectrum included in the first sound in a predetermined period, andthe first image represents, with a plurality of colors, temporal changes of a frequency component and intensity of sound pressure of the first sound in the power spectrum.
3. The information processing method according to claim 1, whereinthe determination of whether or not the first image includes the second image includes inputting the first image to the learning model and determining whether or not a similarity output from the learning model between the first image and the second image is equal to or more than a threshold.
4. The information processing method according to claim 1, whereinthe acquisition of the first sound includes acquiring the first sound at predetermined intervals, andthe determination of whether or not the first sound includes the second sound includes determining that the first sound includes the second sound in a case where it is determined that the first image includes the second image continuously a predetermined number of times or more.
5. The information processing method according to claim 1, whereinthe acquisition of the first sound includes acquiring the first sound at predetermined intervals, andthe determination of whether or not the first sound includes the second sound includes determining that the first sound does not include the second sound in a case where it is determined that the first image does not include the second image continuously a predetermined number of times or more.
6. The information processing method according to claim 1, further comprising performing noise reduction processing for reducing noise other than the second sound on the acquired first sound,wherein the generation of the first image includes generating the first image based on the power spectrum obtained by frequency characteristic analysis of the first sound after the noise reduction processing is performed.
7. The information processing method according to claim 6, whereinthe noise reduction processing reduces the noise by subtracting a power spectrum of the noise stored in advance from a power spectrum of the first sound,the method further comprising:updating the noise stored in advance to the first sound that does not include the second sound in a case where it is determined that the first sound does not include the second sound.
8. The information processing method according to claim 6, further comprising allowing, by a band pass filter, a sound in a frequency band corresponding to the second sound to pass from the first sound on which the noise reduction processing is performed,wherein the generation of the first image includes generating the first image based on the power spectrum obtained by frequency characteristic analysis of the sound that is allowed to pass by the band pass filter.
9. The information processing method according to claim 1, whereinthe learning model is created by machine learning using the second image obtained by visualizing the second sound and a third image obtained by visualizing noise other than the second sound as training data.
10. The information processing method according to claim 1, further comprising:receiving, after it is determined whether or not the first sound includes the second sound, input by a user as to whether or not the first sound includes the second sound;performing machine learning of the learning model by using, as training data, the first image with a label indicating that the second sound is not included in a case where it is determined that the first sound includes the second sound and then the user inputs that the first sound does not include the second sound; andperforming machine learning of the learning model by using, as training data, the first image with a label indicating that the second sound is included in a case where it is determined that the first sound does not include the second sound and then the user inputs that the first sound includes the second sound.
11. The information processing method according to claim 1, whereinthe second sound is human voice.
12. The information processing method according to claim 1, whereinthe second sound is a non-steady sound.
13. The information processing method according to claim 1, further comprising reproducing a first masking sound according to a frequency or sound pressure of the second sound in a case where it is determined that the first sound includes the second sound.
14. The information processing method according to claim 13, further comprising reproducing a second masking sound according to a frequency or sound pressure of noise other than the second sound in a case where it is determined that the first sound does not include the second sound.
15. The information processing method according to claim 14, whereinthe first masking sound and the second masking sound are natural sounds different in type from each other or natural sounds different in volume from each other.
16. The information processing method according to claim 1, whereina frequency range of the power spectrum is a range of 1 Hz to 8 kHz.
17. An information processing device comprising:an acquisition unit that acquires a first sound;a generation unit that generates a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound; anda determination unit that determines, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determines whether or not the first sound includes the second sound based on a determination result.
18. A non-transitory computer readable recording medium storing an information processing program that causes a computer to function to:acquire a first sound;generate a first image obtained by visualizing the first sound based on a power spectrum obtained by frequency characteristic analysis of the acquired first sound; anddetermine, by using a learning model trained using a second image obtained by visualizing a predetermined second sound, whether or not the first image includes the second image, and determine whether or not the first sound includes the second sound based on a determination result.
