[go: up one dir, main page]

CN117319887A - Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment - Google Patents

Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment Download PDF

Info

Publication number
CN117319887A
CN117319887A CN202311213975.8A CN202311213975A CN117319887A CN 117319887 A CN117319887 A CN 117319887A CN 202311213975 A CN202311213975 A CN 202311213975A CN 117319887 A CN117319887 A CN 117319887A
Authority
CN
China
Prior art keywords
sound
audio
output
channel
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311213975.8A
Other languages
Chinese (zh)
Inventor
胡传灯
张现利
刘翔宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huanbo Technology Co ltd
Guangdong Huanbo New Materials Co ltd
Original Assignee
Shenzhen Huanbo Technology Co ltd
Guangdong Huanbo New Materials 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 Shenzhen Huanbo Technology Co ltd, Guangdong Huanbo New Materials Co ltd filed Critical Shenzhen Huanbo Technology Co ltd
Priority to CN202311213975.8A priority Critical patent/CN117319887A/en
Publication of CN117319887A publication Critical patent/CN117319887A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)

Abstract

The application discloses a method, a device, equipment and a readable storage medium for controlling audio of a sound, wherein the method comprises the following steps: acquiring an audio input signal and acquiring the relative position of a sound to be controlled and related personnel; determining an output channel in the sound to be controlled according to the relative position and the audio input signal; determining an independent control channel to be used in the sound to be controlled according to the output channel; and correspondingly adjusting the audio output parameters of each channel according to the sound channels and the relative positions, and controlling the output audio effect of each channel according to the adjusted audio output parameters. The method and the device realize that the channels in the sound to be controlled are flexibly selected and controlled by acquiring the audio input signals and the relative positions of the sound to be controlled and related personnel, and correspondingly adjust the audio output parameters of the channels, so that the output audio effect is ensured.

Description

Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment
Technical Field
The present disclosure relates to the field of audio control technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for controlling audio of a sound device.
Background
With the improvement of living standard of people, the requirements of people on playing effects of sound equipment are improved to a certain extent, for example, dynamic playing of sound equipment or multi-channel playing effects of sound equipment are improved.
The dynamic playing of the sound, the multi-channel playing effect of the sound, and the like are generally controlled by controlling the beam forming effect of the loudspeaker so as to realize the control effect of the playing effect of the sound.
However, the audio control effect of the existing stereo is limited by the distribution positions of the stereo and the number of speakers arranged, and even if the directional control is performed on the playing sound effect of the stereo by a beam forming control method, the omnidirectional regulation in multiple directions still cannot be achieved, and meanwhile, the situation that the sound effect of stereo is poor exists.
Disclosure of Invention
In view of this, the present application provides a method, apparatus, device and readable storage medium for controlling audio of a sound device, which aims to improve the audio playing effect of the sound device.
In order to achieve the above object, the present application provides an acoustic audio control method, including the steps of:
acquiring an audio input signal and acquiring the relative position of a sound to be controlled and related personnel;
determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
determining an independent control channel to be used in the sound to be controlled according to the output channel;
and correspondingly adjusting the audio output parameters of each channel according to the sound channels and the relative positions, and controlling the output audio effect of each channel according to the adjusted audio output parameters.
The audio to be controlled includes a master audio and a slave audio, and the step of determining an output channel in the audio to be controlled according to the relative position and the audio input signal includes:
if the audio output requirement in the audio input signal is multi-sound cascade output, determining master sound and slave sound involved in realizing the multi-sound cascade output according to the relative position;
and determining layout positions of the master sound and the right sound respectively, and determining output channels of the master sound and the slave sound according to the layout positions and the audio input signals.
Illustratively, the step of determining output channels of the master sound and the slave sound includes:
when the master sound and the slave sound are determined, forwarding the audio input signal to the slave sound through the master sound in a cascade control mode, and respectively determining output channels of the master sound and the slave sound; wherein, the output sound channel of the main sound is preferentially determined;
if the multi-stage slave sound is present, the last-stage slave sound is regarded as the last-stage master sound which forwards the audio input signal to the next-stage slave sound.
The audio to be controlled may include a mono audio, and the determining the output channel in the audio to be controlled according to the relative position and the audio input signal includes:
if the audio output requirement is single-sound stereo output, determining single-control sound involved in realizing the multi-sound cascade output;
and determining the audio output direction of the single-control sound according to the audio input signal and the relative position, and determining the output channel of the single-control sound according to the audio output direction.
Illustratively, the step of determining the independently controlled channels to be used in the sound to be controlled according to the output channels includes:
when the sound to be controlled is the single-control sound and the audio output requirement is single-sound three-dimensional output, determining the distribution condition of channels of the single-control sound;
and dividing the output sound channel into a left sound channel and a right sound channel according to the distribution condition, and determining independent control channels to be used in the sound to be controlled according to the left sound channel and the right sound channel.
The step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position when the sound to be controlled includes a master sound and a slave sound includes:
determining a first linear distance between the related person and the master sound box and a second linear distance between the related person and the slave sound box according to the relative position;
according to the first linear distance and the second linear distance, calculating a volume difference value of the volume of each channel when the volume of each channel outputs audio reaches the relevant person;
and adjusting the volume of the master sound and the slave sound when outputting audio according to the difference value.
The step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position when the sound to be controlled includes a master sound and a slave sound includes:
determining the sound source direction of each channel when outputting audio according to the sound channel and the relative position;
according to the sound source direction, determining the audio phase of each channel of the master sound and the slave sound when outputting audio in a beam forming mode, and respectively adjusting the audio phase difference value of each channel of the master sound and the slave sound;
and correspondingly adjusting the audio phase in a mode of overlapping the audio phase amplitude according to the audio phase difference value.
For the purpose of achieving the above object, the present application further provides an acoustic audio control device, which includes:
the acquisition module is used for acquiring an audio input signal and acquiring the relative position of the sound to be controlled and related personnel;
the first determining module is used for determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
the second determining module is used for determining an independent control channel to be used in the sound to be controlled according to the output channel;
and the control module is used for correspondingly adjusting the audio output parameters of the channels according to the sound channels and the relative positions, and controlling the output audio effect of the channels according to the adjusted audio output parameters.
For the purpose of achieving the above object, the present application also provides an acoustic audio control device, including: a memory, a processor, and an audio control program stored on the memory and executable on the processor, the audio control program configured to implement the steps of the audio control method as described above.
For example, to achieve the above object, the present application further provides a computer-readable storage medium having stored thereon an acoustic audio control program which, when executed by a processor, implements the steps of the acoustic audio control method as described above.
Compared with the situation that in the related art, the audio control effect of the sound is limited by the distribution positions of the sound and the number of the arranged loudspeakers, omnidirectional regulation and control in multiple directions still cannot be achieved, and meanwhile, the stereo sound effect is poor, in the method, the relative positions of the sound to be controlled and related personnel are obtained by obtaining the audio input signals; determining an output channel in the sound to be controlled according to the relative position and the audio input signal; determining an independent control channel to be used in the sound to be controlled according to the output channel; according to the sound channels and the relative positions, the audio output parameters of all channels are correspondingly adjusted, and the output audio effect of all channels is controlled according to the adjusted audio output parameters, namely, when an audio input signal is acquired, the relative positions of the sound to be controlled and related persons are synchronously acquired, and when the sound to be controlled is controlled according to the audio input signal, the relative positions are respectively adjusted by integrating the relative positions, and the independently controlled channels on the sound to be controlled are respectively adjusted in a mode of adjusting the audio output parameters of the channels, so that the sound to be controlled outputs the output audio effect, namely, on one hand, the relative positions are combined, on the other hand, a plurality of independently controlled channels are comprehensively called, and the situation that the original playing sound effect of the sound is directionally controlled by a beam forming control method is avoided, and the omni-directional control of a plurality of directions still cannot be achieved is avoided, so that the effect of directly controlling the independent channels of the sound is converted, and therefore the audio effect of controlling the output audio is improved.
Drawings
Fig. 1 is a schematic flow chart of a first embodiment of an audio control method of the present application;
fig. 2 is a schematic structural diagram of an omni-directional sound device according to the sound audio control method of the present application;
FIG. 3 is a schematic diagram of the relative positions of a sound and a person associated with the sound audio control method of the present application;
fig. 4 is a schematic diagram of a cascade data transmission flow of the audio control method of the present application;
fig. 5 is a schematic structural diagram of a hardware running environment according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of an audio control method of the present application.
The present embodiments provide embodiments of an audio control method, and it should be noted that although a logic sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein. For convenience of description, each step of executing the subject description audio control method is omitted below, the audio control method including:
step S110: acquiring an audio input signal and acquiring the relative position of a sound to be controlled and related personnel;
the audio input signal comprises a cascade input signal and a signal source input signal, wherein the cascade input is to input a control signal and a signal source signal to corresponding sound equipment at the same time, the signal source input signal is to input the control signal and the signal source signal to the corresponding sound equipment respectively, and the signal source signal is usually a stereo signal.
The audio input signal is suitable for different control scenes, wherein the control scenes are multi-sound control scenes or single-control sound control scenes.
The sound to be controlled comprises a single control sound or a plurality of sounds, namely, under a control scene, only one sound can be independently controlled, and the plurality of sounds can be simultaneously controlled.
Wherein the sound is an omni-sound, and a plurality of individually controlled channels can be arranged on the sound, and meanwhile, the omni-sound can be spherical, and specific reference can be made to fig. 2.
The circular portions in fig. 2 are each independently controlled speakers of the sound, each of which may serve as a channel.
The relative position is the positional relationship between the sound to be controlled and the related person, and the sound to be controlled is exemplified as a plurality of sound, and fig. 3 may be specifically referred to.
As can be seen from fig. 3, the relative positions affect the audio output effect of each sound source propagating to the relevant person.
Step S120: determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
according to the relative position and the audio source signal in the audio input signal, the output channel of the sound to be controlled needs to be planned and controlled, for example, if the audio source signal is stereo, the left channel and the right channel need to be correspondingly divided, for example, according to the relative position, the relevant person is on the left side of sound a and on the right side of sound B, therefore, sound a needs to be used as the left channel, sound B needs to be used as the right channel, and similarly, if only one sound is provided, the coverage range of the left channel and the right channel of the sound needs to be adjusted according to the relative position, for example, according to the relative position, the shortest straight line from the sound to the relevant person is used as the center line, and the sound is divided into the left side and the right side.
The audio to be controlled includes a master audio and a slave audio, and the step of determining an output channel in the audio to be controlled according to the relative position and the audio input signal includes:
step a: if the audio output requirement in the audio input signal is multi-sound cascade output, determining master sound and slave sound involved in realizing the multi-sound cascade output according to the relative position;
the audio output requirement in the audio input signal is multi-sound cascade output, so that a plurality of sounds need to be synchronously mobilized to output audio together at the moment, and the output audio effect of the plurality of sounds needs to be integrally regulated.
Meanwhile, according to the characteristics of multi-sound cascade output, a master-slave relation among sounds needs to be established, namely a plurality of sounds to be controlled need to be divided and respectively defined as a master sound and a slave sound, and related parameters when the sounds are output from the master sound and the slave sound can be respectively adjusted.
Step b: and determining layout positions of the master sound and the right sound respectively, and determining output channels of the master sound and the slave sound according to the layout positions and the audio input signals.
The layout positions of the master sound and the slave sound are respectively determined, on one hand, the layout positions are integrated, the relevant parameters to be adjusted of the master sound and the slave sound are respectively determined, and on the other hand, according to the layout positions, which sound is specifically required to be adjusted is determined.
By way of example, according to the layout position, the distance and the relative position angle between the master sound and the slave sound and the related person can be known, so that the sound closest to the related person in the master sound and the slave sound can be further determined, and used as the fixed sound, only the rest of the sound can be adjusted, so as to reduce the number of the adjusted sound.
Illustratively, the step of determining output channels of the master sound and the slave sound includes:
step c: when the master sound and the slave sound are determined, forwarding the audio input signal to the slave sound through the master sound in a cascade control mode, and respectively determining output channels of the master sound and the slave sound; wherein, the output sound channel of the main sound is preferentially determined;
step d: if the multi-stage slave sound is present, the last-stage slave sound is regarded as the last-stage master sound which forwards the audio input signal to the next-stage slave sound.
When determining a master sound and a slave sound to be controlled, the audio input signal needs to be transmitted and controlled in a cascade control mode, wherein the audio input signal needs to be input to the master sound and forwarded to the slave sound from the master sound according to the characteristic of cascade control, if the slave sound needs to be sequentially provided with a plurality of slave sounds, the plurality of sounds need to be integrally sequenced, the sequencing process can be sequenced according to different models of sound equipment or can be randomly sequenced, the last-stage sound in each audio input signal forwarding process is used as the master sound, the next-stage sound is used as the slave sound, meanwhile, the next-stage slave sound can also be used as the master sound, the audio input signal is forwarded to the next-stage slave sound corresponding to the master sound, and the specific flow can be refer to fig. 4.
The audio to be controlled may include a mono audio, and the determining the output channel in the audio to be controlled according to the relative position and the audio input signal includes:
step e: if the audio output requirement is single-sound stereo output, determining single-control sound involved in realizing the multi-sound cascade output;
when the audio output requirement is single-sound stereo output, the sound to be controlled and the output channel of the sound to be controlled need to be determined, and in the process of determining the output channel, the conditions of relative position and audio input signals need to be combined.
Step f: and determining the audio output direction of the single-control sound according to the audio input signal and the relative position, and determining the output channel of the single-control sound according to the audio output direction.
In general, the audio input signal may be stereo, or dynamic surround sound (which may be regarded as a stereo channel with continuously switched directions), and thus, determination and selection of an output channel of the sound to be controlled are required, where when the sound to be controlled is a mono sound, the output channel selection of the mono sound is different from the output channels of a plurality of sounds, but the principle is the same, and it is required to ensure the direction in which the sound outputs the audio.
In the process of determining the channels, the number of speakers (channels) actually set on the mono-controlled sound and the directions of the channels can be combined to determine the output channels, for example, the mono-controlled sound is in a square-like structure, and only the speakers are arranged on two opposite sides of the square structure, so that the output channels with different positions can be arranged on the two opposite sides.
Step S130: determining an independent control channel to be used in the sound to be controlled according to the output channel;
and determining an independent control channel to be used in the sound to be controlled according to the output channel, wherein the channel is each loudspeaker on the sound, and each loudspeaker can independently output audio outwards or synthesize a plurality of loudspeakers to output audio outwards, so that the effect of independent control is realized.
When determining the channel to be used, two situations are needed, namely, a control scene of a plurality of sounds on one hand and a control scene of a single-control sound on the other hand.
In the control scene of a plurality of sound equipment, corresponding channels can be selected according to the effect (volume, audio output direction and the like) of actual demand control.
For example, in a control scenario of a plurality of sounds, corresponding channels are selected for control according to distance conditions and angle conditions between each sound and related personnel, that is, in a current scenario, all channels of each sound may be selected, or part of channels of each sound may be selected, so as to synthesize final output audio effects of each channel to determine the condition of the selected channel.
The difficulty of outputting the audio after channel integration can be reduced by reducing the number of the selected channels, or the output effect of outputting the audio after channel integration can be increased by increasing the number of the selected channels.
For example, in the control scenario of the single-control sound, the actual device structure of the single-control sound and the relative positions of the sound and related personnel are required, so that part or all of channels are selected, and the method for selecting the channels is the same as the method for selecting the channels in the control scenario of the plurality of sound, and is not repeated herein.
In summary, in the control scene of the single-control sound, the cascade control method can be added, that is, in the scene of originally using only the single-control sound, other sound (additional channels) are additionally added, so that the effect of outputting the audio is improved.
Hereinafter, a case where the sound to be controlled is a single-control sound will be described in detail as an example.
Illustratively, the step of determining the independently controlled channels to be used in the sound to be controlled according to the output channels includes:
step g: when the sound to be controlled is the single-control sound and the audio output requirement is single-sound three-dimensional output, determining the distribution condition of channels of the single-control sound;
when the sound to be controlled is the single-control sound and the audio output requirement is single-sound stereo output, the distribution condition of the channels of the single-control sound needs to be determined first.
The distribution situation specifically includes the number of channels set on the single-control sound, the directions of the channels and the relative positions of the channels, and the situation of the relative positions of the channels and the coordinate system can be determined by presetting a point on the single-control sound and using the point as a reference point to establish the coordinate system, and the relative positions and the relative distances between the channels and the reference point and the direction angle between the channels and the coordinate system.
Step h: and dividing the output sound channel into a left sound channel and a right sound channel according to the distribution condition, and determining independent control channels to be used in the sound to be controlled according to the left sound channel and the right sound channel.
According to the distribution situation, the output channel can be divided into a left channel and a right channel, so that the channel which is required to be controlled currently is further determined according to the left channel and the right channel.
The direction of outputting the audio and the effect of outputting the audio can be determined according to the distribution of the channels of the sound, for example, the channels are arranged on the front side and the rear side, the front channel is more suitable for outputting the audio to the front side, the rear channel is more practical for outputting the audio to the front side, but the propagation direction of the sound is not fixed, the sound can be influenced by the obstacle to generate echo, the sound source can be used as an origin to generate diffusion to the periphery, namely, when the front side and the rear side channels are arranged on the sound, the channels on the two sides can generate the influence of certain audio sound waves.
Therefore, when dividing the left channel and the right channel, the influence between the distribution situation and the channels needs to be combined to divide, for example, the number and the positions of the channels to be used are comprehensively considered, so that the influence relationship between the channels is determined, and the left channel and the right channel are divided according to the direction of the channels, that is, the influence between the structure of the sound and the output audio sound wave of the channels is comprehensively considered, and the channel range is further determined, so that the channels to be used with independent control can be determined.
Step S140: and correspondingly adjusting the audio output parameters of each channel according to the sound channels and the relative positions, and controlling the output audio effect of each channel according to the adjusted audio output parameters.
And correspondingly adjusting the audio output parameters of each channel according to the sound channels and the relative positions, and controlling the output audio effect of each channel according to the adjusted audio output parameters.
The channels are independently controlled, and the audio output parameters are changed, so that the effect of the sound on the external output audio can be changed, and therefore, the audio output parameters of the channels are further adjusted according to the channels and the relative positions, and the effect of controlling the audio output is realized.
The audio control parameter is a parameter related to an effect of audio output by the audio, for example, a volume of the output audio, a phase condition of sound waves of the output audio, a time delay condition of the output audio (for example, one channel outputs the audio first, and the other channel outputs the audio later, so as to achieve a stereo effect), and the like, which affect the effect of the audio when the audio is output to the outside.
That is, each time, the audio output parameters of the sound equipment need to be adjusted for different control scenes, and the effect of adapting the sound equipment to different control scenes is realized by adjusting the effect of the independently controlled channels.
Compared with the situation that in the related art, the audio control effect of the sound is limited by the distribution positions of the sound and the number of the arranged loudspeakers, omnidirectional regulation and control in multiple directions still cannot be achieved, and meanwhile, the stereo sound effect is poor, in the method, the relative positions of the sound to be controlled and related personnel are obtained by obtaining the audio input signals; determining an output channel in the sound to be controlled according to the relative position and the audio input signal; determining an independent control channel to be used in the sound to be controlled according to the output channel; according to the sound channels and the relative positions, the audio output parameters of all channels are correspondingly adjusted, and the output audio effect of all channels is controlled according to the adjusted audio output parameters, namely, when an audio input signal is acquired, the relative positions of the sound to be controlled and related persons are synchronously acquired, and when the sound to be controlled is controlled according to the audio input signal, the relative positions are respectively adjusted by integrating the relative positions, and the independently controlled channels on the sound to be controlled are respectively adjusted in a mode of adjusting the audio output parameters of the channels, so that the sound to be controlled outputs the output audio effect, namely, on one hand, the relative positions are combined, on the other hand, a plurality of independently controlled channels are comprehensively called, and the situation that the original playing sound effect of the sound is directionally controlled by a beam forming control method is avoided, and the omni-directional control of a plurality of directions still cannot be achieved is avoided, so that the effect of directly controlling the independent channels of the sound is converted, and therefore the audio effect of controlling the output audio is improved.
Exemplary, based on the first embodiment of the audio control method of the present application, a second embodiment is provided, where the method further includes:
when the sound to be controlled comprises a master sound and a slave sound, the step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position comprises the following steps:
step i: determining a first linear distance between the related person and the master sound box and a second linear distance between the related person and the slave sound box according to the relative position;
according to the relative position, a first linear distance between a relevant person and a master sound box and a second linear distance between the relevant person and a slave sound box are determined, wherein the relevant person is a user or a tester using the sound box, namely the relevant person uses the sound box, the output audio effect of the sound box is improved, and the effect of improving the hearing enjoyment of the relevant person (user) is also achieved.
The length of the first linear distance and the second linear distance affects the effect of transmitting the audio sound wave to the related person, so that after the first linear distance and the second linear distance are obtained, the audio output parameters of the sound equipment need to be adjusted.
Step j: according to the first linear distance and the second linear distance, calculating a volume difference value of the volume of each channel when the volume of each channel outputs audio reaches the relevant person;
step k: and adjusting the volume of the master sound and the slave sound when outputting audio according to the difference value.
According to the first linear distance and the second linear distance, the position of the sound equipment can be calculated, when the audio is output to the relevant person, the attenuation condition of the audio can be calculated, and the difference value of the volume of the audio output by each channel when the audio reaches the relevant person can be calculated, so that the volume of the output audio of the sound equipment can be adaptively adjusted according to the difference value, for example, the volume of the output audio of the sound equipment A is 10 when the audio of the output audio of the sound equipment A reaches the relevant person, the volume of the output audio of the sound equipment B is 20 when the audio of the output audio of the sound equipment B reaches the relevant person, and the dynamic adjustment of the output volume of the sound equipment can be realized by increasing the output volume of the sound equipment A or reducing the output volume of the sound equipment B.
The step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position when the sound to be controlled includes a master sound and a slave sound includes:
step l: determining the sound source direction of each channel when outputting audio according to the sound channel and the relative position;
the output audio parameters comprise the audio phase of the output audio besides the volume, the audio phase overlapping can increase the audio output effect, and if the audio phase conflict can cause the cancellation of the audio sound waves, the audio output effect is affected.
Before adjusting the audio phase, the direction of the sound source when outputting the audio needs to be determined, and after the directions of the sound sources of different channels are determined, the directions of the sound sources can be synthesized, so that the audio phase of the sound equipment can be adjusted.
Step m: according to the sound source direction, determining the audio phase of each channel of the master sound and the slave sound when outputting audio in a beam forming mode, and respectively adjusting the audio phase difference value of each channel of the master sound and the slave sound;
according to the direction of the sound source, the audio phase of each channel when the main sound and the slave sound output the audio can be determined by a beam forming mode and adjusted, for example, the sound has audio output channels in a plurality of directions, and certain audio sound wave influence exists among the channels, therefore, the audio output of part of channels is required to be delayed, and the audio phase superposition of the output audio of different channels is controlled, so that the audio output effect is increased.
In this embodiment, the audio output of the spherical sound is controlled by mainly performing beam forming on each channel of the spherical surface, that is, the audio phase between the spherical speakers is realized.
The audio phase difference of each channel is mainly caused by different directions of the external output audio of each channel and different intensities of the output audio in each direction, so that the condition of synthesizing the output audio of each channel is needed to be adjusted.
Step n: and correspondingly adjusting the audio phase in a mode of overlapping the audio phase amplitude according to the audio phase difference value.
According to the audio phase difference value, the audio phase of the output audio of each channel can be correspondingly adjusted according to the mode of overlapping the audio phase amplitude values, and the effect of the output audio of the audio can be further enhanced.
In this embodiment, according to the channels and the relative positions, the audio output parameters of the channels are correspondingly adjusted, and the volumes of the master audio and the slave audio and the audio phase of the output audio are respectively adjusted, that is, the output direction, the output intensity and the output phase of the output audio of the channels are comprehensively adjusted, so that the parameters of the output audio of the original channel are changed, the effect that the audio is intensively output to related personnel is further achieved, that is, the effect of the output audio of the audio is improved.
In addition, the present application also provides an audio control device, an audio control device includes:
the acquisition module is used for acquiring an audio input signal and acquiring the relative position of the sound to be controlled and related personnel;
the first determining module is used for determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
the second determining module is used for determining an independent control channel to be used in the sound to be controlled according to the output channel;
and the control module is used for correspondingly adjusting the audio output parameters of the channels according to the sound channels and the relative positions, and controlling the output audio effect of the channels according to the adjusted audio output parameters.
Illustratively, the first determining module includes:
the first determining submodule is used for determining master sound and slave sound involved in realizing multi-sound cascade output according to the relative positions if the audio output requirement in the audio input signal is multi-sound cascade output;
a second determining submodule, configured to determine layout positions of the master sound and the right sound, and determine output channels of the master sound and the slave sound according to the layout positions and the audio input signals;
a third determining submodule, configured to determine a single-control sound involved in implementing the multi-sound cascade output if the audio output requirement is a single-sound stereo output;
and the fourth determining submodule is used for determining the audio output direction of the single-control sound according to the audio input signal and the relative position and determining the output sound channel of the single-control sound according to the audio output direction.
Illustratively, the second determining submodule includes:
a first determining unit configured to forward, in a cascade control manner, the audio input signal to the slave sound through the master sound and determine output channels of the master sound and the slave sound, respectively, when determining the master sound and the slave sound; wherein, the output sound channel of the main sound is preferentially determined;
and the second determining unit is used for forwarding the audio input signal to the primary sound of the next secondary sound as the primary sound of the previous secondary sound if the multi-stage secondary sound exists.
Illustratively, the fourth determination submodule includes:
the third determining subunit is configured to determine a distribution situation of channels of the single-control sound when the sound to be controlled is the single-control sound and the audio output requirement is single-sound stereo output;
and the fourth determining subunit is used for dividing the output channel into a left channel and a right channel according to the distribution condition, and determining an independent control channel to be used in the sound to be controlled according to the left channel and the right channel.
Illustratively, the control module includes:
a fifth determining submodule, configured to determine a first linear distance between the relevant person and the master sound equipment and determine a second linear distance between the relevant person and the slave sound equipment according to the relative position;
the calculating sub-module is used for calculating the volume difference value of the volume of each channel when the volume of each channel outputs audio reaches the relevant person according to the first linear distance and the second linear distance;
the first adjusting submodule is used for adjusting the volume of the master sound equipment and the volume of the slave sound equipment when the master sound equipment and the slave sound equipment output audio according to the difference value;
a sixth determining submodule, configured to determine a sound source direction of each channel when outputting audio according to the channel and the relative position;
a seventh determining submodule, configured to determine, according to the sound source direction, an audio phase of each channel of the master sound and the slave sound when outputting audio in a beam forming manner, and adjust audio phase difference values of each channel of the master sound and the slave sound respectively;
and the second adjusting sub-module is used for correspondingly adjusting the audio phase in a mode of overlapping the audio phase amplitude according to the audio phase difference value.
The specific implementation manner of the audio control device is basically the same as that of each embodiment of the audio control method, and is not repeated here.
In addition, the application also provides an audio control device. As shown in fig. 5, fig. 5 is a schematic structural diagram of a hardware running environment according to an embodiment of the present application.
Fig. 5 is an exemplary schematic structural diagram of a hardware operating environment of the audio control device.
As shown in fig. 5, the audio control apparatus may include a processor 501, a communication interface 502, a memory 503, and a communication bus 504, wherein the processor 501, the communication interface 502, and the memory 503 perform communication with each other through the communication bus 504, and the memory 503 is used for storing a computer program; the processor 501 is configured to implement steps of an acoustic audio control method when executing a program stored in the memory 503.
The communication bus 504 mentioned above for the audio control apparatus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 502 is used for communication between the above-described acoustic audio control device and other devices.
The Memory 503 may include a random access Memory (Random Access Memory, RMD) or may include a Non-Volatile Memory (NM), such as at least one disk Memory. Optionally, the memory 503 may also be at least one memory device located remotely from the aforementioned processor 501.
The processor 501 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
The specific implementation manner of the audio control device is basically the same as that of each embodiment of the audio control method, and is not repeated here.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores an audio control program, and the audio control program realizes the steps of the audio control method when being executed by a processor.
The specific implementation manner of the computer readable storage medium is basically the same as the above embodiments of the audio control method, and will not be repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. An acoustic audio control method, characterized in that the acoustic audio control method comprises the steps of:
acquiring an audio input signal and acquiring the relative position of a sound to be controlled and related personnel;
determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
determining an independent control channel to be used in the sound to be controlled according to the output channel;
and correspondingly adjusting the audio output parameters of each channel according to the sound channels and the relative positions, and controlling the output audio effect of each channel according to the adjusted audio output parameters.
2. The acoustic audio control method according to claim 1, wherein the acoustic to be controlled includes a master acoustic and a slave acoustic, and the step of determining an output channel in the acoustic to be controlled based on the relative position and the audio input signal includes:
if the audio output requirement in the audio input signal is multi-sound cascade output, determining master sound and slave sound involved in realizing the multi-sound cascade output according to the relative position;
and determining layout positions of the master sound and the right sound respectively, and determining output channels of the master sound and the slave sound according to the layout positions and the audio input signals.
3. The acoustic audio control method according to claim 2, wherein the step of determining output channels of the master acoustic device and the slave acoustic device includes:
when the master sound and the slave sound are determined, forwarding the audio input signal to the slave sound through the master sound in a cascade control mode, and respectively determining output channels of the master sound and the slave sound; wherein, the output sound channel of the main sound is preferentially determined;
if the multi-stage slave sound is present, the last-stage slave sound is regarded as the last-stage master sound which forwards the audio input signal to the next-stage slave sound.
4. The acoustic audio control method according to claim 1, wherein the acoustic to be controlled includes a mono acoustic, and the step of determining an output channel in the acoustic to be controlled based on the relative position and the audio input signal includes:
if the audio output requirement is single-sound stereo output, determining single-control sound involved in realizing the multi-sound cascade output;
and determining the audio output direction of the single-control sound according to the audio input signal and the relative position, and determining the output channel of the single-control sound according to the audio output direction.
5. The acoustic audio control method according to claim 4, wherein the step of determining the independently controlled channels to be used in the acoustic to be controlled based on the output channels includes:
when the sound to be controlled is the single-control sound and the audio output requirement is single-sound three-dimensional output, determining the distribution condition of channels of the single-control sound;
and dividing the output sound channel into a left sound channel and a right sound channel according to the distribution condition, and determining independent control channels to be used in the sound to be controlled according to the left sound channel and the right sound channel.
6. The audio control method of claim 1, wherein the audio output parameters include volume, and the step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position when the audio to be controlled includes a master audio and a slave audio includes:
determining a first linear distance between the related person and the master sound box and a second linear distance between the related person and the slave sound box according to the relative position;
according to the first linear distance and the second linear distance, calculating a volume difference value of the volume of each channel when the volume of each channel outputs audio reaches the relevant person;
and adjusting the volume of the master sound and the slave sound when outputting audio according to the difference value.
7. The audio control method of claim 1, wherein the audio output parameters include audio phases, and the step of correspondingly adjusting the audio output parameters of the channels according to the channel and the relative position when the audio to be controlled includes a master audio and a slave audio includes:
determining the sound source direction of each channel when outputting audio according to the sound channel and the relative position;
according to the sound source direction, determining the audio phase of each channel of the master sound and the slave sound when outputting audio in a beam forming mode, and respectively adjusting the audio phase difference value of each channel of the master sound and the slave sound;
and correspondingly adjusting the audio phase in a mode of overlapping the audio phase amplitude according to the audio phase difference value.
8. An acoustic audio control device, characterized in that the acoustic audio control device comprises:
the acquisition module is used for acquiring an audio input signal and acquiring the relative position of the sound to be controlled and related personnel;
the first determining module is used for determining an output channel in the sound to be controlled according to the relative position and the audio input signal;
the second determining module is used for determining an independent control channel to be used in the sound to be controlled according to the output channel;
and the control module is used for correspondingly adjusting the audio output parameters of the channels according to the sound channels and the relative positions, and controlling the output audio effect of the channels according to the adjusted audio output parameters.
9. An acoustic audio control device, the device comprising: a memory, a processor and an audio control program stored on the memory and executable on the processor, the audio control program being configured to implement the steps of the audio control method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which an acoustic audio control program is stored, which when executed by a processor implements the steps of the acoustic audio control method according to any one of claims 1 to 7.
CN202311213975.8A 2023-09-19 2023-09-19 Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment Pending CN117319887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311213975.8A CN117319887A (en) 2023-09-19 2023-09-19 Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311213975.8A CN117319887A (en) 2023-09-19 2023-09-19 Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment

Publications (1)

Publication Number Publication Date
CN117319887A true CN117319887A (en) 2023-12-29

Family

ID=89241758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311213975.8A Pending CN117319887A (en) 2023-09-19 2023-09-19 Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment

Country Status (1)

Country Link
CN (1) CN117319887A (en)

Similar Documents

Publication Publication Date Title
US10038963B2 (en) Speaker device and audio signal processing method
US9961473B2 (en) Apparatus and method for generating output signals based on an audio source signal, sound reproduction system and loudspeaker signal
US10349201B2 (en) Apparatus and method for processing audio signal to perform binaural rendering
EP1971187B1 (en) Array speaker apparatus
US20220070605A1 (en) Virtual rendering of object based audio over an arbitrary set of loudspeakers
US9578440B2 (en) Method for controlling a speaker array to provide spatialized, localized, and binaural virtual surround sound
US20050149320A1 (en) Method for generating noise references for generalized sidelobe canceling
EP2190221B1 (en) Audio system
JP2001511995A (en) Audio signal processing method
CN109195063B (en) Stereo sound generating system and method
US10848890B2 (en) Binaural audio signal processing method and apparatus for determining rendering method according to position of listener and object
US10945090B1 (en) Surround sound rendering based on room acoustics
US9124978B2 (en) Speaker array apparatus, signal processing method, and program
US11277705B2 (en) Methods, systems and apparatus for conversion of spatial audio format(s) to speaker signals
US20220312141A1 (en) Virtual soundstage with compact speaker array and interaural crosstalk cancellation
JP2012510748A (en) Method and apparatus for improving the directivity of an acoustic antenna
US10013970B2 (en) Sound effect producing apparatus, method of producing sound effect and program therefor
CN117319887A (en) Method, device, equipment and readable storage medium for controlling audio frequency of sound equipment
US7680290B2 (en) Sound reproducing apparatus and method for providing virtual sound source
KR20180080006A (en) Audio Output Device and Controlling Method thereof
JP2002374599A (en) Sound reproduction device and stereophonic sound reproduction device
US20240404502A1 (en) Sound Processing Method, Sound Processing Apparatus, and Non-transitory Computer-Readable Storage Medium Storing Program
US6005947A (en) Technique for enhancing stereo sound
JP4625756B2 (en) Loudspeaker array system
US11832079B2 (en) System and method for providing stereo image enhancement of a multi-channel loudspeaker setup

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