Voice processing method and device, vehicle, storage medium and program product
By collecting voice in the car for confusion, masking and anti-howling processing, the problem of voice privacy protection in the car is solved and the voice privacy protection effect is achieved in a relatively close space in the car.
Patent Information
- Application Number
- CN202410983755.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-01
AI Technical Summary
In the car cabin, it is difficult to effectively protect the voice privacy of passengers. Apart from increasing physical distance or adding physical partitions, there is a lack of effective methods.
By collecting the voice at the first position, performing obfuscation and masking processing, reducing the volume ratio, and performing anti-howling processing, the target voice is obtained and output to the second position, thereby protecting voice privacy.
In the relatively close space inside the car, through confusion masking and anti-howling processing, the privacy of passengers' voices is protected, preventing the original voice from being directly learned by others, and only outputting interference shielding sound.
Smart Images

Figure CN118737111A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of speech processing, and in particular to a speech processing method, a speech processing device, a vehicle, a storage medium and a computer program product. Background Art
[0002] At present, there is a privacy requirement for voice communication in the car cabin: the speech content of a person, such as a rear passenger, such as a call voice, is not intended to be known by other passengers, such as the front passenger. However, currently, there is no good way to achieve voice privacy protection for passengers in the car cabin except to increase physical distance or add physical partitions.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a speech processing method, a speech processing device, a vehicle, a storage medium and a computer program product, aiming to solve the technical problem that it is difficult to protect the passenger's voice privacy in the vehicle cabin.
[0005] To achieve the above objectives, the present application proposes a speech processing method, wherein the method is applied to a vehicle cockpit, comprising:
[0006] Collecting a first speech at a first position, and performing confusion masking processing on the first speech to obtain a second speech;
[0007] Acquire the first audio and / or the second audio, and process the second voice through the first audio and / or the second audio to obtain the target voice;
[0008] At least one second position is determined, and the target speech is output to the second position.
[0009] In one embodiment, the step of processing the second voice through the first audio includes:
[0010] The volume ratio of the second voice is reduced, and the second voice with the reduced volume ratio is processed through the first audio.
[0011] In one embodiment, the step of processing the second voice by using the first audio includes:
[0012] performing anti-howling processing on the first audio;
[0013] The step of processing the second voice through the first audio comprises:
[0014] The second voice is processed based on the first audio after the anti-howling processing.
[0015] In one embodiment, the step of performing anti-howling processing on the first audio includes:
[0016] The energy of the first audio at a target frequency is reduced, wherein the target frequency is a frequency prone to howling determined based on a test audio in an audio feedback loop.
[0017] In one embodiment, the step of obtaining the first audio and / or the second audio includes:
[0018] According to the volume of the first voice, the volume ratio of the second voice and the first audio and / or the second audio is adjusted.
[0019] In one embodiment, the step of collecting the first speech at the first position includes:
[0020] Collecting original speech at a first position;
[0021] Performing speech detection on the original speech to obtain speech segment audio and non-speech segment audio;
[0022] The speech segment audio is used as the first speech at the first position.
[0023] In addition, to achieve the above-mentioned purpose, the present application also proposes a speech processing device, the speech processing device comprising:
[0024] An initial module, configured to collect a first speech at a first position, and perform confusion masking processing on the first speech to obtain a second speech;
[0025] A processing module, used to obtain the first audio and / or the second audio, and process the second voice through the first audio and / or the second audio to obtain a target voice;
[0026] The output module is used to determine at least one second position and output the target speech to the second position.
[0027] In addition, to achieve the above objectives, the present application also proposes a speech processing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the speech processing method described above.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle, which includes the speech processing device as described above.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the speech processing method described above are implemented.
[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the speech processing method described above are implemented.
[0031] One or more technical solutions proposed in this application have at least the following technical effects:
[0032] In the present application, a method for protecting voice privacy in a relatively close space in a vehicle cabin is provided. First, a first voice collected at a first position in the vehicle is subjected to confusion masking processing to obtain a second voice, so that after the confusion masking processing, it is difficult to obtain the original information carried in the collected first voice from the second voice; then, the second voice is subjected to anti-howling processing based on the first audio, and / or, the second voice is subjected to auditory optimization processing based on the second audio to obtain a target voice, so that the second voice is subjected to anti-howling processing through the first audio, thereby achieving an anti-howling voice shielding effect, and in addition, the second voice can also be subjected to auditory optimization processing through the second audio, thereby improving the actual auditory comfort of the target voice; finally, the target voice is output to at least one second position in the vehicle.
[0033] Thus, in a relatively close closed or semi-closed space inside a car, compared with conventional privacy protection methods of increasing physical distance or adding physical partitions, a target voice is obtained by performing confusion masking processing, anti-howling processing and / or hearing optimization processing on the collected first voice, that is, the original voice to be protected, and outputting the target voice to a second position where other listeners in the car are located except the speaker at the first position, so that other listeners in the car at the second position are difficult to directly learn the original voice of the speaker, but can only learn the target voice after the voice privacy protection processing, and the target voice is an interference shielding sound, thereby protecting the voice privacy of the speaker at the first position. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 A flowchart of the first embodiment of the speech processing method of the present application is provided;
[0037] Figure 2 An application diagram provided for the first embodiment of the speech processing method of the present application;
[0038] Figure 3 This is a schematic diagram of the module structure of the speech processing device according to an embodiment of the present application;
[0039] Figure 4 Schematic diagram of the device structure of the hardware operating environment involved in the voice processing method in the embodiment of the present application.
[0040] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0042] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0043] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, an embedded device, etc., or an electronic device, a voice processing device or a vehicle capable of realizing the above functions. The following takes a voice processing device as an example to illustrate this embodiment and the following embodiments.
[0044] Based on this, the present application embodiment provides a voice processing method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the speech processing method of the present application.
[0045] In this embodiment, the speech processing method includes steps S10 to S30:
[0046] Step S10, collecting a first speech at a first position, and performing confusion masking processing on the first speech to obtain a second speech;
[0047] It should be noted that the first position may be a seat position in the vehicle cabin, such as the front driver's seat or the front passenger seat, or the rear window seat or the rear middle seat. The vehicle may be a two-seat, four-seat, five-seat, six-seat or seven-seat vehicle. In this embodiment, the number of vehicle seats and the position and manner of seat arrangement are not limited.
[0048] In one embodiment, the voices of multiple seats can be collected to obtain multiple first voices, and the first voices at different positions are subsequently processed for voice privacy protection. For example, the speaker at the front driver's seat and the speaker at the middle back seat are speaking at the same time. After the speaker at the front driver's seat and the speaker at the middle back seat are subsequently processed for voice privacy protection, the speaker at the front driver's seat and the speaker at the middle back seat cannot hear each other's original voice.
[0049] In one embodiment, in response to a selection instruction of the first position, a designated position where the first voice can be collected is determined; or, in response to a switch instruction of the voice privacy function, a position where the voice privacy function is turned on or off is determined. For example, all seats in the vehicle support a microphone pickup function, and a passenger can trigger a selection instruction or a switch instruction based on voice or a click on a touch screen to specify a designated position where the first voice can be collected, or determine a position where the voice privacy function is turned on or off.
[0050] In this embodiment, the method of performing confusion masking processing on the first speech may be one or more of the following methods: by changing the spectral characteristics or sound characteristics of the first speech, such as pitch, speech speed, intonation, etc., so that the first speech is difficult to be recognized; performing reverse processing on the first speech, for example, reversing the time series of the first speech signal. It should be noted that in this embodiment, the implementation method of speech confusion masking processing is not limited.
[0051] In a feasible implementation manner, the step of collecting the first speech at the first position includes:
[0052] Collecting original speech at a first position;
[0053] Performing speech detection on the original speech to obtain speech segment audio and non-speech segment audio;
[0054] The speech segment audio is used as the first speech at the first position.
[0055] It should be noted that the interference shielding sound generated by the noise picked up by the door slamming sound and / or wind noise after the voice privacy protection processing, that is, the target voice finally output, is still noise that is uncomfortable to hear and affects the hearing experience. In one embodiment, when picking up the voice, the noise is automatically identified and suppressed, the voice segment and non-voice segment in the original voice are accurately distinguished, and the voice privacy protection processing is performed on the voice segment audio, so as to obtain the target voice without the interference of the non-voice segment.
[0056] In this embodiment, the method for performing voice detection on the original voice may be one or more of the following methods:
[0057] 1. Energy threshold detection. For energy detection: speech usually has high energy, and the energy threshold can be set to detect speech segments. When the signal energy of the original speech exceeds the set threshold, it is considered a speech segment. For short-time energy: calculate the energy of the speech signal in different time windows, and detect the speech segment by setting the short-time energy threshold;
[0058] 2. Amplitude threshold detection. Speech usually has large amplitude changes. You can set the amplitude threshold to detect speech segments. When the signal amplitude of the original speech exceeds the set threshold, it is considered a speech segment.
[0059] 3. Zero-crossing rate detection: The zero-crossing rate of speech signals is low, while the zero-crossing rate of non-speech signals (such as noise) is high. The speech segment and the non-speech segment can be distinguished by setting the zero-crossing rate threshold.
[0060] 4. Spectral feature detection. For spectrum flatness: speech signals usually have a higher flatness in the spectrum, while the spectrum of non-speech signals varies greatly, which can be distinguished by setting the spectrum flatness threshold; for spectrum envelope: the spectrum envelope of speech signals usually has obvious energy concentration at lower frequencies, and speech and non-speech can be distinguished by analyzing the spectrum envelope.
[0061] 5. Machine learning and deep learning methods. Use machine learning algorithms (such as support vector machines, random forests, etc.) or deep learning models (such as convolutional neural networks, recurrent neural networks, etc.) to train classifiers that distinguish between speech segments and non-speech segments. These models can learn distinguishing patterns from speech features to improve accuracy and robustness.
[0062] 6. Voice activity detection algorithm: Use a specially designed voice activity detection algorithm, such as an endpoint detection algorithm based on acoustic features (such as a combination of short-time energy, zero-crossing rate, spectral features, etc.), to detect and distinguish between speech segments and non-speech segments.
[0063] Step S20, obtaining the first audio and / or the second audio, and processing the second voice through the first audio and / or the second audio to obtain the target voice;
[0064] It should be noted that the target voice played by a speaker such as a headrest speaker is the interference shielding sound, which is recorded by the microphone after being transmitted through the air. At the same time, the microphone will also record the speaker's voice. Since the interference shielding sound is related to the speaker's voice (similar spectral characteristics), energy is superimposed on certain frequency points. The continuously superimposed energy at these frequency points is continuously amplified, eventually leading to howling.
[0065] In one embodiment, the second voice is processed for anti-howling by the first audio to obtain the target voice. That is, by combining the first audio and the second voice, the first audio is used to interfere with the second voice, so that the target voice obtained after the combination operation does not generate howling.
[0066] In one embodiment, the second audio is used to optimize the hearing of the second voice to obtain the target voice. That is, by combining the second audio and the second voice, the target voice obtained after the combination operation is comfortable to hear and has no hearing abnormality. It should be noted that the second audio can be white noise or pink noise such as music, natural sound, comfort noise, etc., and the second audio is pre-designed audio that can avoid being misjudged as voice.
[0067] In one embodiment, the first audio and the second audio are used to perform anti-howling processing and hearing optimization processing on the second voice, respectively, to obtain a target voice. That is, by combining the first audio, the second audio and the second voice, the target voice obtained after the combination operation is free of howling, and has a comfortable hearing sense and no abnormal hearing sense.
[0068] In a feasible implementation manner, the step of processing the second voice through the first audio includes:
[0069] The volume ratio of the second voice is reduced, and the second voice with the reduced volume ratio is processed through the first audio.
[0070] It should be noted that by reducing the volume ratio of the second voice, the gain ratio of the second voice in the audio feedback loop is less than 1, so that the energy of the second voice in the audio feedback loop is gradually reduced, thereby avoiding howling. In addition, by merging the second voice with the first audio after reducing the volume ratio, howling is further avoided.
[0071] In one embodiment, the step of processing the second voice through the first audio includes:
[0072] Lowering the volume ratio of the second voice and increasing the volume ratio of the first audio;
[0073] The second audio with the volume ratio reduced is processed by increasing the volume ratio of the first audio.
[0074] Since the volume ratio of the second voice is reduced, the listener at the target position may be able to hear the first voice, making it difficult to continue to protect the voice privacy of the speaker at the first position. In this embodiment, while reducing the volume ratio of the second voice, the volume ratio of the first audio is increased, and then the second voice with the reduced volume ratio is processed by the first audio with the increased volume ratio, so that while ensuring further anti-howling, the basic function of voice privacy protection can also be guaranteed.
[0075] In a feasible implementation manner, the step of processing the second voice through the first audio includes:
[0076] performing anti-howling processing on the first audio;
[0077] The step of processing the second voice through the first audio comprises:
[0078] The second voice is processed based on the first audio after the anti-howling processing.
[0079] When the second voice is processed by the first audio, the first audio and the second voice can be combined to achieve anti-howling processing for the second voice. However, it should be noted that the first audio is an independent audio that is unrelated to the sound collected by the microphone and may cause howling to the final target voice. Therefore, it is necessary to perform additional anti-howling processing on the first audio to prevent the howling that may be caused by the first audio.
[0080] In a feasible implementation manner, the step of performing anti-howling processing on the first audio includes:
[0081] The energy of the first audio at a target frequency is reduced, wherein the target frequency is a frequency prone to howling determined based on a test audio in an audio feedback loop.
[0082] It should be noted that the frequency spectrum characteristics of the first audio and the voice collected by the microphone are very unlikely to be similar, and energy will not be continuously superimposed at certain frequency points to generate howling.
[0083] In one embodiment, the frequency point that is prone to howling is determined in advance in the audio feedback loop (microphone->algorithm->speaker->microphone). For example, a full-band test audio signal (white noise / pink noise / sweep signal) is played to the speaker to compare whether the energy of the signal frequency point collected by the microphone is greater than the signal frequency point during playback, so as to determine the frequency point that produces howling, that is, the target frequency point of the first audio.
[0084] In a feasible implementation manner, the step of obtaining the first audio and / or the second audio includes:
[0085] According to the volume of the first voice, the volume ratio of the second voice and the first audio and / or the second audio is adjusted.
[0086] In one embodiment, the volume ratio of each component of the second voice, the first audio and / or the second audio is automatically adjusted according to the volume of the first voice. Figure 2 , automatically adjust the gain ratio of the second voice, the first audio and / or the second audio. For example, if the voice in the back row is relatively soft or silent, the music in the second audio will be amplified instead of playing comfort noise, so as to make the front row listen more comfortably. For another example, if the volume of the voice in the back row is louder, or the sound collected by the microphone is louder, the volume of the finally synthesized interference shielding sound, i.e. the target voice, will also be increased accordingly.
[0087] Step S30, determining at least one second position, and outputting the target speech to the second position.
[0088] It should be noted that the second position may be the location of a seat in the vehicle cabin, such as the front driver's seat or the front passenger seat, or the rear window seat or the rear middle seat.
[0089] In one embodiment, the final target voice may be output to multiple seats, and listeners at different seats may be prevented from knowing the original information carried in the first voice. For example, when a passenger in the back row is speaking or making a voice call, after the collected first voice is processed for voice privacy protection, the passengers in the front driver seat and the front passenger seat cannot hear the first voice, and can only hear the target voice after interference shielding.
[0090] In one embodiment, the second position may also be the same as the first position, so that the speaker can hear his own voice while enhancing the sound quality of his own voice.
[0091] As described above, in a relatively close closed or semi-closed car space, compared with the conventional privacy protection method of increasing the physical distance or adding physical partitions, the target voice is obtained by performing confusion masking processing, anti-howling processing and / or hearing optimization processing on the collected first voice, that is, the original voice to be protected, and outputting the target voice to the second position where the other listeners in the car are located except the speaker at the first position, so that the other listeners in the car at the second position are difficult to directly learn the original voice of the speaker, but can only learn the target voice after the voice privacy protection processing, and the target voice is an interference shielding sound, thereby protecting the voice privacy of the speaker at the first position.
[0092] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the speech processing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0093] This application also provides a voice processing device, please refer to Figure 3 , the speech processing device comprises:
[0094] An initial module 10 is used to collect a first speech at a first position, and perform confusion masking processing on the first speech to obtain a second speech;
[0095] A processing module 20, configured to obtain a first audio and / or a second audio, and process the second speech through the first audio and / or the second audio to obtain a target speech;
[0096] The output module 30 is used to determine at least one second position and output the target speech to the second position.
[0097] In one embodiment, the processing module is further configured to:
[0098] The volume ratio of the second voice is reduced, and the second voice with the reduced volume ratio is processed through the first audio.
[0099] In one embodiment, the processing module is further configured to:
[0100] Before the step of processing the second voice by using the first audio:
[0101] performing anti-howling processing on the first audio;
[0102] The processing module is also used for:
[0103] The second voice is processed based on the first audio after the anti-howling processing.
[0104] In one embodiment, the processing module is further configured to:
[0105] The energy of the first audio at a target frequency is reduced, wherein the target frequency is a frequency prone to howling determined based on a test audio in an audio feedback loop.
[0106] In one embodiment, the processing module is further configured to:
[0107] After the step of obtaining the first audio and / or the second audio:
[0108] According to the volume of the first voice, the volume ratio of the second voice and the first audio and / or the second audio is adjusted.
[0109] In one embodiment, the initial module is further used to:
[0110] Collecting original speech at a first position;
[0111] Performing speech detection on the original speech to obtain speech segment audio and non-speech segment audio;
[0112] The speech segment audio is used as the first speech at the first position.
[0113] The speech processing device provided by the present application adopts the speech processing method in the above embodiment, which can solve the technical problem that it is difficult to protect the privacy of passenger speech in the vehicle cabin. Compared with the prior art, the beneficial effects of the speech processing device provided by the present application are the same as the beneficial effects of the speech processing method provided by the above embodiment, and the other technical features in the speech processing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0114] The present application provides a speech processing device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the speech processing method in the above-mentioned embodiment 1.
[0115] Reference below Figure 4 , which shows a schematic diagram of the structure of a speech processing device suitable for implementing the embodiment of the present application. The speech processing device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The voice processing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Figure 4 As shown, the speech processing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the speech processing device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the voice processing device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a voice processing device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0117] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0118] The voice processing device provided by the present application adopts the voice processing method in the above embodiment, which can solve the technical problem that it is difficult to protect the voice privacy of passengers in the vehicle cabin. Compared with the prior art, the beneficial effects of the voice processing device provided by the present application are the same as the beneficial effects of the voice processing method provided by the above embodiment, and the other technical features in the voice processing device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0119] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0121] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the speech processing method in the above-mentioned embodiment.
[0122] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0123] The computer-readable storage medium may be included in the speech processing device; or may exist independently without being assembled into the speech processing device.
[0124] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the speech processing device, the speech processing device: collects the first speech at the first position, performs confusion masking processing on the first speech, and obtains the second speech; obtains the first audio and / or the second audio, processes the second speech through the first audio and / or the second audio, and obtains the target speech; determines at least one second position, and outputs the target speech to the second position.
[0125] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0126] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0127] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0128] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned voice processing method, and can solve the technical problem that it is difficult to protect the voice privacy of passengers in the vehicle cabin. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the voice processing method provided by the above-mentioned embodiment, and will not be repeated here.
[0129] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned speech processing method when executed by a processor.
[0130] The computer program product provided by this application can solve the technical problem that it is difficult to protect the voice privacy of passengers in the vehicle cabin. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the voice processing method provided by the above embodiment, which will not be repeated here.
[0131] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A speech processing method, It is characterized in that The method is applied to a vehicle cockpit, comprising: Collecting a first speech at a first position, and performing confusion masking processing on the first speech to obtain a second speech; Acquire the first audio and / or the second audio, and process the second voice through the first audio and / or the second audio to obtain the target voice; At least one second position is determined, and the target speech is output to the second position.
2. The method according to claim 1, It is characterized in that The step of processing the second voice through the first audio comprises: The volume ratio of the second voice is reduced, and the second voice with the reduced volume ratio is processed through the first audio.
3. The method according to claim 1, It is characterized in that The step of processing the second voice by using the first audio comprises: performing anti-howling processing on the first audio; The step of processing the second voice through the first audio comprises: The second voice is processed based on the first audio after the anti-howling processing.
4. The method according to claim 3, It is characterized in that The step of performing anti-howling processing on the first audio comprises: The energy of the first audio at a target frequency is reduced, wherein the target frequency is a frequency prone to howling determined based on a test audio in an audio feedback loop.
5. The method according to claim 1, It is characterized in that The step of obtaining the first audio and / or the second audio comprises: According to the volume of the first voice, the volume ratio of the second voice and the first audio and / or the second audio is adjusted.
6. The method according to claim 1, It is characterized in that The step of collecting the first speech at the first position comprises: Collecting original speech at a first position; Performing speech detection on the original speech to obtain speech segment audio and non-speech segment audio; The speech segment audio is used as the first speech at the first position.
7. A speech processing device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the speech processing method according to any one of claims 1 to 6.
8. A vehicle, It is characterized in that The vehicle comprises the speech processing device according to claim 7.
9. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the speech processing method according to any one of claims 1 to 6 are implemented.
10. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the speech processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Audio processing method, system and device, storage medium and program product
CN119170045A
Vehicle-mounted audio playing information generation method and device, equipment and medium
CN120526744A
