A kind of transmission method and system of wireless sound box combinationTechnical field
A kind of combined the present embodiments relate to audio signal processing technique field more particularly to wireless sound box transmission method andSystem.
Background technique
With the development of controlling terminal and Radio Transmission Technology, wireless sound box is just become more and more popular, and allows any roomIt can become to follow one's bent and enjoy the place of music.In the wireless music system being made of wireless sound box, generally by multiple nothingsLine speaker composition, these speakers can place multiple places within the family, if any be placed on parlor, some is placed on sleepingRoom, some are placed on study etc..These wireless sound boxes can be realized by Radio Transmission Technology is connected with each other communication.Due to audioSignal is needed to encode during wireless transmission, be decoded, and audio-frequency signal coding, decoded process are required to the regular hour,Therefore when playing corresponding audio signal, it may appear that the phenomenon that delayed audio signal, lead to the audio between multiple wireless sound boxesIt plays inconsistent, influences auditory effect and the experience of user.
Summary of the invention
The present invention provides the transmission method and system of a kind of wireless sound box combination, so as to solve the deficiencies in the prior art.
To achieve the above object, the present invention provides technical solution below:
In a first aspect, the embodiment of the present invention provides a kind of transmission method of wireless sound box combination, combined by wireless sound boxIt realizes, the wireless sound box combination includes main sound box and secondary speaker, which comprises
The audio signal that the main sound box will acquire is separated, and the first channel audio signal and second sound channel sound are obtainedFrequency signal;
The main sound box selects corresponding preset value according to sample rate;
First channel audio signal and preset value are transmitted to main sound box loudspeaker by the main sound box, and by described secondTechnology is sent to the secondary speaker to channel audio signal by wireless communication;
The secondary speaker by the second sound channel audio signal transmission received to secondary speaker loudspeaker, by secondary speaker loudspeakerThe second sound channel audio signal is played out;
The main sound box controls the main sound box loudspeaker according to the preset value and carries out to first channel audio signalDelay plays, to realize being played simultaneously for the main sound box and the secondary speaker.
Further, in the transmission method of the wireless sound box combination, in the audio signal that the main sound box will acquireAfter the step of being separated, obtaining the first channel audio signal and second sound channel audio signal, further includes:
The main sound box carries out scaling down processing to first channel audio signal and second sound channel audio signal, and in instituteState superposing control signal in the first channel audio signal and second sound channel audio signal;
Wherein, the control signal includes that volume adjustment and dynamic EQ are adjusted.
Further, in the transmission method of the wireless sound box combination, in the audio signal that the main sound box will acquireBefore the step of being separated, obtaining the first channel audio signal and second sound channel audio signal, further includes:
The main sound box and the secondary speaker, which are established, to be wirelessly connected;
The main sound box obtains audio signal.
Further, in the transmission method of the wireless sound box combination, nothing is established in the main sound box and the secondary speakerBefore the step of line connects, further includes:
The main sound box search nearby whether there is secondary speaker;It is built if so, executing the main sound box with the secondary speakerVertical the step of being wirelessly connected, if it is not, then returning to the step of executing near the main sound box search with the presence or absence of secondary speaker.
Further, in the transmission method of the wireless sound box combination, the connection of the main sound box and secondary speaker uses blueOne of tooth technology, 5.8G/5.2G Radio Transmission Technology, WIFI or WLAN technology.
Further, in the transmission method of the wireless sound box combination, first channel audio signal is L channel soundFrequency signal, the second sound channel audio signal are right channel audio signal;Or,
First channel audio signal is right channel audio signal, and the second sound channel audio signal is left channel audioSignal.
Second aspect, the embodiment of the present invention provide a kind of Transmission system of wireless sound box combination, including wireless sound box combinationAnd wireless communication technique, the wireless sound box combination includes main sound box and secondary speaker;
The audio signal that the main sound box is used to will acquire is separated, and the first channel audio signal and the rising tone are obtainedAudio channel signal;
The main sound box is used to select corresponding preset value according to sample rate;
The main sound box is used to for first channel audio signal and preset value being transmitted to main sound box loudspeaker, and will be describedTechnology is sent to the secondary speaker to second sound channel audio signal by wireless communication;
The second sound channel audio signal transmission that the secondary speaker is used to receive is to secondary speaker loudspeaker, by secondary speakerLoudspeaker play out the second sound channel audio signal;
The main sound box controls the main sound box loudspeaker according to the preset value and carries out to first channel audio signalDelay plays, to realize being played simultaneously for the main sound box and the secondary speaker.
The transmission method and system of a kind of wireless sound box combination provided in an embodiment of the present invention, do not need to be routed, each speakerPlacement location can arbitrarily change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and broadcast synchronizingDuring putting, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience of user and listensFeel effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of invention without any creative labor, may be used also for those of ordinary skill in the artTo obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of the transmission method for wireless sound box combination that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram system of the transmission method of wireless sound box combination provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram of the transmission method for wireless sound box combination that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow diagram of the transmission method for wireless sound box combination that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram of the Transmission system for wireless sound box combination that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to justOnly the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Attached drawing 1 is please referred to, is that a kind of process of the transmission method for wireless sound box combination that the embodiment of the present invention one provides is shownIt is intended to, this method is suitable for the scene that client carries out audio broadcasting by wireless sound box, the biography that this method is combined by wireless sound boxDefeated system executes, and the wireless sound box combination includes main sound box and secondary speaker, which can be by software and/or hardware realityIt is existing.This method specifically comprises the following steps:
The audio signal that S101, the main sound box will acquire is separated, and the first channel audio signal and second are obtainedChannel audio signal.
Wherein, first channel audio signal is left channel audio signal, and the second sound channel audio signal is right soundAudio channel signal;Or,
First channel audio signal is right channel audio signal, and the second sound channel audio signal is left channel audioSignal.
S102, the main sound box select corresponding preset value according to sample rate.
It should be noted that preset value is empirically determined, can be adjusted according to the actual situation.
First channel audio signal and preset value are transmitted to main sound box loudspeaker by S103, the main sound box, and by instituteStating second sound channel audio signal, technology is sent to the secondary speaker by wireless communication.
Wherein, the wireless communication technique Bluetooth technology, 5.8G/5.2G Radio Transmission Technology, WIFI or WLAN technology.It is excellentChoosing, the higher 5.8G of stability and two frequency ranges of 5.2G are selected, the stability of transmission is enhanced.
Specifically, the wireless module transmission bandwidth that the present embodiment uses is 22M, LR presses the high sampling rate mark of 48K/24BitStandard is wirelessly transferred.
S104, the secondary speaker by the second sound channel audio signal transmission received to secondary speaker loudspeaker, by secondary soundCase loudspeaker play out the second sound channel audio signal.
S105, the main sound box control the main sound box loudspeaker to first channel audio signal according to the preset valueDelay broadcasting is carried out, to realize being played simultaneously for the main sound box and the secondary speaker.
A kind of transmission method of wireless sound box combination provided in an embodiment of the present invention, does not need to be routed, each speaker places positionSetting arbitrarily to change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and process is being played simultaneouslyIn, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience and sense of hearing effect of userFruit.
Embodiment two
Fig. 2 is a kind of flow diagram of the transmission method of wireless sound box combination provided by Embodiment 2 of the present invention, this realityIt applies example on the basis of example 1, is separated in the audio signal that the main sound box will acquire, obtain the first sound channel soundAfter the step of frequency signal and second sound channel audio signal, it is further optimized.It is identical or corresponding as the various embodiments described aboveDetails are not described herein for the explanation of term.The method of the present embodiment can specifically include following steps:
The audio signal that S201, the main sound box will acquire is separated, and the first channel audio signal and second are obtainedChannel audio signal.
S202, the main sound box carry out scaling down processing to first channel audio signal and second sound channel audio signal,And the superposing control signal in first channel audio signal and second sound channel audio signal;
Wherein, the control signal includes that volume adjustment and dynamic EQ are adjusted.Can be carried out according to cabinet feature when frequency dividing it is high,In, low multistage frequency dividing.
S203, the main sound box select corresponding preset value according to sample rate.
First channel audio signal and preset value are transmitted to main sound box loudspeaker by S204, the main sound box, and by instituteStating second sound channel audio signal, technology is sent to the secondary speaker by wireless communication.
S205, the secondary speaker by the second sound channel audio signal transmission received to secondary speaker loudspeaker, by secondary soundCase loudspeaker play out the second sound channel audio signal.
S206, the main sound box control the main sound box loudspeaker to first channel audio signal according to the preset valueDelay broadcasting is carried out, to realize being played simultaneously for the main sound box and the secondary speaker.
A kind of transmission method of wireless sound box combination provided in an embodiment of the present invention, does not need to be routed, each speaker places positionSetting arbitrarily to change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and process is being played simultaneouslyIn, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience and sense of hearing effect of userFruit.
Embodiment three
Fig. 3 is a kind of flow diagram of the transmission method for wireless sound box combination that the embodiment of the present invention three provides, this realityIt applies example on the basis of example 1, is separated in the audio signal that the main sound box will acquire, obtain the first sound channel soundBefore the step of frequency signal and second sound channel audio signal, it is further optimized.It is identical or corresponding as the various embodiments described aboveDetails are not described herein for the explanation of term.The method of the present embodiment can specifically include following steps:
S301, the main sound box and the secondary speaker, which are established, to be wirelessly connected;
S302, the main sound box obtain audio signal.
The audio signal that S303, the main sound box will acquire is separated, and the first channel audio signal and second are obtainedChannel audio signal.
S304, the main sound box select corresponding preset value according to sample rate.
First channel audio signal and preset value are transmitted to main sound box loudspeaker by S305, the main sound box, and by instituteStating second sound channel audio signal, technology is sent to the secondary speaker by wireless communication.
S306, the secondary speaker by the second sound channel audio signal transmission received to secondary speaker loudspeaker, by secondary soundCase loudspeaker play out the second sound channel audio signal.
S307, the main sound box control the main sound box loudspeaker to first channel audio signal according to the preset valueDelay broadcasting is carried out, to realize being played simultaneously for the main sound box and the secondary speaker.
A kind of transmission method of wireless sound box combination provided in an embodiment of the present invention, does not need to be routed, each speaker places positionSetting arbitrarily to change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and process is being played simultaneouslyIn, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience and sense of hearing effect of userFruit.
Example IV
Fig. 4 is a kind of flow diagram of the transmission method for wireless sound box combination that the embodiment of the present invention four provides, this realityExample is applied on the basis of embodiment three, before the main sound box and the secondary speaker establish the step of being wirelessly connected, done intoOne-step optimization.Details are not described herein for the explanation of term identical or corresponding with the various embodiments described above.The method of the present embodiment is specificIt may include steps of:
S401, main sound box search nearby whether there is secondary speaker;If so, S402 is executed, if it is not, then returning to executionS401。
S402, the main sound box and the secondary speaker, which are established, to be wirelessly connected;
S403, the main sound box obtain audio signal.
The audio signal that S404, the main sound box will acquire is separated, and the first channel audio signal and second are obtainedChannel audio signal.
S405, the main sound box select corresponding preset value according to sample rate.
First channel audio signal and preset value are transmitted to main sound box loudspeaker by S406, the main sound box, and by instituteStating second sound channel audio signal, technology is sent to the secondary speaker by wireless communication.
Secondary speaker described in S407 by the second sound channel audio signal transmission received to secondary speaker loudspeaker, by secondary speakerLoudspeaker play out the second sound channel audio signal.
S408, the main sound box control the main sound box loudspeaker to first channel audio signal according to the preset valueDelay broadcasting is carried out, to realize being played simultaneously for the main sound box and the secondary speaker.
A kind of transmission method of wireless sound box combination provided in an embodiment of the present invention, does not need to be routed, each speaker places positionSetting arbitrarily to change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and process is being played simultaneouslyIn, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience and sense of hearing effect of userFruit.
Embodiment five
Attached drawing 5 is please referred to, is that a kind of structure of the Transmission system for wireless sound box combination that the embodiment of the present invention five provides is shownIt is intended to, which is adapted for carrying out the transmission method of wireless sound box combination provided in an embodiment of the present invention.The system includes nothingLine loudspeaker box combination 51 and wireless communication technique 52, the wireless sound box combination includes main sound box 511 and secondary speaker 512;
The main sound box 511 is used for the audio signal that will acquire and is separated, and obtains the first channel audio signal and theTwo channel audio signals;
The main sound box 511 is used to select corresponding preset value according to sample rate;
The main sound box 511 is used to for first channel audio signal and preset value being transmitted to main sound box loudspeaker, and willTechnology is sent to the secondary speaker 512 to the second sound channel audio signal by wireless communication;
The second sound channel audio signal transmission that the secondary speaker 512 is used to receive is to secondary speaker loudspeaker, by pairSpeaker plays out the second sound channel audio signal;
The main sound box 511 according to the preset value control the main sound box loudspeaker to first channel audio signal intoLine delay plays, to realize being played simultaneously for the main sound box 511 and the secondary speaker 512.
A kind of Transmission system of wireless sound box combination provided in an embodiment of the present invention, does not need to be routed, each speaker places positionSetting arbitrarily to change, and only achieve that being played simultaneously for all speakers by controlling main sound box, and process is being played simultaneouslyIn, the high stability of audio signal transmission, synchronous effect is preferable, ensure that the high-quality sound experience and sense of hearing effect of userFruit.
Method provided by any embodiment of the invention can be performed in above system, has the corresponding functional module of execution methodAnd beneficial effect.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to beforeStating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to precedingTechnical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And theseIt modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.