CN110989965A - Voice mouse based recording line switching method, system and device and readable storage medium - Google Patents

Voice mouse based recording line switching method, system and device and readable storage medium Download PDF

Info

Publication number
CN110989965A
CN110989965A CN201911200276.3A CN201911200276A CN110989965A CN 110989965 A CN110989965 A CN 110989965A CN 201911200276 A CN201911200276 A CN 201911200276A CN 110989965 A CN110989965 A CN 110989965A
Authority
CN
China
Prior art keywords
recording
voice
audio
mouse
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911200276.3A
Other languages
Chinese (zh)
Inventor
冯海洪
毛德平
许成亮
王行健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Mimouse Technology Co ltd
Original Assignee
Anhui Mimouse Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Mimouse Technology Co ltd filed Critical Anhui Mimouse Technology Co ltd
Priority to CN201911200276.3A priority Critical patent/CN110989965A/en
Publication of CN110989965A publication Critical patent/CN110989965A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0745Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/34Adaptation of a single recogniser for parallel processing, e.g. by use of multiple processors or cloud computing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals

Abstract

The invention relates to the technical field of voice signal processing, in particular to a voice mouse-based recording line switching method, which comprises the following steps: and audio signals are collected at the voice mouse end, and the audio is transmitted to a computer through a USB port. The computer converts the analog audio signal into a digital signal through the sound card drive and outputs the digital signal through the recording line. The software collects the recording circuit of the mouse and prompts the user when the voice mouse pickup device fails, and the user receives audio information by switching to other recording circuits of the computer. The invention utilizes the processing technology of the voice signal to combine with hardware equipment, realizes that the pickup circuit can be switched to other microphone equipment under the condition that the voice mouse cannot pick up the sound, and ensures the normal use of the voice function of the voice mouse. The invention also discloses a system and a device for switching the recording circuit based on the voice mouse and a computer readable storage medium, and the method has the same beneficial effects.

Description

Voice mouse based recording line switching method, system and device and readable storage medium
Technical Field
The invention relates to the technical field of voice signal processing, in particular to a voice mouse-based recording line switching method, system and device and a readable storage medium.
Background
At present, the voice mouse on the market only installs a microphone (a miniature microphone) on a mouse mainboard, and combines software on a computer to realize the functions of voice typing, voice internet surfing and voice translation.
However, the existing voice mouse has the problems that the pickup effect of the mouse head (microphone) is poor and the mouse head is easy to damage, and particularly, the mouse is easy to fall off from a computer desk and the mouse head is easy to damage. If the microphone of the voice mouse is damaged, the sound pickup device of the voice mouse cannot pick up sound, and the audio information transmitted to the computer is noise or silence.
Disclosure of Invention
The invention aims to provide a method, a system and a device for switching a recording line based on a voice mouse and a readable storage medium, so as to solve the problems in the background technology. According to the voice mouse-based recording line switching method, after the voice mouse is damaged or the sound pickup device does not work, other recording lines in a computer can be used for recording. Therefore, when people use the voice mouse, the problem that the pickup effect of the microphone is poor or the microphone of the mouse is damaged is found, and the function can be prevented from being unavailable by adopting a method for switching audio circuits.
In order to achieve the purpose, the invention provides the following technical scheme:
a voice mouse based recording line switching method comprises the following steps:
step 1: after the microphone of the voice mouse receives the user recording, the audio signal is transmitted into a recording circuit of a computer by using USB audio transmission;
step 2: after the software is started, firstly, the software judges whether the default recording line is modified, if so, the software monitors the modified recording line and acquires audio information through the modified recording line, otherwise, the previous recording line is used;
and step 3: after the user presses the voice key, the software can obtain the audio information of the appointed recording line, and carry out VID detection of the audio to detect whether the voice exists. If the sound is '0', prompting the user that 'the recording is too small, please say a big click'; if there is sound, speech recognition is performed.
And 4, step 4: when finding that the mouse always prompts abnormal recording, the user manually modifies the recording setting item in the software and modifies the recording line into a microphone line or other recording lines of the notebook computer. And the software is restarted.
Preferably, the USB audio transmission of the voice mouse in step 1 includes the following steps:
step 11: the mouse microphone receives the audio signal and transmits the recording data to the USB port through the internal circuit of the mouse;
step 21: transmitting the audio data to a sound card audio driver of an operating system through a USB port in a wired connection or wireless receiver mode;
step 31: the sound card audio driver of the operating system converts the analog audio signal into a digital signal and outputs the digital signal to a recording circuit of the operating system through a sound controller;
step 41: the software finds the corresponding mouse recording line and reads the output audio information.
Preferably, the audio information collection of the voice mouse in the step 2 includes the following steps:
step 21: detecting whether a recording line is modified after the software is started, and continuously detecting a key value pressed by a voice key of a user to determine whether the software starts recording;
step 22: if the software starts recording, the audio array is continuously read from the audio circuit and written into the pcm file in a byte stream mode, so that audio is collected from the recording circuit, and the software continuously transmits the audio array to a voice recognition interface of the cloud through the interface for voice recognition;
step 23: and if the user is detected to lift the voice key, finishing recording after the residual audio is read.
In order to solve the above technical problem, the present invention further provides a system for switching a recording line of a voice mouse, comprising: the voice mouse receives the user recording through the microphone and transmits audio data to a recording circuit of the computer, and the recording circuit finds the corresponding mouse recording circuit through built-in software and reads the output audio information.
Preferably, the recording line of the computer comprises a sound card audio driver, and the microphone transmits audio data to the sound card audio driver of the operating system through the USB port in a wired connection or wireless receiver mode.
Preferably, the sound card audio driver of the operating system converts the analog audio signal into a digital signal and outputs the digital signal to the recording line of the operating system through the sound controller.
In order to solve the above technical problem, the present invention further provides a voice mouse-based recording line switching device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the voice recording line switching method based on the voice mouse when the computer program is executed.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the voice mouse-based recording line switching method described in any one of the above.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a voice mouse-based recording line modification method, which can be applied to computer end software and matched with corresponding hardware equipment. When the microphone of the voice mouse cannot work, the microphone can be switched to other recording circuits and used in cooperation with the voice key of the voice mouse. When there is the better microphone of pickup effect, choose for use better recording circuit to carry out the pickup and can let the effect of pronunciation mouse better.
Drawings
FIG. 1 is a flow chart of a voice mouse-based recording line switching method according to the present invention.
Fig. 2 is a specific flowchart of USB audio transmission based on a voice mouse according to embodiment 1 of the present invention.
Fig. 3 is a specific flowchart of audio information collection based on a voice mouse in embodiment 2 of the present invention.
Fig. 4 is a specific flowchart of the audio track modification based on the voice mouse according to embodiment 3 of the present invention.
FIG. 5 is a schematic diagram of a recording line switching system based on a voice mouse according to the present invention.
FIG. 6 is a schematic structural diagram of a voice mouse-based recording line switching device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1 to 6, the present invention provides a technical solution:
a voice mouse-based recording line switching method comprises the following steps: and audio signals are collected at the voice mouse end, and the audio is transmitted to a computer through a USB port. The computer converts the analog audio signal into a digital signal through the sound card drive and outputs the digital signal through the recording line. The software collects the recording circuit of the mouse and prompts the user when the voice mouse pickup device fails, and the user receives audio information by switching to other recording circuits of the computer. And the computer software performs voice recognition on the acquired audio information and realizes intelligent control through semantic understanding.
The invention utilizes the processing technology of the voice signal to combine with hardware equipment, realizes that the pickup circuit can be switched to other microphone equipment under the condition that the voice mouse cannot pick up the sound, and ensures the normal use of the voice function of the voice mouse.
Example 1
Fig. 1-2 are general flow diagrams of an embodiment 1 of the present invention for providing USB audio transmission based on a voice mouse. As shown in fig. 2, a USB audio transmission of a voice mouse includes the following steps:
step 1: the mouse microphone receives the audio signal and transmits the recording data to the USB port through the internal circuit of the mouse.
Step 2: and transmitting the audio data to a sound card audio driver of the operating system through the USB port in a wired connection or wireless receiver mode.
And step 3: the sound card audio driver of the operating system converts the analog audio signal into a digital signal and outputs the digital signal to a recording line of the operating system through the sound controller.
And 4, step 4: the software finds the corresponding mouse recording line and reads the output audio information.
Example 2
FIG. 3 is a flowchart illustrating the audio information collection method according to an embodiment 2 of the present invention. As shown in fig. 3, a flow of collecting audio information based on a voice mouse includes the following steps:
step 1: after the software is started, whether the recording line is modified is detected, and the key value pressed by a voice key of a user is continuously detected to determine whether the software starts recording.
Step 2: if the software starts recording, the audio array can be continuously read from the audio circuit, and the audio array is written into the pcm file in a byte stream mode, so that the audio can be collected from the recording circuit. And the software can continuously transmit the audio array to a voice recognition interface of the cloud end through the interface to perform voice recognition.
And step 3: and if the user is detected to lift the voice key, finishing recording after the residual audio is read.
Example 3
FIG. 4 is a flowchart illustrating the recording route modification based on the voice mouse according to an embodiment 3 of the present invention. As shown in fig. 4, a method for modifying a recording track based on a voice mouse includes the following steps:
step 1: after the microphone of the voice mouse receives the user recording, the audio signal is transmitted into a recording circuit of a computer by using USB audio transmission;
step 2: after the software is started, firstly, the software judges whether the default recording line is modified, if so, the software monitors the modified recording line and acquires audio information through the modified recording line, otherwise, the previous recording line is used;
and step 3: after the user presses the voice key, the software can obtain the audio information of the appointed recording line, and carry out VID detection of the audio to detect whether the voice exists. If the sound is '0', prompting the user that 'the recording is too small, please say a big click'; if there is sound, speech recognition is performed.
And 4, step 4: when finding that the mouse always prompts abnormal recording, the user manually modifies the recording setting item in the software and modifies the recording line into a microphone line or other recording lines of the notebook computer. And the software is restarted.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A voice mouse-based recording line switching method is characterized by comprising the following steps:
step 1: after the microphone of the voice mouse receives the user recording, the audio signal is transmitted into a recording circuit of a computer by using USB audio transmission;
step 2: after the software is started, firstly, the software judges whether the default recording line is modified, if so, the software monitors the modified recording line and acquires audio information through the modified recording line, otherwise, the previous recording line is used;
and step 3: after a user presses a voice key, software can acquire audio information of a specified recording line, VID detection of the audio is carried out, whether the audio exists is detected, and if the audio is '0', the user is prompted to 'record too small, please say a loud word'; if the voice exists, carrying out voice recognition;
and 4, step 4: when finding that the mouse always prompts abnormal recording, a user manually modifies the recording setting item in the software, modifies the recording line into a microphone line or other recording lines of the notebook computer and restarts the software.
2. The method for switching the recording line based on the voice mouse as claimed in claim 1, wherein the USB audio transmission of the voice mouse in step 1 comprises the following steps:
step 11: the mouse microphone receives the audio signal and transmits the recording data to the USB port through the internal circuit of the mouse;
step 21: transmitting the audio data to a sound card audio driver of an operating system through a USB port in a wired connection or wireless receiver mode;
step 31: the sound card audio driver of the operating system converts the analog audio signal into a digital signal and outputs the digital signal to a recording circuit of the operating system through a sound controller;
step 41: the software finds the corresponding mouse recording line and reads the output audio information.
3. The method for switching the recording circuit based on the voice mouse as claimed in claim 1, wherein the step 2 of collecting the audio information of the voice mouse comprises the steps of:
step 21: detecting whether a recording line is modified after the software is started, and continuously detecting a key value pressed by a voice key of a user to determine whether the software starts recording;
step 22: if the software starts recording, the audio array is continuously read from the audio circuit and written into the pcm file in a byte stream mode, so that audio is collected from the recording circuit, and the software continuously transmits the audio array to a voice recognition interface of the cloud through the interface for voice recognition;
step 23: and if the user is detected to lift the voice key, finishing recording after the residual audio is read.
4. The utility model provides a record circuit switched systems based on voice mouse which characterized in that includes: the voice mouse receives the user recording through the microphone and transmits audio data to a recording circuit of the computer, and the recording circuit finds the corresponding mouse recording circuit through built-in software and reads the output audio information.
5. The system of claim 4, wherein the recording line of the computer comprises a sound card audio driver, and the microphone transmits audio data to the sound card audio driver of the operating system through the USB port by means of a wired connection or a wireless receiver.
6. The system of claim 5, wherein the audio driver of the sound card converts the analog audio signal into a digital signal and outputs the digital signal to the recording line of the operating system through the sound controller.
7. The utility model provides a record circuit auto-change over device based on voice mouse which characterized in that includes:
a memory for storing a computer program;
a processor for implementing the steps of the voice mouse based recording line switching method according to any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, implements the steps of the voice mouse-based recording line switching method according to any one of claims 1 to 3.
CN201911200276.3A 2019-11-29 2019-11-29 Voice mouse based recording line switching method, system and device and readable storage medium Pending CN110989965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911200276.3A CN110989965A (en) 2019-11-29 2019-11-29 Voice mouse based recording line switching method, system and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911200276.3A CN110989965A (en) 2019-11-29 2019-11-29 Voice mouse based recording line switching method, system and device and readable storage medium

Publications (1)

Publication Number Publication Date
CN110989965A true CN110989965A (en) 2020-04-10

Family

ID=70088370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911200276.3A Pending CN110989965A (en) 2019-11-29 2019-11-29 Voice mouse based recording line switching method, system and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN110989965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899768A (en) * 2020-07-16 2020-11-06 合肥原点信息技术有限公司 Audio file digital conversion system and method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013055545A (en) * 2011-09-05 2013-03-21 Honda Motor Co Ltd Hands-free speech device
CN104658536A (en) * 2015-03-09 2015-05-27 深圳酷派技术有限公司 Recording mode switching method, recording mode switching system and terminal
CN104754463A (en) * 2013-12-31 2015-07-01 环达电脑(上海)有限公司 Switching method of internal and external microphone signals
CN105898028A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Smart mobile phone recording source switching system and method
CN107018465A (en) * 2016-01-27 2017-08-04 环旭电子股份有限公司 Suitable for the gapless way of recording of Android system
CN107360495A (en) * 2016-05-10 2017-11-17 环旭电子股份有限公司 Suitable for the method for reducing External microphone plug noise of Android system
CN206672078U (en) * 2017-04-19 2017-11-24 上海魅声电子科技有限公司 A kind of sound card for possessing voice control function
JP2018007053A (en) * 2016-07-04 2018-01-11 アルパイン株式会社 On-vehicle equipment and processing method in on-vehicle equipment
CN206907001U (en) * 2017-06-19 2018-01-19 深圳市相位科技有限公司 It is a kind of can real-time Transmission recording file multifunctional mouse
CN206977676U (en) * 2017-07-14 2018-02-06 德州学院 Computer audio frequency high-fidelity recording system
CN109599110A (en) * 2018-12-29 2019-04-09 安徽咪鼠科技有限公司 A kind of intelligent sound mouse voice key control method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013055545A (en) * 2011-09-05 2013-03-21 Honda Motor Co Ltd Hands-free speech device
CN104754463A (en) * 2013-12-31 2015-07-01 环达电脑(上海)有限公司 Switching method of internal and external microphone signals
CN104658536A (en) * 2015-03-09 2015-05-27 深圳酷派技术有限公司 Recording mode switching method, recording mode switching system and terminal
CN105898028A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Smart mobile phone recording source switching system and method
CN107018465A (en) * 2016-01-27 2017-08-04 环旭电子股份有限公司 Suitable for the gapless way of recording of Android system
CN107360495A (en) * 2016-05-10 2017-11-17 环旭电子股份有限公司 Suitable for the method for reducing External microphone plug noise of Android system
JP2018007053A (en) * 2016-07-04 2018-01-11 アルパイン株式会社 On-vehicle equipment and processing method in on-vehicle equipment
CN206672078U (en) * 2017-04-19 2017-11-24 上海魅声电子科技有限公司 A kind of sound card for possessing voice control function
CN206907001U (en) * 2017-06-19 2018-01-19 深圳市相位科技有限公司 It is a kind of can real-time Transmission recording file multifunctional mouse
CN206977676U (en) * 2017-07-14 2018-02-06 德州学院 Computer audio frequency high-fidelity recording system
CN109599110A (en) * 2018-12-29 2019-04-09 安徽咪鼠科技有限公司 A kind of intelligent sound mouse voice key control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899768A (en) * 2020-07-16 2020-11-06 合肥原点信息技术有限公司 Audio file digital conversion system and method

Similar Documents

Publication Publication Date Title
CN107591151B (en) Far-field voice awakening method and device and terminal equipment
US11024332B2 (en) Cloud-based speech processing method and apparatus
US10601599B2 (en) Voice command processing in low power devices
JP6683234B2 (en) Audio data processing method, device, equipment and program
JP7324313B2 (en) Voice interaction method and device, terminal, and storage medium
US9613626B2 (en) Audio device for recognizing key phrases and method thereof
US11502859B2 (en) Method and apparatus for waking up via speech
JP2019185011A (en) Processing method for waking up application program, apparatus, and storage medium
CN107886944B (en) Voice recognition method, device, equipment and storage medium
CN108962240A (en) A kind of sound control method and system based on earphone
JP2019117623A (en) Voice dialogue method, apparatus, device and storage medium
JP2020016875A (en) Voice interaction method, device, equipment, computer storage medium, and computer program
JP2020112778A (en) Wake-up method, device, facility and storage medium for voice interaction facility
CN108681440A (en) A kind of smart machine method for controlling volume and system
US11587560B2 (en) Voice interaction method, device, apparatus and server
JP2019159305A (en) Method, equipment, system, and storage medium for implementing far-field speech function
CN110780741B (en) Model training method, application running method, device, medium and electronic equipment
CN104247280A (en) Voice-controlled communication connections
CN109412544B (en) Voice acquisition method and device of intelligent wearable device and related components
CN110968353A (en) Central processing unit awakening method and device, voice processor and user equipment
CA3103595A1 (en) Systems and methods for avoiding inadvertently triggering a voice assistant
CN110989965A (en) Voice mouse based recording line switching method, system and device and readable storage medium
CN114596853A (en) Control device and audio processing method
US20160165035A1 (en) Electronic device and method for controlling electronic device using headset
WO2023143544A1 (en) Voice control method and apparatus, device, medium, and intelligent voice acquisition system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410