Mobile sound source 3D audio system based on sliding track

文档序号:73323 发布日期:2021-10-01 浏览:37次 中文

阅读说明:本技术 一种基于滑动轨道的移动音源3d音频系统 (Mobile sound source 3D audio system based on sliding track ) 是由 王恒 黎帅锋 刘杰 耿与璇 陈晓玲 黄晓宇 曹坤 李亮亮 张普 油梦楠 于 2021-06-25 设计创作,主要内容包括:本发明提供了一种基于滑动轨道的移动音源3D音频系统,包括3D音频处理系统和自动滑动音响播放系统,3D音频处理系统包括数据输入端、数据输出端和中央处理器,中央处理器处理后得到的移动距离发送到滑轮控制装置;滑动音响播放系统包括若干分层设置的音响和声卡设备,其中所有或部分分层设置轨道,其他分层设置固定位置的音响;每层轨道上设置一个或者以上带滑轮的音响,设置滑轮控制装置,滑轮控制装置接收到各个音响的移动距离后,通过滑轮带动音响在轨道上滑动,改变音响间的距离;每个音响连接声卡设备的不同声道。本发明能实现音响移动的最佳位置点的确定,能用更少的音响提供更好的3D音频体验。(The invention provides a sliding track-based mobile sound source 3D audio system, which comprises a 3D audio processing system and an automatic sliding sound playing system, wherein the 3D audio processing system comprises a data input end, a data output end and a central processing unit, and a moving distance obtained after the processing of the central processing unit is sent to a pulley control device; the sliding sound playing system comprises a plurality of sound devices and sound card equipment which are arranged in layers, wherein all or part of the sound devices are provided with tracks in layers, and the other sound devices are provided with fixed positions in layers; one or more than one sound box with pulleys is arranged on each layer of track, a pulley control device is arranged, and the pulley control device drives the sound boxes to slide on the track through the pulleys after receiving the moving distance of each sound box, so that the distance between the sound boxes is changed; each sound box is connected to a different sound channel of the sound card device. The invention can realize the determination of the optimal position point of the sound movement and can provide better 3D audio experience by using fewer sounds.)

1. A3D audio system of a mobile sound source based on a sliding track is characterized in that: comprises a 3D audio processing system and an automatic sliding sound playing system,

the 3D audio processing system comprises a data input end, a data output end and a central processing unit, wherein the data input end is used for inputting audio data, the data output end is used for outputting the audio data obtained after the processing of the central processing unit, the gain coefficient of each sound box, the optimal sounding position and the corresponding moving distance of each sound box, and the moving distance of each sound box is sent to the pulley control device;

the sliding sound playing system comprises a plurality of sound devices and sound card equipment which are arranged in layers, wherein all or part of the sound devices are provided with tracks in layers, and the other sound devices are provided with fixed positions in layers; one or more than one sound box with pulleys is arranged on each layer of track, a pulley control device is arranged, and the pulley control device drives the sound boxes to slide on the track through the pulleys after receiving the moving distance of each sound box, so that the distance between the sound boxes is changed; each sound box is connected with different sound channels of the sound card equipment, audio data output by the data output end is connected to the corresponding sound channel, and a gain coefficient output by the data output end is connected to each sound box.

2. The sliding track based mobile audio source 3D audio system according to claim 1, wherein: the rail material is manganese steel material.

3. The sliding track based mobile audio source 3D audio system according to claim 1, wherein: the shape of the track is oval, circular or rectangular.

4. The sliding track based mobile audio source 3D audio system according to claim 1, wherein: the pulley and the stereo set are arranged integrally, and the pulley is nested under the stereo set.

5. The sliding track based mobile audio source 3D audio system according to claim 1, wherein: sound card equipment and stereo set wireless connection avoid the stereo set to remove the in-process and receive the circuit influence.

6. The sliding track based mobile audio source 3D audio system according to claim 1, wherein: the sliding sound playing system is arranged in a layered mode, and the number of the sounds in each layer is adjusted according to requirements; according to the human ear perception characteristic, the moving range of the front sound is smaller than that of the rear sound.

7. The optimal configuration method of sliding sound equipment according to claim 6, wherein: 4 layers are adopted, wherein the upper layer comprises 1 sound, the middle layer comprises 4 sounds, the middle layer comprises 6 sounds, and the lower layer comprises 1 sound; or 1 sound in the upper layer, 4 sounds in the middle and lower layers, 6 sounds in the middle and upper layers and 1 sound in the lower layer.

8. The sliding track based mobile audio source 3D audio system according to claim 1 or 2 or 3 or 4 or 5 or 6 or 7, wherein: the sound playing process comprises the following steps when in use,

step 1, inputting initialized configuration information, including orientation information of the sound equipment, the number of the sound equipment, the slidable range of each sound equipment, the grouping of the sound equipment and the action range of the grouping, wherein 3 sound equipment adjacent to each other at the initial position form a group;

step 2, inputting audio data with motion tracks to be played, extracting the motion tracks in the audio data, intercepting a square point at intervals of a plurality of time, and storing all the square points in a matrix;

step 3, extracting the square points in the matrix in sequence, and determining the effective sound group and the optimal sound production position point of each sound in the sound group according to the currently extracted square points; when the three sounds in the sound group can form a regular triangle, the sound group is at the optimal sounding position point, and if the regular triangle cannot be formed, the sound group is at the optimal sounding position point when the sum of the differences of the three sides is minimum;

step 4, calculating the moving distance of each sound box according to the information of the optimal position point, and controlling the pulley to drive the sound boxes to move to the optimal position point;

step 5, calculating the gain coefficient of each sound, and then correspondingly outputting and changing the gain coefficient of each sound;

step 6, detecting whether the data in the audio azimuth information matrix are processed completely, if not, returning to the step 3 to extract the next position point in the matrix, and if so, executing the step 7;

and 7, moving each sound back to the initial position point.

Technical Field

The invention belongs to the technical field of 3D audio, and particularly relates to a sliding track-based mobile sound source 3D audio system.

Background

At the end of 2009, the 3D movie "avanda" went up the box office leader in more than thirty countries around the world, and by 9 months and early 2010, the global cumulative box office exceeded $ 27 million. The bright box office achievement can be obtained because the 3D special effect making technology is adopted in the film, and great shock effect is brought to the sense of people. The gorgeous pictures and the vivid sound effects shown in the Afada not only impact audiences, but also make the assertion that the film enters the 3D era in the industry. Moreover, the method can also promote more related technologies and standards in the aspects of movie, recording and playing. In the recent years, 3D video and audio related technologies and devices are increasingly popular with manufacturers and audiences due to international consumer electronics development. As a soul of the 3D technology, the 3D audio and video technology has become an important direction for research hotspot and further development in the multimedia technology field.

The 3D audio and video technology represented by 3D video applications has met with unprecedented opportunities for development, and particularly for 3D audio technology, the development is not equivalent to that of 3D video technology. Taking a television as an example, the display technology of the television undergoes a plurality of significant changes from analog to digital, from standard definition to high definition, and from rear projection to liquid crystal; audio systems have essentially followed prior art techniques, making the viewer's auditory experience behind the visual experience. In the traditional multimedia technology field, the start and development of China all fall into western developed countries and are in a following state for years. However, in the newly emerging 3D audio technology field, our country has the opportunity to compete with developed countries in the world on the same starting line, thereby realizing the leap-over development from "following" to "leading".

In the prior art, in order to realize the effect of 3D audio, in a system such as a home theater system or a virtual conference system, it is necessary to install audio at a plurality of fixed positions, which not only increases the consumption of space resources, but also increases the use cost. In view of this, the invention provides a multi-sound-source 3D audio system based on a sliding track, which can use fewer sounds to show a good 3D audio effect, and provides a new method for building a 3D audio system for an existing home theater or a professional theater, so that not only single-sound-source playback but also multi-sound-source playback can be realized.

Disclosure of Invention

Aiming at the defects of the prior art and equipment, the invention provides a multi-sound-source 3D audio system based on a sliding track, which can show a good 3D audio effect by using fewer sounds.

The invention provides a sliding track-based mobile sound source 3D audio system, which comprises a 3D audio processing system and an automatic sliding sound playing system,

the 3D audio processing system comprises a data input end, a data output end and a central processing unit, wherein the data input end is used for inputting audio data, the data output end is used for outputting the audio data obtained after the processing of the central processing unit, the gain coefficient of each sound box, the optimal sounding position and the corresponding moving distance of each sound box, and the moving distance of each sound box is sent to the pulley control device;

the sliding sound playing system comprises a plurality of sound devices and sound card equipment which are arranged in layers, wherein all or part of the sound devices are provided with tracks in layers, and the other sound devices are provided with fixed positions in layers; one or more than one sound box with pulleys is arranged on each layer of track, a pulley control device is arranged, and the pulley control device drives the sound boxes to slide on the track through the pulleys after receiving the moving distance of each sound box, so that the distance between the sound boxes is changed; each sound box is connected with different sound channels of the sound card equipment, audio data output by the data output end is connected to the corresponding sound channel, and a gain coefficient output by the data output end is connected to each sound box.

Moreover, the rail material is manganese steel material.

Also, the track shape is in the form of an ellipse, a circle or a rectangle.

Moreover, the pulley and the sound are integrally arranged, and the pulley is nested under the sound.

Moreover, the sound card equipment is in wireless connection with the sound box, so that the sound box is prevented from being influenced by lines in the moving process.

Moreover, the sliding sound playing system is arranged in a layered mode, and the number of the sounds in each layer is adjusted according to requirements; according to the human ear perception characteristic, the moving range of the front sound is smaller than that of the rear sound.

Moreover, 4 layers are adopted, wherein the upper layer comprises 1 sound, the middle layer comprises 4 sounds, the middle layer comprises 6 sounds, and the lower layer comprises 1 sound; or 1 sound in the upper layer, 4 sounds in the middle and lower layers, 6 sounds in the middle and upper layers and 1 sound in the lower layer.

Moreover, the sound playing process comprises the following steps,

step 1, inputting initialized configuration information, including orientation information of the sound equipment, the number of the sound equipment, the slidable range of each sound equipment, the grouping of the sound equipment and the action range of the grouping, wherein 3 sound equipment adjacent to each other at the initial position form a group;

step 2, inputting audio data with motion tracks to be played, extracting the motion tracks in the audio data, intercepting a square point at intervals of a plurality of time, and storing all the square points in a matrix;

step 3, extracting the square points in the matrix in sequence, and determining the effective sound group and the optimal sound production position point of each sound in the sound group according to the currently extracted square points; when the three sounds in the sound group can form a regular triangle, the sound group is at the optimal sounding position point, and if the regular triangle cannot be formed, the sound group is at the optimal sounding position point when the sum of the differences of the three sides is minimum;

step 4, calculating the moving distance of each sound box according to the information of the optimal position point, and controlling the pulley to drive the sound boxes to move to the optimal position point;

step 5, calculating the gain coefficient of each sound, and then correspondingly outputting and changing the gain coefficient of each sound;

step 6, detecting whether the data in the audio azimuth information matrix are processed completely, if not, returning to the step 3 to extract the next position point in the matrix, and if so, executing the step 7;

and 7, moving each sound back to the initial position point.

The invention provides a 3D audio system based on a sliding track, which can determine the optimal position point of sound movement and provide better 3D audio experience with fewer sounds. The invention reduces the using number of the sound equipment, saves the using space, improves the effect of the 3D audio and better promotes the development of the 3D audio. The device of the invention has simple structure, easy realization and wide application range, can be applied to cinemas and families, promotes the theoretical research of 3D audio and provides hardware and realization support.

Drawings

Fig. 1 is a schematic diagram of a configuration model of a 3D audio system according to an embodiment of the invention.

Fig. 2 is a top view of a 3D audio system according to an embodiment of the invention.

Fig. 3 is a flowchart of a 3D audio system according to an embodiment of the invention.

Fig. 4 is a diagram showing sound position information in a rectangular coordinate system according to an embodiment of the present invention.

Fig. 5 is a schematic diagram illustrating a distance between two points on a spherical surface according to an embodiment of the present invention.

Detailed Description

The technical scheme of the invention is explained in the following with the accompanying drawings.

The embodiment of the invention provides a sliding track-based mobile sound source 3D audio system, which comprises a 3D audio processing system and an automatic sliding sound playing system.

The 3D audio processing system comprises a data input end, a data output end and a central processing unit, wherein the data input end is used for inputting audio data, the data output end is used for outputting the audio data obtained after the processing of the central processing unit, the gain coefficient of each sound box, the optimal sounding position and the corresponding moving distance of each sound box, and the moving distance of each sound box is sent to the pulley control device.

The sliding sound playing system comprises a plurality of sound devices and sound card equipment which are arranged in layers, wherein all or part of the sound devices are provided with tracks in layers, and the other sound devices are provided with fixed positions in layers; one or more than one sound box with pulleys is arranged on each layer of track, a pulley control device is arranged, and the pulley control device drives the sound boxes to slide on the track through the pulleys after receiving the moving distance of each sound box, so that the distance between the sound boxes is changed; each sound box is connected with different sound channels of the sound card equipment, audio data output by the data output end is connected to the corresponding sound channel, and a gain coefficient output by the data output end is connected to each sound box.

Preferably, the selected track material is as smooth as possible, including but not limited to maglev tracks, manganese steel material of the same material as monorail tracks.

Preferably, the shape of the track selected includes, but is not limited to, oval, circular, rectangular.

Preferably, the pulley is integral with the sound, the pulley nesting under the sound.

Preferably, the sound card device is wirelessly connected with the playing device (sound), so that the problem that the playing device is influenced by a line in the moving process is solved. One sound channel corresponds to one sound, and one sound card has a plurality of sound channels, such as a 6-channel sound card commonly available in the market, and 12 sounds in the embodiment need a sound card matrix formed by two 6-channel sound cards.

The automatic sliding sound playing equipment is of a layered structure, different layers can be set according to different track shapes and actual environments, and the number of the sounds in each layer can be properly adjusted according to requirements. For example, the embodiment preferably uses a spherical device consisting of a circular track, and 4 layers are arranged, wherein the upper layer is provided with 1 sound, the middle and upper layers are provided with 4 sounds, the middle and lower layers are provided with 6 sounds, and the lower layer is provided with 1 sound; during the concrete implementation, 1 sound box at the upper layer, 4 sound boxes at the middle and lower layers, 6 sound boxes at the middle and upper layers and 1 sound box at the lower layer can be arranged. Tracks can be arranged on the middle upper layer and the middle lower layer, the sound equipment with pulleys is correspondingly arranged, and the positions of the sound equipment on the upper layer and the lower layer are fixed; the middle upper layer, the middle lower layer and the lower layer can also be provided with tracks, the corresponding sound equipment with pulleys is arranged, and the position of the sound equipment on the upper layer is fixed. According to the human ear perception characteristics, human ears are most sensitive to front sounds, are not sensitive to two-side sounds, and are more sensitive to rear sounds, so that when the intervals of the sounds are set, the intervals of the front sounds are smaller than those of the rear sounds, namely, the moving range of the front sounds is generally smaller than that of the rear sounds. The initial position information and the movable interval of each sound can be modified according to actual needs. The pulley control device can control the pulley to drive the sound equipment to move on the track.

Preferably, the layers are arranged on a spherical surface which takes the human face of the listener as the center position, and each layer is parallel to the ground; a support is provided to support the track on the tier. The device main body of the embodiment is as shown in fig. 1 and fig. 2, and comprises a spherical support with the radius of 1 meter and two smooth circular sliding tracks, wherein the top of the sphere is provided with 1 immovable sound box, the middle upper layer is provided with 4 sound boxes, the middle layer is provided with 6 sound boxes, the right front of the bottom is provided with 1 immovable sound box, the device is arranged in the middle of the sphere device, the horizontal angle of the sound box right in front of the human face is 0 degree, the vertical angle is 0 degree, the horizontal angle of the right side of the human is positive, the horizontal angle of the left side of the human is negative, and the initial position information and the movable interval of each sound box are as shown in table 1. And determining the sounding sound group according to the input audio information and the position information, and obtaining how to move the sounds in the sound group according to an algorithm to generate the optimal 3D effect. The configuration saves space, and uses less sound to improve 3D effect.

TABLE 1 initial position information and movable section for each Sound

In specific implementation, according to the material of the selected track and the constructed region shape, the initial position information of each sound can be modified, the moving interval of each sound can be modified, and the moving range of each sound can be changed into a vertical angle.

The implementation flow of the sound playing process of the mobile sound source 3D audio system based on the sliding track provided by the embodiment of the invention is shown in fig. 3, and the implementation flow mainly includes the following steps:

step 1, starting a sliding track 3D audio system, and inputting some configuration information of an initialization system, wherein the information comprises initial orientation information of the sound devices, the serial numbers of the sound devices, the slidable range of each sound device, sound device grouping and the action range of the sound device grouping. The related information of each sound can be automatically collected according to the existing method.

The grouping rule of the sound is as follows: every 3 stereo sets are a group, the area surrounded by every 3 stereo sets is the action range of the group, the selection condition of each stereo set is that the coordinate parameter of the loudspeaker on the spherical surface is converted into the point coordinate in the plane rectangular coordinate system, the horizontal coordinate is the horizontal angle, the vertical coordinate is the vertical angle, thus the triangular area surrounded by the three loudspeakers in the plane rectangular coordinate system is the action range of the group, according to the VBAP (amplitude vector synthesis positioning) sound source generation method, when the space coordinate data of the sound source is in the triangular area, the sound source can be simulated by the three loudspeakers, thus the 3D audio effect which is personally on the scene can be obtained.

Due to different environments, some configuration information of each sound device may have some differences, but the configuration mode is basically the same. Before implementation, one skilled in the art can preset the configuration according to a specific environment. Embodiments configure information for a specific environment, performing the following substeps:

and 1.1, inputting relevant information of the sound equipment, including initial orientation information of the sound equipment, the number of the sound equipment and the slidable range of each sound equipment. The azimuth information of the sound is expressed by a horizontal angle and a vertical angle, the horizontal angle of the sound right above the top of the head of the person is 0 degree, the vertical angle is 90 degrees, the horizontal angle of the sound right in front of the person is 0 degree, and the vertical angle is 0 degree. The information about all the audios of the system is shown in table 1.

And step 1.2, inputting grouping information of the sound and the action range of each group.

The system has 12 sound devices, and 3 sound devices adjacent to each other at the initial position are selected to form a group during grouping, so that the action range of the loudspeaker group can be as small as possible, the action ranges of the groups can be relatively average, and the whole adjustment can be carried out after the division is finished. This may exhibit good 3D effects. In specific implementation, those skilled in the art can perform grouping setting in advance according to actual situations. The standard sound field generated by the 3D audio system is a spherical sound field, and in order to determine the selection condition of each sound group, the invention can expand the spherical sound field into a plane rectangular coordinate system, wherein the horizontal coordinate is a horizontal angle, and the vertical coordinate is a vertical angle, as shown in FIG. 4, A (X) (X is an X-ray angle)1,Y1)、B(X2,Y2)、C(X3,Y3) The position information of 3 sound units respectively expressed as a sound unit has an action range of a triangular region surrounded by three points ABC, and when a sound source V (X)0,Y0) When in the triangular region, the sound group is effective. Whether the point V is in the triangular area or not can be judged only by meeting the following relational expression. The triangular area can be regarded as the triangular area surrounded by ABC three points, L1、L2、L3Respectively, three sides of the triangle.

L1:(Y3-Y2)·X0-(X3-X2)·Y0≥(Y3-Y2)·X2-(X3-X2)·Y2

L2:(Y2-Y1)·X0-(X2-X1)·Y0≥(Y2-Y1)·X1-(X2-X1)·Y1

L3:(Y3-Y1)·X0-(X3-X1)·Y0≤(Y3-Y1)·X1-(X3-X1)·Y1

And 2, inputting an audio file (audio data) with a motion trail. In 3D audio, the position of the utterance may be continuously moving like a direction, or may be randomly changed without regularity, so the present invention can intercept an azimuth point every several milliseconds (for example, 20 milliseconds in the embodiment), and store all the position points in a matrix for the system to sequentially extract the points and perform correlation calculation.

In the embodiment, the motion trail in the audio file is extracted, one square point is intercepted every 20 milliseconds, and all the square points are stored in a matrix. While outputting the audio file into a different channel.

In general, the position parameters of the spatial sound source signal can be expressed as (α, β, δ), α is the horizontal angle of the virtual sound source in the 3D sound field, β is the vertical angle of the virtual sound source in the 3D sound field, and δ is the distance from the center of the virtual sound source in the 3D sound field, and through these three variables, an arbitrary point can be defined in the spherical region included in the 3D sound field, and in the existing 3D audio system, the distance δ parameter is rarely involved, so the present embodiment only needs the horizontal angle α and the vertical angle β of the square point.

In the step, an audio file with a motion track is input, and the audio file is input into different sound channels. Dispersing the motion trail into a plurality of azimuth information points, and sequentially processing, wherein each processing azimuth point needs to be subjected to the following steps: the method comprises the steps of obtaining a selected sound box group according to square point information, obtaining the movement combination of the three sound boxes in the sound box group to achieve the optimal sound production effect, and the movement distances and gain coefficients of the three sound boxes, adjusting the playing volume of the sound boxes through the gain coefficients, sending the serial numbers and the movement distances of the sound boxes to be moved to an automatic sliding sound box playing system, and controlling a pulley to drive the sound boxes to the optimal position point through the automatic sliding sound box playing system. To reduce system play delay, processing the orientation information point data t milliseconds ahead may be set. In specific implementation, the value of t can be set by a user.

And 3, sequentially extracting the square points in one matrix and starting to process the currently extracted square points. The selected sound groups can be obtained according to the orientation points and the action range of each sound group. And calculating the optimal sound production position point of each sound in the selected sound group.

The selection of sound group is determined according to the action range of sound group and the direction information of sound source, for example, the action range of sound group ABC is that the horizontal angle is alpha1To alpha2Interval (alpha)12) And the vertical angle is beta1To beta2Interval (. beta.) of12) When both the horizontal angle α and the vertical angle β of the azimuth information of the sound source are in this interval, α is satisfied1<α<α2And beta1<β<β2Then the sound group is selected.

According to the VBAP principle, sound sources are easily generated by an algorithm within a triangle, and when the triangle is a regular triangle, the best effect can be exhibited, based on which, when the sound of the selected sound group is within the movable range, the regular triangle can be formed and the sound source to be sounded is within the coverage range (because the action range of the sound may change during the movement), the position points of the three sounds are the required, and if the regular triangle cannot be formed, when the sum of the differences of the three sides is the minimum, that is, the lengths of the three sides are the closest, the position points of the three sounds at this time are the obtained best position points.

In the examples, let A (α)1,β1)、B(α22)、C(α3,β3) The position coordinates of the three sounds in the effective sound group are shown, and V (α, β) is the position point of the virtual sound source. The calculation process mainly comprises the following steps:

and 3.1, calculating the arc lengths of AB, AC and BC. Taking the calculation of the arc length AB as an example, the calculation method of the arc length AB can be calculated according to the method for calculating the distance between two points on the spherical surface, and the calculation implementation is described as follows:

as shown in FIG. 5, the radius of the spherical surface is R, O is the center of the sphere, and there are two points A (α) on the spherical surface11),B(α22) In which α is1、α2Is the longitude number of a point, beta1、β2The number of weft points is equal to the central angle theta of a major circular minor arc passing through A, B two points. An O1And [ ] O2Respectively, a latitude circle passing A, B, a great circle passing A, C and a great circle passing B, D are respectively longitude circles passing A, B, and the planes of the longitude circles and the latitude circles are perpendicular to each other and are used as an AE reverse vertical surface O2BC with foot E at O2EB and AB are connected to C.

Then

At Δ O2In BE, from the cosine theorem, we get:

BE2=O2E2+O2B2+2O2E·O2Bcos(α12)

=O1A2+O2B2-2O1A·O2Bcos(α12)

=(Rcosβ1)2+(Rcosβ2)2-2Rcosβ1·Rcosβ2·cos(α12)

=R2[(cos2β1+cos2β2-2cosβ1·cosβ2·cos(α11))]

therefore AB2=AE2+BE2=R2[2-2sinβ1sinβ2-2cosβ1cosβ2gcos(α1-α2)]

And also

Comparing the two formulas, simplifying and tidying to obtain:

cosθ=cos(α12)cosβ1cosβ2+sinβ1sinβ2

the central angle of the major circle minor arc passing through the two points AB is theta

θ=arccos[(α12)cosβ1cosβ2+sinβ1sinβ2](arc)

A. The spherical distance between B is:

L=Rθ=Rarccos[(α12)cosβ1cosβ2+sinβ1sinβ2]

by this method, the spherical distance of BC and AC can be calculated.

And 3.2, calculating the optimal sound production position points of the sounds in the sound group, and judging whether the three sounds can simulate the position coordinates of the sound production square points or not while calculating, wherein the action range of the sounds possibly changes along with the movement process of the sounds. In a 3D audio system, when three speakers are placed to form a regular triangle, the best 3D audio effect can be shown, so the present invention needs to calculate when the regular triangle can be formed.

And 3.1, comparing the arc lengths of AB, BC and AC after obtaining the arc lengths of AB, BC and AC, and judging whether the curved surface triangle formed by ABC is a curved surface regular triangle or not, if so, performing subsequent calculation and moving steps. If not, the sum of the differences of the three arc lengths is recorded. Then, the angle information of the three speakers is changed circularly within the allowed range, for example, based on 1 degree, when the horizontal angle of a changes by 1 degree, the arc lengths of AB, BC and AC are calculated according to the spherical distance formula provided by 3.1, then comparison is performed to see whether a regular triangle can be formed, the difference sum is recorded, whether a sound source point can be simulated is performed while the regular triangle can be formed, if the sound source point cannot be simulated, the difference sum is set to 999 (when the difference sum is subsequently taken as the smallest point, the position information point which cannot simulate the sound source point cannot be taken). This function can be easily implemented using a three-layer loop, and exits until the position information with the difference sum of 0 (the difference value of 0 indicates that the three arc lengths are equal and can form a regular triangle), and if the loop is finished and the position information with the difference sum of 0 is still not found, the position point information of the three arc lengths is obtained when the difference sum of the three arc lengths is minimum.

And 4, calculating the moving distance of each sound box according to the information of the optimal position point, and controlling the pulley to drive the sound boxes to move to the optimal position point. Namely, the arc length of the current position point and the optimal position point of each sound in the group is calculated. Substituting the information of the optimal position point obtained in the step 3 and the current position point information of the sound equipment into the spherical distance formula in the step 3.1 can conveniently calculate the moving distance of each sound equipment in the group, sending the serial numbers and the moving distance data of the three sound equipment in the sound equipment group to the pulley control device, controlling the pulley to drive the sound equipment to move to the optimal position point, and updating the position information data of all the sound equipment in the system.

And (3) calculating the moving distance of the sound according to the optimal position point of each sound in each sound group obtained in the step (3) and the optimal position point of the sound and the current position point of the sound. In the spherical environment with radius R as shown in fig. 1, the audio can only slide horizontally, the vertical angle of the audio a is not changed, and the horizontal angle of the current position point of the audio a is alpha1The horizontal angle of the optimum position point of the sound A is alpha2The degree of horizontal slip is α ═ α12If the sound moves by a distance ofBecause the sound movement may be counterclockwise or clockwise, the present invention may use positive and negative movement distances to indicate whether each sound is moving clockwise or counterclockwise when α is21When the speaker moves clockwise, the movement distance is positive. Otherwise, the distance is negative.

Step 5, calculating the gain coefficient of each sound, then changing the gain coefficient of each sound, the gain coefficients of other sounds except the currently selected sound group are all 0, and the gain coefficient g of the sound in the sound group1、g2、g3The following formula may be used for calculation. The angle information is the optimal position information of the sound, and is not the initial position information.

According to the new position information A (alpha) of the selected three sound devices1,β1)、B(α22)、C(α3,β3) The coordinates V (α, β) of the sound source are calculated as follows,

step 6, detecting whether the data in the audio azimuth information matrix are processed completely, if not, continuing returning to the step 3, sequentially extracting the square points in one matrix and starting to process the currently extracted square points; if the processing is completed, step 7 is executed.

And 7, moving each sound box back to the initial position point.

In specific implementation, the above processes can be automatically run by a central processing unit of the 3D audio processing system by using a computer software technology.

Through the technical scheme, the method and the device can determine the optimal position point of the sound movement, and can provide better 3D audio experience by using fewer sounds. The device of the invention has simple structure, easy realization and wide application range, can be applied to cinemas and families, promotes the theoretical research of 3D audio and provides hardware and method support.

The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种蓝牙多声道音频的播放方法、装置及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!