Voice recognition program and voice recognition device

The speech recognition system addresses inaccuracies by calculating threshold offsets from the most frequent sound volume to differentiate speech from environmental noise, ensuring accurate speech recognition.

JP7552481B2Active Publication Date: 2024-09-18AISIN CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021060919
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-29
Filing Date
2021-03-31
Publication Date
2024-09-18
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

Existing speech recognition systems inaccurately identify speech due to sudden loud sounds, such as sirens or keyboard typing, setting speech thresholds based on maximum audio volume, leading to missed speech recognition.

Method used

A speech recognition program and device that calculate a threshold offset value from the most frequent sound volume, using start and end judgment values to differentiate between speech and environmental sounds, ensuring accurate speech recognition.

Benefits of technology

Accurately distinguishes between speech and environmental sounds, enabling precise speech recognition by setting thresholds based on the most frequent sound volume, reducing false negatives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552481000006
    Figure 0007552481000006
  • Figure 0007552481000007
    Figure 0007552481000007
  • Figure 0007552481000005
    Figure 0007552481000005
Patent Text Reader

Abstract

To provide a voice recognition program and a voice recognition apparatus which can recognize voices by precisely identifying speech.SOLUTION: A voice recognition program according to the present invention acquires a most frequent volume Vm as a most frequent value of volumes of input voices. The program calculates, in the voices input based on the most frequent volume Vm, a start determined value St_A as a volume for use in detection of a start of a user speech and an end determined value Ed_A as a volume for use in detection of an end of the speech. The most frequent volume Vm can be estimated as a volume of an environmental sound of the surroundings constantly observed in the environment. The above setting of the start determined value St_A and the end determined value Ed_A based on the most frequent volume Vm allows proper distinction as to whether an input voice has only an environmental sound of the surroundings or any speech. Thus, it is possible to precisely identify a user speech and to recognize a voice of the identified speech.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a voice recognition program and a voice recognition device. [Background technology]

[0002] Patent Document 1 discloses a speech interval detection device 100 that identifies an utterance interval that identifies the start and end of a user's utterance based on the volume of voice data, and performs voice recognition on the identified pronunciation interval in the voice data. Specifically, a speech start threshold and a speech end threshold that detect the start and end of speech are calculated based on the maximum volume of the voice data, a speech interval in the voice data is identified based on the speech start threshold and the speech end threshold, and voice recognition is performed on the identified speech interval. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2005-31632 A (for example, paragraphs 0126 and 0127, FIG. 10) Summary of the Invention [Problem to be solved by the invention]

[0004] However, in Patent Document 1, the speech start threshold and speech end threshold are set based on the volume of the voice data, so that the speech can be identified taking into account the influence of the surrounding environmental sounds, while the speech start threshold and speech end threshold are set based on the maximum volume of the voice data. Therefore, if the voice data contains a sudden loud sound such as a siren or the sound of typing on a keyboard, the volume of the sudden sound becomes the maximum volume of the voice data. In this case, the speech start threshold and speech end threshold are calculated based on the volume of the sudden sound, so the speech start threshold and speech end threshold become large values.

[0005] This resulted in a problem that even though the user was actually speaking in the voice data, the volume did not reach the speech start threshold, so the speech section was not identified, and the speech could not be accurately recognized.

[0006] The present invention has been made to solve the above-mentioned problems, and has an object to provide a speech recognition program and a speech recognition device that can accurately identify an utterance and recognize the speech. [Means for solving the problem]

[0007] In order to achieve this object, a speech recognition program of the present invention is a program for causing a computer to execute speech recognition processing, the program comprising: a most frequent volume acquisition step of acquiring a most frequent value of the volume of an input speech; an offset calculation step of calculating a threshold offset value, which is a volume difference between the surrounding environmental sound and the speech, from the most frequent volume acquired in the most frequent volume acquisition step; The most frequent volume obtained in the most frequent volume acquisition step and a value obtained by adding the threshold offset value calculated in the offset calculation step and the start sensitivity. A start determination value calculation step of calculating a start determination value which is a volume for determining the start of an utterance based on the sound; an end determination value calculation step of calculating an end determination value, which is a volume for determining the end of an utterance, based on a value obtained by adding the most frequent volume acquired in the most frequent volume acquisition step, the threshold offset value calculated in the offset calculation step, and an end sensitivity that is a volume smaller than the start sensitivity; When the volume of the input voice exceeds the start determination value calculated in the start determination value calculation step, voice recognition is started. and terminating the voice recognition when the volume of the voice input after the start of the voice recognition falls below the termination determination value calculated in the termination determination value calculation step. and a speech recognition step of:

[0008] The speech recognition device of the present invention further comprises: a speech input means for inputting speech; and a most frequent volume acquiring means for acquiring a most frequent value of the volume of the speech inputted by the speech input means. an offset calculation means for calculating a threshold offset value, which is a volume difference between a surrounding environmental sound and an utterance, from the most frequent volume acquired by the most frequent volume acquisition means; The most frequent volume acquired by the most frequent volume acquisition means and a value obtained by adding the threshold offset value calculated by the offset calculation means and the start sensitivity. A start determination value calculation means for calculating a start determination value which is a volume for determining the start of an utterance based on the sound; an end determination value calculation means for calculating an end determination value, which is a volume for determining the end of an utterance, based on a value obtained by adding the most frequent volume acquired by the most frequent volume acquisition means, the threshold offset value calculated by the offset calculation means, and an end sensitivity that is a volume smaller than the start sensitivity; When the volume of the input voice exceeds the start judgment value calculated by the start judgment value calculation means, voice recognition is started. and terminating the voice recognition when the volume of the voice input after the start of the voice recognition falls below the termination determination value calculated by the termination determination value calculation means. and a voice recognition means for performing the voice recognition. Effect of the Invention

[0009] According to the speech recognition program of claim 1, the most frequent volume of the input speech is acquired, and the most frequent volume is A threshold offset value, which is the volume difference between the surrounding environmental sound and the speech, is calculated from the sum of the most frequent volume, the threshold offset value, and the start sensitivity.The start judgment value is calculated based on An end determination value is calculated based on the sum of the most frequent volume, the threshold offset value, and the end sensitivity, which is a volume lower than the start sensitivity, to determine the end of the speech. When the volume of the input voice exceeds the start threshold, voice recognition starts. When the volume of the voice input after the start of the voice recognition falls below the end determination value, the voice recognition is ended. The most frequent volume is the volume that is most frequently detected among the input volumes, so it can be estimated as the volume of the surrounding environmental sound that is constantly observed in that environment. Therefore, the start judgment value is set based on the most frequent volume. and the end judgment value By setting the threshold, it is possible to accurately distinguish whether the input voice is only the surrounding environmental sound or whether a speech is being made. This has the effect of accurately identifying the speech and performing voice recognition.

[0010]

[0011]

[0012]

[0013]

[0014]

[0015] Claim 2 According to the speech recognition program described in the claims Article 1 In addition to the effects of the above-mentioned voice recognition program, the following effects are achieved. The most frequent volume is calculated from the volume of the voice input within the most recent first predetermined time, so that the most frequent volume can be calculated according to the volume of the surrounding environmental sound that changes from moment to moment. This has the effect of enabling more accurate voice recognition of speech.

[0016] Claim 3 According to the speech recognition program described in claim 1 Or 2 In addition to the effects of the above-described voice recognition program, the present invention has the following effect: A most frequent volume is obtained based on the volume of the voice input within a second predetermined time before the first execution of the voice recognition step, and a start determination value is calculated based on the obtained most frequent volume. This has the effect of making it possible to perform voice recognition based on a start determination value according to the environment in which the voice is input, from the first voice recognition step.

[0017] Claim 4According to the speech recognition program described in the claims 1 from 3 In addition to the effects of the voice recognition program described in any one of the above, the present invention has the following effect: A most frequent volume is acquired based on the volume of the voice input within a second predetermined time before the first execution of the voice recognition step, and an end determination value is calculated based on the acquired most frequent volume. This has the effect that voice recognition based on an end determination value according to the environment in which the voice is input can be performed from the first voice recognition step.

[0018] Claim 5 According to the speech recognition program described in the claims 3 or 4 In addition to the effects of the speech recognition program described above, the following effects are achieved. A most frequent volume is obtained from the volumes of the voices input within a most recent first predetermined time period; The second predetermined time is set to be equal to or shorter than the first predetermined time, whereby the execution time of the preliminary judgment value calculation step can be shortened, thereby suppressing the time lag until the speech recognition step is first started.

[0019] Claim 6 According to the speech recognition program described in claim 1 5 In addition to the effects of the voice recognition program according to any one of the above, the present invention provides the following effects: The most frequent value of the volume of the input voice is corrected according to the type of the voice input device, and the most frequent volume is set as the most frequent volume. This has the effect of enabling accurate voice recognition of utterances regardless of the type of the voice input device into which the voice is input.

[0020] Claim 7 According to the voice recognition device described above, the same effects as those of the voice recognition program described in claim 1 are achieved. [Brief description of the drawings]

[0021] [Figure 1] FIG. 2 is an external view of a mobile terminal. [Diagram 2] FIG. 2A is a diagram for explaining a start determination value and an end determination value, and FIG. 2B is a diagram showing a histogram of input voice. [Diagram 3] FIG. 2 is a block diagram showing the electrical configuration of the mobile terminal. [Figure 4] 13 is a flowchart of audio processing. [Diagram 5] 13 is a flowchart of a 10 ms timer process. [Figure 6] 13 is a flowchart of a sensitivity process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] A preferred embodiment of the present invention will be described below with reference to the accompanying drawings. First, the configuration of a mobile terminal 1 in this embodiment will be described with reference to FIG. 1. FIG. 1 is an external view of the mobile terminal 1. The mobile terminal 1 is an information processing device (computer) that performs voice recognition of utterances made by a user H. The mobile terminal 1 is configured to be able to input a voice V, and judges whether the utterance is made by the user H based on the volume of the input voice V, and performs voice recognition for each utterance. Note that a known method is adopted for the voice recognition, and examples include a method of converting the voice V into a character string, replacing the converted character string with a corresponding word or phrase, and displaying the result on the LCD 18 (see FIG. 3).

[0023] During such voice recognition, a most frequent volume Vm, which is the most frequent value of the volume detected in the input voice V, is calculated, and a start determination value St_A, which is a volume for detecting the start of an utterance by the user H in the voice V, and an end determination value Ed_A, which is a volume for detecting the end of an utterance by the user H, are calculated based on the most frequent volume Vm. Utterances in the input voice V are detected from the calculated start determination value St_A and end determination value Ed_A, and voice recognition is performed from the detected utterances. The calculation of the most frequent volume Vm, the start determination value St_A, and the end determination value Ed_A will be described with reference to FIG. 2.

[0024] Fig. 2(a) is a diagram for explaining the start judgment value St_A and the end judgment value Ed_A. In Fig. 2, the horizontal axis represents time, and the vertical axis represents the volume (dB) of the sound V, and the transition of the volume of the input sound V is represented as Vs. In this embodiment, the maximum value of the volume is set to "0 dB" and the minimum value is set to "-120 dB". Note that the range of the volume is not limited to 0 dB to -120 dB, and may be other ranges.

[0025] In the mobile terminal 1 of this embodiment, it is determined whether the user H is speaking based on the volume of the input voice V. Specifically, as shown in Fig. 2(a), when the volume of the input voice V exceeds the start judgment value St_A from a state equal to or less than the start judgment value St_A (at time StT), it is determined that the user H has started speaking, and voice recognition is started.

[0026] After the voice recognition starts, when the volume of the input voice V falls below the end judgment value Ed_A (at time EdT), it is determined that the user H's speech has ended, and the voice recognition is terminated. That is, voice recognition is performed on the speech section VT from time StT to time EdT in the input voice V. The start judgment value St_A and the end judgment value Ed_A are calculated based on the most frequent volume Vm of the volume of the input voice V.

[0027] Here, the most frequent volume Vm will be described with reference to Fig. 2(b). Fig. 2(b) is a diagram showing a histogram of the input voice V. In Fig. 2(b), the horizontal axis represents the volume, and the vertical axis represents the frequency of each volume, i.e., the number of times each volume is detected.

[0028] In this embodiment, the most frequent volume Vm is measured by measuring the volume of the voice V input within a certain time period (0.5 seconds or 5 seconds, as described later in FIG. 4). In this embodiment, the volume used to calculate the most frequent volume Vm is the RMS value (root mean square value) of the volume detected within 10 ms. Note that the volume used to calculate the most frequent volume Vm is not limited to the RMS value, and values ​​such as the average value, median value, maximum value, and minimum value of the volume detected within 10 ms may also be used.

[0029] A histogram of the measured volumes is then calculated, and the most frequent volume Vm is obtained from the histogram. Specifically, the number of times each volume was detected from the voice V input within a certain period of time is obtained to create a histogram, and the volume of the most frequent value in the histogram is determined as the most frequent volume Vm.

[0030] Returning to Fig. 2(a), a start determination value St_A and an end determination value Ed_A are calculated based on the most frequent sound volume Vm calculated in this way. First, a threshold offset value Th is calculated from the most frequent sound volume Vm and coefficients t1 and t2 by the following formula 1.

[0031]

number

[0032] Then, the start judgment value St_A is calculated from the most frequent volume Vm, the threshold offset value Th, and the start sensitivity α, which is a volume corresponding to the sensitivity at the start judgment value St_A, by Formula 2. Also, the end judgment value Ed_A is calculated from the most frequent volume Vm, the threshold offset value Th, and the end sensitivity β, which is a volume corresponding to the sensitivity at the end judgment value Ed_A and is smaller than the start sensitivity α, by Formula 3.

[0033]

number

[0034] In this way, the start judgment value St_A and the end judgment value Ed_A are calculated from the most frequent volume Vm and the threshold offset value Th. The most frequent volume Vm is the volume most observed in the voice V input within a certain period of time, so it can be estimated as the volume of the surrounding environmental sound steadily observed in that environment. In addition, in formulas 2 and 3, the threshold offset value Th to be added to the most frequent volume Vm is also calculated from the most frequent volume Vm.

[0035] Here, user H speaks while taking into consideration the difference in volume between his / her own voice volume (volume) and the surrounding environmental sound. The threshold offset value Th is calculated from the most frequent volume Vm, which is the volume of the surrounding environmental sound, and the value can be set as the volume difference between the surrounding environmental sound and the speech. The start determination value St_A and the end determination value Ed_A are calculated based on the threshold offset value Th and the most frequent volume Vm, and the start determination value St_A and the end determination value Ed_A can be incorporated with the same consideration as that for the voice volume of user H's speech.

[0036] In this way, the start determination value St_A and the end determination value Ed_A are set based on the most frequent volume Vm and the threshold offset value Th, so that it is possible to accurately distinguish whether the input voice V is only the surrounding environmental sound or whether an utterance is being made. This makes it possible to accurately identify the utterance of the user H and to perform voice recognition on the identified utterance.

[0037] Next, the electrical configuration of the mobile terminal 1 will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the electrical configuration of the mobile terminal 1. As shown in Fig. 4, the mobile terminal 1 has a CPU 10, a flash ROM 11, and a RAM 12, which are each connected to an input / output port 14 via a bus line 13. The input / output port 14 is further connected to a built-in microphone 15, a microphone input terminal 16, a wireless communication device 17, an LCD 18 that displays the results of voice recognition, etc., and a touch panel 19 into which instructions from the user H are input.

[0038] The CPU 10 is a calculation device that controls each part connected by a bus line 13. The flash ROM 11 is a rewritable non-volatile memory, and stores a voice recognition program 11a. When the CPU 10 executes the voice recognition program 11a, the voice processing of FIG. 4 is performed.

[0039] The RAM 12 is a memory for rewritably storing various work data, flags, etc. when the CPU 10 is executing the voice recognition program 11a, and is provided with a volume memory 12a in which the RMS value of the volume of the input voice V described above is stored in chronological order, a most frequent volume memory 12b in which the most frequent volume Vm is stored, a threshold offset value memory 12c in which a threshold offset value Th is stored, a start sensitivity memory 12d in which a start sensitivity α is stored, an end sensitivity memory 12e in which an end sensitivity β is stored, a start judgment value memory 12f in which a start judgment value St_A is stored, an end judgment value memory 12g in which an end judgment value Ed_A is stored, and a microphone information memory 12h in which microphone information, which is information about the microphone used to input the voice V, is stored.

[0040] The built-in microphone 15 is an input device (microphone) provided in the mobile terminal 1 for inputting the voice V. The microphone input terminal 16 is a terminal for connecting a wired microphone 20 which is an input device provided outside the mobile terminal 1 for inputting the voice V. The wired microphone 20 is connected to the microphone input terminal 16 by a cable (not shown), and the voice V input from the wired microphone 20 is input to the mobile terminal 1 via the microphone input terminal 16.

[0041] The wireless communication device 17 is a device for wirelessly communicating with other devices. In this embodiment, a wireless microphone 21, which is an input device for inputting a voice V, is wirelessly connected via the wireless communication device 17, and the voice V input from the wireless microphone 21 is input to the mobile terminal 1 via the wireless communication device 17.

[0042] One of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 is set as an input device for inputting the voice V, and the microphone information resulting from this setting is stored in the microphone information memory 12h.

[0043] Next, the process executed by the CPU 10 of the mobile terminal 1 will be described with reference to Fig. 4 to Fig. 6. Fig. 4 is a flowchart of the voice process. The voice process is a process that is executed when an instruction to execute the voice recognition program 11a is input from the user H via the touch panel 19 or the like.

[0044] The audio process first clears the volume memory 12a (S1). After the process of S1, microphone information for acquiring the audio V is acquired and stored in the microphone information memory 12h (S2). Specifically, the mobile terminal 1 is configured so that the user H can set an input device for inputting the audio V from among the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 via the touch panel 19, and microphone information for any one of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 set by the user H is acquired from the touch panel 19 and stored in the microphone information memory 12h.

[0045] Note that the microphone information is not limited to that obtained from the user H, but may be obtained according to the connection status of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 to the mobile terminal 1. For example, the priority order of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 as the input device for inputting the voice V may be set in advance, and the microphone information of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 connected to the mobile terminal 1 that has the highest priority order may be stored in the microphone information memory 12h.

[0046] After the process of S2, the measurement count is set to 50 (S3). The measurement count is the number of times to measure the RMS value of the volume used to calculate the most frequent volume Vm. After the process of S3, 10 ms timer processing is started (S4). This process starts regular execution of the 10 ms timer processing in FIG. 4. The 10 ms timer processing will now be described with reference to FIG. 5.

[0047] Fig. 5 is a flowchart of the 10 ms timer process. The 10 ms timer process is an interrupt process executed every 10 ms. In this embodiment, the 10 ms timer process is executed every 10 ms after an instruction to start the 10 ms timer process is given by the process of S4 in Fig. 4 described above. The interval at which the 10 ms timer process is executed may be 10 ms or more or 10 ms or less.

[0048] The 10 ms timer process first measures the volume of the sound V obtained from the built-in microphone 15, the wired microphone 20, and the wireless microphone 21, whichever corresponds to the microphone information in the microphone information memory 12h, and adds the volume to the volume memory 12a (S20). As described above, the volume added to the volume memory 12a is the RMS value of the sound V detected within 10 ms after the previous execution of the 10 ms timer process. By the process of S20, the RMS value of the sound V is stored in the volume memory 12a in chronological order.

[0049] After the process of S20, it is confirmed whether the measurement of the volume by the process of S20 has been completed the number of measurements set in the process of S3 in Fig. 4 or the process of S6 described later (S21). Specifically, it is confirmed whether the number of times the volume has been measured by the process of S20 has exceeded the set number of measurements.

[0050] In the process of S21, if the volume has been measured the number of times (S21: Yes), the volume for the number of measurements from the current time is obtained from the volume stored in the volume memory 12a, and the histogram shown in Figure 2(b) is created from the obtained volume (S22).

[0051] Specifically, first, among the volumes stored in the volume memory 12a in chronological order, the volume for the measured number of times from the present is acquired. For example, if the number of measurements is 50, the volume for the 50 times from the most recently stored volume is acquired from the volume memory 12a. Then, the frequency of the acquired volume is acquired, and a histogram of the volume and the frequency of the volume is created.

[0052] At this time, although not shown in the figure, the "number of times the volume was measured by the processing of S20" is reset to "1."

[0053] After the process of S22, the most frequent volume in the histogram created in the process of S22 is stored in the most frequent volume memory 12b as the most frequent volume Vm (S23). At this time, if the most frequent volume is, for example, lower than -60 dB, the most frequent volume among volumes equal to or higher than -60 dB may be set as the most frequent volume Vm. This makes it possible to prevent the start determination value St_A and the end determination value Ed_A from becoming too small, and therefore to prevent voice recognition from being started by a small sound other than the user H's speech, such as footsteps in a quiet room.

[0054] After the process of S23, the sensitivity process of S24 is executed. The sensitivity process will now be described with reference to FIG.

[0055] 6 is a flowchart of the sensitivity process. In the sensitivity process, first, the microphone information in the microphone information memory is confirmed (S40). In the process of S40, if the microphone information in the microphone information memory is from the built-in microphone 15 (built-in microphone), a first correction amount is subtracted from the most frequent volume Vm in the most frequent volume memory 12b (S41). In the process of S40, if the microphone information in the microphone information memory is from the wired microphone 20 (wired microphone), a second correction amount is subtracted from the most frequent volume Vm in the most frequent volume memory 12b (S42). Also, in the process of S40, if the microphone information in the microphone information memory is from the wireless microphone 21 (wired microphone), a third correction amount is subtracted from the most frequent volume Vm in the most frequent volume memory 12b (S42).

[0056] Here, the first correction amount, the second correction amount, and the third correction amount are values ​​according to the characteristics such as the sensitivity and frequency characteristics of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21, respectively, and are values ​​obtained by experiment.

[0057] In this way, the most frequent volume Vm in the most frequent volume memory 12b is corrected by the first to third correction amounts according to the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 to which the voice V is input. This allows the different characteristics of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 to be reflected in the most frequent volume Vm, and can also be reflected in the start judgment value and the end judgment value calculated from the most frequent volume Vm. This allows accurate voice recognition of speech regardless of the built-in microphone 15, the wired microphone 20, and the wireless microphone 21 to which the voice V is input.

[0058] After the processes of S41 to S42, it is confirmed whether the user H has input sensitivity information, i.e., the start sensitivity α or the end sensitivity β described above in Fig. 2(a) via the touch panel 19 (S44). If the sensitivity information has been input in the process of S44 (S44: Yes), the input start sensitivity α or end sensitivity β is stored in the start sensitivity memory 12d or end sensitivity memory 12e (S45).

[0059] If the sensitivity information has not been input in the process of S44 (S44: No), the process of S45 is skipped. At this time, if the sensitivity information has not been input even once from the time the audio process is executed until the process of S44, the start sensitivity memory 12d and the end sensitivity memory 12e are set to their respective initial values. As examples of these initial values, for example, "3 dB" is exemplified as the initial value of the start sensitivity α, and "1 dB" is exemplified as the initial value of the end sensitivity β, but if the start sensitivity α is greater than the end sensitivity β, a value other than these may be used as the initial value.

[0060] After the processes of S44 and S45, the sensitivity process ends.

[0061] Returning to Fig. 5, after the sensitivity process in S24, the threshold offset value Th is calculated from the most frequent volume Vm in the most frequent volume memory 12b by the above-mentioned formula 1 in Fig. 2(a) and is stored in the threshold offset value memory 12c (S25).

[0062] After the process of S25, a start judgment value St_A is calculated from the most frequent volume Vm in the most frequent volume memory 12b, the threshold offset value Th in the threshold offset value memory 12c, and the start sensitivity α in the start sensitivity memory 12d by the formula 2 in Fig. 2(a) and stored in the start judgment value memory 12f (S26). After the process of S26, an end judgment value Ed_A is calculated from the most frequent volume Vm in the most frequent volume memory 12b, the threshold offset value Th in the threshold offset value memory 12c, and the end sensitivity β in the end sensitivity memory 12e by the formula 3 in Fig. 2(a) and stored in the end judgment value memory 12g (S27).

[0063] In the process of S21, if the number of times the volume has been measured has not been reached (S21: No), or after the process of S27, the 10 ms timer process ends.

[0064] After the process of S4, it is confirmed whether the initial start determination value St_A and end determination value Ed_A have been calculated by the processes of S26 and S27 of the 10 ms timer process (S5). That is, it is confirmed whether the start determination value St_A and end determination value Ed_A have been calculated for the first time since the start of the 10 ms timer process by the process of S4.

[0065] In the process of S5, if the initial start determination value St_A and end determination value Ed_A have not been calculated (S5: No), the process of S5 is repeated. On the other hand, in the process of S5, if the initial start determination value St_A and end determination value Ed_A have been calculated (S5: Yes), the number of measurements is set to 500 (S6).

[0066] As a result, immediately after the execution of the voice processing, prior to the voice recognition processing of S7 to S10 described below, the start judgment value St_A and the end judgment value Ed_A are calculated when the number of measurements is 50 and the time for measuring the volume to calculate the most frequent volume Vm is 0.5 seconds (i.e., 10 ms x 50 times). On the other hand, after the initial calculation of the start judgment value St_A and the end judgment value Ed_A, the start judgment value St_A and the end judgment value Ed_A are calculated when the time for measuring the volume to calculate the most frequent volume Vm is 5 seconds (i.e., 10 ms x 500 times).

[0067] After the process of S6, it is confirmed whether the volume of the input voice V exceeds the start judgment value St_A of the start judgment value memory 12f (S7). If the volume of the input voice V exceeds the start judgment value St_A in the process of S7 (S7: Yes), voice recognition of the input voice V is started (S8). On the other hand, if the volume of the input voice V does not exceed the start judgment value St_A in the process of S7 (S7: No), the process of S8 is skipped.

[0068] After the processes of S7 and S8, it is confirmed whether the volume of the voice V input after the start of voice recognition by the process of S8 falls below the end judgment value Ed_A in the end judgment value memory 12g (S9). If the volume of the voice V input after the start of voice recognition falls below the end judgment value Ed_A in the process of S9 (S9: Yes), the voice recognition being executed is terminated (S10). On the other hand, if the volume of the voice V input after the start of voice recognition does not fall below the end judgment value Ed_A in the process of S9 (S9: No), the process of S10 is skipped.

[0069] After the processes of S9 and S10, it is confirmed whether an instruction to end the voice processing has been obtained from the user H via the touch panel 19 (S11). If an instruction to end the voice processing has not been obtained in the process of S11 (S11: No), the processes from S7 onwards are repeated, and if an instruction to end the voice processing has been obtained (S11: Yes), the voice processing is ended.

[0070] As described above, in the mobile terminal 1 of the present embodiment, the most frequent volume Vm, which is the most frequent value of the volume of the input voice V, is acquired. Based on the most frequent volume Vm, a start judgment value St_A for detecting the start of the user H's speech in the input voice V and an end judgment value Ed_A for detecting the end of the speech are calculated. The most frequent volume Vm can be estimated as the volume of the surrounding environmental sound steadily observed in the environment. By setting the start judgment value St_A and the end judgment value Ed_A based on the most frequent volume Vm in this way, it is possible to accurately distinguish whether the input voice V is only the surrounding environmental sound or whether speech is being made. This allows the user H's speech to be accurately identified and the identified speech to be voice recognized.

[0071] The most frequent volume Vm is calculated from the volume measured within a certain time period from the latest volume among the volumes stored in the volume memory 12a in chronological order, that is, the most recently measured volume. Specifically, the number of measurements of the volume is set to 50 immediately after the execution of the audio processing, and the most frequent volume Vm is calculated from the volume measured 50 times, that is, within 0.5 seconds, immediately after the execution of the audio processing. After that, the number of measurements is set to 500, that is, the most frequent volume Vm is calculated from the volume measured in the most recent 5 seconds.

[0072] In this way, the most frequent volume Vm is calculated based on the most recently measured volume, and the start judgment value St_A and the end judgment value Ed_A are calculated based on that most frequent volume Vm, so that the start judgment value St_A and the end judgment value Ed_A can be determined according to the volume of the surrounding environmental sounds, which change from moment to moment.

[0073] Immediately after the execution of the voice processing, the number of times of volume measurement is set to 50, and the number of measurements thereafter is set to a small value of less than 500. Immediately after the execution of the voice processing, after the calculation of the initial most frequent volume Vm and the calculation of the start determination value St_A and the end determination value Ed_A are completed, voice recognition is started by the processes of S7 to S10 in Fig. 4. This allows voice recognition to be performed from the beginning of the voice recognition using the start determination value St_A and the end determination value Ed_A according to the environment in which the voice V is input.

[0074] However, on the other hand, voice recognition is not performed until the calculation of the first most frequent volume Vm, etc. is completed after the voice processing is executed. As a result, the time from when user H issues an instruction to execute voice processing to when the calculation of the first most frequent volume Vm, etc. is completed is regarded as the time lag until the voice recognition starts. Therefore, by setting the number of measurements of the volume immediately after the execution of voice processing to 50, and setting the number of measurements thereafter to 500 or less, the increase in the time lag can be suppressed. This can suppress the discomfort felt by user H regarding the start of voice recognition.

[0075] In addition, the start sensitivity α and end sensitivity β assigned to the start judgment value St_A and the end judgment value Ed_A, respectively, are set by the user H via the touch panel 19. This allows the user H to adjust the magnitude of the start judgment value St_A and the end judgment value Ed_A according to the voice volume of the user H who makes the utterance to be the target of voice recognition and the preference of the user H, thereby enabling more accurate voice recognition of the utterance.

[0076] The present invention has been described above based on an embodiment, but the present invention is not limited to the above-described embodiment, and it can be easily inferred that various improvements and modifications are possible within the scope of the present invention.

[0077] In the above embodiment, the start judgment value St_A is calculated using the most frequent volume Vm, the threshold offset value Th, and the start sensitivity α, and the end judgment value Ed_A is calculated using the most frequent volume Vm, the threshold offset value Th, and the end sensitivity β. However, this is not limited to this, and the start sensitivity α and the end sensitivity β may be omitted in the calculation of the start judgment value St_A and the end judgment value Ed_A. In this case, as shown in the following formulas 4 and 5, the volume difference between the start judgment value St_A and the end judgment value Ed_A may be set as the threshold offset value Th.

[0078]

number

[0079] Also, as in Equations 6 and 7, the start judgment value St_A and the end judgment value Ed_A may be calculated from the start initial value St_D and the end initial value Ed_D, which are the initial values ​​of the start judgment value St_A and the end judgment value Ed_A, respectively, and the threshold offset value Th.

[0080]

number

[0081] In the above embodiment, the coefficients t1 and t2 in the formula 1 are obtained by experiment, but the present invention is not limited to this. The coefficients t1 and t2 may be set by the user H via the touch panel 19. For example, by changing the coefficients t1 and t2 according to the user H who makes the speech to be recognized, the difference in voice volume according to the gender, age, etc. of the user H can be reflected in the threshold offset value Th.

[0082] Furthermore, the combinations of the start determination value St_A and the end determination value Ed_A are not limited to the above-mentioned combinations of Formula 2 and Formula 3, Formula 4 and Formula 5, and Formula 6 and Formula 7. For example, it may be a combination of Formula 2 and Formula 5, a combination of Formula 2 and Formula 7, a combination of Formula 4 and Formula 3, or a combination of Formula 4 and Formula 7. Similarly, it may be a combination of Formula 6 and Formula 3, or a combination of Formula 6 and Formula 5.

[0083] Also, the start determination value St_A may be based on the most frequent volume Vm according to any one of formulas 2, 4, and 6, and the end determination value Ed_A may be a value independent of the most frequent volume Vm. Similarly, the start determination value St_A may be a value independent of the most frequent volume Vm, and the end determination value Ed_A may be based on the most frequent volume Vm according to any one of formulas 3, 5, and 7. Note that examples of the "value independent of the most frequent volume Vm" include a predetermined fixed value and a value set by the user H via the touch panel 19.

[0084] In the above embodiment, the start sensitivity α and the end sensitivity β are set by the user H via the touch panel 19. However, this is not limiting, and for example, the start sensitivity α and the end sensitivity β obtained in advance by an experiment may be used.

[0085] In the above embodiment, the number of times the volume is measured immediately after the execution of the voice processing is set to be equal to or smaller than the number of times the volume is measured thereafter, but this is not limited to the above, and the number of times the volume is measured may be always constant, or the number of times the volume is measured immediately after the execution of the voice processing may be set to be greater than the number of times the volume is measured thereafter. Also, the number of times the volume is measured immediately after the execution of the voice processing and the number of times the volume is measured thereafter may be set by the user H via the touch panel 19.

[0086] In the above embodiment, the voice V is acquired from the built-in microphone 15, the wired microphone 20, or the wireless microphone 21, but this is not limited to the above. For example, the voice V may be acquired as voice data stored in advance in the flash ROM 11, or may be acquired as voice V as voice data transmitted from another mobile terminal 1 or the like via a communication device (not shown).

[0087] In the above embodiment, the mobile terminal 1 in which the voice recognition program 11a is embedded is exemplified, but the present invention is not limited to this, and the voice recognition program 11a may be executed by other information processing devices (computers) such as a personal computer or a tablet terminal. Also, the voice recognition program 11a may be stored in a ROM or an IC chip, and the present invention may be applied to a dedicated device that executes only the voice recognition program 11a. [Explanation of symbols]

[0088] 1. Mobile devices (computers) 11a Voice Recognition Program 15 Built-in microphone (part of the voice input device, part of the voice input means) 20 Wired microphone (part of the voice input device, part of the voice input means) 21 Wireless microphone (part of voice input device, part of voice input means) V Audio Vm Most frequent volume Th Threshold offset value St_B Start judgment value Ed_B End Judgment Value S22, S23: Most frequent volume acquisition step, most frequent volume acquisition means S25 Offset calculation step S26: Start determination value calculation step, start determination value calculation means S27: End judgment value calculation step, end judgment value calculation means S20, S40 Type acquisition step S3~S5 Pre-judgment value calculation steps S7 to S10: Speech recognition steps, speech recognition means

Claims

1. A speech recognition program for causing a computer to execute a speech recognition process, A most frequent volume acquisition step of acquiring a most frequent volume which is a most frequent value of the volume of the input voice; an offset calculation step of calculating a threshold offset value, which is a volume difference between the surrounding environmental sound and the speech, from the most frequent volume acquired in the most frequent volume acquisition step; a start determination value calculation step of calculating a start determination value, which is a volume for determining the start of speech based on a value obtained by adding the most frequent volume acquired in the most frequent volume acquisition step, the threshold offset value calculated in the offset calculation step, and a start sensitivity; an end determination value calculation step of calculating an end determination value, which is a volume for determining the end of an utterance, based on a value obtained by adding the most frequent volume acquired in the most frequent volume acquisition step, the threshold offset value calculated in the offset calculation step, and an end sensitivity that is a volume smaller than the start sensitivity; a voice recognition step of starting voice recognition when the volume of the input voice exceeds the start judgment value calculated in the start judgment value calculation step, and ending voice recognition when the volume of the input voice after the start of the voice recognition falls below the end judgment value calculated in the end judgment value calculation step; A speech recognition program comprising:

2. 2. The speech recognition program according to claim 1, wherein the most frequent volume acquiring step acquires the most frequent volume from volumes of the voice input within a first predetermined period immediately preceding the most frequent volume acquiring step.

3. a pre-determination value calculation step of acquiring a most frequent volume by the most frequent volume acquisition step and calculating a start determination value by the start determination value calculation step based on the acquired most frequent volume, within a second predetermined time before the speech recognition step is executed for the first time, 3. The computer-readable storage medium according to claim 1, wherein the speech recognition step performs speech recognition based on a start judgment value calculated in the preliminary judgment value calculation step.

4. a pre-determination value calculation step of acquiring a most frequent volume by the most frequent volume acquisition step and calculating an end determination value by the end determination value calculation step based on the acquired most frequent volume, within a second predetermined time period before the speech recognition step is executed for the first time; 4. The computer-readable storage medium according to claim 1, wherein the speech recognition step performs speech recognition based on the termination determination value calculated in the preliminary determination value calculation step.

5. The most frequent volume acquisition step acquires a most frequent volume from the volumes of the voices input within a first predetermined time period immediately preceding the most frequent volume acquisition step, 5. The speech recognition program according to claim 3, wherein the second predetermined time is equal to or shorter than the first predetermined time.

6. a type acquisition step of acquiring a type of a voice input device that inputs the voice, 6. The speech recognition program according to claim 1, wherein the most frequent volume acquisition step acquires as the most frequent volume a value obtained by correcting the most frequent value of the volume of the input speech in accordance with the type of the speech input device acquired in the type acquisition step.

7. A voice input means for inputting voice; a most frequent volume acquiring means for acquiring a most frequent volume which is a most frequent value of the volume of the voice inputted by the voice input means; an offset calculation means for calculating a threshold offset value, which is a volume difference between a surrounding environmental sound and an utterance, from the most frequent volume acquired by the most frequent volume acquisition means; a start determination value calculation means for calculating a start determination value, which is a volume for determining the start of speech, based on a value obtained by adding the most frequent volume acquired by the most frequent volume acquisition means, the threshold offset value calculated by the offset calculation means, and a start sensitivity; an end determination value calculation means for calculating an end determination value, which is a volume for determining the end of an utterance, based on a value obtained by adding the most frequent volume acquired by the most frequent volume acquisition means, the threshold offset value calculated by the offset calculation means, and an end sensitivity that is a volume smaller than the start sensitivity; a voice recognition means for starting voice recognition when a volume of the input voice exceeds a start judgment value calculated by the start judgment value calculation means, and for ending voice recognition when the volume of the input voice after the start of the voice recognition falls below an end judgment value calculated by the end judgment value calculation means.

Citation Information

Patent Citations

  • Voice section starting system

    JP1984219797A

  • Speech recognizing device

    JP1997054598A

  • Noise level estimating method, speech section detecting method, speech recognizing method, speech section detecting device, and speech recognition device

    JP1998288994A

  • Utterance section detecting device, voice energy normalizing device, computer program, and computer

    JP2005031632A

  • Utterance section detection device, voice processing system, utterance section detection method and program

    JP2016033530A