A method, device, equipment and storage medium for processing voice data

By determining whether the voice data is interfered by enemy players and processing it accordingly, the problem of low integration of voice data of players in the same team in the game is solved, and the human-computer interaction efficiency and gaming experience are improved.

CN115869618BActive Publication Date: 2025-08-15NETEASE (SHANGHAI) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211677982.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2025-08-15
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

The voice data exchange between players in the same team in the existing game has not been specially processed, resulting in a low degree of integration between player voice data and game, and a decrease in human-computer interaction efficiency.

Method used

By determining whether the voice data is interfered by the voice of the enemy player, if it is disturbed, the interfered voice data will be played on the target terminal device and the interference prompt will be performed. If it is not disturbed, it will be played normally. The voice signal amplitude and interaction parameters are used to judge the interference and perform interference processing.

Benefits of technology

It improves the integration of player voice data and gameplay and the efficiency of human-computer interaction, and enhances the communication effect between players in the team.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115869618B_ABST
    Figure CN115869618B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device and storage medium for processing voice data, specifically including: in response to first voice data collected from a first terminal device, judging whether the first voice data is subject to voice interference initiated by a second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game; if so, playing the first voice data after being subject to voice interference on the target terminal device, and providing an interference prompt to the target terminal device regarding the voice interference; if not, playing the first voice data on the target terminal device. In this way, when a player's voice data is subject to voice interference initiated by an enemy player, the present application can provide corresponding prompts to other players in the team, and play the voice data after being subject to voice interference to other players in the team, effectively improving the degree of integration of the player's voice data into the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of audio data processing, and in particular to a method, apparatus, device and storage medium for processing voice data. Background Art

[0002] Existing games primarily focus on processing and improving in-game sound effects data. For example, when a player-controlled character attacks a virtual sound source like a radio, the player is treated to a shattering sound effect, achieving a more realistic reproduction of the sound effect data. However, no special processing is performed on the voice data used when players communicate with each other on the same team. Instead, the collected voice data is simply forwarded directly to other players on the same team. This results in a low degree of integration of the player's voice data into the game, reducing the efficiency of human-computer interaction. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a method, device, equipment and storage medium for processing voice data, which can provide corresponding prompts to other players in the team when the player's voice data is interfered with by the voice of the enemy player, and play the voice data after the voice interference to other players in the team, thereby effectively improving the integration of the player's voice data into the game and the player's human-computer interaction efficiency.

[0004] In a first aspect, an embodiment of the present application provides a method for processing voice data, the method comprising:

[0005] In response to first voice data collected from a first terminal device, determining whether the first voice data is interfered with by voice from a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in a game, wherein the first game character represents a game character controlled by the first terminal device;

[0006] If so, playing the first voice data after being interfered with by the voice on the target terminal device, and providing an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents the terminal device corresponding to the voice receiver of the first voice data;

[0007] If not received, the first voice data is played on the target terminal device.

[0008] In a second aspect, an embodiment of the present application provides a device for processing voice data, the device comprising:

[0009] a first response module, configured to, in response to first voice data collected from a first terminal device, determine whether the first voice data is interfered with by voice transmitted by a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in the game; wherein the first game character represents a game character controlled by the first terminal device;

[0010] A first determining module is configured to, if received, play the first voice data after being interfered with by the voice on a target terminal device, and provide an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents a terminal device corresponding to a voice receiver of the first voice data;

[0011] The second determining module is configured to play the first voice data on the target terminal device if the first voice data is not received.

[0012] In a third aspect, an embodiment of the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for processing voice data when executing the computer program.

[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for processing voice data are executed.

[0014] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0015] The embodiment of the present application provides a method, apparatus, device and storage medium for processing voice data. In response to the first voice data collected from the first terminal device, the method determines whether the first voice data is interfered with by the voice of the second terminal device according to the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game; if so, the first voice data after being interfered with by the voice is played on the target terminal device, and an interference prompt is given to the target terminal device for the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is interfered with by the voice of an enemy player, the present application can give corresponding prompts to other players in the team and play the voice data after being interfered with by the voice to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0016] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 A flow chart showing a method for processing voice data provided in an embodiment of the present application is shown;

[0019] Figure 2 A schematic diagram of the structure of a gaming system provided by an embodiment of the present application is shown;

[0020] Figure 3 A flowchart of a first method for determining whether first voice data is interfered with by voice initiated by a second terminal device, provided in an embodiment of the present application, is shown;

[0021] Figure 4 A flow chart illustrating a second method for determining whether first voice data is interfered with by voice initiated by a second terminal device, provided in an embodiment of the present application;

[0022] Figure 5 A flow chart of a method for determining input parameters of an audio effector in a target terminal device provided by an embodiment of the present application is shown;

[0023] Figure 6 A schematic flow chart of a first method for controlling an audio effector based on target parameters provided by an embodiment of the present application is shown;

[0024] Figure 7 A schematic flow chart of a second method for controlling an audio effector based on target parameters provided in an embodiment of the present application is shown;

[0025] Figure 8 A schematic flow chart of a third method for controlling an audio effector based on target parameters provided in an embodiment of the present application is shown;

[0026] Figure 9 A schematic diagram showing the structure of a voice data processing device provided in an embodiment of the present application is shown;

[0027] Figure 10 A schematic structural diagram of an electronic device 1000 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0029] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0030] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0031] Existing games primarily focus on processing and improving in-game sound effects data. For example, when a player-controlled character attacks a virtual sound source like a radio, the player is treated to a shattering sound effect, achieving a more realistic reproduction of the sound effect data. However, no special processing is performed on the voice data used when players communicate with each other on the same team. Instead, the collected voice data is simply forwarded directly to other players on the same team. This results in a low degree of integration of the player's voice data into the game, reducing the efficiency of human-computer interaction.

[0032] Based on this, the embodiments of the present application provide a method, device, electronic device and storage medium for processing voice data. When a player's voice data is interfered with by voice launched by an enemy player, corresponding prompts can be given to other players in the team, and the voice data after voice interference can be played to other players in the team, effectively improving the degree of integration of the player's voice data into the game and the player's human-computer interaction efficiency.

[0033] In the embodiment of the present application, the method for processing voice data can be run on a terminal device or a server. The terminal device can be a local terminal device (such as a local touch terminal). When the method for processing voice data is run on a server, it can be a cloud game.

[0034] In an optional embodiment, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating entity of the game program and the entity presenting the game screen are separated. The storage and operation of the voice data processing method are completed on the cloud gaming server. The cloud gaming client is used for receiving and sending data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the terminal device for processing is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0035] In another optional embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the local terminal device, or provided to the user through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0036] To facilitate understanding of this embodiment, a method for processing voice data provided in an embodiment of the present application is described in detail below.

[0037] Reference Figure 1 As shown, Figure 1 A flowchart of a method for processing voice data provided in an embodiment of the present application is shown. The method includes steps S101-S103. Specifically:

[0038] S101, in response to first voice data collected from a first terminal device, determine whether the first voice data is interfered with by voice transmitted from a second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game.

[0039] S102: If yes, play the first voice data after being interfered with by the voice on the target terminal device, and issue an interference prompt to the target terminal device regarding the voice interference.

[0040] S103: If not received, play the first voice data on the target terminal device.

[0041] The above-mentioned voice data processing method provided by the embodiment of the present application responds to the first voice data collected from the first terminal device, and judges whether the first voice data is subject to voice interference initiated by the second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game; if so, the first voice data after being subject to voice interference is played on the target terminal device, and an interference prompt is given to the target terminal device regarding the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is subject to voice interference initiated by an enemy player, the present application can give corresponding prompts to other players in the team, and play the voice data after being subject to voice interference to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0042] In an optional implementation, in addition to the above-mentioned terminal device and server, the above-mentioned voice data processing method can also be applied to Figure 2 In the game system shown, the game system includes but is not limited to: a game server 200 and multiple terminal devices 201; wherein each terminal device 201 communicates with the game server 200 respectively to achieve data interaction.

[0043] In an embodiment of the present application, among multiple terminal devices 201, the first terminal device 210 and the target terminal device 211 are different terminal devices corresponding to players of the same game team, and the second terminal device 220 represents a terminal device corresponding to players of other game teams different from the above-mentioned game team, that is, the first terminal device 210 and the target terminal device 211 belong to the same game team, and the second terminal device 220 belongs to a different game team.

[0044] Specifically, in an actual game, players can use the target virtual equipment equipped by the game character to interfere with the voice data sent by players of other game teams. When the game server 200 collects the first voice data sent by the first terminal device 210 to the target terminal device 211 of the same team, it can determine whether the first voice data is interfered with by the voice launched by the second terminal device 220 (i.e., the terminal device corresponding to the player of the other game team) based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character (i.e., the game character controlled by the first terminal device 210) in the game; if it is determined that the voice interference launched by the second terminal device 220 is effective, the game server 200 can use the target terminal device 211 to The terminal device 211 plays the first voice data interfered with by voice (i.e., the first voice data with an interference effect) to the recipient of the first voice data (i.e., the player corresponding to the target terminal device 211), and issues an interference prompt to the recipient of the first voice data through the target terminal device 211 (prompting that the interference effect in the currently played first voice data is due to the voice interference initiated by the second terminal device 220); if it is determined that the voice interference initiated by the second terminal device 220 is effective, the game server 200 will follow the normal voice data relay process and directly play the first voice data sent by the first terminal device 210 (i.e., the first voice data without any interference effect) to the recipient of the first voice data through the target terminal device 211.

[0045] It should be noted that the number of the above-mentioned target terminal devices 211 is determined according to the actual voice transmission requirements of the first terminal device 210 (for example, if the first voice data of the first terminal device 210 is designated to be sent to the target player on the same team, then the target terminal device 211 is the terminal device corresponding to the target player; if the first voice data of the first terminal device 210 is sent synchronously to each teammate player on the same team, then the target terminal device 211 is the terminal device corresponding to each teammate player on the same team); the specific number of the above-mentioned target terminal devices 211 is not limited in this embodiment of the application. The following is an example of the application to the above-mentioned game system to illustrate each step of the above-mentioned voice data processing method provided in the embodiment of the present application:

[0046] S101, in response to first voice data collected from a first terminal device, determine whether the first voice data is interfered with by voice transmitted from a second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game.

[0047] Here, the first game user represents the voice sender of the first voice data, the first terminal device is the terminal device corresponding to the first game user, and the first game character is the game character controlled by the first game user through the first terminal device.

[0048] Specifically, in the game server of the above-mentioned game system, the voice transmission plug-in in the audio engine can be used to collect the voice data emitted by the first game user in the microphone of the first terminal device in real time, obtain the above-mentioned first voice data (that is, the first voice data collected from the first terminal device), and connect the obtained first voice data to the audio engine, so that the signal amplitude changes of the voice signal in the first voice data can be monitored in real time within the audio engine.

[0049] Here, when determining the signal amplitude of the voice signal in the first voice data, in an optional embodiment, the loudness (i.e., volume) of the voice signal in the first voice data collected in real time can be directly used as the above-mentioned signal amplitude; in addition, in another optional embodiment, the average loudness of the voice signal in the first voice data collected within a preset time period can also be used as the above-mentioned signal amplitude to reduce the detection error of the above-mentioned signal amplitude; the embodiment of the present application does not impose any limitation on the specific method for determining the above-mentioned signal amplitude.

[0050] Specifically, taking the Wwise audio engine as an example, the first voice data of the first terminal device can be collected using CCmini (a voice transmission software that exists as a plug-in in Wwise), and the collected first voice data is connected to the Wwise audio engine. As a result, the signal amplitude of the voice signal in the first voice data can be read in real time within the Wwise audio engine.

[0051] For example, in a game server, you can use the ccmini-wwise-plugin-sdk to place a Wwise Sound object (an audio object used to identify the first game user or the first terminal device) into the source slot of a Wwise audio project as a source plug-in. A dedicated bus-cc bus (the dedicated bus for the first game user or the first terminal device) is allocated to this audio object to read meter information and process signal effects. A Wwise Meter plug-in can also be added to the bus-cc bus to monitor the signal amplitude of the voice signal in the first voice data.

[0052] It should be noted that the above-mentioned Wwise audio engine and CCmini are only specific optional methods provided by this application. The embodiment of this application does not impose any restrictions on the specific audio engine type and voice transmission software type used by the game server when executing the above-mentioned step S101.

[0053] Here, the second game user represents a game user who belongs to a different game team from the first game user in the game, the second terminal device is the terminal device corresponding to the second game user, and the second game character is the game character controlled and operated by the second game user through the second terminal device; wherein, in the actual game, the second game user can launch voice interference on the first voice data of the first game user. For example, the second game user can use the target virtual equipment equipped by the second game character in the game to control the second game character to voice interfere with the first game character (that is, the game character controlled and operated by the first game user through the first terminal device) within a certain distance range (that is, the distance between the second game character and the second game character is less than or equal to the preset distance threshold); the embodiment of the present application does not impose any limitation on the specific method in which the second game user launches voice interference through the second terminal device.

[0054] Specifically, after the second game user initiates voice interference through the second terminal device, it can be determined whether the voice interference initiated by the second terminal device on the first voice data is successful (i.e., whether the first voice data is affected by the voice interference initiated by the second game user) based on the signal amplitude of the voice signal in the monitored first voice data and at least one interaction parameter corresponding to the first game character in the game.

[0055] It should be noted that the above-mentioned interaction parameters include but are not limited to at least one of the following: the distance between the first game character controlled by the first game user and the second game character controlled by the second game user in the game scene, the distance between the target game character controlled by the voice receiver of the first voice data (belonging to the same game team as the first game user in the game) and the second game character controlled by the second game user in the game scene, the equipment energy of the target virtual equipment used by the second game user when launching voice interference to the first game user, the equipment level of the above-mentioned target virtual equipment, the user level of the second game user, etc.; the embodiments of this application do not impose any restrictions on the specific parameter types and specific quantities of the above-mentioned interaction parameters.

[0056] S102: If yes, play the first voice data after being interfered with by the voice on the target terminal device, and issue an interference prompt to the target terminal device regarding the voice interference.

[0057] Here, the target game user and the first game user belong to the same game team. The target game user represents the voice recipient corresponding to the first voice data. The target terminal device is the terminal device corresponding to the target game user (i.e., the voice recipient of the first voice data). The target game character is the game character controlled by the target game user through the target terminal device.

[0058] Specifically, when the first voice data is voice data sent by the first game user to a specific game user of the same game team, the target game user is the specific game user, and the target terminal device is the terminal device corresponding to the specific game user (equivalent to the number of target terminal devices being unique); when the first voice data is voice data sent synchronously by the first game user within the game team, the target game user is other game users in the game team where the first game user is located, and the target terminal device is the terminal device corresponding to other game users in the game team (equivalent to the number of target terminal devices being multiple); the embodiment of this application does not impose any limitation on the specific number of the above-mentioned target game users and the specific number of target terminal devices.

[0059] Specifically, when it is determined that the first voice data is subject to voice interference initiated by the second terminal device, in an optional embodiment, the game server can play the first voice data with an interference effect (i.e., the first voice data after being subject to voice interference) to the target game user through the target terminal device; wherein, the noise / stuttering effect of playing the first voice data at this time can be determined according to the preset effector input parameters; that is, when it is determined that the first voice data is subject to voice interference initiated by the second terminal device (i.e., when it is determined that the voice interference initiated by the second terminal device is effective), the game server can directly send the above-mentioned preset effector input parameters to the target terminal device, so that the target terminal device can play the first voice data with a default interference effect (which may be noise-carrying / or stuttering during playback) to the target game user through the audio effector in the target terminal device according to the received above-mentioned preset effector input parameters.

[0060] In addition, when it is determined that the first voice data is interfered with by the voice initiated by the second game user, in another optional embodiment, the game server can also calculate a target parameter for characterizing the degree of voice interference to the first voice data based on the above-mentioned interaction parameters and the signal amplitude of the voice signal in the first voice data, so that the game server can forward the calculated target parameter to the target terminal device, so that the target terminal device can determine in real time the input parameters of the effector used by the target terminal device when playing the first voice data based on the received target parameter. At this time, the purpose of playing the first voice data with an interference effect (which can also be noise or lag during playback) to the target game user can also be achieved, thereby effectively improving the degree of integration of the player's voice data into the game and the player's human-computer interaction efficiency.

[0061] It should be noted that while playing the first voice data that has been interfered with by voice to the target game user through the target terminal device, the game server can also provide interference prompts to the target game user in visual, auditory, tactile and other perceptual dimensions through the target terminal device in response to the above-mentioned voice interference, so as to prompt the target game user that the first voice data currently heard by the target game user has been interfered with by the voice of the enemy player (i.e., the second game user), which is conducive to enriching the gaming experience of the target game user; the specific prompting method of the above-mentioned interference prompt is not limited in any way in the embodiments of the present application.

[0062] S103: If not received, play the first voice data on the target terminal device.

[0063] Here, when the second game user does not launch the above-mentioned voice interference to the first voice data of the first game user, that is, when collecting the first voice data, the game server does not receive the voice interference instruction initiated by the second terminal device (that is, the terminal device corresponding to the second game user), then it can be determined that the first voice data is not affected by the voice interference initiated by the second terminal device.

[0064] In addition, when collecting the first voice data, if the game server receives a voice interference instruction from the second terminal device for the first voice data, based on the execution of the above step S101, if it is determined that the voice interference initiated by the second game user for the first voice data fails (that is, the initiated voice interference is invalid), it can also be determined that the first voice data is not affected by the voice interference initiated by the second terminal device.

[0065] It should be noted that when it is determined that the first voice data is not interfered with by the voice initiated by the second terminal device, the game server can directly play the first voice data to the target game user through the target terminal device; at this time, unlike the above-mentioned step S102, the first voice data played by the target terminal device does not have any special interference effects (that is, it does not carry noise, and there are no sound effects such as freezes).

[0066] The following describes in detail the specific implementation process of the voice data processing method described in steps S101-S103 in the embodiment of the present application:

[0067] Regarding the specific implementation process of the above step S101, when the interaction parameter in the above step S101 is: the distance between the first game character (i.e., the game character controlled by the first game user through the first terminal device) and the second game character (i.e., the game character controlled by the second game user through the second terminal device) in the game scene, in an optional embodiment, referring to Figure 3 As shown, Figure 3 A flowchart of a first method for determining whether first voice data is interfered with by voice from a second terminal device, provided in an embodiment of the present application, is shown. When executing step S101 above, the method includes steps S301-S302. Specifically:

[0068] S301: In response to the signal amplitude of the voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and the second game character in the game scene.

[0069] Here, the first game character represents a game character controlled and operated by a first game user through a first terminal device, and the second game character represents a game character controlled and operated by a second game user through a second terminal device.

[0070] It should be noted that the specific value of the above-mentioned preset amplitude threshold can be determined according to the actual setting requirements in the game, and the embodiments of the present application do not impose any limitation on this.

[0071] S302: In response to a distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, determining that the first voice data is interfered with by a voice emitted by the second terminal device.

[0072] Here, in step S302, when the distance between the first game character and the second game character is less than or equal to the first distance threshold, it is equivalent to the speaker of the first voice data (i.e., the first game user / first terminal device) being subject to voice interference. Therefore, the first voice data heard by the receiver of the first voice data (i.e., the target game user / target terminal device) is the first voice data after being subject to voice interference.

[0073] It should be noted that the specific value of the first distance threshold can also be determined according to actual setting requirements in the game, and this embodiment of the present application does not impose any limitation on this.

[0074] For example, taking the preset amplitude threshold of -24dBFS (Decibels Full Scale) and the first distance threshold of 100 meters as an example, when the volume of the first voice data emitted by the first game user exceeds -24dBFS (including -24dBFS) and the distance between the first game character and the second game character is less than or equal to 100 meters, it is determined that the voice interference launched by the second game user on the first voice data is effective, and the first voice data with noise or stuttering effect (i.e., the first voice data after voice interference) is played to the target game user through the target terminal device. At this time, the target terminal device can also provide an interference prompt to the target game user, so that the target game user can more intuitively determine that the reason for the interference phenomenon such as noise / stuttering in the currently played first voice data is due to the voice interference of the enemy player (i.e., the second game user).

[0075] It should be noted that 0dBFS is the highest loudness level (i.e., the highest amplitude) that a digital device can achieve. Therefore, under normal circumstances, the amplitude of voice data that can be monitored is a negative number, and the specific value of the above-mentioned preset amplitude threshold is also a negative number.

[0076] Regarding the specific implementation process of the above step S101, when the interaction parameter in the above step S101 is: the distance between the target game character (i.e., the game character controlled by the target game user) and the second game character (i.e., the game character controlled by the second game user) in the game scene, in an optional embodiment, referring to Figure 4 As shown, Figure 4 A flow chart of a second method for determining whether first voice data is interfered with by voice from a second terminal device, provided in an embodiment of the present application, is shown. When executing step S101 above, the method includes steps S401-S402. Specifically,

[0077] S401: In response to the signal amplitude of the voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and a second game character in a game scene.

[0078] Here, the target game character represents the game character controlled and operated by the target game user through the target terminal device, and the second game character represents the game character controlled and operated by the second game user through the second terminal device.

[0079] S402: In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, determining that the first voice data is interfered with by the voice emitted by the second terminal device.

[0080] It should be noted that the specific value of the second distance threshold can also be determined according to the actual setting requirements in the game. The embodiment of the present application does not impose any restrictions on the specific value of the second distance threshold and whether the second distance threshold is the same as the first distance threshold.

[0081] Here, different from the above-mentioned step S302, in step S402, when the distance between the target game character and the second game character is less than or equal to the second distance threshold, it is equivalent to the recipient of the first voice data (i.e., the target game user / target terminal device) being subject to voice interference. Therefore, the first voice data heard by the target game user (i.e., the first voice data played by the target terminal device) is still the first voice data after being subject to voice interference.

[0082] For example, taking the preset amplitude threshold of -24dBFS and the second distance threshold of 50 meters as an example, when the volume of the first voice data emitted by the first game user exceeds -24dBFS (including -24dBFS) and the distance between the target game character and the second game character is less than or equal to 50 meters, it is determined that the voice interference launched by the second game user on the first voice data is effective, and the first voice data with noise or stuttering effects (i.e., the first voice data after voice interference) is played to the target game user through the target terminal device. At this time, the target terminal device can also give an interference prompt to the target game user, so that the target game user can more intuitively determine that the reason for the interference phenomenon such as noise / stuttering in the currently played first voice data is due to the voice interference of the enemy player (i.e., the second game user).

[0083] Regarding the specific implementation process of the above-mentioned step S101, in addition to the judgment method described in the above-mentioned steps S301-S302 and the above-mentioned steps S401-S402, other different types of interaction parameters can be added according to the actual game setting requirements. The signal amplitude and the interaction parameters are still combined to determine whether the first voice data is interfered with by the voice initiated by the second game user.

[0084] Specifically, taking the interaction parameters including the distance between the first game character and the second game character in the game scene described in the above steps S301-S302 as an example, when the interaction parameters also include: the equipment energy of the target virtual equipment (that is, the virtual equipment used by the second game user to initiate voice interference) and the user level of the second game user, then on the basis of the judgment conditions of the above steps S301-S302, it can be further judged whether the equipment energy of the target virtual equipment is greater than or equal to the preset equipment energy threshold (equivalent to whether the equipment energy of the target virtual equipment is sufficient to initiate voice interference), and whether the user level of the second game user reaches the target user level (equivalent to whether the second game user has the game authority to initiate voice interference). The embodiment of the present application does not impose any restrictions on the specific type and specific number of the interaction parameters used in the above judgment process.

[0085] It should be noted that, in the above judgment process, it is also possible to limit the equipment energy of the target virtual equipment to decrease as the voice interference is initiated according to the actual game setting requirements. When the equipment energy is lower than the preset equipment energy threshold, the second game user will stop the voice interference initiated by the second terminal device on the first voice data, so as to avoid the negative gaming experience of the target game user due to the voice interference time being too long, and improve the human-computer interaction efficiency of the target game user.

[0086] Regarding the specific implementation process of the above step S102, when determining the effector input parameters used by the target terminal device when playing the first voice data according to the target parameters calculated in the above step S102, in an optional embodiment, referring to Figure 5 As shown, Figure 5 A flow chart of a method for determining input parameters of an audio effector in a target terminal device provided by an embodiment of the present application is shown, wherein, when executing step S102 above, the method includes steps S501-S503; specifically:

[0087] S501, in response to determining that the first voice data is subject to voice interference initiated by the second terminal device, calculate a target parameter for characterizing the degree of voice interference suffered by the first voice data based on the signal amplitude of the voice signal in the first voice data and the at least one interaction parameter.

[0088] Here, the embodiment of the present application also does not impose any restrictions on the specific parameter type and specific parameter number of the interaction parameters. For the specific parameter types that can be included in the interaction parameters, please refer to the relevant description of the interaction parameters in the aforementioned step S101. The repeated parts will not be repeated here.

[0089] Specifically, when calculating the above-mentioned target parameters, the above-mentioned signal amplitude and each interaction parameter can be brought into the target formula as independent variables for calculation, so that the calculation results can be used as the above-mentioned target parameters; wherein, the specific formula structure of the target formula can be determined according to the actual setting requirements in the game, and this embodiment of the application does not impose any limitations on this.

[0090] S502: Send the target parameter to the target terminal device, so that the target terminal device determines at least one input parameter of an audio effector in the target terminal device according to the target parameter.

[0091] Specifically, after calculating the above-mentioned target parameters, the game server can forward the calculated target parameters to the target terminal device, so that the target terminal device can determine the input parameters of the audio effector based on the received target parameters. Thus, when the audio effector plays the first voice data, it can change the playback effect of the first voice data based on the determined above-mentioned input parameters, and play the first voice data with voice interference effect to the target game user.

[0092] S503: Control the audio effector to play the first voice data according to the input parameters through the target terminal device.

[0093] Here, since the signal amplitude of the voice signal in the first voice data changes in real time, the target parameter calculated by the game server based on the above signal amplitude is also a parameter that changes in real time. At this time, the above input parameter determined by the target terminal device based on the received target parameter is also a parameter that changes in real time. Therefore, unlike the first voice data with the default interference effect directly played in the above step S102, the target terminal device can control the audio effector to play the first voice data with a gradual interference effect (that is, the interference effect can change in real time) according to the determined real-time changing input parameter based on the received real-time changing target parameter.

[0094] It should be noted that different types of audio effectors correspond to different types of input parameters and different numbers of corresponding input parameters; the embodiments of this application do not impose any restrictions on the specific types of the above-mentioned audio effectors, the specific parameter types and specific numbers of the above-mentioned input parameters.

[0095] Regarding the specific implementation process of step S503, different types of audio effectors have different corresponding input parameters. The following describes in detail different types of audio effectors respectively:

[0096] 1. When the audio effector used in the target terminal device is a Bitcrusher effector (i.e., the first audio effector), in an optional embodiment, refer to Figure 6 As shown, Figure 6 The flowchart of the first method for controlling an audio effector based on target parameters provided by an embodiment of the present application is shown. When executing step S503 above, the method includes step S601. Specifically:

[0097] S601: Controlling, through the target terminal device, a first audio effector in the target terminal device to play the first voice data according to a first input parameter.

[0098] Here, the first input parameter is determined by the target terminal device according to the received target parameter, and the first input parameter is used to determine the audio sampling rate when the first audio effector plays audio data.

[0099] Specifically, the above-mentioned first audio effector can be a Bitcrusher effector. When the target terminal device inputs the voice signal in the first voice data into the Bitcrusher effector, it also needs to input an RTPC (Real-time Parameter Controls) value; wherein the input RTPC value is the above-mentioned first input parameter, which is used to determine the audio sampling rate when the Bitcrusher effector plays the first voice data (the audio sampling rate of the left and right channels is modulated by the first input parameter at the same time).

[0100] It should be noted that RTPC is a parameter control method within the Wwise audio engine, used to map external program parameters to internal audio parameters.

[0101] Specifically, taking the Wwise audio engine as an example, after allocating a dedicated bus-cc bus to the first game user (i.e., the audio object corresponding to the first voice data), the target terminal device can add a Bitcrusher effector as the first audio effector to the bus-cc bus, so that the added Bitcrusher effector acts on the Wwise audio engine. As a result, the first voice data with signal distortion effect (i.e., reduced sound quality) can be played to the target game user in the target terminal device through the Bitcrusher effector (equivalent to playing the first voice data at the audio sampling rate determined by the first input parameter).

[0102] Here, the first input parameter corresponds to a parameter value range (e.g., the minimum parameter value of the first input parameter is 500, and the maximum parameter value is 96000), and the parameter value range is used to characterize the value range of the audio sampling rate that can be determined by the first input parameter; wherein, the target parameter also corresponds to a parameter value range, and the parameter value range of the target parameter can be 0-1, and the specific value of the target parameter is used to characterize the degree of voice interference suffered by the first voice data (e.g., 0 indicates no voice interference, and 1 indicates the strongest voice interference); based on the position of the target parameter within its corresponding parameter value range, the target terminal device can determine the specific first input parameter from the parameter value range corresponding to the first input parameter.

[0103] For example, if the target parameter has a value range of 0-1 and the first input parameter has a value range of 500-96000, when the target parameter calculated by the game server is 0.8, the target terminal device can determine the first input parameter as follows based on the received target parameter:

[0104] (96000-500)×0.8=76400.

[0105] 2. When the audio effector used in the target terminal device is a periodic blocking effector (ie, the second audio effector), in an optional embodiment, refer to Figure 7 As shown, Figure 7 A flow chart of a second method for controlling an audio effector based on target parameters provided by an embodiment of the present application is shown, wherein, when executing step S503 above, the method includes step S701; specifically:

[0106] S701: Control, through the target terminal device, a second audio effector in the target terminal device to play the first voice data according to a second input parameter and a third input parameter.

[0107] It should be noted that the second input parameter and the third input parameter are also determined by the target terminal device according to the received target parameter.

[0108] Here, the second input parameter is used to determine the proportion of blocking time in each cycle when the second audio effector (i.e., periodic blocking effector) plays audio data; wherein, when the second audio effector is specifically used to play music-type audio data, the above-mentioned second input parameter can also be used to determine the blank beat value in each measure when the second audio effector plays audio data.

[0109] Here, the third input parameter is used to determine the frequency of periodic blocking when the second audio effector plays audio data (for example, when the specific value of the third input parameter is 5hz, it means that the frequency of periodic blocking when the second audio effector plays audio data is 5 times per second); wherein, when the second audio effector is specifically used to play music-type audio data, the above-mentioned third input parameter can also be used to determine the beat of the second audio effector when playing audio data.

[0110] Specifically, the above-mentioned second audio effector can be a periodic blocking effector, wherein, for the above-mentioned second input parameter and the third input parameter, in addition to the above-mentioned blocking time proportion + frequency parameter combination method, the above-mentioned second input parameter and the third input parameter can also be input two RTPC values, respectively recorded as division value and bpm (Beat Per Minute, beat number) value; wherein, the input division value is the above-mentioned second input parameter, which is used to determine the blank beat value in each measure when the periodic blocking effector plays audio data (that is, determines the specific beat value modulated to silence); the input bpm value is the above-mentioned third input parameter, which is used to determine the specific beat when the periodic blocking effector plays audio data.

[0111] It should be noted that the above-mentioned second input parameter and the above-mentioned third input parameter are both used to characterize the input parameters related to the "time domain" in the second audio effector; the embodiment of this application does not impose any restrictions on the specific values and specific parameter types of the above-mentioned second input parameter and the above-mentioned third input parameter.

[0112] Specifically, taking the Wwise audio engine used in the target terminal device as an example, the metro component in the Wwise audio engine can trigger the "beat" based on the input bpm value (i.e., the third input parameter mentioned above) and determine the beat points of silence based on the division value (i.e., the second input parameter mentioned above). At this time, the left and right channels of the voice signal in the input first voice data are modulated by the metro component to mute or restore at the corresponding beat points, thereby causing a "stuttering" effect. When the division or bpm parameters in Wwise change, the speed and stuttering points in the stuttering effect change, thus achieving the occasional "stuttering" effect after "signal interference" (equivalent to playing the first voice data after voice interference).

[0113] Here, the above-mentioned second input parameter and third input parameter can also correspond to a parameter value range respectively (for example, the parameter value range corresponding to the above-mentioned second input parameter can be 1-6). The target terminal device can determine the real-time changing second input parameter and third input parameter through the real-time changing target parameter in the same manner as the first input parameter in the above-mentioned step S601. The repetitions will not be repeated here.

[0114] Regarding the above-mentioned third input parameter, it should be noted that, unlike the second input parameter, the third input parameter can also be set to a constant according to the actual game setting requirements, and the second input parameter can be controlled by the target parameter, which can also achieve the purpose of playing the first voice data with a stuttering effect.

[0115] 3. When the audio effector used in the target terminal device is a RadioVoice effector (ie, the third audio effector), in an optional embodiment, refer to Figure 8 As shown, Figure 8 A flow chart of a third method for controlling an audio effector based on target parameters provided by an embodiment of the present application is shown, wherein, when executing step S503 above, the method includes step S801; specifically:

[0116] S801: Control, through the target terminal device, a third audio effector in the target terminal device to play the first voice data according to a fourth input parameter and a fifth input parameter.

[0117] It should be noted that the fifth input parameter and the sixth input parameter are also determined by the target terminal device according to the received target parameters.

[0118] Here, the fourth input parameter is used to determine the noise intensity of the noise signal added when the third audio effector plays the audio data, and the fifth input parameter is used to determine the filtering frequency range when the third audio effector plays the audio data; wherein, the fifth input parameter includes the lowest filtering frequency and the highest filtering frequency in the filtering frequency range.

[0119] Specifically, the above-mentioned third audio effector can be a RadioVoice effector. When the voice signal in the first voice data is input into the RadioVoice effector, three RTPC values need to be input, which are respectively recorded as NoiseLevel (noise level) value, Lowpass (minimum filter frequency) value and Highpass (highest filter frequency) value; among them, the input NoiseLevel value is the above-mentioned fourth input parameter, which is used to determine the noise intensity of the noise signal added when the RadioVoice effector plays the first voice data; the filter frequency range composed of the input Lowpass value and Highpass value is the above-mentioned fifth input parameter, which is used to determine the filter frequency range when the RadioVoice effector plays the first voice data.

[0120] Specifically, taking the Wwise audio engine used in the target terminal device as an example, the noise component in the Wwise audio engine generates a noise signal, whose amplitude is modulated by the NoiseLevel value (the fourth input parameter) before being fed into the left and right channels of the original input signal (i.e., the voice signal in the first voice data). Simultaneously, the left and right channels are filtered using an LPF (lowpass filter) and an HPF (highpass filter). The Lowpass and Highpass RTPC values are passed as filter parameters to control the filter frequency range (i.e., the fifth input parameter). As these RTPC values within the Wwise audio engine change, the noise signal and the filtering effect change accordingly, achieving the effect of "noise enhancement" after "signal interference" (equivalent to playing the first voice data after being interfered with by voice).

[0121] Here, the above-mentioned fourth input parameter and fifth input parameter (i.e., the above-mentioned Lowpass value and Highpass value) can also correspond to a parameter value range respectively (for example, the parameter value range corresponding to the above-mentioned fourth input parameter can be 0-10). The target terminal device can determine the real-time changing fourth input parameter and fifth input parameter through the real-time changing target parameter in the same determination method as the first input parameter in the above-mentioned step S601. The repetitions will not be repeated here.

[0122] Regarding the specific implementation process of the above step S102, when providing an interference prompt to the target game user in response to the above voice interference, the interference prompt can be provided to the target game user from a visual dimension in the manner shown in the following steps a1 or a2. Specifically:

[0123] Step a1: displaying interference prompt information on a graphical user interface of the target terminal device through the target terminal device.

[0124] Here, the above-mentioned interference prompt information is used to prompt the target game user that the first voice data is subject to voice interference. For example, "The first voice data currently being played is subject to voice interference initiated by the enemy" can be displayed on the graphical user interface provided by the target terminal device as interference prompt information; the embodiment of the present application does not impose any limitation on the specific information content of the displayed interference prompt information.

[0125] Step a2: controlling the signal indicator light on the target terminal device to flash, so as to prompt, through the flashing signal indicator light, that the first voice data is interfered with by the voice.

[0126] Here, when there is a virtual / physical signal indicator light on the target terminal device, the signal indicator light can be controlled to flash to visually provide the target game user with an interference prompt regarding voice interference.

[0127] Specifically, the game server can send a prompt instruction about voice interference to the target terminal device, so that after receiving the prompt instruction, the target terminal device controls the signal indicator light to flash, so as to prompt the target game user through the flashing signal indicator light that the first voice data currently being played is subject to voice interference launched by the enemy player (i.e., the second game user corresponding to the second terminal device).

[0128] Regarding the specific implementation process of the above step S102, when providing an interference prompt to the target game user in response to the above voice interference, the interference prompt can be provided to the target game user from the auditory dimension in the manner shown in the following step b1. Specifically:

[0129] Step b1: Playing voice prompt information on the target terminal device.

[0130] Here, the voice prompt information is used to prompt the target game user that the first voice data is subject to voice interference, that is, it is similar to the specific content of the interference prompt information displayed in the above step a1, but is converted from a visual prompt to a voice form, so that the target game user can be auditorily prompted for interference against voice interference.

[0131] Regarding the specific implementation process of the above step S102, when providing an interference prompt to the target game user in response to the above voice interference, the interference prompt can be provided to the target game user from the tactile dimension in the manner shown in the following step c1, specifically:

[0132] Step c1: while controlling the target terminal device to play the first voice data interfered with by the voice, a vibration prompt instruction is sent to the target terminal device, so that the target terminal device vibrates according to the vibration prompt instruction.

[0133] Here, by controlling the target terminal device to vibrate, the target game user can be given a tactile interference prompt against voice interference.

[0134] Regarding the specific implementation process of the above steps S101-S103, when the interaction parameter in the above step S101 is: the distance between the first game character (i.e., the game character controlled by the first game user) and the second game character (i.e., the game character controlled by the second game user) in the game scene, that is, when determining whether the first voice data is subject to voice interference in the manner described in the above steps S301-S302, the game server can determine whether the voice interference initiated by the second terminal device on the first voice data is effective in the manner described in the following step d1. Specifically:

[0135] Step d1: In response to receiving the voice interference instruction sent by the second terminal device, when it is detected that the distance between the first game character and the second game character in the game scene is less than or equal to a third distance threshold, initiate voice interference for the first voice data to the target terminal device.

[0136] Specifically, the second game user can send a voice interference instruction for the first voice data to the game server through the second terminal device by using the target virtual equipment equipped by the second game character to the first game user; the embodiment of the present application does not impose any limitation on the specific sending method of the above-mentioned voice interference instruction.

[0137] It should be noted that the specific value of the third distance threshold can be determined according to actual game setting requirements, and this embodiment of the present application does not impose any limitation on this.

[0138] Regarding the specific implementation process of the above steps S101-S103, when the interaction parameter in the above step S101 is: the distance between the target game character (i.e., the game character controlled by the target game user) and the second game character (i.e., the game character controlled by the second game user) in the game scene, that is, when determining whether the first voice data is subject to voice interference in the manner described in the above steps S401-S402, the game server can determine whether the voice interference initiated by the second terminal device on the first voice data is effective in the manner described in the following step d2. Specifically:

[0139] Step d2: In response to receiving the voice interference instruction sent by the second terminal device, when it is detected that the distance between the second game character and the target game character in the game scene is less than or equal to a fourth distance threshold, voice interference targeting the first voice data is initiated to the target terminal device.

[0140] It should be noted that the specific value of the fourth distance threshold can be determined according to actual game setting requirements, and this embodiment of the present application does not impose any limitation on this.

[0141] Through the above-mentioned voice data processing method provided by the embodiment of the present application, in response to the first voice data collected from the first terminal device, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, it is determined whether the first voice data is subject to voice interference initiated by the second terminal device; if so, the first voice data after being subject to voice interference is played on the target terminal device, and an interference prompt is given to the target terminal device regarding the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is subject to voice interference initiated by an enemy player, the present application can give corresponding prompts to other players in the team, and play the voice data after being subject to voice interference to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0142] Based on the same inventive concept, the present application also provides a processing device corresponding to the above-mentioned voice data processing method. Since the principle of solving the problem by the voice data processing device in the embodiment of the present application is similar to the above-mentioned voice data processing method in the embodiment of the present application, the implementation of the voice data processing device can refer to the implementation of the voice data processing method, and the repeated parts will not be repeated.

[0143] Reference Figure 9 As shown, Figure 9 A schematic diagram of the structure of a voice data processing device provided in an embodiment of the present application is shown, wherein the processing device includes:

[0144] A first response module 901 is configured to, in response to first voice data collected from a first terminal device, determine whether the first voice data is interfered with by voice generated by a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in the game; wherein the first game character represents a game character controlled by the first terminal device;

[0145] The first determining module 902 is configured to, if received, play the first voice data after being interfered with by the voice on a target terminal device, and provide an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents a terminal device corresponding to a voice receiver of the first voice data;

[0146] The second determining module 903 is configured to play the first voice data on the target terminal device if the first voice data is not received.

[0147] In an optional embodiment, when determining whether the first voice data is interfered with by the voice transmitted by the second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, the first responding module 901 is configured to:

[0148] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and a second game character in a game scene; wherein the second game character represents a game character controlled by a second terminal device;

[0149] In response to the distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0150] In an optional embodiment, when determining whether the first voice data is interfered with by the voice transmitted by the second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, the first responding module 901 is configured to:

[0151] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and a second game character in a game scene; wherein the target game character represents a game character controlled and operated by the target terminal device, and the second game character represents a game character controlled and operated by the second terminal device;

[0152] In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0153] In an optional implementation, when the first voice data interfered with by the voice is played on the target terminal device, the first determining module 902 is configured to:

[0154] In response to determining that the first voice data is interfered with by voice generated by the second terminal device, calculating a target parameter for representing a degree of voice interference experienced by the first voice data based on a signal amplitude of a voice signal in the first voice data and the at least one interaction parameter;

[0155] Sending the target parameter to the target terminal device, so that the target terminal device determines at least one input parameter of the audio effector in the target terminal device according to the target parameter;

[0156] The target terminal device is used to control the audio effector to play the first voice data according to the input parameters.

[0157] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the first determining module 902 is configured to:

[0158] Through the target terminal device, control the first audio effector in the target terminal device to play the first voice data according to the first input parameter; wherein, the first input parameter is determined by the target terminal device based on the received target parameter; the first input parameter is used to determine the audio sampling rate when the first audio effector plays the audio data.

[0159] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the first determining module 902 is configured to:

[0160] Through the target terminal device, the second audio effector in the target terminal device is controlled to play the first voice data according to the second input parameter and the third input parameter; wherein the second input parameter and the third input parameter are determined by the target terminal device based on the received target parameter; the second input parameter is used to determine the proportion of blocking time in each cycle when the second audio effector plays audio data; the third input parameter is used to determine the frequency of periodic blocking when the second audio effector plays audio data.

[0161] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the first determining module 902 is configured to:

[0162] Through the target terminal device, the third audio effector in the target terminal device is controlled to play the first voice data according to the fourth input parameter and the fifth input parameter; wherein the fourth input parameter and the fifth input parameter are determined by the target terminal device based on the received target parameter; the fourth input parameter is used to determine the noise intensity of the noise signal added when the third audio effector plays the audio data, and the fifth input parameter is used to determine the filtering frequency range when the third audio effector plays the audio data.

[0163] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the first determining module 902 is configured to:

[0164] Displaying interference prompt information on a graphical user interface of the target terminal device through the target terminal device; wherein the interference prompt information is used to prompt that the first voice data is interfered with by the voice;

[0165] or,

[0166] The signal indicator light on the target terminal device is controlled to flash, so as to prompt, through the flashing signal indicator light, that the first voice data is interfered with by the voice.

[0167] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the first determining module 902 is configured to:

[0168] Play a voice prompt message on the target terminal device; wherein, the voice prompt message is used to prompt that the first voice data is interfered by the voice.

[0169] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the first determining module 902 is configured to:

[0170] While controlling the target terminal device to play the first voice data interfered with by the voice, a vibration prompt instruction is sent to the target terminal device, so that the target terminal device vibrates according to the vibration prompt instruction.

[0171] In an optional embodiment, the processing device further includes: a voice interference module, wherein the voice interference module is configured to:

[0172] In response to receiving the voice jamming instruction sent by the second terminal device, when detecting that the distance between the first game character and the second game character in the game scene is less than or equal to a third distance threshold, initiating voice jamming targeting the first voice data to the target terminal device; wherein the second game character represents a game character controlled by the second terminal device;

[0173] or,

[0174] In response to receiving a voice interference instruction sent by the second terminal device, when it is detected that the distance between the second game character and the target game character in the game scene is less than or equal to a fourth distance threshold, voice interference targeting the first voice data is initiated to the target terminal device; wherein, the target game character represents a game character whose operation is controlled by the target terminal device.

[0175] The above-mentioned processing device provided by the embodiment of the present application responds to the first voice data collected from the first terminal device, and judges whether the first voice data is interfered with by the voice of the second terminal device according to the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game; if so, the first voice data after being interfered with by the voice is played on the target terminal device, and an interference prompt is given to the target terminal device for the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is interfered with by the voice of an enemy player, the present application can give corresponding prompts to other players in the team, and play the voice data after being interfered with by the voice to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0176] Based on the same inventive concept, the present application also provides an electronic device corresponding to the above-mentioned voice data processing method. Since the principle of solving the problem by the electronic device in the embodiment of the present application is similar to the above-mentioned voice data processing method in the embodiment of the present application, the implementation of the electronic device can refer to the implementation of the above-mentioned voice data processing method, and the repeated parts will not be repeated.

[0177] Figure 10 This is a structural diagram of an electronic device 1000 provided in an embodiment of the present application, including: a processor 1001, a memory 1002, and a bus 1003. The memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device runs a method for processing voice data in an embodiment, the processor 1001 communicates with the memory 1002 via the bus 1003, and the processor 1001 executes the machine-readable instructions. When the processor 1001 executes the machine-readable instructions, the following steps are implemented, specifically:

[0178] In response to first voice data collected from a first terminal device, determining whether the first voice data is interfered with by voice from a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in a game, wherein the first game character represents a game character controlled by the first terminal device;

[0179] If so, playing the first voice data after being interfered with by the voice on the target terminal device, and providing an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents the terminal device corresponding to the voice receiver of the first voice data;

[0180] If not received, the first voice data is played on the target terminal device.

[0181] In an optional implementation, when determining, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, whether the first voice data is interfered with by the voice transmitted by the second terminal device, the processor 1001 is configured to:

[0182] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and a second game character in a game scene; wherein the second game character represents a game character controlled by a second terminal device;

[0183] In response to the distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0184] In an optional implementation, when determining, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, whether the first voice data is interfered with by the voice transmitted by the second terminal device, the processor 1001 is configured to:

[0185] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and a second game character in a game scene; wherein the target game character represents a game character controlled and operated by the target terminal device, and the second game character represents a game character controlled and operated by the second terminal device;

[0186] In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0187] In an optional implementation, when the target terminal device plays the first voice data after being interfered with by the voice, the processor 1001 is configured to:

[0188] In response to determining that the first voice data is interfered with by voice generated by the second terminal device, calculating a target parameter for representing a degree of voice interference experienced by the first voice data based on a signal amplitude of a voice signal in the first voice data and the at least one interaction parameter;

[0189] Sending the target parameter to the target terminal device, so that the target terminal device determines at least one input parameter of the audio effector in the target terminal device according to the target parameter;

[0190] The target terminal device is used to control the audio effector to play the first voice data according to the input parameters.

[0191] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor 1001 is configured to:

[0192] Through the target terminal device, control the first audio effector in the target terminal device to play the first voice data according to the first input parameter; wherein, the first input parameter is determined by the target terminal device based on the received target parameter; the first input parameter is used to determine the audio sampling rate when the first audio effector plays the audio data.

[0193] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor 1001 is configured to:

[0194] Through the target terminal device, the second audio effector in the target terminal device is controlled to play the first voice data according to the second input parameter and the third input parameter; wherein the second input parameter and the third input parameter are determined by the target terminal device based on the received target parameter; the second input parameter is used to determine the proportion of blocking time in each cycle when the second audio effector plays audio data; the third input parameter is used to determine the frequency of periodic blocking when the second audio effector plays audio data.

[0195] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor 1001 is configured to:

[0196] Through the target terminal device, the third audio effector in the target terminal device is controlled to play the first voice data according to the fourth input parameter and the fifth input parameter; wherein the fourth input parameter and the fifth input parameter are determined by the target terminal device based on the received target parameter; the fourth input parameter is used to determine the noise intensity of the noise signal added when the third audio effector plays the audio data, and the fifth input parameter is used to determine the filtering frequency range when the third audio effector plays the audio data.

[0197] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor 1001 is configured to:

[0198] Displaying interference prompt information on a graphical user interface of the target terminal device through the target terminal device; wherein the interference prompt information is used to prompt that the first voice data is interfered with by the voice;

[0199] or,

[0200] The signal indicator light on the target terminal device is controlled to flash, so as to prompt, through the flashing signal indicator light, that the first voice data is interfered with by the voice.

[0201] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor 1001 is configured to:

[0202] Play a voice prompt message on the target terminal device; wherein, the voice prompt message is used to prompt that the first voice data is interfered by the voice.

[0203] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor 1001 is configured to:

[0204] While controlling the target terminal device to play the first voice data interfered with by the voice, a vibration prompt instruction is sent to the target terminal device, so that the target terminal device vibrates according to the vibration prompt instruction.

[0205] In an optional implementation, the processor 1001 is further configured to:

[0206] In response to receiving the voice jamming instruction sent by the second terminal device, when detecting that the distance between the first game character and the second game character in the game scene is less than or equal to a third distance threshold, initiating voice jamming targeting the first voice data to the target terminal device; wherein the second game character represents a game character controlled by the second terminal device;

[0207] or,

[0208] In response to receiving a voice interference instruction sent by the second terminal device, when it is detected that the distance between the second game character and the target game character in the game scene is less than or equal to a fourth distance threshold, voice interference targeting the first voice data is initiated to the target terminal device; wherein, the target game character represents a game character whose operation is controlled by the target terminal device.

[0209] The electronic device provided by the embodiment of the present application responds to the first voice data collected from the first terminal device, and determines whether the first voice data is interfered with by the voice of the second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game; if so, the first voice data after being interfered with by the voice is played on the target terminal device, and an interference prompt is given to the target terminal device regarding the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is interfered with by the voice of an enemy player, the present application can give corresponding prompts to other players in the team, and play the voice data after being interfered with by the voice to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0210] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed when a processor is run, and the processor performs the following steps:

[0211] In response to first voice data collected from a first terminal device, determining whether the first voice data is interfered with by voice from a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in a game, wherein the first game character represents a game character controlled by the first terminal device;

[0212] If so, playing the first voice data after being interfered with by the voice on the target terminal device, and providing an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents the terminal device corresponding to the voice receiver of the first voice data;

[0213] If not received, the first voice data is played on the target terminal device.

[0214] In an optional embodiment, when determining, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, whether the first voice data is interfered with by the voice transmitted by the second terminal device, the processor is configured to:

[0215] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and a second game character in a game scene; wherein the second game character represents a game character controlled by a second terminal device;

[0216] In response to the distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0217] In an optional embodiment, when determining, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, whether the first voice data is interfered with by the voice transmitted by the second terminal device, the processor is configured to:

[0218] In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and a second game character in a game scene; wherein the target game character represents a game character controlled and operated by the target terminal device, and the second game character represents a game character controlled and operated by the second terminal device;

[0219] In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

[0220] In an optional implementation, when the target terminal device plays the first voice data interfered with by the voice, the processor is configured to:

[0221] In response to determining that the first voice data is interfered with by voice generated by the second terminal device, calculating a target parameter for representing a degree of voice interference experienced by the first voice data based on a signal amplitude of a voice signal in the first voice data and the at least one interaction parameter;

[0222] Sending the target parameter to the target terminal device, so that the target terminal device determines at least one input parameter of the audio effector in the target terminal device according to the target parameter;

[0223] The target terminal device is used to control the audio effector to play the first voice data according to the input parameters.

[0224] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor is configured to:

[0225] Through the target terminal device, control the first audio effector in the target terminal device to play the first voice data according to the first input parameter; wherein, the first input parameter is determined by the target terminal device based on the received target parameter; the first input parameter is used to determine the audio sampling rate when the first audio effector plays the audio data.

[0226] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor is configured to:

[0227] Through the target terminal device, the second audio effector in the target terminal device is controlled to play the first voice data according to the second input parameter and the third input parameter; wherein the second input parameter and the third input parameter are determined by the target terminal device based on the received target parameter; the second input parameter is used to determine the proportion of blocking time in each cycle when the second audio effector plays audio data; the third input parameter is used to determine the frequency of periodic blocking when the second audio effector plays audio data.

[0228] In an optional implementation, when controlling the audio effector to play the first voice data according to the input parameters through the target terminal device, the processor is configured to:

[0229] Through the target terminal device, the third audio effector in the target terminal device is controlled to play the first voice data according to the fourth input parameter and the fifth input parameter; wherein the fourth input parameter and the fifth input parameter are determined by the target terminal device based on the received target parameter; the fourth input parameter is used to determine the noise intensity of the noise signal added when the third audio effector plays the audio data, and the fifth input parameter is used to determine the filtering frequency range when the third audio effector plays the audio data.

[0230] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor is configured to:

[0231] Displaying interference prompt information on a graphical user interface of the target terminal device through the target terminal device; wherein the interference prompt information is used to prompt that the first voice data is interfered with by the voice;

[0232] or,

[0233] The signal indicator light on the target terminal device is controlled to flash, so as to prompt, through the flashing signal indicator light, that the first voice data is interfered with by the voice.

[0234] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor is configured to:

[0235] Play a voice prompt message on the target terminal device; wherein, the voice prompt message is used to prompt that the first voice data is interfered by the voice.

[0236] In an optional implementation, when providing an interference prompt to the target terminal device regarding the voice interference, the processor is configured to:

[0237] While controlling the target terminal device to play the first voice data interfered with by the voice, a vibration prompt instruction is sent to the target terminal device, so that the target terminal device vibrates according to the vibration prompt instruction.

[0238] In an optional implementation, the processor is further configured to:

[0239] In response to receiving the voice jamming instruction sent by the second terminal device, when detecting that the distance between the first game character and the second game character in the game scene is less than or equal to a third distance threshold, initiating voice jamming targeting the first voice data to the target terminal device; wherein the second game character represents a game character controlled by the second terminal device;

[0240] or,

[0241] In response to receiving a voice interference instruction sent by the second terminal device, when it is detected that the distance between the second game character and the target game character in the game scene is less than or equal to a fourth distance threshold, voice interference targeting the first voice data is initiated to the target terminal device; wherein, the target game character represents a game character whose operation is controlled by the target terminal device.

[0242] Through the above-mentioned computer-readable storage medium provided by the embodiment of the present application, in response to the first voice data collected from the first terminal device, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, it is determined whether the first voice data is subject to voice interference initiated by the second terminal device; if so, the first voice data after being subject to voice interference is played on the target terminal device, and an interference prompt is given to the target terminal device regarding the voice interference; if not, the first voice data is played on the target terminal device. In this way, when the voice data of a player is subject to voice interference initiated by an enemy player, the present application can give corresponding prompts to other players in the team, and play the voice data after being subject to voice interference to other players in the team, effectively improving the degree of integration of the player's voice data into the game.

[0243] In an embodiment of the present application, the computer-readable storage medium can also execute other machine-readable instructions when run by the processor to execute the voice data processing method as described in other embodiments. For the specific execution steps and principles of the processing method, please refer to the description of the method side embodiment, which will not be repeated here.

[0244] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. There may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interface, indirect coupling or communication connection of the system or unit, which may be electrical, mechanical or other forms.

[0245] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0246] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0247] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0248] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0249] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present application, or make equivalent replacements for some of the technical features thereof. However, these modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for processing voice data, characterized in that: The processing method comprises: In response to first voice data collected from a first terminal device, determining whether the first voice data is interfered with by voice from a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in a game, wherein the first game character represents a game character controlled by the first terminal device; If so, playing the first voice data after being interfered with by the voice on the target terminal device, and providing an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents the terminal device corresponding to the voice receiver of the first voice data; If not received, playing the first voice data on the target terminal device; The determining, based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, whether the first voice data is interfered with by the voice transmitted by the second terminal device includes: In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and a second game character in a game scene; wherein the second game character represents a game character controlled by a second terminal device; In response to a distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, determining that the first voice data is interfered with by a voice initiated by the second terminal device; or, In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and the second game character in a game scene; wherein the target game character represents a game character controlled by the target terminal device; In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

2. The processing method according to claim 1, characterized in that Playing the first voice data after being interfered with by the voice on the target terminal device includes: In response to determining that the first voice data is interfered with by voice generated by the second terminal device, calculating a target parameter for representing a degree of voice interference experienced by the first voice data based on a signal amplitude of a voice signal in the first voice data and the at least one interaction parameter; Sending the target parameter to the target terminal device, so that the target terminal device determines at least one input parameter of the audio effector in the target terminal device according to the target parameter; The target terminal device is used to control the audio effector to play the first voice data according to the input parameters.

3. The processing method according to claim 2, characterized in that The step of controlling the audio effector to play the first voice data according to the input parameters through the target terminal device includes: Through the target terminal device, control the first audio effector in the target terminal device to play the first voice data according to the first input parameter; wherein, the first input parameter is determined by the target terminal device based on the received target parameter; the first input parameter is used to determine the audio sampling rate when the first audio effector plays the audio data.

4. The processing method according to claim 2, characterized in that The step of controlling the audio effector to play the first voice data according to the input parameters through the target terminal device includes: Through the target terminal device, the second audio effector in the target terminal device is controlled to play the first voice data according to the second input parameter and the third input parameter; wherein the second input parameter and the third input parameter are determined by the target terminal device based on the received target parameter; the second input parameter is used to determine the proportion of blocking time in each cycle when the second audio effector plays audio data; the third input parameter is used to determine the frequency of periodic blocking when the second audio effector plays audio data.

5. The processing method according to claim 2, characterized in that: The step of controlling the audio effector to play the first voice data according to the input parameters through the target terminal device includes: Through the target terminal device, the third audio effector in the target terminal device is controlled to play the first voice data according to the fourth input parameter and the fifth input parameter; wherein the fourth input parameter and the fifth input parameter are determined by the target terminal device based on the received target parameter; the fourth input parameter is used to determine the noise intensity of the noise signal added when the third audio effector plays the audio data, and the fifth input parameter is used to determine the filtering frequency range when the third audio effector plays the audio data.

6. The processing method according to claim 1, characterized in that The providing an interference prompt to the target terminal device in response to the voice interference includes: Displaying interference prompt information on a graphical user interface of the target terminal device through the target terminal device; wherein the interference prompt information is used to prompt that the first voice data is interfered with by the voice; or, The signal indicator light on the target terminal device is controlled to flash, so as to prompt, through the flashing signal indicator light, that the first voice data is interfered with by the voice.

7. The processing method according to claim 1, characterized in that The providing an interference prompt to the target terminal device in response to the voice interference includes: Play a voice prompt message on the target terminal device; wherein, the voice prompt message is used to prompt that the first voice data is interfered by the voice.

8. The processing method according to claim 1, characterized in that The providing an interference prompt to the target terminal device in response to the voice interference includes: While controlling the target terminal device to play the first voice data interfered with by the voice, a vibration prompt instruction is sent to the target terminal device, so that the target terminal device vibrates according to the vibration prompt instruction.

9. The processing method according to claim 1, characterized in that: The processing method further comprises: In response to receiving the voice jamming instruction sent by the second terminal device, when detecting that the distance between the first game character and the second game character in the game scene is less than or equal to a third distance threshold, initiating voice jamming targeting the first voice data to the target terminal device; wherein the second game character represents a game character controlled by the second terminal device; or, In response to receiving a voice interference instruction sent by the second terminal device, when it is detected that the distance between the second game character and the target game character in the game scene is less than or equal to a fourth distance threshold, voice interference targeting the first voice data is initiated to the target terminal device; wherein, the target game character represents a game character whose operation is controlled by the target terminal device.

10. A device for processing speech data, characterized in that: The processing device comprises: a first response module, configured to, in response to first voice data collected from a first terminal device, determine whether the first voice data is interfered with by voice transmitted by a second terminal device based on a signal amplitude of a voice signal in the first voice data and at least one interaction parameter corresponding to a first game character in the game; wherein the first game character represents a game character controlled by the first terminal device; A first determining module is configured to, if received, play the first voice data after being interfered with by the voice on a target terminal device, and provide an interference prompt to the target terminal device regarding the voice interference; wherein the target terminal device represents a terminal device corresponding to a voice receiver of the first voice data; a second determining module, configured to play the first voice data on the target terminal device if the first voice data is not received; When determining whether the first voice data is interfered with by the voice signal from the second terminal device based on the signal amplitude of the voice signal in the first voice data and at least one interaction parameter corresponding to the first game character in the game, the first response module is configured to: In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between the first game character and a second game character in a game scene; wherein the second game character represents a game character controlled by a second terminal device; In response to a distance between the first game character and the second game character in the game scene being less than or equal to a first distance threshold, determining that the first voice data is interfered with by a voice initiated by the second terminal device; or, In response to a signal amplitude of a voice signal in the first voice data being greater than or equal to a preset amplitude threshold, obtaining a distance between a target game character and the second game character in a game scene; wherein the target game character represents a game character controlled by the target terminal device; In response to the distance between the target game character and the second game character in the game scene being less than or equal to a second distance threshold, it is determined that the first voice data is interfered with by the voice initiated by the second terminal device.

11. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for processing voice data as described in any one of claims 1 to 9 are performed.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for processing speech data according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Interaction method, interaction device, electronic equipment and readable storage medium

    CN113262491A

  • Optimization method and device for voice chatting in game, electronic equipment and medium

    CN113413613A