CN107281753A - Scene audio reverberation control method and device, storage medium and electronic equipment - Google Patents

Scene audio reverberation control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107281753A
CN107281753A CN201710476278.XA CN201710476278A CN107281753A CN 107281753 A CN107281753 A CN 107281753A CN 201710476278 A CN201710476278 A CN 201710476278A CN 107281753 A CN107281753 A CN 107281753A
Authority
CN
China
Prior art keywords
reverberation
scene
virtual objects
region
audio
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.)
Granted
Application number
CN201710476278.XA
Other languages
Chinese (zh)
Other versions
CN107281753B (en
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 CN201710476278.XA priority Critical patent/CN107281753B/en
Publication of CN107281753A publication Critical patent/CN107281753A/en
Application granted granted Critical
Publication of CN107281753B publication Critical patent/CN107281753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • 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

Abstract

This disclosure relates to game technical field, and in particular to a kind of scene audio reverberation control method, a kind of scene audio reverberation control device, storage medium and electronic equipment.Methods described includes:Judge whether the virtual objects are located at a reverberation region of the scene of game;When judging in the reverberation region that the virtual objects are located in the virtual environment, the calculating virtual objects are currently located the open extent index in the reverberation region at position;The open extent index obtained according to calculating determines reverberation parameters, and according to the audio of the presently described scene of game of reverberation parameters setting.The method and device that the disclosure is provided can realize the real-time processing to different scenes audio reverberation effect.

Description

Scene audio reverberation control method and device, storage medium and electronic equipment
Technical field
This disclosure relates to game technical field, and in particular to a kind of scene audio reverberation control method, a kind of scene audio Reverberation control device, storage medium and electronic equipment.
Background technology
With the development of electronics technology, requirement more and more higher of the user to game, except the requirement to visual effect is continuous Improve, the requirement to gaming audio effect is also constantly improving, allowing the user to possess more preferable experience.Game design people Member is when carrying out development of games, and in addition to exploitation is designed to contents such as necessary scene, personage, rules, another is important Exploitation part be exactly scene audio.In the development process for carrying out scene audio, in order to farthest reduce real scene Sound effect, can the split scene audio that distribute set reverberation to handle.
The existing reverberation processing to sound effect of game generally comprises two methods:A kind of scheme is a kind of global general reverberation The reverberation processing of effect, i.e. scene audio uses fixed value;Another scheme is to carry out region division to virtual scene, to each Individual region sets reverberation parameters respectively, but using fixed reverberation parameters in the same area, i.e., different positions in the same area The scene audio put is handled using same reverberation parameters.Existing reverberation scheme can not according to residing for virtual role scene Change changes reverberation parameters in real time, causes virtual role user in different virtual scenes to hear identical scene sound Effect.
It should be noted that information is only used for strengthening the reason of background of this disclosure disclosed in above-mentioned background section Solution, therefore can include not constituting the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The purpose of the disclosure is to provide a kind of scene audio reverberation control method, a kind of scene audio reverberation control dress Put, storage medium and electronic equipment, and then at least overcome to a certain extent and caused due to limitation and the defect of correlation technique One or more problem.
Other characteristics and advantage of the disclosure will be apparent from by following detailed description, or partially by the disclosure Practice and acquistion.
According to the first aspect of the disclosure there is provided a kind of scene audio reverberation control method, pass through the processor in terminal It is upper to perform software application and render in the display of the terminal and obtain graphic user interface, what the graphic user interface was presented Content is comprising scene of game and at least partly includes a virtual objects, and methods described includes:
Judge whether the virtual objects are located at a reverberation region of the scene of game;
When judging in the reverberation region that the virtual objects are located in the virtual environment, the virtual objects are calculated It is currently located the open extent index at position in the reverberation region;
The open extent index obtained according to calculating determines reverberation parameters, and sets current according to the reverberation parameters The audio of the scene of game.
In a kind of exemplary embodiment of the disclosure, obtaining the open extent index includes:
According to the distance of the current location of the virtual objects and the border in the reverberation region, the virtual objects are calculated The current open extent index in the reverberation region at position.
In a kind of exemplary embodiment of the disclosure, obtaining the open extent index includes:
First distance of the virtual objects in the first direction with second direction to the reverberation zone boundary is obtained respectively And second distance, and the open extent index is determined according to the product of first distance and second distance, wherein, first party It is orthogonality relation to second direction.
In a kind of exemplary embodiment of the disclosure, a side of the first direction and the graphic user interface is put down OK.
In a kind of exemplary embodiment of the disclosure, the reverberation region is a predeterminable area, the predeterminable area Border is invisible.
In a kind of exemplary embodiment of the disclosure, the border in the reverberation region is visible.
In a kind of exemplary embodiment of the disclosure, the open extent index obtained according to calculating determines mixed Ringing parameter includes:
The open extent index is sent to audio engine;
The audio engine transfers what is matched with the open extent index according to the open extent index of reception Reverberation parameters.
According to the second aspect of the disclosure there is provided a kind of scene audio reverberation control device, including:
Position judging module, for judging whether virtual objects are located in the reverberation region in virtual environment;
Open extent index acquisition module, for judging the reverberation that the virtual objects are located in the virtual environment When in region, the calculating virtual objects are currently located the open extent index in the reverberation region at position;
Audio adjusting module, the open extent index for being obtained according to calculating determines reverberation parameters, and according to institute State the audio that reverberation parameters set presently described scene of game.
According to the third aspect of the disclosure there is provided a kind of storage medium, computer program, described program quilt are stored thereon with Above-mentioned scene audio reverberation control method is realized during computing device.
According to the fourth aspect of the disclosure there is provided a kind of electric terminal, including:
Processor;And
Memory, the executable instruction for storing the processor;
Wherein, the processor is configured to perform following operation via the executable instruction is performed:
Judge whether the virtual objects are located at a reverberation region of the scene of game;
When judging in the reverberation region that the virtual objects are located in the virtual environment, the virtual objects are calculated It is currently located the open extent index at position in the reverberation region;
The open extent index obtained according to calculating determines reverberation parameters, and sets current according to the reverberation parameters The audio of the scene of game.
The scene sound effect control method that a kind of embodiment of the disclosure is provided, first determines whether whether virtual objects are in one In reverberation region, and the open degree of calculating virtual objects current location is joined when judging that virtual objects are located in a reverberation region Number, determines the reverberation parameters of current location, and set present bit according to reverberation parameters according to the open extent index of current location Reverberation parameters are carried out implementation adjustment, and then realize to scene by the scene audio put so as to realize according to the position of virtual objects The real-time change of audio, the audio of virtual scene is more nearly real scene where making virtual objects, and then can lift user Feeling of immersion.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.It should be evident that drawings in the following description are only the disclosure Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 schematically shows a kind of scene audio reverberation control method schematic diagram in disclosure exemplary embodiment;
Fig. 2 schematically shows reverberation zone boundary and ray signal in a kind of scene of game in disclosure exemplary embodiment Figure;
Fig. 3 schematically shows a kind of ray schematic diagram of diverse location in reverberation region in disclosure exemplary embodiment;
Fig. 4 schematically shows a kind of ray schematic diagram of diverse location in reverberation region in disclosure exemplary embodiment;
Fig. 5 schematically shows a kind of scene audio reverberation control device schematic diagram in disclosure exemplary embodiment;
Fig. 6 schematically shows the block diagram of a kind of electronic equipment in disclosure exemplary embodiment.
A kind of program that Fig. 7 schematically shows in disclosure exemplary embodiment for information processing is produced.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment those skilled in the art is comprehensively conveyed to.Described feature, knot Structure or characteristic can be combined in one or more embodiments in any suitable manner.
In addition, accompanying drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical accompanying drawing mark in figure Note represents same or similar part, thus will omit repetition thereof.Some block diagrams shown in accompanying drawing are work( Can entity, not necessarily must be corresponding with physically or logically independent entity.These work(can be realized using software form Can entity, or realize in one or more hardware modules or integrated circuit these functional entitys, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
A kind of scene audio reverberation control method is provide firstly in this example embodiment, single-play game is can apply to Using or online game application in, the processing to virtual scene audio where virtual objects.With reference to shown in Fig. 1, above-mentioned trip Play application renders by the execution software application on the processor of terminal and the display in the terminal and obtains graphical user circle Face, the content that the graphic user interface is presented is comprising scene of game and at least partly comprising a virtual objects.The figure is used Family interface can for terminal entirety can viewing area, that is, be displayed in full screen;The part that can also be terminal can viewing area, i.e. window Mouth display.Wherein, the terminal can be the electronic equipments such as desktop computer, or tablet personal computer, notebook computer, game The machine either mancarried electronic aid such as smart mobile phone, by installing such as game application or other class software applications, realizes trip Execution of the play system in the terminal, the terminal is at least included for the memory of data storage and for data processing Processor.With reference to shown in Fig. 1, scene audio reverberation control may comprise steps of:
S1, judges whether the virtual objects are located at a reverberation region of the scene of game;
S2, when judging in the reverberation region that the virtual objects are located in the virtual environment, calculates described virtual Object is currently located the open extent index at position in the reverberation region;
S3, the open extent index obtained according to calculating determines reverberation parameters, and is set according to the reverberation parameters The audio of presently described scene of game.
The scene sound effect control method that the disclosure is provided, calculates empty when judging that virtual objects are located in a reverberation region Intend the open extent index of object current location, the reverberation for determining current location according to the open extent index of current location is joined Number, and according to the scene audio of reverberation parameters setting current location, so as to realize the position according to virtual objects to reverberation parameters Implementation adjustment is carried out, and then realizes the real-time change to scene audio, the audio more adjunction of virtual scene where making virtual objects Nearly real scene, and then the feeling of immersion of user can be lifted.
Below, each step of method in this example embodiment will be described in detail with reference to Fig. 1 to Fig. 3.
In step sl, judge whether the virtual objects are located at a reverberation region of the scene of game.
In this example embodiment, the virtual scene where virtual objects can be set up out several according to demand first Reverberation region, reverberation processing can be carried out in reverberation region to scene audio.Above-mentioned reverberation region is a predeterminable area, When setting up reverberation region, the border in reverberation region can be divided according to demand, reverberation region is made by bounded.The reverberation area Domain can be planned to the shape or irregular shape of rule by border according to demand, and the disclosure delimited the border in reverberation region It is not particularly limited.It is the reverberation region 64 planned in game virtual scene with reference to shown in Fig. 2, virtual objects 63, which are located at, works as In preceding reverberation region, the reverberation zone boundary is irregular shape.With reference to shown in Fig. 2, the border in the reverberation region 64 can be with It is visible.In other exemplary embodiments of the disclosure, the border in the reverberation region can also be sightless.This Outside, the transparency on the border in the reverberation region can also be set according to real needs, to this in the present exemplary embodiment Without particular determination.
For convenience of the measuring and calculating of follow-up length, border of the shade to the reverberation region can also be passed through in this example embodiment It is identified;It will be readily appreciated, however, that the shade can't be present in scene of game.For sentencing for virtual objects position It is disconnected, then it can be realized by reading the modes such as game running parameter, this part may be referred to prior art, this exemplary implementation To this without repeating in example.
In step s 2, when judging in the reverberation region that the virtual objects are located in the virtual environment, calculate The virtual objects are currently located the open extent index at position in the reverberation region.
In this example embodiment, when the position for determining virtual objects is in a reverberation region, it is possible to count Calculate open extent index of the virtual objects in reverberation region current location.When position of the virtual objects in reverberation region becomes During change, its reverberation parameters can also change therewith.Exemplary, in this example embodiment, described in above-mentioned acquisition Open extent index can include:According to the distance of the current location of the virtual objects and the border in the reverberation region, meter Calculate the current open extent index in the reverberation region at position of the virtual objects.
The above-mentioned acquisition open extent index can include:The virtual objects are obtained respectively in the first direction with Two directions are to the first distance and second distance of the reverberation zone boundary, and multiplying according to first distance and second distance Product determines the open extent index, wherein, first direction and second direction are orthogonality relation.
For example, specifically it may comprise steps of:Step S21, centered on the current location of the virtual objects Launch orthogonal the first ray and the second ray to the border in the reverberation region by preset rules.
Step S22, obtains first distance of the first ray on first direction by virtual objects to reverberation zone boundary Length, while length of the second ray in second direction by virtual objects to the second distance of reverberation zone boundary is obtained, and The open extent index is determined according to the product of first distance and the length of second distance.
It is above-mentioned launch orthogonal the first ray and the second ray to the border in the reverberation region by preset rules can be with Including:
Launch first ray in the first direction centered on the current location of the virtual objects to the reverberation area Domain border and launch second ray in a second direction to the reverberation zone boundary;Wherein, the first direction and Two directions are parallel with two vertical edges of the graphic user interface respectively.According to the actual requirements, above-mentioned the first ray and second Ray can be the unidirectional ray extended by end points of virtual objects current location to side, or current with virtual objects Particular determination is not done to this in the two-way ray that the end points of position extends to both sides, the present exemplary embodiment.
For example, with reference to shown in Fig. 3, four positive directions point of the place two dimensional surface of virtual objects 63 be can specify that Wei not first direction, second direction, third direction and fourth direction, and first direction, third direction and the graphical user The first side 61 in two vertical edges at interface 6 is parallel, second direction, fourth direction and two vertical edges of the graphic user interface In the second side 62 it is parallel.
When the first ray and the second ray are unidirectional ray, user can choose and the figure in advance according to demand The parallel first direction in the side of user interface first or third direction as the first ray direction;Choose and graphical user circle The parallel second direction in the side of face second or second direction as the second ray direction.Such as the first ray is first direction, the Two rays are second direction;Or first ray be that first direction, the second ray are fourth direction;Or first ray be the 3rd Direction, the second ray are fourth direction;Or first ray be that third direction, the second ray are second direction.For example, when selection First direction is the first directions of rays and the first ray length is 5, and it is the second directions of rays and the second ray to choose fourth direction Length is 9, then the open extent index of virtual objects current location is 5*9=45.With reference to shown in Fig. 4, when virtual objects 63 are same In one reverberation region during diverse location, using the ray of identical first and the second directions of rays, but the ray length of diverse location Difference, corresponding open extent index is also different.
When the first ray and the second ray are two-way ray, user can choose first, third direction and be penetrated for first The direction of line, chooses the direction that second, fourth direction is the second ray;And it is maximum to preset selection length according to demand Or the minimum direction of length is used as the first ray and the second ray.For example, when the length of the first ray in a first direction is 8, the The length in three directions is 5, and the second ray is when the length that the length of second direction is 3, fourth direction is 2;If preset rules are Selection length is most long, and as directions of rays, then selection first direction is the direction of the first ray and the length of the first ray is 8, Selection second direction is the direction of the second ray and the length of the second ray is 3, then open journey of the virtual objects in current location Degree parameter is 8*3=24.
In other exemplary embodiments of the disclosure, when the first ray and the second ray are two-way ray, also may be used To preset the length for choosing different length rule as the first ray and the second ray.For example, in a first direction with the 3rd The maximum ray of conduct first of length is chosen in direction, chooses and the minimum conduct of length the is chosen in second direction and fourth direction Two rays.The direction of first ray and the second ray can determine that the disclosure does not do particular determination to this according to real needs.
In addition, it will be readily appreciated by those skilled in the art that in other exemplary embodiments of the disclosure, can also lead to Cross other modes and calculate the virtual objects and be currently located open extent index in the reverberation region at position;For example, can To calculate open extent index etc. using the quadratic sum of first ray and the length of the second ray;For another example described first Ray and the second ray with out of plumb or can diagonally can occur etc. in direction.I.e. the disclosure is for calculating the virtual objects The mode for the open extent index being currently located in the reverberation region at position is without particular determination, and these belong to this public affairs The protection domain opened.
Based on the above, in other exemplary embodiments of the disclosure, the different reverberation region in virtual scene In, according to the difference of environment in reverberation region different open extent index can also be set to obtain scheme.For example, reverberation region The scheme minimum using ray length is chosen in room, its reverberation effect is room reverberation;Adopted when reverberation region is in mountain valley It is most long scheme with ray length is chosen, its reverberation effect is field reverberation.So that different reverberation regions being capable of root It is used for suitable reverberation parameters according to specific concrete condition and obtains scheme.
Based on the above, in this example embodiment, the above-mentioned open extent index obtained according to calculating Determine that reverberation parameters can include:
The open extent index is sent to audio engine;The audio engine is joined according to the open degree of reception Number transfers the reverberation parameters matched with the open extent index.
The corresponding reverberation parameters (reverb snapshots) of different scene settings can be directed in audio engine, Such as:Reverberation under field reverberation, mountain valley reverberation and indoor or enclosed environment.The reverberation parameters numerical value of different scenes is different. Different types of reverberation parameters are associated with open extent index, so as to realize the sky sent in real time according to virtual scene in game Wealthy extent index adjustment correspondence reverberation parameters value.
In step s3, the open extent index obtained according to calculating determines reverberation parameters, and according to the reverberation The audio of the presently described scene of game of parameter setting.
In this example embodiment, when it is determined that the open extent index and root of virtual objects current location in reverberation region Determined according to open degree parameter after the reverberation parameters of current location, just can be according to the reverberation parameters scene set sound of current location Effect.By carrying out reverberation processing to scene audio, and make virtual objects in diverse location using different reverberation parameters pair Scene audio is handled, and enables a user to obtain the audio closer to reality scene.
In this example embodiment, above-mentioned acquisition first ray and the length of the second ray can include:
Step S51, obtains the location parameter of the virtual objects current location.
Step S52, obtains the location parameter of first ray and the second ray and reverberation zone boundary intersection point.
Step S53, according to the virtual objects and first ray and the second ray and the reverberation zone boundary The location parameter of intersection point calculates the length of first ray and the second ray.
For example, can by current virtual scene determine on a two dimensional surface, and obtain respectively the virtual objects, First ray and reverberation area boundary intersection and the second ray and position coordinates of the reverberation area boundary intersection on two dimensional surface, with The coordinate of the virtual objects is the first coordinate, using first ray and reverberation area boundary intersection coordinate as the second coordinate, with Second ray and reverberation area boundary intersection are the 3rd coordinate, using first, second and the 3rd coordinate obtain described first The length of ray and the second ray.
, can also be former using the coordinate of the virtual objects as two dimensional surface in other exemplary embodiments of the disclosure Point, and the first ray and reverberation area boundary intersection and the second ray and reverberation area boundary intersection are obtained respectively on two dimensional surface Position coordinates, the length of the first ray and the second ray is calculated with this.The disclosure is not particularly limited to this.
It should be noted that above-mentioned accompanying drawing is only showing for the processing included by method according to an exemplary embodiment of the present invention Meaning property explanation, rather than limitation purpose.It can be readily appreciated that it is above-mentioned it is shown in the drawings processing be not intended that or limit these processing when Between order.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Further, with reference to shown in Fig. 5, a kind of scene audio reverberation control dress is additionally provided in the embodiment of this example Put 2, including:Position judging module 21, open extent index acquisition module 22 and audio adjusting module 23.Wherein:
The position judging module 21 can be used for the reverberation region for judging whether virtual objects are located in virtual environment It is interior.
The open extent index obtains 22 and can be used for judging the virtual objects in the virtual environment When in one reverberation region, the calculating virtual objects are currently located the open extent index in the reverberation region at position.
The open extent index that the audio adjusting module 23 can be used for obtaining according to calculating determines reverberation parameters, And the audio of presently described scene of game is set according to the reverberation parameters.
The detail of each module is in corresponding scene audio reverberation control in above-mentioned scene audio reverberation control device 2 It is described in detail in method processed, therefore here is omitted.
Although it should be noted that being referred to some modules or list of the equipment for action executing in above-detailed Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be further divided into being embodied by multiple modules or unit.
In an exemplary embodiment of the disclosure, additionally providing a kind of can realize the electronic equipment of the above method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete Complete Software Implementation (including firmware, microcode etc.), or the embodiment combined in terms of hardware and software, it can unite here Referred to as " circuit ", " module " or " system ".
Electronic equipment 600 according to the embodiment of the invention is described referring to Fig. 6.The electronics that Fig. 6 is shown Equipment 600 is only an example, should not carry out any limitation to the function of the embodiment of the present invention and using range band.
As shown in fig. 6, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be wrapped Include but be not limited to:At least one above-mentioned processing unit 610, at least one above-mentioned memory cell 620, connection different system component The bus 630 of (including memory cell 620 and processing unit 610), display unit 640.
Wherein, the memory cell is had program stored therein code, and described program code can be held by the processing unit 610 OK so that the processing unit 610 performs various according to the present invention described in above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.
Memory cell 620 can include the computer-readable recording medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Memory cell 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to:Operating system, one or more application program, other program moulds The realization of network environment is potentially included in each or certain combination in block and routine data, these examples.
Bus 630 can be to represent the one or more in a few class bus structures, including memory cell bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment communication interacted with the electronic equipment 600 can be also enabled a user to one or more, and/or with causing Any equipment (such as router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other computing device Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As illustrated, network adapter 660 is communicated by bus 630 with other modules of electronic equipment 600. It should be understood that although not shown in the drawings, can combine electronic equipment 600 does not use other hardware and/or software module, including but not It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can be realized by software, can also be realized by way of software combines necessary hardware.Therefore, according to the disclosure The technical scheme of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are to cause a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is performed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer-readable recording medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product, it includes program code, when described program product is run on the terminal device, institute State program code be used for make the terminal device perform described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
With reference to shown in Fig. 7, the program product for being used to realize the above method according to the embodiment of the present invention is described 800, it can be using portable compact disc read only memory (CD-ROM) and including program code, it is possible in terminal device, For example on PC run.However, the program product not limited to this of the present invention, in this document, readable storage medium storing program for executing can be with Be it is any include or storage program tangible medium, the program can be commanded execution system, device or device use or It is in connection.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing is (non exhaustive List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media can include in a base band or as carrier wave a part propagate data-signal, its In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie beyond readable storage medium storing program for executing Matter, the computer-readable recording medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including but not limited to wirelessly, be had Line, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for performing the program that the present invention is operated Code, described program design language includes object oriented program language-Java, C++ etc., in addition to conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user Perform, partly perform on a user device on computing device, being performed as an independent software kit, partly in user's calculating Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network (WAN) user calculating equipment, is connected to, or, it may be connected to external computing device (for example utilizes ISP Come by Internet connection).
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by appended Claim is pointed out.

Claims (10)

1. a kind of scene audio reverberation control method, it is characterised in that by performing software application simultaneously on the processor of terminal Rendered in the display of the terminal and obtain graphic user interface, the content that the graphic user interface is presented includes scene of game And a virtual objects are at least partly included, methods described includes:
Judge whether the virtual objects are located at a reverberation region of the scene of game;
When judging in the reverberation region that the virtual objects are located in the virtual environment, the virtual objects are calculated current Open extent index in the reverberation region of place at position;
The open extent index obtained according to calculating determines reverberation parameters, and sets presently described according to the reverberation parameters The audio of scene of game.
2. scene audio reverberation control method according to claim 1, it is characterised in that obtain the open extent index Including:
According to the distance of the current location of the virtual objects and the border in the reverberation region, the virtual objects are calculated current Open extent index in the reverberation region at position.
3. scene audio reverberation control method according to claim 1 or 2, it is characterised in that obtain the open degree Parameter includes:
Obtain respectively the virtual objects in the first direction with second direction to the first distance of the reverberation zone boundary and Two distances, and the open extent index is determined according to the product of first distance and second distance, wherein, first direction and Second direction is orthogonality relation.
4. scene audio reverberation control method according to claim 3, it is characterised in that
The first direction is parallel with a side of the graphic user interface.
5. scene audio reverberation control method according to claim 3, it is characterised in that the reverberation region is one default Region, the border of the predeterminable area is invisible.
6. scene audio reverberation control method according to claim 3, it is characterised in that the reverberation region is one default Region, the border of the predeterminable area is visible.
7. scene audio reverberation control method according to claim 1, it is characterised in that the institute obtained according to calculating State open extent index and determine that reverberation parameters include:
The open extent index is sent to audio engine;
The audio engine transfers the reverberation matched with the open extent index according to the open extent index of reception Parameter.
8. a kind of scene audio reverberation control device, it is characterised in that including:
Position judging module, for judging whether virtual objects are located in the reverberation region in virtual environment;
Open extent index acquisition module, for judging the reverberation region that the virtual objects are located in the virtual environment When interior, the calculating virtual objects are currently located the open extent index in the reverberation region at position;
Audio adjusting module, the open extent index for being obtained according to calculating determines reverberation parameters, and according to described mixed Ring the audio of the presently described scene of game of parameter setting.
9. a kind of storage medium, is stored thereon with computer program, being realized when described program is executed by processor will according to right Seek the scene audio reverberation control method any one of 1 to 7.
10. a kind of electric terminal, it is characterised in that including:
Processor;And
Memory, the executable instruction for storing the processor;
Wherein, the processor is configured to perform following operation via the executable instruction is performed:
Judge whether the virtual objects are located at a reverberation region of the scene of game;
When judging in the reverberation region that the virtual objects are located in the virtual environment, the virtual objects are calculated current Open extent index in the reverberation region of place at position;
The open extent index obtained according to calculating determines reverberation parameters, and sets presently described according to the reverberation parameters The audio of scene of game.
CN201710476278.XA 2017-06-21 2017-06-21 Scene sound effect reverberation control method and device, storage medium and electronic equipment Active CN107281753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710476278.XA CN107281753B (en) 2017-06-21 2017-06-21 Scene sound effect reverberation control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710476278.XA CN107281753B (en) 2017-06-21 2017-06-21 Scene sound effect reverberation control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107281753A true CN107281753A (en) 2017-10-24
CN107281753B CN107281753B (en) 2020-10-23

Family

ID=60096774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710476278.XA Active CN107281753B (en) 2017-06-21 2017-06-21 Scene sound effect reverberation control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107281753B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108379842A (en) * 2018-02-08 2018-08-10 网易(杭州)网络有限公司 Gaming audio processing method, device, electronic equipment and storage medium
CN108924705A (en) * 2018-09-25 2018-11-30 Oppo广东移动通信有限公司 3D sound effect treatment method and Related product
CN108939535A (en) * 2018-06-25 2018-12-07 网易(杭州)网络有限公司 The sound effect control method and device of virtual scene, storage medium, electronic equipment
CN109104687A (en) * 2018-09-25 2018-12-28 Oppo广东移动通信有限公司 Sound effect treatment method and Related product
CN109327795A (en) * 2018-11-13 2019-02-12 Oppo广东移动通信有限公司 Sound effect treatment method and Related product
CN109327766A (en) * 2018-09-25 2019-02-12 Oppo广东移动通信有限公司 3D sound effect treatment method and Related product
CN110538456A (en) * 2019-09-09 2019-12-06 北京西山居互动娱乐科技有限公司 Sound source setting method, device, equipment and storage medium in virtual environment
CN111714889A (en) * 2020-06-19 2020-09-29 网易(杭州)网络有限公司 Sound source control method, sound source control device, computer equipment and medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1172320A (en) * 1996-03-04 1998-02-04 株式会社泰姆韦尔 Method and apparatus for simulating sound in virtual space to have listenen enjoy artificial experience of sound
US5812674A (en) * 1995-08-25 1998-09-22 France Telecom Method to simulate the acoustical quality of a room and associated audio-digital processor
JP2002006872A (en) * 2000-06-19 2002-01-11 Nippon Telegr & Teleph Corp <Ntt> Method and device for generating sound effects and program recording medium
US20070025560A1 (en) * 2005-08-01 2007-02-01 Sony Corporation Audio processing method and sound field reproducing system
CN103065355A (en) * 2012-12-26 2013-04-24 安科智慧城市技术(中国)有限公司 Method and device of achieving three-dimensional modeling of wisdom building
CN103081517A (en) * 2010-08-30 2013-05-01 雅马哈株式会社 Information processor, acoustic processor, acoustic processing system, program, and game program
US20130208903A1 (en) * 2010-07-20 2013-08-15 Nokia Corporation Reverberation estimator
JP2014063182A (en) * 2013-11-05 2014-04-10 Copcom Co Ltd Sound effect generation device and sound effect generation program for achieving sound effect generation device
US20140161268A1 (en) * 2012-12-11 2014-06-12 The University Of North Carolina At Chapel Hill Aural proxies and directionally-varying reverberation for interactive sound propagation in virtual environments
CN103907151A (en) * 2011-09-07 2014-07-02 弗兰霍菲尔运输应用研究公司 Device, method and electro-acoustic system for prolonging the reverberation period
CN104520924A (en) * 2012-08-07 2015-04-15 杜比实验室特许公司 Encoding and rendering of object based audio indicative of game audio content
CN104801043A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 Method and device for scene sound effect control
CN105101005A (en) * 2015-09-15 2015-11-25 王柏文 Controllable reverberation time adjusting device, system and method
CN105992119A (en) * 2015-02-12 2016-10-05 杜比实验室特许公司 Reverberation generation for earphone virtualization
CN106128451A (en) * 2016-07-01 2016-11-16 北京地平线机器人技术研发有限公司 Method for voice recognition and device
CN106659936A (en) * 2014-07-23 2017-05-10 Pcms控股公司 System and method for determining audio context in augmented-reality applications
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812674A (en) * 1995-08-25 1998-09-22 France Telecom Method to simulate the acoustical quality of a room and associated audio-digital processor
CN1172320A (en) * 1996-03-04 1998-02-04 株式会社泰姆韦尔 Method and apparatus for simulating sound in virtual space to have listenen enjoy artificial experience of sound
JP2002006872A (en) * 2000-06-19 2002-01-11 Nippon Telegr & Teleph Corp <Ntt> Method and device for generating sound effects and program recording medium
US20070025560A1 (en) * 2005-08-01 2007-02-01 Sony Corporation Audio processing method and sound field reproducing system
US20130208903A1 (en) * 2010-07-20 2013-08-15 Nokia Corporation Reverberation estimator
CN103081517A (en) * 2010-08-30 2013-05-01 雅马哈株式会社 Information processor, acoustic processor, acoustic processing system, program, and game program
CN103907151A (en) * 2011-09-07 2014-07-02 弗兰霍菲尔运输应用研究公司 Device, method and electro-acoustic system for prolonging the reverberation period
CN104520924A (en) * 2012-08-07 2015-04-15 杜比实验室特许公司 Encoding and rendering of object based audio indicative of game audio content
US20140161268A1 (en) * 2012-12-11 2014-06-12 The University Of North Carolina At Chapel Hill Aural proxies and directionally-varying reverberation for interactive sound propagation in virtual environments
CN103065355A (en) * 2012-12-26 2013-04-24 安科智慧城市技术(中国)有限公司 Method and device of achieving three-dimensional modeling of wisdom building
JP2014063182A (en) * 2013-11-05 2014-04-10 Copcom Co Ltd Sound effect generation device and sound effect generation program for achieving sound effect generation device
CN104801043A (en) * 2014-01-23 2015-07-29 腾讯科技(深圳)有限公司 Method and device for scene sound effect control
CN106659936A (en) * 2014-07-23 2017-05-10 Pcms控股公司 System and method for determining audio context in augmented-reality applications
CN105992119A (en) * 2015-02-12 2016-10-05 杜比实验室特许公司 Reverberation generation for earphone virtualization
CN105101005A (en) * 2015-09-15 2015-11-25 王柏文 Controllable reverberation time adjusting device, system and method
CN106128451A (en) * 2016-07-01 2016-11-16 北京地平线机器人技术研发有限公司 Method for voice recognition and device
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《电脑报》编写组编: "《电脑报 2010全订本 下》", 31 December 2010, 重庆:重庆出版社 *
AHYSWANG: "《混响音效》", 《HTTPS://BLOG.CSDN.NET/AHYSWANG/ARTICLE/DETAILS/7691541》 *
蓝白金全国规范化培训教材编写委员会编写: "《手机游戏设计 初级》", 31 December 2006, 南京:南京大学出版社 *
陈启安,刘志镜主编: "《多媒体软件设计技术》", 31 December 1999, 西安:西安电子科技大学出版社 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108379842A (en) * 2018-02-08 2018-08-10 网易(杭州)网络有限公司 Gaming audio processing method, device, electronic equipment and storage medium
CN108379842B (en) * 2018-02-08 2021-09-03 网易(杭州)网络有限公司 Game audio processing method and device, electronic equipment and storage medium
CN108939535B (en) * 2018-06-25 2022-02-15 网易(杭州)网络有限公司 Sound effect control method and device for virtual scene, storage medium and electronic equipment
CN108939535A (en) * 2018-06-25 2018-12-07 网易(杭州)网络有限公司 The sound effect control method and device of virtual scene, storage medium, electronic equipment
CN108924705B (en) * 2018-09-25 2021-07-02 Oppo广东移动通信有限公司 3D sound effect processing method and related product
CN109327766A (en) * 2018-09-25 2019-02-12 Oppo广东移动通信有限公司 3D sound effect treatment method and Related product
CN109327766B (en) * 2018-09-25 2021-04-30 Oppo广东移动通信有限公司 3D sound effect processing method and related product
CN109104687A (en) * 2018-09-25 2018-12-28 Oppo广东移动通信有限公司 Sound effect treatment method and Related product
CN108924705A (en) * 2018-09-25 2018-11-30 Oppo广东移动通信有限公司 3D sound effect treatment method and Related product
CN109327795A (en) * 2018-11-13 2019-02-12 Oppo广东移动通信有限公司 Sound effect treatment method and Related product
CN110538456A (en) * 2019-09-09 2019-12-06 北京西山居互动娱乐科技有限公司 Sound source setting method, device, equipment and storage medium in virtual environment
CN110538456B (en) * 2019-09-09 2023-08-08 珠海金山数字网络科技有限公司 Sound source setting method, device and equipment in virtual environment and storage medium
CN111714889A (en) * 2020-06-19 2020-09-29 网易(杭州)网络有限公司 Sound source control method, sound source control device, computer equipment and medium

Also Published As

Publication number Publication date
CN107281753B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN107281753A (en) Scene audio reverberation control method and device, storage medium and electronic equipment
CN109685876B (en) Hair rendering method and device, electronic equipment and storage medium
JP5346128B2 (en) Object alignment in augmented reality
US11189292B2 (en) Determining a target device for voice command interaction
US10950205B2 (en) Electronic device, augmented reality device for providing augmented reality service, and method of operating same
CN107393017A (en) Image processing method, device, electronic equipment and storage medium
US10028070B1 (en) Systems and methods for HRTF personalization
CN107469354A (en) Visible sensation method and device, storage medium, the electronic equipment of compensating sound information
CN107358643A (en) Image processing method, device, electronic equipment and storage medium
CN107890673A (en) Visual display method and device, storage medium, the equipment of compensating sound information
CN107179908A (en) Audio method of adjustment, device, electronic equipment and computer-readable recording medium
CN109621415A (en) Display control method and device in 3D game, computer storage medium
JP2023525173A (en) Conversational AI platform with rendered graphical output
CN110124305B (en) Virtual scene adjustment method, device, storage medium and mobile terminal
US20180270603A1 (en) Systems and methods for non-parametric processing of head geometry for hrtf personalization
CN107527630A (en) Sound end detecting method, device and computer equipment
US20230020885A1 (en) Automatic conversion of 2d schematics to 3d models
CN107832001A (en) Information processing method, device, electronic equipment and storage medium
EP3618006A1 (en) Image processing method and apparatus
CN108776544A (en) Exchange method and device, storage medium, electronic equipment in augmented reality
CN107092434A (en) Overlay target system of selection and device, storage medium, electronic equipment
CN108304060A (en) A kind of method of supplying power to of virtual reality device, device and virtual reality device
CN108008876A (en) A kind of display methods of suspension windows, device, equipment and storage medium
US20190130631A1 (en) Systems and methods for determining how to render a virtual object based on one or more conditions
CN105190469A (en) Causing specific location of an object provided to a device

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
GR01 Patent grant
GR01 Patent grant