Sound control method, electronic device, and computer-readable storage medium
By acquiring the location information of actors and equipment, sound control commands are generated, solving the problem of complex operation of the sound system, realizing intelligent audio output, and improving the stage performance effect and audience experience.
Patent Information
- Application Number
- CN202211536433.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-02
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2042-12-02
AI Technical Summary
Existing sound systems are complex to operate in stage performances and are greatly affected by ambient sounds and performers, making it difficult to meet the needs of modern stage performances.
By acquiring actor position information, stage size information, and equipment position information, channel opening control information is generated, sound image value, target sound source, and volume control information are calculated, and sound control commands are generated to achieve intelligent regulation of audio output.
It enables intelligent adjustment of audio output based on the positional relationship between actors, stage, and equipment, thereby enhancing stage performance effects and the audience's audiovisual experience.
Smart Images

Figure CN115996342B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of audio technology, and in particular to an audio control method, electronic device, and computer-readable storage medium. Background Technology
[0002] With the rapid development of modern technology, audio technology has also advanced by leaps and bounds, and audio equipment, as a sound output device, has been widely used in stage performances. During performances, professional sound engineers are generally required to operate the sound system, and the operation and control process is complex, greatly affected by ambient sounds and the individual voices of the performers, requiring constant adjustments by the sound engineer. However, with the continuous advancement of modern technology and the increasing demands of audiences for stage performance effects, relying solely on manual operation by sound engineers is gradually becoming insufficient to meet the needs of stage performances. Summary of the Invention
[0003] This invention provides a sound control method, electronic device, and computer-readable storage medium that can adjust the audio output of the sound system according to the positional relationship between the performer and the stage and stage equipment, thereby facilitating a better stage performance effect.
[0004] In a first aspect, embodiments of this application provide a sound control method, the sound control method comprising:
[0005] Obtain actor location information, stage size information, and stage equipment location information;
[0006] Based on the actor's position information and the stage size information, positional relationship determination is performed, and when the actor is inside the stage, channel opening control information is generated;
[0007] Based on the actor's position information and the stage equipment's position information, calculations are performed to determine the sound image value, target sound source, target output channel, and volume control information.
[0008] A sound control command is generated based on the channel opening control information, the sound image value, the target sound source, the target output channel, and the volume control information;
[0009] Control the stage sound system according to the sound control commands.
[0010] The sound control method provided in the embodiments of this application has at least the following beneficial effects: After obtaining actor position information, stage size information, and stage equipment position information, positional relationship judgment processing is performed based on the actor position information and stage size information. If the actor is located within the stage, channel opening control information is generated. Then, calculation processing is performed based on the actor position information and stage equipment position information to determine the sound image value, target sound source, target output channel, and volume control information. Next, sound control instructions are generated based on the channel opening control information, sound image value, target sound source, target output channel, and volume control information. Finally, the stage sound is controlled according to the sound control instructions. According to the solution of the embodiments of this application, sound control instructions are generated based on the positional relationship between the actor and the stage and stage equipment, enabling the sound system to operate according to the instructions, achieving intelligent adjustment of audio output, which is beneficial for presenting better stage effects and providing a better audiovisual experience for the audience. In other words, the solution of the embodiments of this application can adjust the audio output of the sound system according to the positional relationship between the performer and the stage and stage equipment, which is beneficial for presenting better stage performance effects.
[0011] According to some embodiments of this application, the step of determining the positional relationship based on the actor's position information and the stage size information, and generating channel opening control information when the actor is located within the stage, includes:
[0012] Obtain the horizontal and vertical lengths of the stage based on the stage dimensions;
[0013] Determine the position of the origin point on the stage;
[0014] Based on the coordinate origin position, the stage's horizontal length, and the stage's vertical length, the stage is converted into coordinates along the horizontal plane to obtain horizontal and vertical coordinate axis information.
[0015] Based on the horizontal coordinate axis information, the vertical coordinate axis information, and the actor's position information, positional relationship determination processing is performed, and when the actor is located inside the stage, the channel opening control information is generated.
[0016] According to some embodiments of this application, the stage equipment location information includes stage base station location information and sound location information of at least one speaker. The step of calculating and processing based on the actor location information and the stage equipment location information to determine the sound image value, volume control information, target sound source, and target output channel includes:
[0017] The sound image value is obtained by calculating and processing the actor's location information and the stage base station location information;
[0018] Based on the actor's position information and the sound source's position information, a target sound source is determined from at least one actor, and a target output channel is determined from at least one sound source;
[0019] The volume control information is generated by calculating and processing the actor's position information, the sound system's position information, and the stage base station's position information.
[0020] According to some embodiments of this application, the stage base station location information includes left base station location information and right base station location information. The step of calculating and processing the audio-visual value based on the actor's location information and the stage base station location information includes:
[0021] A first distance value is calculated based on the actor's position information and the left base station's position information. The first distance value is used to represent the distance between the actor and the left base station.
[0022] A second distance value is calculated based on the actor's location information and the right base station's location information. The second distance value is used to represent the distance between the actor and the right base station.
[0023] The sound image value is obtained by performing sound image value calculation processing based on the first distance value and the second distance value.
[0024] According to some embodiments of this application, when the stage is an immersive performance stage, the stage base station location information includes the base station location information of four base stations located at the four corners of the stage. The step of calculating and processing the audio-visual value based on the actor's location information and the stage base station location information further includes:
[0025] The stage center point is determined based on the location information of the four base stations, and the stage center point is equidistant from each base station;
[0026] A stage horizontal coordinate system is established with the center point of the stage as the origin. The stage horizontal coordinate system includes a horizontal axis and a vertical axis that are perpendicular to each other.
[0027] Obtain the actor's position information relative to the center of the stage in the stage's horizontal coordinate system;
[0028] The angle value is calculated based on the arctangent function and the actor's position information to obtain the angle between the line connecting the actor's position and the center point of the stage and the direction of the positive half axis of the vertical axis.
[0029] The included angle value is determined to be the acoustic image value.
[0030] According to some embodiments of this application, the step of determining a target sound source from at least one actor and determining a target output channel from the at least one speaker based on the actor's position information and the sound source's position information includes:
[0031] Determine the location information of a locating speaker from the at least one of the speaker location information;
[0032] Based on the actor's location information and the sound positioning information of at least one actor, calculate a third distance value between the actor and the positioning sound.
[0033] The actor with the shortest third distance value is identified as the target sound source for the positioning sound.
[0034] According to some embodiments of this application, the step of determining a target sound source from at least one actor and determining a target output channel from at least one speaker based on the actor's position information and the sound source's position information further includes:
[0035] Determine the actor's location information from the at least one actor's location information;
[0036] Based on the sound location information of at least one sound source and the actor's location information, calculate a fourth distance value between the sound source and the actor.
[0037] The sound with the shortest fourth distance value is identified as the target output channel for the positioned actor.
[0038] The fifth distance value between the speaker and the stage base station is calculated based on the speaker location information and the stage base station location information.
[0039] The sixth distance value between the actor and the stage base station is calculated based on the actor's location information and the stage base station's location information.
[0040] The distance difference between the sound source and the actor is obtained based on the fifth distance value and the sixth distance value;
[0041] The volume control information is generated based on the distance difference. The volume control information is used to control the volume to decrease when the distance difference increases and to control the volume to increase when the distance difference decreases.
[0042] Secondly, embodiments of the present invention also provide an electronic device, the electronic device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the audio control method as described in the first aspect.
[0043] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for performing the audio control method as described in the first aspect. Attached Figure Description
[0044] Figure 1 This is a schematic flowchart of an embodiment of the audio control method provided in this application;
[0045] Figure 2 This is provided in one embodiment of the present application. Figure 2 Flowchart of the specific method for step S120;
[0046] Figure 3 This is provided in one embodiment of the present application. Figure 2 Flowchart of the specific method for step S130;
[0047] Figure 4 This is provided in one embodiment of the present application. Figure 3 Flowchart of the specific method for step S320;
[0048] Figure 5 This is provided by another embodiment of the present application. Figure 3 Flowchart of the specific method for step S320;
[0049] Figure 6 This is a schematic diagram of the structure of the audio control device provided in the embodiments of this application;
[0050] Figure 7 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0052] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0053] This application provides a sound control method, sound control device, electronic device, and computer-readable storage medium. After acquiring actor position information, stage size information, and stage equipment position information, calculations are performed based on the actor position information and stage size information to generate channel opening control information. Then, calculations are performed based on the actor position information and stage equipment position information to determine the sound image value, target sound source, target output channel, and volume control information. Next, sound control instructions are generated based on the channel opening control information, sound image value, target sound source, target output channel, and volume control information. Finally, the stage sound is controlled according to the sound control instructions. According to the solution of this application embodiment, sound control instructions are generated based on the positional relationship between the actor and the stage and stage equipment, causing the sound system to operate according to the instructions, achieving intelligent adjustment of audio output, which is beneficial for presenting a better stage effect and providing a better audiovisual experience for the audience. Therefore, the solution of this application embodiment can adjust the audio output of the sound system according to the positional relationship between the performer and the stage and stage equipment, which is beneficial for presenting a better stage performance effect.
[0054] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0055] Firstly, such as Figure 1 As shown, Figure 1 This is a schematic flowchart of an embodiment of the audio control method provided in this application. The audio control method includes, but is not limited to, steps S110 to S150.
[0056] Step S110: Obtain actor position information, stage size information, and stage equipment position information;
[0057] Step S120: Based on the actor's position information and stage size information, perform positional relationship judgment processing. If the actor is located inside the stage, generate channel opening control information.
[0058] Step S130: Calculate and process the information based on the actor's position and the stage equipment's position to determine the sound image value, target sound source, target output channel, and volume control information;
[0059] Step S140: Generate audio control instructions based on channel opening control information, audio image value, target audio source, target output channel, and volume control information;
[0060] Step S150: Control the stage sound system according to the sound control instructions.
[0061] Through steps S110 to S150 of this application embodiment, during a stage performance, after obtaining actor position information, stage size information, and stage equipment position information, positional relationship judgment processing is performed based on the actor position information and stage size information. If the actor is within the stage, channel opening control information is generated. Then, calculation processing is performed based on the actor position information and stage equipment position information to determine the sound image value, target sound source, target output channel, and volume control information. Next, sound control commands are generated based on the channel opening control information, sound image value, target sound source, target output channel, and volume control information. Finally, the stage sound system is controlled according to the sound control commands. According to the solution of this application embodiment, sound control commands are generated based on the positional relationship between the actor and the stage and stage equipment, enabling the sound system to operate according to the instructions of the sound control commands, achieving intelligent adjustment of audio output, which is beneficial for presenting a better stage effect and providing a better audiovisual experience for the audience. In other words, the solution of this application embodiment can adjust the audio output of the sound system according to the positional relationship between the performer and the stage and stage equipment, which is beneficial for presenting a better stage performance effect.
[0062] It should be noted that at least one actor is involved in the stage performance, and the location information of at least one actor is obtained during the information collection process. Generally, the location information of all actors performing on stage is obtained. Therefore, this application does not impose a specific limit on the number of actor location information pieces obtained; the number can be determined based on the needs of the stage performance.
[0063] It should be noted that achieving a good stage performance requires the collaboration of multiple devices (such as sound systems and stage base stations). Therefore, during the information collection process, it is necessary to obtain the location information of at least one stage device. In this application, the stage device location information to be collected includes the location information of the stage base station and the sound system location information of at least one sound system. Therefore, this application does not impose a specific limit on the number of stage device location information pieces obtained, and the number of sound system location information pieces obtained can be determined based on the actual layout of the base stations, sound systems, and other equipment.
[0064] It is understandable that actors wear various devices during stage performances to facilitate management by backstage staff. When actors wear positioning devices, the sound control system can obtain the actor's location information by collecting data from the devices' ports. Alternatively, radar positioning or infrared positioning devices can also be used to obtain the actor's location information. Therefore, this application does not impose specific restrictions on how the actor's location information is obtained.
[0065] like Figure 2 As shown, Figure 2 This is provided in one embodiment of the present application. Figure 2The flowchart of the specific method for step S120 is shown below. Step S120 includes, but is not limited to, steps S210 to S240.
[0066] Step S210: Obtain the horizontal and vertical lengths of the stage based on the stage dimensions;
[0067] Step S220: Determine the position of the origin point of the coordinate system on the stage;
[0068] Step S230: Based on the position of the origin, the horizontal length of the stage, and the vertical length of the stage, convert the stage to coordinate along the horizontal plane to obtain the horizontal coordinate axis information and the vertical coordinate axis information;
[0069] Step S240: Based on the horizontal coordinate axis information, vertical coordinate axis information and actor position information, perform positional relationship judgment processing, and generate channel opening control information when the actor is located inside the stage.
[0070] Through steps S210 to S240 of this embodiment, firstly, the horizontal and vertical lengths of the stage are obtained based on the stage size information; then, a position point on the stage is selected as the origin coordinate position; next, based on the origin position, the horizontal and vertical lengths of the stage, the stage is converted to coordinates along the horizontal plane to obtain horizontal and vertical coordinate axis information; specifically, the stage is converted to coordinates along the horizontal plane, with the origin coordinate position as the origin, and a horizontal coordinate axis is established on the horizontal plane of the stage along the horizontal direction, the length of which is the horizontal length of the stage; a vertical coordinate axis is established along the vertical direction, the length of which is the vertical length of the stage. The horizontal coordinate axis information includes: the coordinates of the first intersection point of the positive half-axis of the horizontal axis and the stage edge, and the coordinates of the second intersection point of the negative half-axis of the horizontal axis and the stage edge; the vertical coordinate axis information includes: the coordinates of the third intersection point of the positive half-axis of the vertical axis and the stage edge, and the coordinates of the fourth intersection point of the negative half-axis of the vertical axis and the stage edge. The actor's position information in the coordinate system is a coordinate point representing the actor's position on the stage. By comparing the actor's position coordinates with the coordinates of the first, second, third, and fourth intersection points, and determining that the actor is within the stage plane, channel opening control information is generated to open the control channel. By determining the actor's position relative to the stage using the actor's position information and stage dimensions, and confirming that the actor is within the stage plane, the generated channel opening control information is used to open the audio channel, achieving intelligent control of the audio system and reducing errors caused by manual operation.
[0071] For example, the stage is coordinateized with a coordinate point on the stage as the origin of coordinates. An X-axis is established in the horizontal plane of the stage along the transverse direction of the stage, and the length of the X-axis is the transverse length of the stage. A Y-axis is established along the longitudinal direction of the stage, and the length of the Y-axis is the longitudinal length of the stage. The coordinates of the first intersection point of the positive semi-axis of the X-axis and the edge of the stage are (0, Xpb); the coordinates of the second intersection point of the negative semi-axis of the X-axis and the edge of the stage are (-Xpa, 0), the coordinates of the third intersection point of the positive semi-axis of the Y-axis and the edge of the stage are (0, Ypb), and the coordinates of the fourth intersection point of the negative semi-axis of the Y-axis and the edge of the stage are (0, -Ypa). Then, the position information of the actor, that is, the coordinates (Xa, Ya) of the actor, is obtained for comparison and judgment. When -Xpa < Xa < Xpb and -Ypa < Ya < Ypb, it is determined that the actor is located within the stage plane, and then channel opening control information is generated to control the opening of the audio channel.
[0072] It can be understood that regardless of the shape of the stage, it should have a transverse length and a longitudinal length. Based on this, the coordinate origin can be determined according to the specific shape of the stage to establish a stage coordinate system, and the stage coordinate system can be used to determine whether the actor is located on the stage. The method of determining whether the actor is located within the stage plane by establishing a coordinate system is applicable to circular stages, rectangular stages, or stages of other shapes. This application does not make specific limitations on the shape of the stage to be applied. With the diversification of performance forms and the emergence of immersive stage theaters, the two-dimensional coordinate system in this solution can also be extended to a three-dimensional coordinate system, which will not be elaborated here.
[0073] It should be noted that when the first vertical distance is greater than the longitudinal length of the stage or the second vertical distance is greater than the transverse length of the stage, it is determined that the actor is outside the stage plane, and then channel closing control information for controlling the closing of the channel is generated.
[0074] As Figure 3 shown, Figure 3 is the specific method flowchart of step S130 provided by an embodiment of this application. Step S130 includes but is not limited to steps S310 to S330. Figure 2
[0075] Step S310: Perform calculation and processing based on the actor position information and the stage base station position information to obtain the sound image value.
[0076] Step S320: Determine the target sound source from at least one actor and the target output channel from at least one speaker according to the actor position information and the speaker position information.
[0077] Step S330: Perform calculation and processing based on the actor position information, the speaker position information, and the stage base station position information to generate volume control information.
[0078] Through steps S310 to S330 of this application embodiment, sound image values are obtained by calculation and processing using actor position information and stage base station position information. Target sound sources are determined from at least one actor and target output channels are determined from at least one speaker using actor position information and speaker position information. Simultaneously, volume control information is generated by calculation and processing based on actor position information, speaker position information, and stage base station position information. Adjusting the sound image values, target input sources, target output channels, and volume levels by changing actor positions facilitates richer sound image effects and presents better stage effects.
[0079] According to some embodiments of this application, the stage base station includes a left base station located on the left side of the front of the stage and a right base station located on the right side of the front of the stage; that is, the acquired stage base station location information includes the location information of the left base station and the location information of the right base station. Specifically, step S310 includes, but is not limited to: calculating a first distance value based on the actor's location information and the left base station location information, the first distance value representing the distance between the actor and the left base station; calculating a second distance value based on the actor's location information and the right base station location information, the second distance value representing the distance between the actor and the right base station; and then performing audio-visual value calculation processing based on the first distance value and the second distance value to obtain an audio-visual value. The audio-visual value calculation processing involves: adding the first distance value and the second distance value to obtain a distance sum, and dividing the first distance value by the distance sum to obtain the audio-visual value.
[0080] According to some embodiments of this application, when the stage is an immersive performance stage, the stage base station includes four base stations located at the four corners of the stage; that is, the acquired stage base station location information includes the base station location information of the four base stations located at the four corners of the stage. Based on this, step S310 is further described. Step S310 may include, but is not limited to:
[0081] First, the center point of the stage is determined based on the location information of the four base stations, and the distance between the center point of the stage and each base station is equal;
[0082] Then, a horizontal coordinate system is established with the center point of the stage as the origin. The horizontal coordinate system includes a horizontal axis and a vertical axis that are perpendicular to each other.
[0083] Next, obtain the actor's position information relative to the center of the stage in the stage's horizontal coordinate system;
[0084] Then, based on the arctangent function and the actor's position information, the angle value is calculated to obtain the angle between the line connecting the actor's position and the center point of the stage and the direction of the positive half axis of the vertical axis.
[0085] Finally, the included angle value was determined to be the audio-visual value.
[0086] Understandably, after determining the stage center point based on the location information of four base stations, a horizontal coordinate system is established with the stage center point as the origin, consisting of a y-axis and an x-axis (vertical and horizontal axes). The actor's position relative to the stage center is then obtained within this horizontal coordinate system. A circle is drawn with the stage center as the center, passing through any actor's coordinate point, to obtain the line connecting the actor's position to the center. With the positive y-axis as 0 degrees, the angle between the line connecting the actor's position to the center and the positive y-axis is calculated; this angle gives the sound image value when the actor is positioned at that coordinate location on the immersive performance stage. Specifically, in the immersive performance stage, when the actor is located at (Xc, Yc), the sound image angle between the line connecting the actor's position to the stage center and the positive vertical axis is calculated using atan2(Yc, Xc).
[0087] According to some embodiments of this application, the stage base station has a distance measurement function. Therefore, step S330 also includes, but is not limited to: calculating a fifth distance value between the speaker and the stage base station based on the speaker location information and the stage base station location information; calculating a sixth distance value between the actor and the stage base station based on the actor location information and the stage base station location information; obtaining a distance difference between the speaker and the actor based on the fifth and sixth distance values; generating volume control information based on the distance difference, the volume control information being used to control the volume to decrease when the distance difference increases and to control the volume to increase when the distance difference decreases. That is, when the actor approaches the speaker, the volume of the audio output by the speaker is increased through the volume control information; when the actor moves away from the speaker, the volume of the audio output by the speaker is decreased through the volume control information.
[0088] To illustrate with a specific application scenario: When performing on a one-dimensional corridor-shaped stage, and the sound system, actors, and the stage base station used for distance measurement are sequentially located in the same longitudinal direction, calculate the fifth distance value between the sound system and the stage base station, and the sixth distance value between the actors and the stage base station. Subtract the sixth distance value from the fifth distance value to obtain the distance difference between the sound system and the actors. When the actors are closer to the sound system (i.e., farther away from the stage base station), the distance difference decreases, and correspondingly, the volume of the audio output from the sound system is increased; when the actors are farther away from the sound system (i.e., closer to the stage base station), the distance difference increases, and correspondingly, the volume of the audio output from the sound system is decreased.
[0089] Furthermore, when performing on stages of other shapes, the line connecting the stage base station and the sound system is used as the first baseline, and the line connecting the stage base station and the performers is used as the second baseline. By adding sensors, the stage base station can also measure the angle between the first and second baselines. Based on the angle, a fifth distance value, a sixth distance value, and the law of cosines, the distance difference between the sound system and the performers is calculated. Similarly, when the distance difference decreases, the volume of the audio output from the sound system is increased accordingly; when the distance difference increases, the volume of the audio output from the sound system is decreased accordingly. Therefore, the calculation of the distance difference is not limited by the location of the base station, the sound system, or the performers. It is understandable that the same stage base station is used for distance measurement.
[0090] like Figure 4 As shown, Figure 4 This is provided in one embodiment of the present application. Figure 3 The flowchart of the specific method for step S320 is shown below. Step S320 includes, but is not limited to, steps S410 to S430.
[0091] Step S410: Determine the location information of a location speaker from at least one speaker location information;
[0092] Step S420: Calculate the third distance value between the actor and the positioning sound based on the actor's position information and the sound positioning information of at least one actor;
[0093] Step S430: Identify the actor with the shortest third distance value as the target sound source for the positioning sound.
[0094] Through steps S410 to S430 of this application embodiment, during a stage performance, there is generally at least one speaker and at least one actor on stage. First, the speaker location information of a positioning speaker is determined from the speaker location information of at least one speaker. Then, based on the actor location information and the speaker location information of at least one actor, a third distance value between the actor and the positioning speaker is calculated. The actor with the shortest third distance value is selected as the target sound source for the positioning speaker. Based on the selected target sound source, the corresponding positioning speaker is controlled to play the actor's voice or related sound effects, presenting a better stage performance effect to the audience.
[0095] It is understood that this application does not impose specific restrictions on the selection of positioning speakers. In the case of multiple speakers, all speakers can be used as positioning speakers to determine the target sound source for each speaker.
[0096] like Figure 5 As shown, Figure 5 This is provided by another embodiment of the present application. Figure 3The flowchart of the specific method for step S320 is shown. Step S320 also includes, but is not limited to, steps S510 to S530.
[0097] Step S510: Determine the actor location information of a locating actor from at least one actor location information;
[0098] Step S520: Calculate the fourth distance value between the sound source and the actor based on the sound source location information and the actor's location information;
[0099] Step S530: The speaker with the shortest fourth distance value is identified as the target output channel for locating the actor.
[0100] Through steps S510 to S530 of this application embodiment, during a stage performance, there is generally at least one speaker and at least one actor on stage. First, the actor positioning information of a location actor is determined from the position information of at least one actor; then, based on the speaker position information and the actor positioning information, a fourth distance value between the speaker and the location actor is calculated, and the speaker with the shortest fourth distance value is selected as the target output channel, which is beneficial for presenting a better stage effect and providing the audience with a better audiovisual experience.
[0101] It is understandable that this application does not impose specific restrictions on the selected positioning actors. In the case of multiple actors, all actors can be traversed as positioning actors, and a target output channel can be determined for each actor.
[0102] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0103] In addition, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of the audio control device provided in the embodiment of this application. The audio control device 600 includes: an information acquisition module 610, a position relationship judgment module 620, a calculation and processing module 630, an audio control command generation module 640, and an audio control module 650.
[0104] Among them, the information acquisition module 610 is used to acquire actor position information, stage size information and stage equipment position information;
[0105] The position relationship judgment module 620 is used to perform position relationship judgment processing based on actor position information and stage size information, and generate channel opening control information when the actor is inside the stage;
[0106] The calculation and processing module 630 is used to perform calculations based on the actor's position information and the stage equipment's position information to determine the sound image value, target sound source, target output channel, and volume control information.
[0107] The audio control command generation module 640 is used to generate audio control commands based on channel opening control information, sound image value, target sound source, target output channel and volume control information;
[0108] The audio control module 650 is used to control the stage audio system according to audio control commands.
[0109] According to the scheme of this application embodiment, after the sound control device 600 acquires actor position information, stage size information, and stage equipment position information using the information acquisition module 610, it uses the position relationship judgment module 620 to perform position relationship judgment processing based on the actor position information and stage size information. If the actor is located within the stage, it generates channel opening control information. The calculation processing module 630 performs calculation processing based on the actor position information and stage equipment position information to determine the sound image value, target sound source, target output channel, and volume control information. Next, the sound control command generation module 640 generates sound control commands based on the channel opening control information, sound image value, target sound source, target output channel, and volume control information. Finally, the sound control module 650 controls the stage sound system according to the sound control commands. According to the scheme of this application embodiment, the sound control device 600 generates sound control commands based on the positional relationship between the actor, the stage, and the stage equipment, enabling the sound system to operate according to the instructions of the sound control commands, achieving intelligent control of audio output, which is beneficial for presenting better stage effects and providing a better audiovisual experience for the audience. In other words, the sound control device in this application embodiment can adjust the audio output of the sound according to the positional relationship between the performer and the stage and stage equipment, which is conducive to presenting a better stage performance effect.
[0110] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art will know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0111] It should be noted that since the audio control device of this embodiment can implement the audio control method of any of the preceding embodiments, the audio control device of this embodiment has the same technical principle and the same technical effect as the audio control method of any of the preceding embodiments. In order to avoid repetition and redundancy, it will not be described again here.
[0112] Secondly, such as Figure 7 As shown, Figure 7This is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application. The electronic device 700 includes a memory 720 and a processor 710. The memory 720 stores a computer program, and the processor 710 executes the computer program to implement the above-described audio control method. The electronic device 700 can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0113] The processor 710 and memory 720 can be connected via a bus or other means.
[0114] The processor 710 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0115] The memory 720 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 720 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 720 and is called and executed by the processor 710 to execute the audio control method of the embodiments of this application, for example, executing the above-described... Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5 The methods and steps in the text.
[0116] The memory 720, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0117] The device or system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0118] Thirdly, an embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions that are executed by a processor or controller, for example, by a processor in the above-described device embodiment, causing the processor to perform the audio control method in the above-described embodiment, for example, performing the above-described... Figure 1 , Figure 2 , Figure 3 , Figure 4 and Figure 5 The methods and steps in the text.
[0119] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0120] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined in this application.
Claims
1. A sound control method, characterized in that, The audio control method includes: The system acquires actor location information, stage size information, and stage equipment location information, wherein the stage equipment location information includes the location information of at least one speaker and the location information of at least two stage base stations. Obtain the horizontal and vertical lengths of the stage based on the stage dimensions; Determine the position of the origin point on the stage; Based on the coordinate origin position, the stage's horizontal length, and the stage's vertical length, the stage is converted into coordinates along the horizontal plane to obtain horizontal and vertical coordinate axis information. Based on the horizontal coordinate axis information, the vertical coordinate axis information, and the actor's position information, positional relationship judgment processing is performed, and when the actor is located inside the stage, channel opening control information is generated; Based on the actor's position information and the stage equipment's position information, calculations are performed to determine the sound image value, target sound source, target output channel, and volume control information. A sound control command is generated based on the channel opening control information, the sound image value, the target sound source, the target output channel, and the volume control information; Control the stage sound system according to the sound control commands.
2. The audio control method according to claim 1, characterized in that, The stage equipment location information includes stage base station location information and at least one speaker location information. The step of calculating and processing based on the actor location information and the stage equipment location information to determine the sound image value, target sound source, target output channel, and volume control information includes: The sound image value is obtained by calculating and processing the actor's location information and the stage base station location information; Based on the actor's position information and the sound source's position information, a target sound source is determined from at least one actor, and a target output channel is determined from at least one sound source; The volume control information is generated by calculating and processing the actor's position information, the sound system's position information, and the stage base station's position information.
3. The audio control method according to claim 2, characterized in that, The stage base station location information includes left base station location information and right base station location information. The calculation and processing based on the actor's location information and the stage base station location information to obtain the audio-visual value includes: A first distance value is calculated based on the actor's position information and the left base station's position information. The first distance value is used to represent the distance between the actor and the left base station. A second distance value is calculated based on the actor's location information and the right base station's location information. The second distance value is used to represent the distance between the actor and the right base station. The sound image value is obtained by performing sound image value calculation processing based on the first distance value and the second distance value.
4. The audio control method according to claim 2, characterized in that, When the stage is an immersive performance stage, the stage base station location information includes the base station location information of four base stations located at the four corners of the stage. The step of calculating and processing the audio-visual value based on the actor's location information and the stage base station location information also includes: The stage center point is determined based on the location information of the four base stations, and the stage center point is equidistant from each base station; A stage horizontal coordinate system is established with the center point of the stage as the origin. The stage horizontal coordinate system includes a horizontal axis and a vertical axis that are perpendicular to each other. Obtain the actor's position information relative to the center of the stage in the stage's horizontal coordinate system; The angle value is calculated based on the arctangent function and the actor's position information to obtain the angle between the line connecting the actor's position and the center point of the stage and the direction of the positive half axis of the vertical axis. The included angle value is determined to be the acoustic image value.
5. The audio control method according to claim 2, characterized in that, The step of determining the target sound source from at least one actor and the target output channel from at least one speaker based on the actor's position information and the speaker's position information includes: Determine the location information of a locating speaker from the at least one of the speaker location information; Based on the actor's location information and the sound positioning information of at least one actor, calculate a third distance value between the actor and the positioning sound. The actor with the shortest third distance value is identified as the target sound source for the positioning sound.
6. The audio control method according to claim 2, characterized in that, The step of determining the target sound source from at least one actor and the target output channel from at least one speaker based on the actor's position information and the speaker's position information further includes: Determine the actor's location information from the at least one actor's location information; Based on the sound location information of at least one sound source and the actor's location information, calculate a fourth distance value between the sound source and the actor. The sound with the shortest fourth distance value is identified as the target output channel for the positioned actor.
7. The audio control method according to claim 2, characterized in that, The step of calculating and processing the volume control information based on the actor's position information, the sound system's position information, and the stage base station's position information includes: The fifth distance value between the speaker and the stage base station is calculated based on the speaker location information and the stage base station location information. The sixth distance value between the actor and the stage base station is calculated based on the actor's location information and the stage base station's location information. The distance difference between the sound source and the actor is obtained based on the fifth distance value and the sixth distance value; The volume control information is generated based on the distance difference. The volume control information is used to control the volume to decrease when the distance difference increases and to control the volume to increase when the distance difference decreases.
8. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the audio control method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the audio control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Sound image localizing system
JP1998126900A