A kind of source of sound device for intelligently switching and its switching method
Technical field
The present invention relates to audio frequency apparatus technical field, more particularly to a kind of source of sound switching device and switching method.
Background technology
As the improvement of people's living standards, audio-frequence player device already turns into the necessity in people's daily life.Sound
Frequency playback equipment is the general name to audio input-output device, and the product type that it includes is also a lot, can be generally divided into:Power amplifier
Machine, audio amplifier, multimedia console, digital sound console, audio sample card, synthesizer, medium-high frequency audio amplifier, microphone, PC (Personal
Computer, PC) in sound card, earphone etc., other ambient audio equipment:Professional microphone series, earphone, receipts amplify and are
System etc..
At present, in conventional audio playback equipment, such as power amplifier, audio amplifier, usually occur while there are several source of sound inputs
Situation, mainly there are two kinds to the method that these sources of sound switch over:1) using fixed switch controlling section, such as knob, button etc.;
2) by the way of remote control, such as IR remote controller.
Know in description more than, the mode of these sources of sound switching is effective, but people is needed during use
Work intervention, it is very inconvenient;Such as, it is necessary to which people walks close to equipment, switching action is specified in completion, or needs finding remote controller to enter
Row operation switches over.Simplify with use of the people for equipment and improved constantly with intelligentized demand, and technology
Continuous development, it is clear that in this conventional audio playback equipment source of sound switch method can not meet the needs of people.
The content of the invention
In view of the above-mentioned problems, the present invention is intended to provide a kind of source of sound device for intelligently switching and its switching method, when need into
When row source of sound switches, it is no longer necessary to be manually operated manually, realize the automatic intelligence switching of source of sound.
Technical scheme provided by the invention is as follows:
A kind of source of sound device for intelligently switching, the source of sound device for intelligently switching include:
Digital signal interface, multiple signal mixers, multiple virtual value calculators, microcontroller and source of sound selector,
Wherein,
The digital signal interface, including for accessing multiple source of sound interfaces of various tone sources, the source of sound letter of every kind of source of sound
Number the source of sound device for intelligently switching is accessed by corresponding source of sound interface and forms corresponding source of sound passage;The source of sound
The quantity of the quantity of interface and the species of the source of sound is correspondingly arranged;
The signal mixer, it is connected with the digital signal interface, each signal mixer is believed with the numeral
Source of sound interface connection in number interface, the sound channel of left and right two of the sound source signal for the source of sound interface to be accessed are mixed
Close, and export the audio signal being mixed to get;The quantity of the signal mixer is corresponding with the number of species of the source of sound interface
Set;
The virtual value calculator, is connected with the signal mixer, and the virtual value calculator mixes with the signal
Clutch, which corresponds, to be set, and each virtual value calculator receives the sound that the corresponding signal mixer is sent
Frequency signal, and the virtual value of the audio signal is calculated;
The microcontroller, it is connected respectively with each virtual value calculator, the microcontroller receives each respectively
The virtual value that the virtual value calculator is sent, and then judge whether the audio intelligent switching device accesses the audio signal
Corresponding source of sound passage;
The source of sound selector, is connected with the microcontroller and the digital signal interface respectively, the source of sound selection
Device obtains judged result from the microcontroller;If the judged result is led to for source of sound corresponding to being switched to the audio signal
In road, then source of sound device for intelligently switching is outputted to sound source signal corresponding to corresponding source of sound passage and then access.
In the technical program, by each source of sound passage for being calculated in virtual value calculator in microcontroller
Virtual value, the clocking value of the microcontroller and preset rules determine whether that source of sound inputs, and then control source of sound selector to cut
Change to and source of sound output is carried out in the source of sound passage of source of sound input, so, realize the intelligence switching of source of sound, it is no longer necessary to artificial
Switch over, greatly improve the intellectuality of audio-frequence player device, while improve the experience of user.
Preferably, the microcontroller includes:Signal receiving module, signal transmitting module, timing module, source of sound play
List block and comparison module, wherein,
The signal receiving module, it is connected respectively with each virtual value calculator, the signal receiving module is from every
The virtual value of audio signal corresponding to being obtained respectively in the individual virtual value calculator;
The timing module, it is connected with the signal receiving module, the timing module is used to calculate from the virtual value
The time of effective value changes of the audio signal obtained in calculator;
The comparison module, it is connected respectively with the signal receiving module and timing module, the comparison module will obtain
Audio signal virtual value compared with default virtual value, and effective value changes for the audio signal that timing module is obtained
Time compared with preset time;
The source of sound playlist module, is connected with the comparison module, and the source of sound playlist module is according to
The time of effective value changes of comparison module sound intermediate frequency signal and preset time result of the comparison, judgement are to switch to audio letter
Source of sound passage corresponding to the audio signal is deleted in source of sound passage corresponding to number or from source of sound playlist;
The signal transmitting module, it is connected with the source of sound playlist module, when the source of sound playlist module is sentenced
When being switched to surely in source of sound passage corresponding to the audio signal, then switching command is sent to source of sound and selected by the signal transmitting module
Select in device.
In the technical program, source of sound input is accurately determined whether there is in microcontroller by timing module, is carried significantly
The high accuracy of audio intelligent switching device.
Preferably, the multiple source of sound interface includes:Simulation input interface, SPDIF (Sony/Philips Digital
Interface Format, digital audio interface) interface, bluetooth input module and wireless input module;
The source of sound device for intelligently switching includes 4 signal mixers, each signal mixer and a source of sound
Interface connects;
Institute's source of sound device for intelligently switching includes 4 virtual value calculators, each virtual value calculator and an institute
State signal mixer connection.
In the technical program, there is provided 4 source of sound interfaces, and so, the audio intelligent switching device can be in 4 kinds of sounds
Switched in source, when the source of sound of access is bluetooth source of sound, is then switched in the source of sound passage of bluetooth and is exported, and each sound
Corresponding signal mixer and virtual value calculator is equipped with source channels, carries out whether accessing sound source signal in corresponding source of sound passage
Judgement.
Preferably, in the simulation input interface, in addition to an ADC, for by the mould of the sound source signal of access
Analog quantity is converted into digital quantity.
A kind of source of sound intelligent switch method, the source of sound intelligent switch method are applied to above-mentioned source of sound device for intelligently switching,
The source of sound intelligent switch method comprises the following steps:
S1 virtual value calculators obtain the audio signal being mixed to get from signal mixer, and calculate the audio signal
Virtual value;
S2 microcontrollers obtain the virtual value of the audio signal from virtual value calculator, and according to the audio signal
Virtual value, the microcontroller clocking value and preset rules judge whether to be switched to the audio signal corresponding to source of sound lead to
In road;If so, then jump in step S3;If it is not, then jump in step S5;
S3 microcontrollers safeguard source of sound playlist, send switching command into source of sound selector;
Source of sound device for intelligently switching is outputted to the sound source signal pair by S4 sources of sound selector according to switching command
Sound source signal in the source of sound passage answered and then corresponding to access;
S5 microcontrollers judge according to the virtual value of the audio signal, the clocking value of the microcontroller and preset rules
Source of sound passage corresponding to the audio signal is deleted in the no playlist from source of sound;If so, then jump to step S6;If it is not,
Then jump to step S7;
S6 deletes source of sound passage corresponding to audio signal described in source of sound playlist;
S7 single treatments terminate.
Preferably, in step s 2, following steps are specifically included:
S21 microcontrollers obtain the virtual value of the audio signal from virtual value calculator;
S22 microcontrollers are by the virtual value of the audio signal received compared with default virtual value;If receive
The virtual value of the audio signal arrived is more than default virtual value, then judges there is sound source signal in the source of sound passage, jump to step
S23;If the virtual value of the audio signal received is less than default virtual value, judge there is no sound source signal in the source of sound passage,
Jump to step S5;
S23 microcontrollers judge the state of sound source signal whether is constantly in the source of sound passage;If so, then jump to
Step S7;If it is not, then jump to step S24;
S24 microcontrollers, which calculate in the source of sound passage never sound source signal, to during having sound source signal, not to be had
The very first time of sound source signal;
S25 microcontrollers are by the very first time compared with the first preset time;If the very first time is more than institute
The first preset time is stated, then jumps to step S3;If the very first time is less than first preset time, step is jumped to
S7。
Preferably, in step s 5, following steps are specifically included:
Whether S51 microcontrollers, which judge to be constantly in the source of sound passage, does not have sound source signal state;If so, then redirect
To step S52;If it is not, then microcontroller starts to calculate the time of no sound source signal, and jump to step S7;
S52 microcontrollers are calculated in the source of sound passage from there is sound source signal to during no sound source signal, are not had
Second time of sound source signal;
Microcontroller described in S53 is by second time compared with the second preset time;If second time is big
In second preset time, then step S6 is jumped to;If second time is less than second preset time, jump to
Step S7.
By source of sound device for intelligently switching provided by the invention and its switching method, following at least one can be brought beneficial
Effect:
In the present invention, a virtual value calculator is equipped with every source of sound passage, calculates this source of sound passage sound intermediate frequency
The virtual value (RMS (Root Mean Square, root mean square) value) of signal, and then microcontroller passes through the effective of the audio signal
Value, the clocking value of the microcontroller and preset rules judge whether accessed sound source signal in the source of sound passage, finally control
Audio selector carries out the intelligence switching of source of sound.After having used the source of sound device for intelligently switching, audio-frequence player device i.e. can
The switching of source of sound is voluntarily carried out, and no longer needs manually to participate in, the intellectuality of audio-frequence player device is greatly improved, simplifies user
Operating process, while improve the experience of user;
Further, in the present invention, a variety of sources of sound, such audio-frequence player device energy are accessed by digital signal interface
Enough sound source datas to various sources of sound play out;In actual product, predetermined function can be realized well, greatly improves product
Practicality.
Brief description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to above-mentioned characteristic, technical characteristic,
Advantage and its implementation are further described.
Fig. 1 is source of sound device for intelligently switching structural representation in the present invention;
Fig. 2 is that the present invention includes inputting the source of sound device for intelligently switching embodiment structural representation of source of sound in 4;
Fig. 3 is source of sound intelligent switch method flow and method in the present invention;
Fig. 4 is source of sound intelligent switch method entire flow figure in the present invention.
Drawing reference numeral explanation:
1- digital signal interfaces, 2- signal mixers, 3- virtual value calculators, 4- microcontrollers,
5- source of sound selectors, 6-ADC modules.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
It is as shown in Figure 1 the structural representation of the source of sound device for intelligently switching provided in the present invention, it can be seen that
Include in the source of sound device for intelligently switching:Digital signal interface 1, multiple signal mixers 2, multiple virtual value calculators 3, micro-control
Device 4 and source of sound selector 5 processed, wherein, the input of digital signal interface 1 accesses the sound source signal of external source of sound, numeral letter
The output end of number interface 1 is connected with the input of signal mixer 2 and the input of source of sound selector 5 respectively, signal mixer 2
Output end be connected with the input of virtual value calculator 3, the output end of virtual value calculator 3 and the input of microcontroller 4
Connection, the output end of microcontroller 4 are connected with the input of source of sound selector 5.
Digital signal interface 1 includes multiple source of sound interfaces for being used to access the sound source signal of external source of sound (such as institute in Fig. 1
The source of sound interface A that shows, source of sound interface B ..., source of sound interface N), sound source signal is respectively by therewith corresponding to every kind of source of sound
Corresponding source of sound interface accesses source of sound device for intelligently switching and forms corresponding source of sound passage;And the quantity and source of sound of source of sound interface
The quantity of species be correspondingly arranged.In a particular embodiment, digital signal interface 1 said herein can be I2S (Inter-IC
Sound, integrated circuit built-in audio bus) interface;Again in order to increase the species of the source of sound of source of sound device for intelligently switching input,
SPDIF interfaces can also be set in the I2S interfaces, to access SPDIF/ optical fiber input source of sound, SPDIF/ coaxially inputs source of sound
Deng.Certainly, in other embodiments, in order to access other species sources of sound, such as bluetooth source of sound, WIFI sources of sound, now in the number
Corresponding bluetooth input module, wireless input module etc. are set in word signaling interface 1.As can be seen that provided in the present invention
Source of sound device for intelligently switching in, can by the digital signal interface 1 access any kind source of sound, as long as to the numeral letter
Number interface 1 makes corresponding adjustment, therefore the species for the source of sound that we have access to it is not specifically limited herein.
Signal mixer 2, it is connected with digital signal interface 1, each signal mixer 2 and one in digital signal interface 1
Individual source of sound interface connection.During the source of sound device for intelligently switching use, each signal mixer 2 corresponds to connection from it
Corresponding sound source signal is obtained in source of sound interface, and the sound channel of left and right two of the sound source signal of access is mixed, then again
The audio signal being mixed to get is exported.In order to the sound source signal judging to access in the plurality of source of sound interface
Source of sound passage, signal mixer 2 are corresponded with source of sound interface and set.In a particular embodiment, when the source of sound, intelligently switching fills
When 2 kinds of sources of sound can be accessed in putting, then include two signal mixers 2 in the source of sound device for intelligently switching, each signal mixes
Clutch 2 is connected with a source of sound interface respectively, and then two signal mixers are believed the source of sound of two source of sound interface accesses respectively
Number carry out mixed processing.
Virtual value calculator 3, it is connected with signal mixer 2, and virtual value calculator 3 corresponds with signal mixer 2
Set, each virtual value calculator 3 receives the audio signal that signal corresponding thereto blender 2 is sent, and audio is calculated
The virtual value of signal.Specifically, the virtual value for calculating audio signal here is the root mean square for calculating audio signal.Specific real
Shi Zhong, when source of sound device for intelligently switching includes 2 signal mixers 2, then similarly, wrapped in the source of sound device for intelligently switching
2 virtual value calculators 3 are included, each virtual value calculator 3 is connected with a signal mixer 2 respectively, receives corresponding signal
The audio signal that blender 2 exports, and then calculate the virtual value of the audio signal received.
Microcontroller 4, it is connected respectively with each virtual value calculator 3, microcontroller 4 receives each virtual value and calculated respectively
The virtual value that device 3 is sent, then the virtual value received is compared with default virtual value, when the virtual value received is more than
During default virtual value, then judge to have in the source of sound passage sound source signal (but can not judge there is sound source signal to connect immediately
Enter);If it is to have sound source signal access to determine whether out the source of sound passage, source of sound playlist is safeguarded, sends switching command
Switched to source of sound selector 5 in the source of sound passage, export the sound source signal in the source of sound passage.
Furthermore, it is understood that the microcontroller 4 includes:Signal receiving module, signal transmitting module, timing module, source of sound
Playlist module and comparison module, wherein, signal receiving module connects with the output end of each virtual value calculator 3 respectively
Connect, timing module is connected with signal receiving module, and comparison module is connected with signal receiving module and timing module respectively, and source of sound is broadcast
Put list block to be connected with comparison module, signal transmitting module is connected with source of sound playlist module.
Specifically, during work, receive to come from by signal receiving module first each has the microcontroller 4
The virtual value for the audio signal that valid value calculator 3 is sent is (microcontroller 4 during work, even if in a certain source of sound passage
Sound source signal is not accessed, but microcontroller 4 can equally carry out the process, be judged during judgement);It is false
If microcontroller 4 receives two virtual values, respectively the first virtual value and the second virtual value;Then now comparison module respectively will
First virtual value and the second virtual value are compared with default virtual value TH1;If again in two virtual values, first is effective
Value is more than default virtual value TH1, and the second virtual value is less than default virtual value TH1, then judges source of sound corresponding to the first virtual value
There is sound source signal in passage, and there is no sound source signal in source of sound passage corresponding to the second virtual value.But now can only tentatively it sentence
There is sound source signal in source of sound passage corresponding to fixed first virtual value, not can determine that the sound source signal in the source of sound passage is
Access still exists always, thus, it is also necessary to further judged.And then if microcontroller 4 determines whether out first
Sound source signal in source of sound passage corresponding to virtual value is the state (accessing) never arrived, and is compared in comparison module
When going out in source of sound passage before this not having the very first time (by timing module timing) of the sound source signal default more than first
Between T1, then microcontroller 4 judge that the sound source signal in the source of sound passage belongs to access state, then the source of sound passage is put into source of sound
The least significant end of playlist, and then switching command is sent into source of sound selector 5, by the output switching of source of sound device for intelligently switching
Into the source of sound passage;If on the contrary, compared in comparison module in source of sound passage before this in the absence of the sound source signal
The very first time (by instant module timing) is less than the first preset time T 1, then it represents that source of sound passage corresponding to first virtual value
In sound source signal be existing state always, do not do any action now, terminate the single treatment.In addition, work as microcontroller 4
It is from having no state, and comparison module to determine whether out the sound source signal in source of sound passage corresponding to the first virtual value
In compare the sound source signal be not present in the source of sound passage (i.e. the source of sound channel interrupt has opened time of the sound source signal)
The second time be more than the second preset time T 2, then microcontroller 4 judges that the source of sound passage is disconnected sound source signal, and then should
Source of sound passage is deleted from source of sound playlist.
Source of sound playlist module, is connected with comparison module, and source of sound playlist module is believed according to comparison module sound intermediate frequency
Number effective value changes time and preset time result of the comparison, judgement is to switch to source of sound passage corresponding to the audio signal
In or delete from source of sound playlist source of sound passage corresponding to the audio signal.Specifically, the description process more than
In, if it is determined that source of sound passage corresponding to first virtual value has sound source signal access, then the source of sound passage is put into by microcontroller 4
The least significant end of source of sound playlist, and switching command is sent by signal transmitting module and sent into source of sound selector 5, then source of sound
The output channel Output of source of sound device for intelligently switching is switched to least significant end in source of sound playlist module i.e. by selector 5
Can.If further, judge source of sound passage state in which corresponding to first virtual value for sound source signal disconnection, microcontroller 4
The source of sound passage of least significant end in the source of sound playlist is deleted.Finally, it is noted that when the playlist module is space-time,
Then source of sound device for intelligently switching is maintained at the state of the source of sound passage of last broadcasting, for example, working as source of sound device for intelligently switching
Last source of sound played is bluetooth source of sound, then when playlist is that (i.e. present video playback equipment is not played and appointed space-time
Business), now, source of sound device for intelligently switching keeps the bluetooth source of sound passage to export, and waits instruction next time;Certainly, at this
During, source of sound device for intelligently switching can also be maintained in the preset state of user, and e.g., the passage of user preset is defeated to simulate
Enter passage, then when being space-time in source of sound playlist, source of sound device for intelligently switching jumps to the state automatically, and we do not do herein
Limit.
Source of sound selector 5, it is connected respectively with microcontroller 4 and digital signal interface 1, source of sound selector 5 is from microcontroller 4
Middle acquisition judged result;If judged result is is switched in source of sound passage corresponding to audio signal, by source of sound, intelligently switching fills
That puts is outputted to sound source signal corresponding to corresponding source of sound passage and then access.Specifically, if intelligently switching fills source of sound
Putting includes the source of sound interface of source of sound in 2, then the source of sound selector 5 is 2 to select 1 selector;If in source of sound device for intelligently switching
Include the source of sound interface of source of sound in 4, then the source of sound selector 5 is 4 to select 1 selector, i.e., the source of sound selector 5 is according to numeral letter
Number interface middle pitch source interface quantity is set.
As a complete embodiment, input source of sound interface (such as Fig. 2 middle pitches during the present invention includes 4 are illustrated in figure 2
Source interface a1, source of sound interface b1, source of sound interface c1 and source of sound interface d1) source of sound device for intelligently switching embodiment structure
Schematic diagram, wherein, source of sound interface a1 corresponds to simulation input interface, and source of sound interface b1 corresponds to SPDIF interfaces, and source of sound interface c1 is corresponding
Bluetooth input module (access bluetooth source of sound), source of sound interface d1 correspond to wireless input module (access WIFI sources of sound), now, source of sound
Device for intelligently switching include 4 signal mixers 2 (signal mixer a in such as Fig. 2, signal mixer b, signal mixer c and
Signal mixer d), each signal mixer 2 is connected with a source of sound interface;Source device for intelligently switching includes 4 virtual values
Calculator 3 (in such as Fig. 2 virtual value calculator a, virtual value calculator b, virtual value calculator c and virtual value calculator d), often
Individual virtual value calculator 3 is connected with a signal mixer 2, and the principle of work and the flow of work are consistent with the previously described,
Therefore not to repeat here.Certainly, to be said, in source of sound interface a1, that is, in simulation input interface, in addition to an ADC moulds
Block 6, the analog quantity of the sound source signal of access is converted into digital quantity.
The schematic flow sheet of source of sound intelligent switch method provided by the invention is illustrated in figure 3, is illustrated in figure 4 the present invention
Middle source of sound intelligent switch method entire flow figure, the source of sound intelligent switch method are applied to above-mentioned source of sound device for intelligently switching, with
The source of sound intelligent switch method is described in detail by lower combination such as Fig. 3 and such as Fig. 4, first it is noted that the audio intelligent
Switching method only states certain one cycle of audio intelligent switching device, figure 4, it is seen that starting from during being somebody's turn to do
" single treatment starts ", end at " single treatment terminates ", and in the circulation of each, all can be according to sound in microcontroller 5
The virtual value of frequency signal forms a source of sound playlist and safeguarded.We are discussed in detail in single loop below, should
Source of sound intelligent switch method specifically includes:
S1 virtual values calculator 3 obtains the audio signal being mixed to get from signal mixer 2, and calculates the audio signal
Virtual value.In this step, specifically, each virtual value calculator 3 is respectively from the middle pitch of signal mixer 2 being attached thereto
The virtual value of frequency signal, certainly, if there is no sound source signal access in source of sound passage, what virtual value calculator 3 was calculated
The virtual value of audio signal can be less than default virtual value TH1, and the presence of sound source signal is determined whether with this.In addition, at this
Before, we first by each source of sound passage be respectively defined as CHANNEL1, CHANNEL2 ..., CHANNELn, specific
In embodiment, e.g., CHANNEL1 is used for representative simulation input channel, CHANNEL2 is used to represent SPDIF input channels etc., herein
Do not limit specifically.
S2 microcontrollers 4 obtain the virtual value of audio signal from virtual value calculator 3, and according to the effective of audio signal
Value, the clocking value of microcontroller and preset rules judge whether to be switched in source of sound passage corresponding to audio signal;If so, then jump
Go in step S3;If it is not, then jump in step S5.Certainly before this, similarly, we are in each source of sound passage
Whether there is sound source signal to define flag bit Vn, e.g., when sound source signal in source of sound passage be present, then flag bit Vn=1, otherwise should
Flag bit Vn=0.
Specifically, in step S2, comprise the following steps:
S21 microcontrollers 4 obtain the virtual value of audio signal from virtual value calculator 3;
S22 microcontrollers 4 are by the virtual value of the audio signal received compared with default virtual value TH1;If receive
The virtual value RMSn of the audio signal arrived is more than default virtual value TH1, then judges there is sound source signal in the source of sound passage, and should
Flag bit Vn marks 1, jump to step S23 in source of sound passage;If the virtual value RMSn of the audio signal received is less than default
Virtual value TH1, then judge there is no sound source signal in the source of sound passage, by flag bit Vn marks 0 in the source of sound passage, jump to step
Rapid S5;
S23 microcontrollers 4 judge the state of sound source signal whether is constantly in the source of sound passage;If so, then redirect
To step S7;If it is not, then jump to step S24;
S24 microcontrollers 4 calculate in source of sound passage never sound source signal to (i.e. source of sound during having sound source signal
Flag bit Vn is changed into during 1 from 0 in passage), without sound source signal the very first time (flag bit be 0 time, i.e. T (Vn
=0)).
S25 microcontrollers 4 are by the very first time compared with the first preset time T 1;It is default that if the very first time is more than first
Time T1, then jump to step S3;If the very first time is less than the first preset time T 1, step S7 is jumped to.In this process,
When never sound source signal is to there is sound source signal in source of sound passage, then timing module stops timing.
S3 microcontrollers 4 send switching command into source of sound selector 5.
S4 sources of sound selector 5 according to switching command by source of sound device for intelligently switching be outputted to sound source signal corresponding to
Sound source signal in source of sound passage and then corresponding to access.Specifically, in this step, microcontroller 4 puts the source of sound passage
To the least significant end of source of sound playlist, and then output channel Output is switched to source of sound playlist most by source of sound selector 5
Low side is to export the sound source signal in the source of sound passage.
S5 microcontrollers 4 judge according to the virtual value of the audio signal, the clocking value of the microcontroller and preset rules
Whether source of sound passage corresponding to audio signal is deleted from source of sound playlist, if so, then jumping to step S6;If it is not, then
Jump to step S7.
Specifically, in step S5, comprise the following steps:
Whether S51 microcontrollers 4, which judge to be constantly in source of sound passage, does not have sound source signal state;If so, then jump to
Step S52;If not (now, in the source of sound passage 0) flag bit Vn is changed into from 1, then microcontroller 4 starts to calculate no source of sound
The time (starting timing T (Vn=0)) of signal, and jump to step S7;
S52 microcontrollers 4 are calculated from there is sound source signal to during no sound source signal in source of sound passage, without source of sound
The second time (i.e. flag bit Vn=0 time, T (Vn=0)) of signal;
S53 microcontrollers are by the second time compared with the second preset time;If the second time is default more than second
Between, then jump to step S6;If the second time was less than the second preset time, step S7 is jumped to.
S6 deletes source of sound passage corresponding to source of sound playlist sound intermediate frequency signal;
S7 single treatments terminate.
It should be noted that above-described embodiment can independent assortment as needed.Described above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, do not departing from the premise of the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.