CN112053699A - Method and device for processing game card voice change - Google Patents

Method and device for processing game card voice change Download PDF

Info

Publication number
CN112053699A
CN112053699A CN202010989055.5A CN202010989055A CN112053699A CN 112053699 A CN112053699 A CN 112053699A CN 202010989055 A CN202010989055 A CN 202010989055A CN 112053699 A CN112053699 A CN 112053699A
Authority
CN
China
Prior art keywords
audio
audio signal
processing
sound
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010989055.5A
Other languages
Chinese (zh)
Inventor
黄思博
刘方舟
刘仁锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010989055.5A priority Critical patent/CN112053699A/en
Publication of CN112053699A publication Critical patent/CN112053699A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • G10L21/013Adapting to target pitch
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/424Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving acoustic input signals, e.g. by using the results of pitch or rhythm extraction or voice recognition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6063Methods for processing data by generating or executing the game program for sound processing
    • A63F2300/6072Methods for processing data by generating or executing the game program for sound processing of an input signal, e.g. pitch and rhythm extraction, voice recognition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6063Methods for processing data by generating or executing the game program for sound processing
    • A63F2300/6081Methods for processing data by generating or executing the game program for sound processing generating an output signal, e.g. under timing constraints, for spatialization

Abstract

The application discloses a method and a device for processing game card voice change. The method comprises the following steps: acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal. Through the application, the problem that sound change processing in games is difficult in the related art is solved.

Description

Method and device for processing game card voice change
Technical Field
The application relates to the technical field of audio processing, in particular to a method and a device for processing the sound change of a game card.
Background
The game change refers to a function that a player replaces default audio in a game with custom audio and uses the audio in a game scene, and the game change can bring more fun for the communication of the game and enrich the game content. In order to increase the interaction between the game and the player and improve the game interest, the player can better substitute the player into the game role by changing the voice to operate the customized game voice. However, the games on the market at present need to achieve the same inflexion effect, which is usually realized by means of third party software and hardware, and modify the in-game audio files by technical means, and cannot support recording and processing the players in the games and replacing the default audio files. For example, many players or anchor persons usually need to use a third-party software or hardware sound card to achieve the sound changing effect in order to protect their privacy when speaking with strangers, which is a great trouble. Furthermore, as games are commonly encrypted in the enclosure, it is almost impossible for a player to make custom modifications.
Aiming at the problem that sound change processing in games is difficult in the related art, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a method and an apparatus for processing a changing sound of a playing card, so as to solve the problem that it is difficult to perform a changing sound processing in a game in the related art.
In order to achieve the above object, according to one aspect of the present application, there is provided a method of processing a playing card change sound. The method comprises the following steps: acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal.
Further, processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal includes: processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
Further, the processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule comprises: acquiring a parameter value output by a real-time parameter control module in the audio engine; determining a target audio effect and a target volume according to the parameter value and the preset audio processing rule; processing the sound effect of the first audio signal according to the target audio effect; and controlling the volume of the second audio signal according to the target volume.
Further, prior to acquiring the first audio signal, the method comprises: responding to the recording operation in the game, and recording the player self-defined sound; and storing the recorded audio on the premise that the recorded audio passes the verification.
Further, prior to recording the player-defined sound, the method includes: and integrating an audio input plug-in for the audio engine, and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving the first audio signal and the second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
Further, adding the preset audio processing rule to the audio engine comprises: creating a sound effect switching container and a volume adjusting bus in the audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes; determining a parameter control rule based on the parameters corresponding to the sound effect and the parameters corresponding to the volume; and taking the parameter control rule as the preset audio processing rule of the audio engine.
In order to achieve the above object, according to another aspect of the present application, there is provided a playing card voicing processing apparatus. The device includes: the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a first audio signal and a second audio signal, the first audio signal is a sound signal in an audio file recorded by a player in the game, and the second audio signal is a sound signal in a preset audio file in the game; the first processing unit is used for processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and the second processing unit is used for outputting the third audio signal to a loudspeaker so as to play the sound corresponding to the third audio signal.
Further, the first processing unit includes: the first processing module is used for processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and the second processing module is used for mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
In order to achieve the above object, according to another aspect of the present application, there is provided a computer-readable storage medium including a stored program, wherein the program executes the method for processing a changing sound of a playing card according to any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program executes the method for changing the sound of a playing card.
Through the application, the following steps are adopted: acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal, thereby solving the problem that the sound change processing can not be carried out in the game in the related technology. And then reached and to have used the effect that self-defined audio frequency replaces acquiescence audio frequency in the recreation to realized carrying out the change of voice processing based on the recording of player in the recreation, reached the change of voice effect, increase the interdynamic between recreation and player, for the interchange of recreation itself brings more enjoyment, promotes player experience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method for processing a game card change sound according to an embodiment of the present application.
FIG. 2 is a schematic diagram of sound effect control rules according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a volume adjustment rule according to an embodiment of the present application.
FIG. 4 is a schematic diagram of an alternative method for processing game sound variation provided according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a processing device for changing the sound of a playing card according to an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the application, a method for processing playing card changing sound is provided.
FIG. 1 is a flow chart of a method of processing a game card voicing according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, a first audio signal and a second audio signal are obtained, wherein the first audio signal is an audio signal in an audio file recorded by a player in the game, and the second audio signal is an audio signal in a preset audio file in the game.
The audio engine obtains an audio signal preset in the game and an audio signal recorded by the player, and it should be noted that the audio signal is not played by a speaker, but is obtained by analyzing an audio file by the game program. For example, the game program detects a touch operation of a player playing magic spell voice in a game, the game program responds to the operation instruction and analyzes a local preset audio file corresponding to the magic spell voice and an audio file recorded by the player to obtain an analyzed audio signal, and the audio engine obtains the preset audio signal corresponding to the analyzed magic spell voice and the audio signal recorded by the player through a special plug-in.
Optionally, in the method for processing playing card voicing provided by the embodiment of the application, before acquiring the first audio signal, the method includes: responding to the recording operation in the game, and recording the player self-defined sound; and storing the recorded audio on the premise that the recorded audio passes the verification.
In order to experience the customized sound changing effect in the game, the player can record the audio files corresponding to the sound content in the game in advance according to the game design. For example, a player may wish to replace the "open sesame door" sound in a game with his own sound, and may record the sound on a designated page according to the game design, and after checking that the sound recorded by the player is actually "open sesame door", the game may store a recorded audio file of the player corresponding to the "open sesame door" sound. After the recording is complete, the player may then listen on the current page for the effects of the different sound alterations of the recording.
Optionally, in the method for processing card changing sound provided by an embodiment of the present application, before recording the player-defined sound, the method includes: the method comprises the steps of integrating an audio input plug-in for an audio engine and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving a first audio signal and a second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
The audio engine is a tool for developing game audio functions, and needs to be designed in the game development stage so that the audio engine can function as expected. The design of the audio engine mainly comprises the steps of integrating an audio input plug-in for the audio engine and adding rules for processing audio signals by the audio engine, wherein the audio engine can acquire signals of an audio file analyzed by a game program through the audio input plug-in; by presetting the audio preprocessing rule, the audio engine can process the sound effect and the volume of the signal input into the audio engine.
Preferably, the Audio engine in the present application may select Wwise, and the Wwise engine processes the Audio content generated by the game by creating an Audio Input source plug-in the Wwise hierarchical structure, and the Wwise engine after integrating the Audio Input source plug-in supports acquisition of Audio signals in a manner of using a microphone, IP voice, playing a disk Audio file that is not in the Wwise project, and the like.
Optionally, in the processing method for playing card changing sound according to the embodiment of the present application, adding a preset audio processing rule to the audio engine includes: creating a sound effect switching container and a volume adjusting bus in an audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes; determining a parameter control rule based on the parameters corresponding to the sound effect and the parameters corresponding to the volume; and taking the parameter control rule as a preset audio processing rule of the audio engine.
In order to realize that the audio engine processes the sound effect and the volume of an audio signal, a sound effect switching container and a volume adjusting bus are established in the audio engine in advance, then a parameter control rule is determined based on a parameter corresponding to the sound effect and a parameter corresponding to the volume, and the states of the sound effect switching container and the volume adjusting bus are controlled through the parameter control rule, wherein the parameter control rule is used as a preset audio processing rule of the audio engine. For example, as shown in fig. 2, a sound effect switching container is designed in the Wwise, and the container contains a plurality of sets of sound effect switches, for example, each set of sound effect switches is respectively connected to the effects of a game default voice, a player's fairy change, a player's monster change, a player's mechanical change, a player's ghost change and a player's default sound line, wherein the game default voice corresponding to the first set of sound effect switches indicates that the sound of the accessed player is muted when the game default voice is played; the default sound ray of the player corresponding to the sixth group of sound effect switches indicates that the sixth group of sound effect switches are connected to the original Audio signal of the Wwise Audio Input when the default sound of the player is played, and the original sound recorded by the player is played. And determining that the sound effect switching container is switched to a corresponding sound effect channel by acquiring the parameter value output by a real-time parameter control module in the audio engine, so as to perform corresponding sound effect processing on the input audio signal. In the same way, a volume adjusting bus is created in the Wwise engine, and the volume adjusting bus can control the sound of the default audio of the game through parameters and corresponds to the parameters of the sound effect switching container. As shown in fig. 3, by creating a volume adjustment bus, when the parameter value output by the real-time parameter control module is any one of 2-6, that is, when the player selects to play the recorded audio, the volume value of the game default audio is controlled to be-200 through the volume control bus, so as to keep the output of the game default audio in a mute state; when the parameter value output by the real-time parameter control module is 1, the volume value of the game default audio is controlled to be 0 through the volume control bus, and the output state of the game default audio is kept to be normal. The rule for controlling the sound effect and the volume of the input audio based on the acquired parameter value output by the real-time parameter control module is used as a preset audio processing rule of the audio engine.
Step S102, the first audio signal and the second audio signal are processed through an audio engine to obtain a third audio signal.
In the game development stage, audio input plug-ins are integrated into an audio engine in advance and preset audio processing rules are added, the designed audio engine has the functions of acquiring audio signals and processing the audio signals according to the preset audio processing rules, and after sound playing operation according to specified sound effects is responded, the audio engine processes the acquired game default audio signals and the audio signals recorded by players to obtain processed audio signals which are used as the audio signals for driving speakers to emit sound.
Optionally, in the processing method for changing the sound of the playing card provided by the embodiment of the present application, processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal includes: processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and mixing the processed first audio signal and the second audio signal to obtain a third audio signal.
The designed audio engine processes the sound effect of the audio signal recorded by the player and the volume of the game default audio signal according to the preset audio processing rule, and in order to keep the original engineering architecture as unchanged as possible, the playing mechanism of the audio engine is designed to superpose the game default audio signal on the audio signal recorded by the player for playing. For example, the audio engine performs the genie sound effect processing on the player recorded audio signal according to the preset audio processing rule, adjusts the volume of the game default audio signal to-200, mixes the processed player recorded audio signal with the game default audio signal, and obtains a mixed signal only the player recorded sound after the genie sound effect processing because the game default audio signal has been subjected to the mute processing.
Optionally, in the method for processing card changing sound according to the embodiment of the present application, processing the sound effect of the first audio signal and the volume of the second audio signal using the preset audio processing rule includes: acquiring a parameter value output by a real-time parameter control module in the audio engine; determining a target audio effect and a target volume according to the parameter value and a preset audio processing rule; processing the sound effect of the first audio signal according to the target audio effect; and controlling the volume of the second audio signal according to the target volume.
The preset audio processing rule in the audio engine is to control the sound effect and volume of the input audio based on the acquired parameter value output by the real-time parameter control module, so that the target audio effect and the target volume are determined by acquiring the parameter value output by the real-time parameter control module in the audio engine, the sound effect processing is carried out on the audio signal recorded by the player according to the target audio effect, and the volume of the game default audio signal is controlled according to the target volume. For example, when the parameter value obtained by the real-time parameter control module is 2, according to a parameter control rule added in an audio engine in advance, determining that a target effect of recording an audio signal for a player is a sprite changing effect, determining that the target volume of a game default audio signal is-200, performing sprite changing processing on the audio signal recorded by the player according to the target effect, and adjusting the volume of the game default audio signal to-200.
Step S103, outputting the third audio signal to a speaker to play a sound corresponding to the third audio signal.
After the audio engine processes the default audio signal of the game of input and the audio signal recorded by the player, the processed audio signal is output to the loudspeaker, the loudspeaker is driven to make a sound, the sound change processing based on the recording of the player in the game is realized, the sound change effect is achieved, the interaction between the game and the player is increased, more pleasure is brought for the communication of the game, and the experience of the player is improved.
Fig. 4 is a schematic diagram of an alternative game sound-change processing method according to an embodiment of the present application, and as shown in fig. 4, a game program records a player's voice in response to a recording operation clicked by a player, identifies the recorded content through an AI technique, prompts re-recording the voice if the identification fails, and saves the player's voice in a file if the identification succeeds. When needing to play the audio frequency that the player recorded according to appointed audio, the program is analyzed the audio file of recording, and audio signal output after will analyzing is to audio engine, audio engine responds real-time parameter control event and handles the audio signal of input, and play out on the speaker with signal output after handling, thereby realized carrying out the change of voice processing based on the recording of player in the recreation, reach the change of voice effect, increase the interdynamic between recreation and player, bring more enjoyment for the interchange of recreation itself, promote player experience.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for processing playing card changing voice, and it should be noted that the device for processing playing card changing voice of the embodiment of the present application may be used to execute the method for processing playing card changing voice provided by the embodiment of the present application. The following describes a processing device for changing the sound of a playing card according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of a device for processing playing card voicing according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a first acquisition unit 501, a first processing unit 502 and a second processing unit 503.
Specifically, the first obtaining unit 501 is configured to obtain a first audio signal and a second audio signal, where the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game;
a first processing unit 502, configured to process the first audio signal and the second audio signal through an audio engine to obtain a third audio signal;
the second processing unit 503 is configured to output the third audio signal to the speaker to play a sound corresponding to the third audio signal.
To sum up, the processing apparatus for changing the sound of a playing card provided in the embodiment of the present application obtains a first audio signal and a second audio signal through the first obtaining unit 501, where the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; the first processing unit 502 processes the first audio signal and the second audio signal through the audio engine to obtain a third audio signal; the second processing unit 503 outputs the third audio signal to the speaker to play the sound corresponding to the third audio signal, thereby solving the problem of difficult sound change processing in the game in the related art, realizing sound change processing based on the recording of the player in the game, achieving sound change effect, increasing the interaction between the game and the player, bringing more fun for the communication of the game itself, and improving the experience of the player.
Optionally, in the processing apparatus for changing the sound of the playing card provided in the embodiment of the present application, the first processing unit includes: the first processing module is used for processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and the second processing module is used for mixing the processed first audio signal with the second audio signal to obtain a third audio signal.
Optionally, in the processing apparatus for changing the sound of the playing card provided in the embodiment of the present application, the first processing module includes: the first acquisition module is used for acquiring a parameter value output by a real-time parameter control module in the audio engine; the first determining module is used for determining a target audio effect and a target volume according to the parameter value and a preset audio processing rule; the third processing module is used for processing the sound effect of the first audio signal according to the target audio effect; and the first control module is used for controlling the volume of the second audio signal according to the target volume.
Optionally, in the processing apparatus for changing the sound of the playing card provided in the embodiment of the present application, the apparatus includes: the recording unit is used for responding to the recording operation in the game before the first audio signal is acquired and recording the player self-defined sound; and the storage unit is used for storing the recorded audio on the premise that the recording passes the verification.
Optionally, in the processing apparatus for changing the sound of the playing card provided in the embodiment of the present application, the apparatus includes: and the third processing unit is used for integrating an audio input plug-in for the audio engine before recording the player-defined sound and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving the first audio signal and the second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
Optionally, in the processing apparatus for changing the playing card sound provided in the embodiment of the present application, the third processing unit includes a creating module, configured to create a sound effect switching container and a volume adjustment bus in the audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes; the second determining module is used for determining a parameter control rule based on the parameter corresponding to the sound effect and the parameter corresponding to the volume; and the third determining module is used for taking the parameter control rule as a preset audio processing rule of the audio engine.
The processing device for changing the playing card sound comprises a processor and a memory, wherein the first acquiring unit 501, the first processing unit 502, the second processing unit 503 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more, and game sound change is processed by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, the program implementing the processing method of changing the sound of a playing card when being executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes a processing method for changing the sound of a playing card when running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal.
When the processor executes the program, the following steps are also realized, and the step of processing the first audio signal and the second audio signal through the audio engine to obtain a third audio signal comprises the following steps: processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
When the processor executes the program, the following steps are also realized, and the processing of the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule comprises the following steps: acquiring a parameter value output by a real-time parameter control module in the audio engine; determining a target audio effect and a target volume according to the parameter value and the preset audio processing rule; processing the sound effect of the first audio signal according to the target audio effect; and controlling the volume of the second audio signal according to the target volume.
The processor, when executing the program, further performs the steps of, prior to acquiring the first audio signal, the method comprising: responding to the recording operation in the game, and recording the player self-defined sound; and storing the recorded audio on the premise that the recorded audio passes the verification.
The processor, when executing the program, further performs the following steps, before recording the player-defined sound, the method comprising: and integrating an audio input plug-in for the audio engine, and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving the first audio signal and the second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
When the processor executes the program, the following steps are also realized, and the adding of the preset audio processing rule for the audio engine comprises the following steps: creating a sound effect switching container and a volume adjusting bus in the audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes; determining a parameter control rule based on the parameters corresponding to the sound effect and the parameters corresponding to the volume; and taking the parameter control rule as the preset audio processing rule of the audio engine. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game; processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal; and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal.
When executed on a data processing device, is further adapted to execute a program initializing method steps for processing said first and second audio signals by an audio engine resulting in a third audio signal comprising: processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule; and mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
When executed on a data processing device, is further adapted to execute a program initializing method steps for processing the effects of the first audio signal and the volume of the second audio signal using preset audio processing rules comprising: acquiring a parameter value output by a real-time parameter control module in the audio engine; determining a target audio effect and a target volume according to the parameter value and the preset audio processing rule; processing the sound effect of the first audio signal according to the target audio effect; and controlling the volume of the second audio signal according to the target volume.
When executed on the data processing device, is further adapted to perform a procedure of initializing method steps comprising, before acquiring the first audio signal: responding to the recording operation in the game, and recording the player self-defined sound; and storing the recorded audio on the premise that the recorded audio passes the verification.
When executed on a data processing device, is further adapted to execute a program initiating method steps comprising, prior to recording player-defined sounds: and integrating an audio input plug-in for the audio engine, and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving the first audio signal and the second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
When executed on a data processing device, is further adapted to execute a program initializing method steps comprising: creating a sound effect switching container and a volume adjusting bus in the audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes; determining a parameter control rule based on the parameters corresponding to the sound effect and the parameters corresponding to the volume; and taking the parameter control rule as the preset audio processing rule of the audio engine.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing game card voicing, the method comprising:
acquiring a first audio signal and a second audio signal, wherein the first audio signal is a sound signal in an audio file recorded by a player in a game, and the second audio signal is a sound signal in a preset audio file in the game;
processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal;
and outputting the third audio signal to a loudspeaker to play the sound corresponding to the third audio signal.
2. The method of claim 1, wherein processing the first audio signal and the second audio signal by an audio engine to obtain a third audio signal comprises:
processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule;
and mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
3. The method of claim 2, wherein processing the sound effects of the first audio signal and the volume of the second audio signal using preset audio processing rules comprises:
acquiring a parameter value output by a real-time parameter control module in the audio engine;
determining a target audio effect and a target volume according to the parameter value and the preset audio processing rule;
processing the sound effect of the first audio signal according to the target audio effect;
and controlling the volume of the second audio signal according to the target volume.
4. The method of claim 1, wherein prior to obtaining the first audio signal, the method comprises:
responding to the recording operation in the game, and recording the player self-defined sound;
and storing the recorded audio on the premise that the recorded audio passes the verification.
5. The method of claim 4, wherein prior to recording the player-defined sound, the method comprises:
and integrating an audio input plug-in for the audio engine, and adding a preset audio processing rule for the audio engine, wherein the audio input plug-in is used for receiving the first audio signal and the second audio signal, and the preset audio processing rule is used for processing the audio signal input into the audio engine.
6. The method of claim 5, wherein adding the preset audio processing rule for the audio engine comprises:
creating a sound effect switching container and a volume adjusting bus in the audio engine; the sound effect switching container comprises a plurality of groups of sound effects and parameters corresponding to each group of sound effects, and the volume adjusting bus comprises a plurality of groups of volumes and parameters corresponding to each group of volumes;
determining a parameter control rule based on the parameters corresponding to the sound effect and the parameters corresponding to the volume;
and taking the parameter control rule as the preset audio processing rule of the audio engine.
7. A device for the processing of a sonogram for a playing card, the device comprising:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a first audio signal and a second audio signal, the first audio signal is a sound signal in an audio file recorded by a player in the game, and the second audio signal is a sound signal in a preset audio file in the game;
the first processing unit is used for processing the first audio signal and the second audio signal through an audio engine to obtain a third audio signal;
and the second processing unit is used for outputting the third audio signal to a loudspeaker so as to play the sound corresponding to the third audio signal.
8. The apparatus of claim 7, wherein the first processing unit comprises:
the first processing module is used for processing the sound effect of the first audio signal and the volume of the second audio signal by using a preset audio processing rule;
and the second processing module is used for mixing the processed first audio signal with the second audio signal to obtain the third audio signal.
9. A computer-readable storage medium characterized in that the storage medium includes a stored program, wherein the program executes the processing method of changing the sound of a game card according to any one of claims 1 to 6.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the method of changing the sound of a playing card according to any one of claims 1 to 6 when running.
CN202010989055.5A 2020-09-18 2020-09-18 Method and device for processing game card voice change Pending CN112053699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010989055.5A CN112053699A (en) 2020-09-18 2020-09-18 Method and device for processing game card voice change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010989055.5A CN112053699A (en) 2020-09-18 2020-09-18 Method and device for processing game card voice change

Publications (1)

Publication Number Publication Date
CN112053699A true CN112053699A (en) 2020-12-08

Family

ID=73603443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010989055.5A Pending CN112053699A (en) 2020-09-18 2020-09-18 Method and device for processing game card voice change

Country Status (1)

Country Link
CN (1) CN112053699A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581993A (en) * 2020-12-22 2021-03-30 北京字节跳动网络技术有限公司 Audio recording method and device, readable medium and electronic equipment
CN112863466A (en) * 2021-01-07 2021-05-28 广州欢城文化传媒有限公司 Audio social voice changing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000254341A (en) * 1999-03-10 2000-09-19 Kuresutekku International Corporation:Kk Acoustic control apparatus in game house
US20010014621A1 (en) * 2000-02-14 2001-08-16 Konami Corporation Video game device, background sound output method in video game, and readable storage medium storing background sound output program
US20080194319A1 (en) * 2005-08-17 2008-08-14 Pryzby Eric M Wagering Game System with Independent Volume Control
CN104299619A (en) * 2014-09-29 2015-01-21 广东欧珀移动通信有限公司 Method and device for processing audio file
CN108682426A (en) * 2018-05-17 2018-10-19 深圳市沃特沃德股份有限公司 Voice sensual pleasure conversion method and device
CN109285555A (en) * 2017-07-20 2019-01-29 北京唱吧科技股份有限公司 A kind of change of voice method, device and mobile terminal
CN110025958A (en) * 2019-04-03 2019-07-19 网易(杭州)网络有限公司 Sending method, device, medium and the electronic equipment of voice
CN110505496A (en) * 2018-05-16 2019-11-26 腾讯科技(深圳)有限公司 Live-broadcast control method and device, storage medium and electronic device
CN110728993A (en) * 2019-10-29 2020-01-24 维沃移动通信有限公司 Voice change identification method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000254341A (en) * 1999-03-10 2000-09-19 Kuresutekku International Corporation:Kk Acoustic control apparatus in game house
US20010014621A1 (en) * 2000-02-14 2001-08-16 Konami Corporation Video game device, background sound output method in video game, and readable storage medium storing background sound output program
US20080194319A1 (en) * 2005-08-17 2008-08-14 Pryzby Eric M Wagering Game System with Independent Volume Control
CN104299619A (en) * 2014-09-29 2015-01-21 广东欧珀移动通信有限公司 Method and device for processing audio file
CN109285555A (en) * 2017-07-20 2019-01-29 北京唱吧科技股份有限公司 A kind of change of voice method, device and mobile terminal
CN110505496A (en) * 2018-05-16 2019-11-26 腾讯科技(深圳)有限公司 Live-broadcast control method and device, storage medium and electronic device
CN108682426A (en) * 2018-05-17 2018-10-19 深圳市沃特沃德股份有限公司 Voice sensual pleasure conversion method and device
CN110025958A (en) * 2019-04-03 2019-07-19 网易(杭州)网络有限公司 Sending method, device, medium and the electronic equipment of voice
CN110728993A (en) * 2019-10-29 2020-01-24 维沃移动通信有限公司 Voice change identification method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581993A (en) * 2020-12-22 2021-03-30 北京字节跳动网络技术有限公司 Audio recording method and device, readable medium and electronic equipment
CN112863466A (en) * 2021-01-07 2021-05-28 广州欢城文化传媒有限公司 Audio social voice changing method and device

Similar Documents

Publication Publication Date Title
KR100597670B1 (en) mobile communication terminal capable of reproducing and updating multimedia content, and method for reproducing the same
CN107423364B (en) Method, device and storage medium for answering operation broadcasting based on artificial intelligence
US20140105411A1 (en) Methods and systems for karaoke on a mobile device
KR102458962B1 (en) Method and apparatus for controlling audio signal for applying audio zooming effect in virtual reality
CN107301028B (en) Audio data processing method and device based on multi-person remote call
CN112053699A (en) Method and device for processing game card voice change
US9849386B2 (en) Incorporating player-generated audio in an electronic game
CN106790940A (en) The way of recording, record playing method, device and terminal
US10755707B2 (en) Selectively blacklisting audio to improve digital assistant behavior
CN102768846A (en) Audio playing method, device and terminal
US20190215577A1 (en) Verbal queries relative to video content
US9483229B2 (en) Audio apparatus for portable devices
KR102110515B1 (en) Hearing aid device of playing audible advertisement or audible data
US20170194032A1 (en) Process for automated video production
JP6836330B2 (en) Information processing program, information processing device and information processing method
KR100597669B1 (en) Mobile telecommunication terminal for playing multimedia contents and method thereof
CN105282658B (en) A kind of control method of audio-frequence player device, system and device
WO2021008350A1 (en) Audio playback method and apparatus and computer readable storage medium
JP2023526285A (en) Test method and apparatus for full-duplex voice interaction system
CN110516043A (en) Answer generation method and device for question answering system
CN109511051A (en) Sound reproducing method and audio reproducing apparatus
US11579839B1 (en) Audio analytics and accessibility across applications and platforms
JP7178537B2 (en) Playback update method, device and storage medium
CN113542603B (en) Camera operation prompt processing method and device
JP7422707B2 (en) Multitrack container for rendering sound effects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination