CN113559511A - Control method, game device, computer program product, and readable storage medium - Google Patents

Control method, game device, computer program product, and readable storage medium Download PDF

Info

Publication number
CN113559511A
CN113559511A CN202110843986.9A CN202110843986A CN113559511A CN 113559511 A CN113559511 A CN 113559511A CN 202110843986 A CN202110843986 A CN 202110843986A CN 113559511 A CN113559511 A CN 113559511A
Authority
CN
China
Prior art keywords
game
sound effect
sound
preset
earphone
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
CN202110843986.9A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110843986.9A priority Critical patent/CN113559511A/en
Publication of CN113559511A publication Critical patent/CN113559511A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6063Methods for processing data by generating or executing the game program for sound processing
    • A63F2300/6081Methods for processing data by generating or executing the game program for sound processing generating an output signal, e.g. under timing constraints, for spatialization

Abstract

The invention discloses a control method, a game device, a computer program product and a readable storage medium, wherein the control method provided by the invention is applied to game equipment; searching a preset sound effect mode corresponding to the game type; and switching the sound effect to the preset sound effect mode. In the invention, the game equipment firstly acquires the game type, then finds the preset sound effect mode corresponding to the game type, and then switches the sound effect to the preset sound effect mode. That is to say, the sound effect mode is decided according to the game type, so, when the user plays different games, because the sound effect is along with switching, can hear the game music/background music that more conform to current game type, can effectively promote the sense of hearing experience in the game process.

Description

Control method, game device, computer program product, and readable storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a control method, a game device, a computer program product, and a readable storage medium.
Background
The types of games are numerous and complex, and different games present different game experiences for users. In the game process, music played along with the game brings richer experience to the game.
However, during the game, the user often feels that even though the game is of different game types, the corresponding hearing experience does not change with the change of the game types, and the experience is poor.
In summary, how to effectively improve the problems of listening experience and the like during game playing is a technical problem which needs to be solved urgently by those skilled in the art at present.
Disclosure of Invention
The invention aims to provide a control method, a game device, a computer program product and a readable storage medium, wherein the control method can automatically switch to different sound effects according to different game types, and effectively improves the auditory experience in the game process.
In order to achieve the purpose, the invention provides the following technical scheme:
a control method is applied to a game device and comprises the following steps:
acquiring a current game type;
searching a preset sound effect mode corresponding to the current game type;
and switching the sound effect to the preset sound effect mode.
As a further optimization of the present invention, the method further comprises:
judging whether voice interaction is included according to the current game type, if so, switching the sound effect to the preset sound effect mode, collecting sound, and if the collected sound includes the sound of preset personnel, starting the voice mode.
As a further optimization of the present invention, the judging whether the sound of the preset person is included according to the collected sound includes:
and analyzing the collected voiceprint information of the sound and comparing the voiceprint information with preset voiceprint information to judge whether the voice is the sound of a preset person.
As a further optimization of the present invention, the game device includes an earphone having a bone conduction sensor, and the determining whether the preset person's voice is included according to the collected voice includes:
and judging whether the sound collected by the bone conduction sensor is the sound of the wearer of the earphone, if so, starting a voice mode.
As a further optimization of the present invention, after the voice mode is turned on, the method further includes: if the collected sound does not include the sound of the preset personnel for the first preset time, switching to a preset sound effect mode.
As a further optimization of the present invention, the method further comprises:
receiving an instruction, and defining the game type of the game according to the instruction;
and establishing a corresponding relation between the defined game type and the sound effect mode in the instruction.
As a further optimization of the present invention, the game device includes an earphone, and the control method further includes:
and detecting the wearing state of the earphone, and controlling the pause or the start of the game according to the wearing state of the earphone.
The present invention also provides a game device, comprising:
the acquisition module is used for acquiring the type of the current game;
the searching module is electrically connected with the acquiring module and used for searching a preset sound effect mode corresponding to the current game type;
and the sound effect switching module is electrically connected with the searching module and is used for switching the sound effect to the preset sound effect mode.
The invention also proposes a computer program product comprising a computer program enabling, when executed by a processor, the implementation of the control method as described in any one of the above.
The invention also proposes a computer program product, on a readable storage medium, a computer program being stored which, when being executed by a processor, carries out the steps of the control method according to any one of the preceding claims.
The control method provided by the invention is applied to game equipment, and the method comprises the steps of obtaining the game type; searching a preset sound effect mode corresponding to the game type; and switching the sound effect to the preset sound effect mode.
In the invention, the game equipment firstly acquires the game type, then finds the preset sound effect mode corresponding to the game type, and then switches the sound effect to the preset sound effect mode. That is to say, the sound effect mode is decided according to the game type, so, when the user plays different games, because the sound effect is along with switching, can hear the game music/background music that more conform to current game type, can effectively promote the sense of hearing experience in the game process.
Accordingly, embodiments of the present invention further provide a game device, a computer program product, and a readable storage medium corresponding to the control method, which have the above technical effects, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or technical solutions in related arts, the drawings used in the description of the embodiments or related arts will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another control method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of a control method according to the present invention;
FIG. 4 is a diagram of a gaming terminal system according to an embodiment of the present invention;
FIG. 5 is a diagram of a Bluetooth communication link according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a game pad according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a game terminal system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
The invention provides a control method, when a user plays different games, the user can hear game music/background music more fit with the current game type due to the switching of the sound effect, and the auditory experience in the game process can be effectively improved. In particular, the method may be applied in a gaming device, such as a game console/gamepad. Referring to fig. 1, fig. 1 is a flowchart illustrating a control method according to an embodiment of the invention.
The method comprises the following steps:
and S001, acquiring the current game type.
Specifically, in the embodiment of the present invention, the game features may be classified into a leisure intelligence development category, a sports competition category, a role playing category, a shooting survival category, an adventure category, and the like in advance.
When the game device provides game service, the current game type can be acquired. Specifically, the current game type may be acquired according to information such as the name and ID of the game.
And S002, searching a preset sound effect mode corresponding to the current game type.
In the embodiment of the invention, corresponding preset sound effect modes can be preset for different game types. For example, different sound effect modes can be set according to different game categories, including but not limited to the following correspondence:
leisure intelligence-promoting type-pop sound effect;
role-playing classes-bass enhancement;
shooting survival class-single sound effect;
hazard class-virtual surround.
In order to facilitate searching for the preset sound effect mode corresponding to the current game type, the corresponding relation between the effective type and the sound effect mode can be stored in the lookup table, and thus, the preset sound effect mode corresponding to the current effective type can be quickly determined by traversing the lookup table.
Preferably, in practical application, sound effect setting can be performed according to instructions. The specific implementation process comprises the following steps:
step one, receiving an instruction, and defining the game type of the game according to the instruction;
and step two, establishing a corresponding relation between the defined game type and the sound effect mode in the instruction.
The instruction can be an instruction given by a user through an interactive interface, and can also be an instruction sent by a management device of the game device. The specific definition of the game type and the sound effect mode information can be specifically carried in the instruction. After receiving the command, the game type of the game can be defined by the commands at all levels, and then the defined game type is corresponding to the sound effect mode in the command, so that the game type definition of the game and the corresponding setting of the game type and the sound effect mode are completed.
And S003, switching the sound effect to a preset sound effect mode.
In order to improve the game experience of the user, the sound effect can be switched to the preset sound effect mode. Specifically, if the current sound effect is a pop sound effect and the preset sound effect mode corresponding to the current game type is a single-tone sound effect, the sound effect is switched from the pop sound effect to the single-tone sound effect.
The control method provided by the invention is applied to game equipment, and the method comprises the steps of obtaining the game type; searching a preset sound effect mode corresponding to the game type; and switching the sound effect to a preset sound effect mode.
In the invention, the game equipment firstly acquires the game type, then finds the preset sound effect mode corresponding to the game type, and then switches the sound effect to the preset sound effect mode. That is to say, the sound effect mode is decided according to the game type, so, when the user plays different games, because the sound effect is along with switching, can hear the game music/background music that more conform to current game type, can effectively promote the sense of hearing experience in the game process.
It should be noted that, based on the above embodiments, the embodiments of the present invention also provide corresponding improvements. In the preferred/improved embodiment, the same steps as those in the above embodiment or corresponding steps may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the preferred/improved embodiment herein.
In a specific implementation manner of the invention, voice interaction can be performed according to the requirements of the actual game scene. Specifically, whether voice interaction is included can be judged according to the type of the current game, if yes, the sound effect is switched to a preset sound effect mode, sound is collected, and if the collected sound includes the sound of preset personnel, the voice mode is started. That is, in practical application, the game type and whether the current game type includes voice interaction can be associated, so that after the current game type is obtained, whether the current game type includes voice interaction or not can be determined through the association relation between the game type and the voice interaction, if the current game type includes voice interaction, the sound effect can be switched to a preset sound effect mode, and sound is collected. In order to avoid interference caused by noise or other sounds of non-preset persons on voice interaction, the sounds can be detected after being collected, and the voice mode is started when the collected sounds are detected to include the sounds of the preset persons. That is, the preset personnel can perform voice interaction in a voice mode. The preset person may be a legal user of the game device.
Optionally, the determining whether the sound of the preset person is included according to the collected sound includes: and analyzing the collected voiceprint information of the sound and comparing the voiceprint information with preset voiceprint information to judge whether the voice is the sound of a preset person. That is, when detecting whether the collected sound is the sound of the preset person, the identity of the collected sound can be judged to be the sound of the preset person by analyzing the similarity between the voiceprint information of the collected sound and the preset sound information and then based on the corresponding relationship between the similarity and the preset judgment threshold value.
Optionally, the game device includes an earphone having a bone conduction sensor, and determining whether the preset person's voice is included according to the collected voice includes: and judging whether the sound collected by the bone conduction sensor is the sound of the wearer of the earphone, if so, starting a voice mode. When the game device is specifically an earphone with a bone conduction sensor, whether the sound is the sound of the earphone wearer can be directly judged according to the sound collected by the bone conduction sensor, and if the sound is the sound of the earphone wearer, the voice mode is directly started.
Preferably, considering that the duration of general voice interaction is limited, in order to avoid affecting the game experience due to long-term voice mode, after the voice mode is turned on, the following steps can be further performed: if the collected sound does not include the sound of the preset personnel for the first preset time, switching to a preset sound effect mode. Wherein, first preset time can set up according to actual demand, if can set up to 5 minutes, after not gathering the sound of presetting personnel in 5 minutes, can directly switch the speech mode into and preset the audio mode.
Preferably, if the game device includes an earphone, the control method may further detect a wearing state of the earphone, and control the pause or start of the game according to the wearing state of the earphone. Specifically, if the earphone is placed in the gamepad, the earphone in the gamepad can be detected to be out of the box, and when the earphone is detected to be out of the box, the earphone can be determined to be worn. Of course, whether the earphone is worn or not can be detected through a pressure sensor on the earphone. After it is determined that the headset is worn, the suspension or start of the game may be controlled according to the wearing state of the headset.
In practical application, on the basis of the embodiment shown in fig. 1, a function of switching sound effects according to user operation can be added to improve game experience. Specifically, the method is applied to a gamepad, the gamepad and a TWS headset are both in communication connection with a game console, and the gamepad and the TWS headset are in Bluetooth communication connection. Referring to fig. 2, fig. 2 is a flowchart of another control method according to an embodiment of the present invention, the method including the following steps:
s100, switching in a control mode or a sound effect mode by using the specific combination keys.
In the invention, the game handle can set a control mode and a sound effect mode, and set a specific combination key switched into the corresponding mode.
Specifically, if a sound effect switching group key is detected, a sound effect mode is switched in; and switching in the control mode if the function switching group key is detected. That is, the switching in corresponding to the sound effect mode is performed based on the sound effect switching group key; and corresponding to the switching-in of the control mode, the switching-in is carried out based on the function switching group key.
And S200, in a sound effect mode, adaptively switching the sound effect of the TWS earphone according to a game scene.
Generally, sound effects such as preset virtual surround sound effects, echo cancellation, bass enhancement, fashion, etc. are provided, different types of sound effects are preset for different types of games, and a player can select sound effects according to the game types.
Specifically, in the sound effect mode, a sound effect control data packet is transmitted to the game host and the TWS earphone is controlled to enter a sound effect receiving mode; therefore, the game host generates corresponding sound effect according to the game scene and transmits the sound effect to the TWS earphone entering the sound effect receiving mode, so that the TWS earphone can adaptively complete the sound effect switching.
Wherein, the sound effect control data packet can be referred to the following table:
the following data packet formats are defined in the gamepad to realize the self-adaptive sound effect switching and control modes:
address area Functional area Data area Check area
8bit 4bit 8bit 2bit
Wherein, the address area is used for storing the Bluetooth address of the earphone; the functional area is used for switching the sound effect mode and the control mode; the data area is used for transmitting related sound effect data and control information.
For example, the following steps are carried out: when pressing combination button Option + X + Y, the earphone gets into and receives the audio mode, and game paddle this moment transmits above-mentioned data packet to the game host, and the host computer generates corresponding audio according to relevant recreation scene, and the audio further transmits the earphone for waiting to receive the audio, makes the switching of the completion audio of earphone self-adaptation, promotes game experience. Then, through Option + right side telelever be used for switching over the sound effect from top to bottom such as the virtual surround sound effect of presetting, echo cancellation, bass reinforcing, style such as fashion, different grade type recreation has the different sound effect types of presetting, and the player can select the sound effect according to the recreation type.
And S300, controlling the functional state of the TWS earphone in the control mode.
Specifically, step S300 includes:
case 1: and the volume of the left/right earphone is correspondingly controlled by utilizing the up-down + Option keys of the left/right remote levers.
Namely, the up-down + Option keys of the left rocker correspondingly control the volume of the left earphone, and the up-down of the rocker corresponds to the volume adjustment of the earphone; the volume of the right earphone is correspondingly controlled by the up-down + Option keys of the right rocker, and the up-down of the rocker corresponds to the volume adjustment of the earphone.
Case 2: and the left/right shoulder keys and the Option key are utilized to correspondingly control the switches of the active noise reduction button functions of the left/right earphones.
Namely, the left shoulder key and the Option key correspond to a switch for controlling the active noise reduction button function of the left earphone; the right shoulder key and the Option key correspond to a switch for controlling the function of an active noise reduction button of the right earphone. Wherein, the Active Noise reduction function can be corresponding ANC and fall (Active Noise Control, actively fall and fall), and the theory of operation of falling its Noise is that the microphone collects outside ambient Noise, then the system transform to a reverse sound wave and add to the loudspeaker end, and the sound that finally people's ear heard is: the environmental noise + the opposite-phase environmental noise, thereby two kinds of noises superpose and realize the noise reduction in the sense organ.
Case 3: and correspondingly starting a sound acquisition device integrated in the earphone by using the left/right Trigger + Option keys so as to perform real-time interactive communication by using the earphone.
Namely, the left Trigger + Option key or the right Trigger + Option key correspondingly turns on the sound collecting device integrated in the earphone, so that the user can use the earphone to perform real-time interactive communication with friends.
It should be noted that, the keys in the game pad related to the present invention can be specifically referred to fig. 6, and the key arrangement of the game pad, respectively.
By applying the method provided by the embodiment of the invention in the game handle, a control mode or a sound effect mode is switched in by utilizing the specific combined key; in the sound effect mode, the sound effect of the TWS earphone is adaptively switched according to the game scene; in the control mode, controlling the functional state of the TWS headset; the gamepad and the TWS earphone are in communication connection with the game console, and the gamepad and the TWS earphone are in Bluetooth communication connection.
In the invention, when the gamepad, the TWS earphone and the game host are in communication connection, the control mode or the sound effect mode of the gamepad can be switched in through a specific combined key on the gamepad. In the sound effect mode, the sound effect of the TWS earphone can be adaptively switched according to the game scene, and in the control mode, the functional state of the TWS earphone can be controlled. That is to say, in the invention, sound effect and function control are carried out on the TWS earphone through the gamepad, the TWS earphone and the gamepad can be integrated, when the sound effect or function of the earphone needs to be adjusted, the operation can be carried out on the gamepad, and the game experience can be improved.
It is contemplated that a gamepad, headphones, and a game console will typically be used in the game. To enhance the game experience, the joystick can be used to control the headset, based on the embodiment shown in fig. 1. Specifically, referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of a control method according to the present invention, the method includes the following steps:
and S101, carrying out box-out detection on the TWS earphone.
The game handle and the TWS earphone are in Bluetooth communication connection with the game host, the game handle and the TWS earphone are in Bluetooth communication connection, and the TWS earphone plays game sound and/or realizes game voice communication. The earphone is an earphone applied to LE Audio, and the gamepad is provided with a placing structure of the TWS earphone and a charging device of the TWS earphone. Wherein, place the structure and can specifically be for placing cavity or box body, still can be for magnetism adsorbs the position, should place the structure promptly and can make the TWS earphone place steadily within the game paddle or the surface all can, charging device can specifically be for can providing the device of charging capacity to the game paddle can. In the present embodiment, the specific structure and principle of the placement structure and the charging device are not limited.
The TWS earphone can only play game sound, can only participate in voice communication of the game, and can realize the voice communication of the game while playing the game sound.
In this embodiment, the TWS headset may have a bluetooth communication connection with either the game console or the gamepad. Only the synchronous channel function of the protocol adopted by the TWS headset supports that a plurality of receiving devices can synchronously receive the data of the receiving devices. For example, the LE Audio protocol may be employed.
The synchronous channel function of the LE Audio (a Bluetooth communication protocol) supports that a plurality of receiving devices can synchronously receive the data of the receiving devices, thereby avoiding the forwarding mechanism of the traditional Bluetooth and reducing the time delay; secondly, the LC3(Low Complexity Communication Codec) encoding compression rate is higher than that of the conventional SBC (sub-band coding), while the LC3 has high robustness and Buffer (Buffer) is smaller than that of the SBC. Based on the two characteristics of the LE Audio, the TWS earphone (generally two earphones, namely a left earphone and a right earphone) and one gamepad are used as three slave devices and can simultaneously receive information of a master device, namely a game host; due to the fact that the time delay is low, sound signals in the TWS earphone can be better synchronized with game pictures of the host, and game experience is improved.
In this embodiment, the gamepad may perform out-of-box detection on the TWS headset to which the LE Audio is applied, that is, detect whether the TWS headset is taken out or not. Specifically, the specific type of out-of-cartridge detection means used is not limited in this embodiment.
Preferably, in order to realize integration of the gamepad with the TWS headset, the gamepad has a placement structure of the TWS headset and a charging device of the TWS headset. Specifically, the gamepad has a placing structure of the TWS headset and a charging device, that is, the gamepad can be used as a charging box of the TWS headset, and the gamepad and the TWS headset are integrated, so that a user can use the TWS headset conveniently.
S102, after the TWS earphone is detected to be taken out, the earphone control button on the game handle is monitored.
After detecting that the TWS headset is removed, the headset control buttons on the gamepad may be monitored. Specifically, in practical application, one or more earphone control buttons may be arranged on the game handle, and the function types of the earphone control buttons may be only one or multiple. For example, volume adjustment buttons may be provided in the left-hand and right-hand control areas of the joystick, respectively, or of course, a volume adjustment button may be provided in the left-hand control area of the joystick, and an active noise reduction start switch may be provided in the right-hand control area.
And S103, when the earphone control button is detected to be pressed, sending a corresponding control instruction to the TWS earphone.
After detecting that the headset control button is pressed, a corresponding control instruction can be sent to the TWS headset. That is, what function the pressed headset control button corresponds to, a corresponding control command is sent to the TWS headset.
The gamepad sends a corresponding control instruction to the TWS headset, and the control instruction can be sent through the bluetooth transmission protocol, and specific reference may be made to specific definition and application of the bluetooth transmission protocol for how to improve the bluetooth transmission protocol for sending the control instruction, which is not described in detail herein.
That is to say, the gamepad can control the relevant functions in the TWS headset, so as to improve the operability and convenience of the TWS headset control, and make the game experience better.
Specifically, in practical applications, the earphone control button may correspond to different functions, and the following description is briefly made by way of example:
example 1: if the headphone control button includes a volume adjustment button, and if it is detected in step S103 that the headphone control button is pressed, sending a corresponding control instruction to the TWS headphone, specifically including: upon detecting that the volume adjustment button is pressed, a volume adjustment instruction is sent to the TWS headset. That is, the joystick is provided with volume adjustment buttons, which may include a volume up button and a volume down button in general, and a mute button for further convenience of control. And when the gamepad detects that the volume adjusting button is pressed, sending a volume adjusting instruction to the TWS headset. After receiving the volume adjustment command, the TWS headset may perform volume control on the output sound, such as increasing the volume or decreasing the volume.
Example 2: if the earphone control button includes an active noise reduction button, and if the step S103 detects that the earphone control button is pressed, a corresponding control instruction is sent to the TWS earphone, which specifically includes: and when detecting that the active noise reduction button is pressed, sending an active noise reduction starting instruction to the TWS earphone. The active noise reduction generates reverse sound waves equal to external noise through a noise reduction system, and the noise is neutralized, so that the noise reduction effect is realized; the principle is that all sounds consist of a certain frequency spectrum, and if a sound can be found that has a frequency spectrum that is exactly the same as the noise to be cancelled, the noise can be completely cancelled out with just the opposite phase. When the gamepad detects that the active noise reduction button is pressed, an active noise reduction start instruction may be sent to the TWS headset. After the TWS earphone receives the active noise reduction starting instruction, external noise can be collected and sound which is just opposite to the phase of the external noise is generated, so that the external noise is offset, and the purpose of noise reduction is achieved.
Of course, in practical applications, other control buttons for controlling the TWS headset may also be provided on the gamepad, so that the TWS headset is controlled by the active handle.
In one embodiment of the invention, the gamepad may further disconnect the bluetooth communication connection with the TWS headset and disconnect the bluetooth communication connection of the TWS headset and the game console, so that the TWS headset and the target device establish the bluetooth communication connection separately. That is, the TWS headset may also exhibit a legacy mode, establishing a Bluetooth communication connection with a target device, such as a headset, other than the non-gaming host. That is, the control of the TWS earphone by the gamepad is realized, and meanwhile, the application of the traditional TWS earphone can be compatible.
In one embodiment of the present invention, voice control may also be implemented. The specific implementation process comprises the following steps:
step one, collecting environmental audio by using a microphone in a TWS earphone;
and step two, detecting command words in the environmental audio, and executing tasks corresponding to the command words.
For convenience of description, the above two steps will be described in combination.
The TWS headset has a microphone therein and is capable of capturing ambient audio, so that the ambient audio can be captured using the microphone in the TWS headset. Then, after the environmental audio is identified and detected, and a preset command word is detected, a task corresponding to the command word can be executed. The command words can be preset according to actual requirements, and keywords such as game pause, game start, volume increase, active noise reduction starting and the like can be set as the command words.
The executing the task corresponding to the command word may specifically include: and sending a task instruction corresponding to the task to the game host. That is, a task instruction corresponding to the task may be transmitted to the game host, so that the game host performs the relevant task, or the relevant task instruction may be forwarded by the game host. Specifically, tasks that need to be performed by the game console, i.e., by the game console, and tasks that need to be performed by the TWS headset, such as volume adjustment, active noise reduction, etc., are performed by the TWS headset.
In practical application, the gamepad and the TWS headset are both in Bluetooth communication connection with the game console, the gamepad and the TWS headset are in Bluetooth communication connection, and the TWS headset plays game sound and/or realizes game voice communication. That is, the TWS headset may only play game sounds; only real-time voice communication can be realized; and the real-time voice communication can be realized while the game sound is played, so that the game player can conveniently communicate with other players for game strategy, heart and the like.
Specifically, the bluetooth communication connection between the game pad, the TWS headset and the game console may specifically refer to fig. 4, and fig. 4 is a schematic diagram of a game terminal system connection according to an embodiment of the present invention. As shown in fig. 4, the game host (as a master device), two earlobes (TWS headphones), and a gamepad (as three slave devices) for controlling the game, the above four products simultaneously support the transmission mode of LE Audio, support LC3, and the headphones and the game host integrate a private protocol for Audio transmission, which is used to transmit the related Audio source, unlike A2DP, the private protocol can customize the format size of the packet, and reduce the buffer size based on the good robustness and compression ratio of LC3, and reduce the delay of the chain as much as possible.
The scheme described in the above embodiment will be explained in detail below by a game mode and a conventional mode.
In the game mode, the Link connection relationship shown in fig. 4 exists, and links 1 to 6 are completely established as shown in the figure. Link1, Link2 and Link3 are used for synchronizing the state information, time stamps and other information of the three slave devices; link4 and Link6 realize information transfer between the earphone and the game host, and the LE Audio transmission mode is mainly applied to transmit the sound source so as to reduce the transmission delay; link5 realizes the interaction between the game handle and the game host, and transmits control signals; when the joystick is required to control the earphones, control signals sent by the joystick can be sent to the game host through the Link5, and then the game host is respectively sent to the TWS earphone end through the Link4 and the Link6, so that the control of the TWS earphones by the joystick is further realized.
When the gamepad is matched with a game host to experience games, the gamepad can judge whether the earphone is taken out or not through an IR Sensor (infrared Sensor) integrated with the gamepad, and if the earphone is not taken out, the gamepad can be normally used as a traditional gamepad; after the earphone is taken out, the 6-path connection is automatically established by default through the Bluetooth MAC address (if a single earphone is taken out, 5-path connection is established according to the condition of taking out the earphone).
In the game process, if a player takes off one or two earphones, the earphone is integrated with the wearing detection function, so that the earphone can send a game pause signal to the game host, the game pause is realized, and the game is automatically recovered when the earphone is worn again.
After the earphone is worn, a player can experience background music of a game through the earphone, meanwhile, the combined key can be pressed down, an MIC (microphone) integrated with the earphone is opened, and real-time interactive communication is carried out between the earphone and friends.
In the game process, a player can adjust the volume through a preset combined key on a gamepad and can also select to turn on or turn off the active noise reduction function of the earphone; if the ears are not suitable due to wearing the earphones for a long time, the audio stream can be switched to be played by external playing equipment such as a television and the like by one key; in addition, the speech recognition rate can be improved due to the fact that the TWS earphone end carries out uplink noise reduction, a keyword recognition algorithm is integrated at the earphone end, such as command words of pausing, continuing, quitting the game, closing the host and the like, and when a player shouts the corresponding keyword, the game host carries out corresponding action.
In a traditional mode, the TWS earphone can work independently of a game handle, the two earphones are placed into the handle, a preset combined key is pressed, the two earphones are disconnected from the handle, meanwhile, the two earphones are matched, and the two earphones enter a broadcasting state and are matched with corresponding mobile phones. The TWS headset now functions similarly to a conventional TWS. The connection mode is shown in fig. 5, and is not described herein.
It should be noted that in the present embodiment, the earphones are both referred to as TWS earphones, and the handle is a game handle.
By applying the method provided by the embodiment of the invention in the game pad,
performing out-of-box detection on the TWS earphone; the game handle and the TWS earphone are in Bluetooth communication connection with the game host, the game handle and the TWS earphone are in Bluetooth communication connection, and the TWS earphone plays game sound and/or realizes game voice communication; monitoring an earpiece control button on the gamepad after detecting that the TWS earpiece is removed; and when the pressing of the earphone control button is detected, sending a corresponding control instruction to the TWS earphone.
In the invention, the game handle and the TWS earphone are both in Bluetooth communication connection with the game host, and the effective handle and the TWS earphone are also in Bluetooth communication connection. The gamepad can perform out-of-box detection on the TWS headset, and when the TWS headset is detected to be taken out, the control button of the headset can be monitored. Therefore, after the earphone control button is pressed, a corresponding control instruction can be sent to the TWS earphone. That is, the player may control the TWS headset by pressing a control button that controls the gamepad. Namely, the invention has the advantages of convenient operation and control and being beneficial to improving the game experience.
The game device corresponding to the control method shown in fig. 1 may be a game pad. Corresponding to the above method embodiment, the embodiment of the invention also provides a game handle, and the game handle described below and the control method described above can be correspondingly referred to each other.
As shown in fig. 6, the method comprises the following steps:
the game handle is provided with a placing structure of the TWS earphone, a charging device of the TWS earphone and an earphone control button;
the gamepad is used to perform the steps of the control method as described above.
It should be noted that Part a, i.e., two TWS headphones, and Part B, i.e., a gamepad, are shown in fig. 6.
Part a is merely an illustration, and is not limited to the TWS headset in the half-in-ear stem type, and may be designed as a bean-shaped headset or an in-ear headset as needed. Accordingly, Part B is also merely illustrative and the gamepad configuration may be ergonomically adjusted.
The Part A can be embedded into the Part B, and can also be placed into a specific earphone slot in a magnetic suction mode, and the position of the earphone slot on the handle can be adjusted according to space requirements; part A and Part B are connected through a Pogo-Pin (gold finger) at a Position C (namely, a contact Position), and the functions of communication and charging are realized.
Since the steps of the above method embodiments can be implemented in the game handle, the game handle also has the technical effects of the control method, and details are not repeated herein.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a game terminal system, and the game pad described below and the control method described above may be referred to with each other.
Referring to fig. 4 and 7, the game terminal system includes:
TWS headphones (illustrated Ear pads), a game console (not shown) and a gamepad as described above;
the TWS earphone and the gamepad are both in Bluetooth communication connection with the game host, and the TWS earphone and the game host are in Bluetooth communication connection.
It can be seen that the system saves the charging box traditionally found on TWS headsets, and adds the functionality of the gamepad, so that the gamepad can act as a charging box and at the same time can be used to control the game. Meanwhile, the gamepad integrates a communication module to realize the function of communicating with the earphone.
Wherein, Ear bugs can integrate IR Senor (infrared sensor) to realize the wearing detection function of the earphone; an integrated Hall Sensor is used for realizing out-of-box detection, namely detecting whether the earphone is taken out; a G-Sensor (gravity Sensor) is used to enable interaction with the headset.
The game handle part needs to integrate an IR Sensor for detecting whether the earphone is in the earphone slot of the handle besides controlling the keys of the game.
Since the game pad provided by the above embodiment is included in the system, and the game pad can achieve the technical effects of the above method embodiments, the system also has the technical effects of the method embodiments.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a game device, and a game device described below and a control method described above may be referred to in correspondence with each other.
Specifically, the game device includes:
the acquisition module is used for acquiring the type of the current game;
the searching module is electrically connected with the obtaining module and used for searching a preset sound effect mode corresponding to the current game type;
and the sound effect switching module is electrically connected with the searching module and is used for switching the sound effect to a preset sound effect mode.
The game device has the technical effects corresponding to the control method, and the details are not repeated.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer program product, and a computer program product described below and a control method described above may be referred to in correspondence with each other.
In particular, the invention also proposes a computer program product comprising a computer program which, when executed by a processor, is able to implement the control method as in any one of the above.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a readable storage medium, and a readable storage medium described below and a control method described above may be referred to in correspondence with each other.
A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the control method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

Claims (10)

1. A control method applied to a game device, comprising:
acquiring a current game type;
searching a preset sound effect mode corresponding to the current game type;
and switching the sound effect to the preset sound effect mode.
2. The control method according to claim 1, characterized by further comprising:
judging whether voice interaction is included according to the current game type, if so, switching the sound effect to the preset sound effect mode, collecting sound, and if the collected sound includes the sound of preset personnel, starting the voice mode.
3. The control method according to claim 2, wherein the judging whether the sound of the preset person is included according to the collected sound comprises:
and analyzing the collected voiceprint information of the sound and comparing the voiceprint information with preset voiceprint information to judge whether the voice is the sound of a preset person.
4. The control method according to claim 2, wherein the game device includes an earphone having a bone conduction sensor, and the determining whether the preset person's voice is included according to the collected voice includes:
and judging whether the sound collected by the bone conduction sensor is the sound of the wearer of the earphone, if so, starting a voice mode.
5. The method of claim 2, further comprising, after the initiating the voice mode: if the collected sound does not include the sound of the preset personnel for the first preset time, switching to a preset sound effect mode.
6. The control method according to claim 1, characterized by further comprising:
receiving an instruction, and defining the game type of the game according to the instruction;
and establishing a corresponding relation between the defined game type and the sound effect mode in the instruction.
7. The control method of claim 1, wherein the game device comprises a headset, the control method further comprising:
and detecting the wearing state of the earphone, and controlling the pause or the start of the game according to the wearing state of the earphone.
8. A gaming apparatus, comprising:
the acquisition module is used for acquiring the type of the current game;
the searching module is electrically connected with the acquiring module and used for searching a preset sound effect mode corresponding to the current game type;
and the sound effect switching module is electrically connected with the searching module and is used for switching the sound effect to the preset sound effect mode.
9. A computer program product comprising a computer program, characterized in that the computer program is capable of implementing a control method as claimed in any one of claims 1 to 7 when executed by a processor.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 7.
CN202110843986.9A 2021-07-26 2021-07-26 Control method, game device, computer program product, and readable storage medium Pending CN113559511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110843986.9A CN113559511A (en) 2021-07-26 2021-07-26 Control method, game device, computer program product, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110843986.9A CN113559511A (en) 2021-07-26 2021-07-26 Control method, game device, computer program product, and readable storage medium

Publications (1)

Publication Number Publication Date
CN113559511A true CN113559511A (en) 2021-10-29

Family

ID=78167471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110843986.9A Pending CN113559511A (en) 2021-07-26 2021-07-26 Control method, game device, computer program product, and readable storage medium

Country Status (1)

Country Link
CN (1) CN113559511A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203368707U (en) * 2013-07-09 2013-12-25 刘铁勇 Mode switchable game earphone
CN104349241A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Earphone and information processing method
CN105163235A (en) * 2015-09-08 2015-12-16 深圳市冠旭电子有限公司 Joystick game machine and earphone control circuit on game machine joystick
WO2016150316A1 (en) * 2015-03-23 2016-09-29 阿里巴巴集团控股有限公司 Audio output control method and apparatus
CN107682536A (en) * 2017-09-25 2018-02-09 努比亚技术有限公司 A kind of sound control method, terminal and computer-readable recording medium
CN108536419A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game volume control method, equipment and computer readable storage medium
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
CN109409898A (en) * 2018-11-13 2019-03-01 爱宝达科技(深圳)有限公司 A method of game is carried out by earphone and is supplemented with money
CN110493678A (en) * 2019-08-14 2019-11-22 Oppo(重庆)智能科技有限公司 The control method and device of earphone
CN110574103A (en) * 2018-06-29 2019-12-13 华为技术有限公司 Voice control method, wearable device and terminal
CN110580141A (en) * 2019-08-07 2019-12-17 上海摩软通讯技术有限公司 Mobile terminal and sound effect control method
CN111432304A (en) * 2020-03-20 2020-07-17 江苏紫米电子技术有限公司 Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN111935583A (en) * 2020-08-24 2020-11-13 Oppo(重庆)智能科技有限公司 Earphone mode control method, earphone mode control device, terminal equipment, earphone mode control system and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203368707U (en) * 2013-07-09 2013-12-25 刘铁勇 Mode switchable game earphone
CN104349241A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Earphone and information processing method
WO2016150316A1 (en) * 2015-03-23 2016-09-29 阿里巴巴集团控股有限公司 Audio output control method and apparatus
CN106161724A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 Audio output control method and device
CN105163235A (en) * 2015-09-08 2015-12-16 深圳市冠旭电子有限公司 Joystick game machine and earphone control circuit on game machine joystick
CN107682536A (en) * 2017-09-25 2018-02-09 努比亚技术有限公司 A kind of sound control method, terminal and computer-readable recording medium
CN108536419A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game volume control method, equipment and computer readable storage medium
CN110574103A (en) * 2018-06-29 2019-12-13 华为技术有限公司 Voice control method, wearable device and terminal
CN109284080A (en) * 2018-09-04 2019-01-29 Oppo广东移动通信有限公司 Audio method of adjustment, device, electronic equipment and storage medium
CN109409898A (en) * 2018-11-13 2019-03-01 爱宝达科技(深圳)有限公司 A method of game is carried out by earphone and is supplemented with money
CN110580141A (en) * 2019-08-07 2019-12-17 上海摩软通讯技术有限公司 Mobile terminal and sound effect control method
CN110493678A (en) * 2019-08-14 2019-11-22 Oppo(重庆)智能科技有限公司 The control method and device of earphone
CN111432304A (en) * 2020-03-20 2020-07-17 江苏紫米电子技术有限公司 Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN111935583A (en) * 2020-08-24 2020-11-13 Oppo(重庆)智能科技有限公司 Earphone mode control method, earphone mode control device, terminal equipment, earphone mode control system and storage medium

Similar Documents

Publication Publication Date Title
US11778360B2 (en) Method and system for audio sharing
CN108989931B (en) Hearing protection earphone, hearing protection method thereof and computer readable storage medium
JP6903153B2 (en) Audio signal processing for noise reduction
CN110493678B (en) Earphone control method and device, earphone and storage medium
US10834500B2 (en) Dual-radio gaming headset
CN208908482U (en) The earphone of adjustable noise reduction
EP2557814A1 (en) Wireless stereo headset
CN111464905A (en) Hearing enhancement method and system based on intelligent wearable device and wearable device
EP2705675B1 (en) Self-learning hearing assistance system and method of operating the same
US20220335924A1 (en) Method for reducing occlusion effect of earphone, and related apparatus
WO2020057419A1 (en) Audio control method and device, and terminal
WO2019114531A1 (en) Bluetooth chip having hearing aid function, bluetooth headset and wireless hearing aid system
CN106416299A (en) Personal communication device having application software for controlling the operation of at least one hearing aid
JP2017536062A (en) Bluetooth earset with built-in ear canal microphone and its control method
CN113542960A (en) Audio signal processing method, system, device, electronic equipment and storage medium
CN111770403A (en) Wireless earphone control method, wireless earphone and control system thereof
CN111770412B (en) Wireless earphone control method, wireless earphone and control system thereof
CN113559511A (en) Control method, game device, computer program product, and readable storage medium
CN101437189A (en) Wireless earphone with hearing-aid function
CN113115151B (en) Control method and device of wireless earphone, equipment and storage medium
WO2015074694A1 (en) A method of operating a hearing system for conducting telephone calls and a corresponding hearing system
JPH0591583A (en) Earphone
CN218788831U (en) Earphone and networking communication system based on earphone
CN219041956U (en) Charging box of hearing-aid earphone
CN114845199A (en) Noise reduction adjusting method and device for earphone, earphone and storage medium

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