CN105635893B - Terminal device and method for distributing sound channels thereof - Google Patents
Terminal device and method for distributing sound channels thereof Download PDFInfo
- Publication number
- CN105635893B CN105635893B CN201410610215.5A CN201410610215A CN105635893B CN 105635893 B CN105635893 B CN 105635893B CN 201410610215 A CN201410610215 A CN 201410610215A CN 105635893 B CN105635893 B CN 105635893B
- Authority
- CN
- China
- Prior art keywords
- sound
- channel
- type
- sound channel
- box
- 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.)
- Active
Links
Landscapes
- Stereophonic System (AREA)
Abstract
The invention discloses a method for distributing sound channels by terminal equipment, wherein the terminal equipment is provided with at least two sound channels and corresponding wiring terminals, the sound channels are connected with sound box equipment through the corresponding wiring terminals, and the method comprises the following steps: acquiring a pre-broadcasting sound source after the wiring terminal is connected with the sound box equipment; the pre-broadcasting sound source is transmitted to corresponding sound box equipment through each sound channel in sequence for pre-broadcasting, and the type of each sound channel is determined according to the sound box equipment type information which is input or selected by a user and connected with each wiring terminal; and transmitting different formal sound sources to the sound box equipment through corresponding sound channels according to the type of each sound channel for formal playing. The invention also discloses the terminal equipment. According to the terminal equipment and the method provided by the invention, on the premise of ensuring the hearing effect of formal sound source playing, a user can connect each sound box equipment with any sound channel wiring terminal of the terminal equipment, so that the phenomenon of wiring error does not exist, and the hearing experience effect of the user is good.
Description
Technical field
The present invention relates to audio frequency apparatus technical field more particularly to a kind of terminal device and its methods for distributing sound channel.
Background technique
Sound box system is an important component of home theater, and most basic sound box system is 5.1 on the market at present
Sound channel includes a pair of of main sound box, is responsible for the output of left and right acoustic channels;A pair of of surround speaker is responsible for right and left rings around the output of sound channel;
One center-channel speaker.The mode for needing user to record to specifications on remaining corresponding ten lines of 5 loudspeaker when use into
Row connection, connection cannot malfunction, such as the corresponding horn wire of surround speaker is accidentally connected to left and right acoustic channels, left and right sound by user
The sound in road can then be exported from surround speaker, cause the entanglement of sound channel, be made troubles to the use of user.
Summary of the invention
When sound-box device being connect with the connecting terminal of terminal device sound channel it is a primary object of the present invention to solve user
It is easy connection error, sound channel entanglement is caused, leads to the technical problem of audio difference.
To achieve the above object, a kind of method of terminal device distribution sound channel provided by the invention, the terminal device are set
It is equipped at least two sound channels and corresponding connecting terminal, the sound channel is connect by corresponding connecting terminal with sound-box device,
The described method includes:
Sound source is broadcast in advance Step 1: obtaining after the connecting terminal is connect with sound-box device;
Step 2: by it is described it is pre- broadcast sound source and played in advance by each channel transfer to corresponding sound-box device, and root
The sound-box device type information connecting with each connecting terminal for inputting or selecting according to user, determines the type of each sound channel;
Step 3: different formal sound sources are passed through corresponding channel transfer to sound-box device according to the type of each sound channel
Formally played.
Preferably, after the step 2 further include:
Judge in all sound channels with the presence or absence of the identical sound channel of type;If so, generating error prompt information, and returns and hold
Row step 2;If it is not, thening follow the steps three.
Preferably, the method obtain it is described it is pre- broadcast sound source before further include:
Pre-set channel allocation flag bit is zeroed;
Before step 3 further include:
The identical sound channel of type is not present in all sound channels when judgement determines, channel allocation flag bit is added 1;
Judge whether channel allocation flag bit is equal to 2;If so, generating channel allocation completes prompt information;If it is not, then returning
Receipt row step 2.
Preferably, the step 2 includes:
Step 21 pre- broadcasts channel transfer that sound source is not added with type mark by one to corresponding sound-box device for described
It is played in advance;
The type information of step 22, the corresponding sound-box device inputted according to user adds corresponding type mark to the sound channel
Note, to determine the channel type;
Step 23 judges whether there is the sound channel for being not added with type mark, when there is the sound channel for being not added with type mark, then
Return to step 21;If it is not, then generating sound channel label completes prompt information.
Preferably, the sound-box device type include it is following kind of two or more: L channel speaker, right channel sound
Case, center channels speaker, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, right front ring is around sound channel sound
Case, left back Sorrounding sound channel loudspeaker box, it is right after Sorrounding sound channel loudspeaker box;
The channel type include it is following kind of two or more: L channel, right channel, center channels, left surround sound
Road, right surround sound channel, left front circular sound channel, right front ring surround sound channel after right around sound channel, left back circular sound channel.
In addition, to achieve the above object, the present invention also provides a kind of terminal device, the terminal device is provided at least two
A sound channel and corresponding connecting terminal, the sound channel are connect by corresponding connecting terminal with sound-box device, and the terminal is set
It is standby further include:
Sound source obtains module, broadcasts sound source in advance for obtaining after the connecting terminal is connect with sound-box device;
Channel type determining module, for by it is described it is pre- broadcast sound source and pass sequentially through each channel transfer set to corresponding speaker
The sound-box device type information being connect with each connecting terminal that is standby to be played in advance, and inputting or select according to user, really
The type of fixed each sound channel;
Different formal sound sources are passed through corresponding sound channel for the type according to each sound channel by sound source transmission control module
Sound-box device is transmitted to formally to be played.
Preferably, the terminal device further include:
Channel type judgment module, for judging in all sound channels with the presence or absence of the identical sound channel of type;
Cue module, for generating error prompt information when the identical sound channel of present pattern in all sound channels;
Loop control module, for successively calling the channel type determining module, institute according to the bomp information
It states channel type judgment module and executes respective operation, until the identical sound channel of type is not present in all sound channels.
Preferably, the terminal device further include:
Flag bit be zeroed module, for the sound source obtain module obtain it is described it is pre- broadcast sound source before, will preset
Channel allocation flag bit zero;
Flag bit processing module, after the identical sound channel of type is not present in the determining all sound channels of judgement, by sound channel
Assignment flag position adds 1;And judge whether channel allocation flag bit is equal to 2;
First circulation control module successively calls channel type to determine mould for being not equal to 2 when channel allocation flag bit
Block, channel type judgment module, flag bit processing module respectively execute corresponding operation, until channel allocation flag bit is equal to 2;
The cue module is also used to be equal to 2 when channel allocation flag bit, then generates channel allocation and complete prompt information.
Preferably, the channel type determining module includes:
Sound source transmission control unit, for by it is described it is pre- broadcast channel transfer that sound source is not added with type mark by one to
Corresponding sound-box device is played in advance;
Channel type determination unit, the type information of the corresponding sound-box device for being inputted according to user, adds the sound channel
Add corresponding type mark, to determine the channel type;
Sound channel marker for judgment unit, for judging whether there is the sound channel for being not added with type mark;
Label completes prompt unit, for when there is no the sound channel for being not added with type mark, generation sound channel label is completed to mention
Show information.
Loop control unit, for being not added with the sound channel of type mark when existing, successively call sound source transmission control unit,
Channel type determination unit, sound channel marker for judgment unit respectively execute corresponding operation, until there is no be not added with type mark
Sound channel.
Preferably, the sound-box device type include it is following kind of two or more: L channel speaker, right channel sound
Case, center channels speaker, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, right front ring is around sound channel sound
Case, left back Sorrounding sound channel loudspeaker box, it is right after Sorrounding sound channel loudspeaker box;
The channel type include it is following kind of two or more: L channel, right channel, center channels, left surround sound
Road, right surround sound channel, left front circular sound channel, right front ring surround sound channel after right around sound channel, left back circular sound channel.
Terminal device provided by the present invention and its method for distributing sound channel, by the connecting terminal and sound-box device
It is obtained after connection and broadcasts sound source in advance;By it is described it is pre- broadcast sound source and pass sequentially through each channel transfer broadcast in advance to corresponding sound-box device
The sound-box device type information connecting with each connecting terminal for putting, and inputting or select according to user, determines each sound channel
Type;According to the type of each sound channel, different formal sound sources are carried out formally by corresponding channel transfer to sound-box device
The mode of broadcasting, under the premise of guaranteeing the auditory effect of formal sound source broadcasting, user can be set each sound-box device with terminal
The phenomenon that any one standby sound channel connecting terminal connection, there is no wiring errors, user's audio experience effect is good.
Detailed description of the invention
Fig. 1 is the flow diagram of the method first embodiment of terminal device distribution sound channel of the invention;
Fig. 2 is the specific refinement flow diagram of step S20 in Fig. 1;
Fig. 3 is the method second embodiment flow diagram of terminal device channel allocation of the invention;
Fig. 4 is the method 3rd embodiment flow diagram of terminal device channel allocation of the invention;
Fig. 5 is the functional block diagram that terminal device first of the invention is implemented;
Fig. 6 is the refinement the functional block diagram of channel type determining module in Fig. 5;
Fig. 7 is the functional block diagram of terminal device second embodiment of the invention;
Fig. 8 is the functional block diagram of terminal device 3rd embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of method of terminal device distribution sound channel, is terminal device of the invention point referring to Fig. 1, Fig. 1
The flow diagram of method first embodiment with sound channel.The terminal device is provided at least two sound channels in this embodiment
And corresponding connecting terminal, the sound channel are connect by corresponding connecting terminal with sound-box device.Institute's terminal device distribution sound
The method in road includes:
Step S10, it is obtained after the connecting terminal is connect with sound-box device and broadcasts sound source in advance.
The method of sound source generation is broadcast described in this step S10 in advance mainly include the following types: one, the direct input for utilizing system
Source of sound generates, such as using Aux, bluetooth, wifi, optical fiber, coaxially, the sound source of the input of USB, Disc input terminal pre- broadcasts as described
Sound source;Two, the sound of certain frequency is generated by DSP, and pre- broadcasts sound source in this, as described;Three, for carrying decoding function
With the chip of store function, a segment of audio is stored in the chips (such as Flash) in advance, when starting " distribution sound channel function ",
Decoding chip reads the audio signal of storage, and decodes and, and is given to the output of rear class power amplifier, the source of sound of output can be used as described
Sound source is broadcast in advance;Four, additional signal generator and digital analog converter on the hardware circuit of terminal device, are produced by signal generator
Raw analog signal is then transferred to analog-digital converter, is then given to sound by the I2S audio signal of analog-digital converter outputting standard
Frequency processor pre- broadcasts sound source to export I2S audio signal as described.
Step S20, by it is described it is pre- broadcast sound source and played in advance by each channel transfer to corresponding sound-box device, and root
The sound-box device type information connecting with each connecting terminal for inputting or selecting according to user, determines the type of each sound channel.
Sound source will be broadcast in this step S20 in advance by channel transfer to corresponding sound-box device, sound-box device plays broadcasts sound in advance
User can know that specifically which sound-box device plays sound source, can know the type for playing the sound-box device of sound source when source
Information.The sound-box device type information that terminal device is inputted according to user in this step can determine corresponding channel type, and
Type identification is carried out to corresponding sound channel by addition type mark.
Step S20 is the specific refinement flow diagram of step S20 in Fig. 1 referring specifically to Fig. 2, Fig. 2.This step S20 tool
Body process flow is as follows:
Step S201, it pre- broadcast the channel transfer that sound source is not added with type mark by one by described and is set to corresponding speaker
It is standby to be played in advance.
Step S202, according to the type information of the corresponding sound-box device of user's input, corresponding type is added to the sound channel
Label, to determine the channel type.
By taking 5.1 systems as an example, broadcast in advance when sound source will be broadcast in advance by first channel transfer to corresponding sound-box device
User has found that right channel sound-box device broadcasts sound source in advance in broadcasting when putting, then the sound-box device type information inputted are as follows: right channel, eventually
It is " right channel " that end equipment, which is then " R " to the first sound channel addition type mark according to the sound-box device type information of input, the
The data format of one sound channel is referring specifically to table 1.
Table 1:
SUB | BR | BL | SR | SL | C | R | L |
0 | X | X | 0 | 0 | 0 | 1 | 0 |
Step S203, the sound channel for being not added with type mark is judged whether there is;If so, returning to step S201;If
It is no, it is transferred to step S204.
Step S204, it generates sound channel label and completes prompt information.
The sound-box device type include it is following kind of two or more: L channel speaker, right channel speaker, in set sound
Road speaker, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, it is right before Sorrounding sound channel loudspeaker box, left back ring
The Sorrounding sound channel loudspeaker box after track loudspeaker box, the right side.The channel type include it is following kind of two or more: L channel, right sound
Road, center channels, a left side are around sound channel, right surround sound channel, left front circular sound channel, and right front ring is around sound channel, left back circular sound channel, after right
Around sound channel.
Step S30, according to the type of each sound channel, different formal sound sources are passed through into corresponding channel transfer to sound-box device
Formally played.
In the present embodiment, terminal device has determined that the type of each sound channel just can input different types of formal sound source
To matched sound channel, formally played by the channel transfer into matched sound-box device, so as to obtain optimal listen
Feel effect.
It is the flow diagram of the method second embodiment of terminal device channel allocation of the invention referring to Fig. 3, Fig. 3.This
The generation of channel allocation mistake phenomenon in order to prevent in embodiment also needs to judge all sound channels after determining each channel type
In whether there is the identical two or more sound channel of type, due in the matched sound-box device of terminal device be not present type phase
Same more than two sound-box devices;Therefore it is wrong to show that channel type determines for identical more than two sound channels of type if it exists
Accidentally, it needs to carry out type confirmation to all sound channels again.In order to prevent the generation of channel allocation mistake phenomenon in the step
It also needs to be handled as follows after rapid 20:
Step S40, judge in all sound channels with the presence or absence of the identical sound channel of type;If so, being transferred to step S50;If it is not,
Execute step S30.
Step S50, error prompt information is generated, and returns to step S20.
Referring to fig. 4, Fig. 4 is the flow diagram of the method 3rd embodiment of terminal device channel allocation of the invention.On
Even if stating since the identical sound channel of type being not present in all sound channels in embodiment, the determination that sound channel can not be completely secured is complete
Correctly.The present embodiment is primary determining to all channel types in order to further increase the accuracy that all channel types determine
Later, the number for needing again to redefine once all channel types, and being determined by channel allocation mark bit identification.I.e. originally
Embodiment determines accuracy to further increase all channel types, further includes handling as follows before the step S10: step
Rapid S101, pre-set channel allocation flag bit is zeroed.And after the step s 40 further include handling as follows:
Step S60, the identical sound channel of type is not present in all sound channels when judgement determines, channel allocation flag bit is added 1.
1 is added to show once to determine all channel types channel allocation flag bit in this step.
Step S70, judge whether channel allocation flag bit is equal to 2;If so, being transferred to step S80;It is held if it is not, then returning
Row step S20.
In this step, when channel allocation flag bit be equal to 2, show that all channel types have been determined twice.
Step S80, it generates channel allocation and completes prompt information.
The method for the terminal device distribution sound channel that above embodiments provide, by connecting in the connecting terminal and sound-box device
It is obtained after connecing and broadcasts sound source in advance;By it is described it is pre- broadcast sound source and played in advance by each channel transfer to corresponding sound-box device, and
The sound-box device type information connecting with each connecting terminal for being inputted or being selected according to user, determines the class of each sound channel
Type;According to the type of each sound channel, different formal sound sources are formally played by corresponding channel transfer to sound-box device
Mode, under the premise of guaranteeing auditory effect that sound source plays, user can be by any of each sound-box device and terminal device
The phenomenon that one sound channel connecting terminal connection, there is no wiring errors, user's audio experience effect is good.
The present invention further provides a kind of terminal devices, are terminal device first embodiments of the invention referring to Fig. 5, Fig. 5
The functional block diagram.In this embodiment, the terminal device 100 is provided at least two sound channels and corresponding wiring
Terminal, the sound channel are connect by corresponding connecting terminal with sound-box device.The terminal device further include: sound source obtains module
110, channel type determining module 120, sound source transmission control module 130.
Wherein, the sound source obtains module 110, broadcasts sound in advance for obtaining after the connecting terminal is connect with sound-box device
Source.The channel type determining module 120, for the pre- sound source of broadcasting to be passed through each channel transfer to corresponding sound-box device
The sound-box device type information connecting with each connecting terminal for being played in advance, and inputting or select according to user, determines
The type of each sound channel.The sound source transmission control module 130, for the type according to each sound channel, by different formal sound sources
It is formally played by corresponding channel transfer to sound-box device.
In the present embodiment sound source obtain module 110 acquired in sound source production method mainly include the following types: one, directly
Generated using the input source of sound of system, such as by Aux, bluetooth, wifi, optical fiber, coaxially, the sound of the input of USB, Disc input terminal
Pre- sound source is broadcast as described in source;Two, the sound of certain frequency is generated by DSP, and pre- broadcasts sound source in this, as described;Three, right
In the chip of included decoding function and store function, in advance in the chips (such as Flash) a segment of audio storage, when starting " divides
With sound channel function " when, decoding chip reads the audio signal of storage, and decodes and, and is given to the output of rear class power amplifier, the sound of output
Source can be used as described pre- broadcasting sound source;Four, additional signal generator and digital analog converter on the hardware circuit of terminal device, lead to
The analog signal for crossing signal generator generation, is then transferred to analog-digital converter, then by the I2S of analog-digital converter outputting standard
Audio signal is given to audio processor, pre- broadcasts sound source to export I2S audio signal as described.
Terminal device 100 has determined that the type of each sound channel just can be defeated by different types of formal sound source in the present embodiment
Enter to matched sound channel, is formally played by the channel transfer into matched sound-box device, it is optimal so as to obtain
Auditory effect.
Channel type determining module 120 will broadcast sound source by channel transfer to corresponding sound-box device in advance in the present embodiment,
User can know that specifically which sound-box device broadcasting broadcasts sound source in advance, can know that broadcasting is pre- when sound-box device plays sound source
Broadcast the type information of the sound-box device of sound source.The channel type determining module 120 is specifically used for the speaker inputted according to user
Device type information can determine corresponding channel type, and carry out type mark to corresponding sound channel by addition type mark
Know.It is the refinement the functional block diagram of channel type determining module in Fig. 5 referring to Fig. 6, Fig. 6.The channel type determines mould
Block 120 includes: sound source transmission control unit 121, channel type determination unit 122, sound channel marker for judgment unit 123, has marked
At prompt unit 124 and loop control unit 125.Wherein, the sound source transmission control unit 121, for pre- broadcasting sound for described
The channel transfer that source is not added with type mark by one is played in advance to corresponding sound-box device.The channel type determines
Unit 122, the type information of the corresponding sound-box device for being inputted according to user add corresponding type mark to the sound channel,
To determine the channel type.The sound channel marker for judgment unit 123, for judging whether there is the sound for being not added with type mark
Road.The label completes prompt unit 124, for when there is no the sound channel for being not added with type mark, generation sound channel label is completed
Prompt information.The loop control unit 125, for successively calling sound source transmission when there is the sound channel for being not added with type mark
Control unit, channel type determination unit, sound channel marker for judgment unit respectively execute corresponding operation, until there is no be not added with
The sound channel of type mark.
By taking 5.1 systems as an example, broadcast in advance when sound source will be broadcast in advance by first channel transfer to corresponding sound-box device
User has found that right channel sound-box device broadcasts sound source in advance in broadcasting when putting, then the sound-box device type information inputted are as follows: right channel, sound
Road type determining units 122 then add type mark to the first sound channel according to the sound-box device type information of input as " R "
" right channel ", the data format of the first sound channel is referring specifically to table 1.
In the present embodiment, the sound-box device type include it is following kind of two or more: L channel speaker, right channel
Speaker, center channels speaker, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, right front ring is around sound channel
Speaker, left back Sorrounding sound channel loudspeaker box, it is right after Sorrounding sound channel loudspeaker box.The channel type include it is following kind of two or more:
L channel, right channel, center channels, a left side are around sound channel, right surround sound channel, left front circular sound channel, and right front ring is around sound channel, left back ring
Around sound channel, sound channel is surround after right.
It is the functional block diagram of terminal device second embodiment of the invention referring to Fig. 7, Fig. 7.It is in the present embodiment
The generation of channel allocation mistake phenomenon is prevented, terminal device 100 after determining each channel type also needs to judge all sound channels
In whether there is the identical two or more sound channel of type, due in the matched sound-box device of terminal device 100 be not present class
The identical more than two sound-box devices of type;Therefore identical more than two sound channels of type if it exists, show that channel type is true
Determine mistake, needs to carry out type confirmation to all sound channels again.It is described in order to prevent the generation of channel allocation mistake phenomenon
Terminal device 100 further include: channel type judgment module 140, cue module 150 and loop control module 160.Wherein, described
Channel type judgment module 140, for judging in all sound channels with the presence or absence of the identical sound channel of type.The cue module 150,
For generating error prompt information when the identical sound channel of present pattern in all sound channels.The loop control module 160, is used for
According to the bomp information, the channel type determining module, the channel type judgment module is successively called to execute each
From corresponding operation, until the identical sound channel of type is not present in all sound channels.
It is the functional block diagram of terminal device 3rd embodiment of the invention referring to Fig. 8, Fig. 8.In above-described embodiment
Even if since the identical sound channel of type being not present in all sound channels, the determination that sound channel can not be completely secured is completely correct.This reality
Example is applied in order to further increase the accuracy that all channel types determine, after being determined once to all channel types, is needed
The number that all channel types are redefined once again, and are determined by channel allocation mark bit identification.I.e. the present embodiment is
Further increasing all channel types determines accuracy, the terminal device 100 further include: flag bit is zeroed module 170, mark
Will position processing module 180, first circulation control module 190.Wherein, the flag bit zero module 170, in the sound source
Obtain module obtain it is described it is pre- broadcast sound source before, by pre-set channel allocation flag bit be zeroed.The flag bit handles mould
Channel allocation flag bit is added 1 for determining in all sound channels in judgement there is no after the identical sound channel of type by block 180;And
Judge whether channel allocation flag bit is equal to 2.The first circulation control module 190, for being differed when channel allocation flag bit
In 2, channel type determining module, channel type judgment module, flag bit processing module is successively called respectively to execute corresponding behaviour
Make, until channel allocation flag bit is equal to 2.The cue module is also used to be equal to 2 when channel allocation flag bit, then generation sound
Road is assigned prompt information.Wherein, channel allocation flag bit is added 1 to show to all sound channel classes by flag bit processing module 180
Type is once determined;And work as channel allocation flag bit and be equal to 2, show that all channel types have been determined twice.
The terminal device 100 that above embodiments provide, passes through the acquisition sound after the connecting terminal is connect with sound-box device
Source;By it is described it is pre- broadcast sound source and pass sequentially through each channel transfer played in advance to corresponding sound-box device, and it is defeated according to user
The sound-box device type information connecting with each connecting terminal for entering or selecting, determines the type of each sound channel;According to each
The type of sound channel is being protected by different formal sound sources in such a way that corresponding channel transfer is formally played to sound-box device
Under the premise of demonstrate,proving the auditory effect that formal sound source plays, user can be by any one sound channel of each sound-box device and terminal device
The phenomenon that connecting terminal connection, there is no wiring errors, user's audio experience effect is good.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of method of terminal device distribution sound channel, which is characterized in that the terminal device be provided at least two sound channels with
And corresponding connecting terminal, the sound channel are connect by corresponding connecting terminal with sound-box device, which comprises
Sound source is broadcast in advance Step 1: obtaining after the connecting terminal is connect with sound-box device;
Step 2: by it is described it is pre- broadcast sound source and played in advance by each channel transfer to corresponding sound-box device, according to user
The sound-box device type information of input or selection connecting with each connecting terminal, determines the type of each sound channel;
Step 3: different formal sound sources are carried out by corresponding channel transfer to sound-box device according to the type of each sound channel
It is formal to play;
Wherein, after the step 2 further include:
Judge in all sound channels with the presence or absence of the identical sound channel of type;If so, generating error prompt information, and returns and execute step
Rapid two;If it is not, thening follow the steps three;
Obtain it is described it is pre- broadcast sound source before further include:
Pre-set channel allocation flag bit is zeroed;
Before step 3 further include:
The identical sound channel of type is not present in all sound channels when judgement determines, channel allocation flag bit is added 1;
Judge whether channel allocation flag bit is equal to 2;If so, generating channel allocation completes prompt information;It is held if it is not, then returning
Row step 2.
2. the method for terminal device channel allocation according to claim 1, which is characterized in that the step 2 includes:
Step 21 pre- broadcast described the channel transfer that sound source is not added with type mark by one and gives the progress of corresponding sound-box device
It is pre- to play;
The type information of step 22, the corresponding sound-box device inputted according to user adds corresponding type mark to the sound channel, with
Determine the channel type;
Step 23 judges whether there is the sound channel for being not added with type mark, when there is the sound channel for being not added with type mark, then returns
Execute step 21;If it is not, then generating sound channel label completes prompt information.
3. the method for terminal device channel allocation according to claim 2, which is characterized in that
The sound-box device type include it is following kind of two or more: L channel speaker, right channel speaker, center channels sound
Case, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, it is right before Sorrounding sound channel loudspeaker box, left back surround sound
Road speaker, it is right after Sorrounding sound channel loudspeaker box;
The channel type include it is following kind of two or more: it is L channel, right channel, center channels, left around sound channel, the right side
Around sound channel, left front circular sound channel, right front ring surround sound channel after right around sound channel, left back circular sound channel.
4. a kind of terminal device, which is characterized in that the terminal device is provided at least two sound channels and corresponding terminals
Son, the sound channel are connect by corresponding connecting terminal with sound-box device, the terminal device further include:
Sound source obtains module, broadcasts sound source in advance for obtaining after the connecting terminal is connect with sound-box device;
Channel type determining module, for by it is described it is pre- broadcast sound source pass sequentially through each channel transfer to corresponding sound-box device into
The sound-box device type information connecting with each connecting terminal that row is pre- to be played, and input or select according to user determines every
The type of a sound channel;
Different formal sound sources are passed through corresponding channel transfer for the type according to each sound channel by sound source transmission control module
It is formally played to sound-box device;
Wherein, the terminal device further include:
Channel type judgment module, for judging in all sound channels with the presence or absence of the identical sound channel of type;
Cue module, for generating error prompt information when the identical sound channel of present pattern in all sound channels;
Loop control module, for successively calling the channel type determining module, the sound according to the bomp information
Road type judging module executes respective operation, until the identical sound channel of type is not present in all sound channels;
The terminal device further include:
Flag bit be zeroed module, for the sound source obtain module obtain it is described it is pre- broadcast sound source before, by pre-set sound
Road assignment flag position zero;
Flag bit processing module, after the identical sound channel of type is not present in the determining all sound channels of judgement, by channel allocation
Flag bit adds 1;And judge whether channel allocation flag bit is equal to 2;
First circulation control module successively calls channel type determining module, sound for being not equal to 2 when channel allocation flag bit
Road type judging module, flag bit processing module respectively execute corresponding operation, until channel allocation flag bit is equal to 2;
The cue module is also used to be equal to 2 when channel allocation flag bit, then generates channel allocation and complete prompt information.
5. terminal device according to claim 4, which is characterized in that the channel type determining module includes:
Sound source transmission control unit, for pre- broadcasting channel transfer that sound source is not added with type mark by one to corresponding for described
Sound-box device played in advance;
Channel type determination unit, the type information of the corresponding sound-box device for being inputted according to user add phase to the sound channel
The type mark answered, to determine the channel type;
Sound channel marker for judgment unit, for judging whether there is the sound channel for being not added with type mark;
Label completes prompt unit, for when there is no the sound channel for being not added with type mark, generation sound channel label completes prompt letter
Breath.
Loop control unit, for successively calling sound source transmission control unit, sound channel when there is the sound channel for being not added with type mark
Type determining units, sound channel marker for judgment unit respectively execute corresponding operation, until there is no the sound for being not added with type mark
Road.
6. terminal device according to claim 5, which is characterized in that
The sound-box device type include it is following kind of two or more: L channel speaker, right channel speaker, center channels sound
Case, left Sorrounding sound channel loudspeaker box, right surround track loudspeaker box, left front Sorrounding sound channel loudspeaker box, it is right before Sorrounding sound channel loudspeaker box, left back surround sound
Road speaker, it is right after Sorrounding sound channel loudspeaker box;
The channel type include it is following kind of two or more: it is L channel, right channel, center channels, left around sound channel, the right side
Around sound channel, left front circular sound channel, right front ring surround sound channel after right around sound channel, left back circular sound channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410610215.5A CN105635893B (en) | 2014-10-31 | 2014-10-31 | Terminal device and method for distributing sound channels thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410610215.5A CN105635893B (en) | 2014-10-31 | 2014-10-31 | Terminal device and method for distributing sound channels thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105635893A CN105635893A (en) | 2016-06-01 |
CN105635893B true CN105635893B (en) | 2019-05-10 |
Family
ID=56050310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410610215.5A Active CN105635893B (en) | 2014-10-31 | 2014-10-31 | Terminal device and method for distributing sound channels thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635893B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109862475A (en) * | 2019-01-28 | 2019-06-07 | Oppo广东移动通信有限公司 | Audio-frequence player device and method, storage medium, communication terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1711800A (en) * | 2002-12-02 | 2005-12-21 | 汤姆森许可贸易公司 | Method and apparatus for processing two or more initially decoded audio signals |
CN1856186A (en) * | 2005-04-19 | 2006-11-01 | 索尼株式会社 | Acoustic apparatus, connection polarity determination method, and recording medium |
CN101465910A (en) * | 2009-01-12 | 2009-06-24 | 深圳华为通信技术有限公司 | Control method, terminal and system for playing stereo based on mobile terminal |
CN103475987A (en) * | 2013-08-30 | 2013-12-25 | 惠州市德赛西威汽车电子有限公司 | Wireless audio system and method of wireless audio system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4765289B2 (en) * | 2003-12-10 | 2011-09-07 | ソニー株式会社 | Method for detecting positional relationship of speaker device in acoustic system, acoustic system, server device, and speaker device |
-
2014
- 2014-10-31 CN CN201410610215.5A patent/CN105635893B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1711800A (en) * | 2002-12-02 | 2005-12-21 | 汤姆森许可贸易公司 | Method and apparatus for processing two or more initially decoded audio signals |
CN1856186A (en) * | 2005-04-19 | 2006-11-01 | 索尼株式会社 | Acoustic apparatus, connection polarity determination method, and recording medium |
CN101465910A (en) * | 2009-01-12 | 2009-06-24 | 深圳华为通信技术有限公司 | Control method, terminal and system for playing stereo based on mobile terminal |
CN103475987A (en) * | 2013-08-30 | 2013-12-25 | 惠州市德赛西威汽车电子有限公司 | Wireless audio system and method of wireless audio system |
Also Published As
Publication number | Publication date |
---|---|
CN105635893A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101673834B1 (en) | Collaborative sound system | |
US20130324031A1 (en) | Dynamic allocation of audio channel for surround sound systems | |
CN109445740A (en) | Audio frequency playing method, device, electronic equipment and storage medium | |
CN105848225B (en) | Wireless connection switching method and device in audio frequency broadcast system | |
US20150055781A1 (en) | Wireless speaker device and wirelessly multi-channel audio system thereof | |
KR102081336B1 (en) | Audio System, Audio Device and Method for Channel Mapping Thereof | |
CN109195063B (en) | Stereo sound generating system and method | |
MX2023005646A (en) | Audio apparatus and method of audio processing. | |
CN107135301A (en) | A kind of audio data processing method and device | |
CN103680546A (en) | Audio playing method, terminal and system | |
CN101681361A (en) | Mobile device and method for concurrently processing content according to multiple playlists | |
CN105323353A (en) | Mobile device audio indications | |
CN101118746A (en) | Double track based audio data calibration method and multi-people voice talking system thererof | |
CN113613156A (en) | Wearing state detection method and device, headset and storage medium | |
JP2023093626A (en) | Reproduction method | |
CN106201425A (en) | A kind of method and device of intelligent terminal's audio frequency output | |
CN105635893B (en) | Terminal device and method for distributing sound channels thereof | |
CN110868621B (en) | Audio playing method, device, equipment and computer readable medium | |
CN108206980B (en) | Audio accessory testing method, device and system | |
CN104883644A (en) | Information processing method and an electronic device | |
CN105611480A (en) | Audio playing method and terminal | |
CN104036817B (en) | Audio frequency playing method, device and electronic equipment | |
US20210185174A1 (en) | Call terminal, call system, control method of call terminal, and non-transitory recording medium | |
CN105682010B (en) | Bluetooth connection control method, device and playback equipment in audio frequency broadcast system | |
US11190895B2 (en) | Signal processing apparatus, signal processing system, signal processing method, and recording medium for characteristics in sound localization processing preferred by listener |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 516006 community 37, Zhongkai high tech Zone, Huizhou, Guangdong Patentee after: Tongli Technology Co.,Ltd. Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 19 district Patentee before: TONLY ELECTRONICS HOLDINGS Ltd. |