Summary of the invention
Fundamental purpose of the present invention provides a kind of audio communication method and device, be intended under the situation of not modification system setting, when solution part main process equipment and some external audio communication facilities carry out data communication by audio interface, the interference problem that the sound that other application programs are play on the main process equipment produces.
The embodiment of the invention discloses a kind of audio communication method, may further comprise the steps:
Set up the mixer input source and safeguard chained list, each input source is begun to insert successively described chained list from linked list head;
The data modulating audio frequency carrier signal of need by audio interface output generated the modulated acoustic tone signal, and the sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer;
Audio sampling frequency is set, each input source of described mixer is converted to unified described audio sampling frequency;
Begin last accumulation result export from described audio interface as the audio mixing result, for the reception of external audio communication facilities by add up each input source of described mixer of road from the gauge outfit of described chained list.
Preferably, described gauge outfit from described chained list begins to comprise by add up each input source of described mixer of road:
When adding up, each accumulation result is all carried out amplitude limiting processing, when the amplitude of this accumulation result preset the positive maximal value of PCM numerical value above described mixer, then the amplitude with this accumulation result was restricted to the positive maximal value of the described PCM of presetting numerical value; When the amplitude of this accumulation result surpassed described mixer and presets the negative maximal value of PCM numerical value, then the amplitude with this accumulation result was restricted to the negative maximal value of the described PCM of presetting numerical value.
Preferably, the described sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises:
Output two-way or multichannel numerical value are the just peaked sound signal of PCM numerical value earlier, export a way value again and are the negative peaked sound signal of PCM numerical value; Perhaps, output two-way or multichannel numerical value are the negative peaked sound signal of PCM numerical value earlier, and exporting a way value again is the just peaked sound signal of PCM numerical value;
At last, output is used for carrying out the described modulated acoustic tone signal of data communication to described mixer.
Preferably, described gauge outfit from described chained list begins to comprise by add up each input source of described mixer of road:
Last accumulation result to described each input source carries out amplitude limiting processing, and when the amplitude of described last accumulation result preset the positive maximal value of PCM numerical value above described mixer, then the amplitude with described last accumulation result was restricted to the positive maximal value of the described PCM of presetting numerical value; When the amplitude of described last accumulation result surpassed described mixer and presets the negative maximal value of PCM numerical value, amplitude that then will described last accumulation result was restricted to the described PCM of presetting numerical value and bears maximal value.
Preferably, the described sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises:
Described modulated acoustic tone signal be on the occasion of the time, the amplitude of described modulated acoustic tone signal is converted to the positive maximal value of the described PCM of presetting numerical value; When described modulated acoustic tone signal is negative value, the amplitude of described modulated acoustic tone signal is converted to the negative maximal value of the described PCM of presetting numerical value;
Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of PCM numerical value or PCM numerical value is to described mixer.
Preferably, the described sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises:
Described modulated acoustic tone signal be on the occasion of the time, the amplitude of described modulated acoustic tone signal is converted to the negative maximal value of the described PCM of presetting numerical value; When described modulated acoustic tone signal is negative value, the amplitude of described modulated acoustic tone signal is converted to the positive maximal value of the described PCM of presetting numerical value;
Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
Preferably, described will the need comprises by the data modulating audio frequency carrier signal generation modulated acoustic tone signal of audio interface output:
The data of described need by audio interface output be on the occasion of the time, the just peaked modulated acoustic tone signal of corresponding generation PCM numerical value; When the data of described need by audio interface output are negative value, the corresponding negative peaked modulated acoustic tone signal of PCM numerical value that generates;
Perhaps:
The data of described need by audio interface output be on the occasion of the time, the corresponding PCM of generation numerical value is born peaked modulated acoustic tone signal; When the data of described need by audio interface output are negative value, the corresponding just peaked modulated acoustic tone signal of PCM numerical value that generates;
The described sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises: exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
The embodiment of the invention also discloses a kind of VOCA voice communications assembly, comprising:
Chained list is set up module, is used for setting up the mixer input source and safeguards chained list, and each input source is begun to insert successively described chained list from linked list head;
The data modulation module to need to be used for the data modulating audio frequency carrier signal generation modulated acoustic tone signal by audio interface output, and the sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer;
Frequency setting module is used for arranging audio sampling frequency, and each input source of described mixer is converted to unified described audio sampling frequency;
Signal output module is used for beginning last accumulation result export from described audio interface as the audio mixing result, for the reception of external audio communication facilities by add up each input source of described mixer of road from the gauge outfit of described chained list.
Preferably, described signal output module also is used for:
When adding up, each accumulation result is all carried out amplitude limiting processing, when the amplitude of this accumulation result preset the positive maximal value of PCM numerical value above described mixer, then the amplitude with this accumulation result was restricted to the positive maximal value of PCM numerical value; When the amplitude of this accumulation result surpassed described mixer and presets the negative maximal value of PCM numerical value, then the amplitude with this accumulation result was restricted to the negative maximal value of PCM numerical value.
Preferably, described data modulation module also is used for:
Output two-way or multichannel numerical value are the just peaked sound signal of PCM numerical value earlier, export a way value again and are the negative peaked sound signal of PCM numerical value; Perhaps, output two-way or multichannel numerical value are the negative peaked sound signal of PCM numerical value earlier, and exporting a way value again is the just peaked sound signal of PCM numerical value;
At last, output is used for carrying out the described modulated acoustic tone signal of data communication to described mixer.
Preferably, described signal output module also is used for:
Last accumulation result to described each input source carries out amplitude limiting processing, and when the amplitude of described last accumulation result preset the positive maximal value of PCM numerical value above described mixer, then the amplitude with described last accumulation result was restricted to the positive maximal value of the described PCM of presetting numerical value; When the amplitude of described last accumulation result surpassed described mixer and presets the negative maximal value of PCM numerical value, amplitude that then will described last accumulation result was restricted to the described PCM of presetting numerical value and bears maximal value.
Preferably, described data modulation module also is used for:
Described modulated acoustic tone signal be on the occasion of the time, the amplitude of described modulated acoustic tone signal is converted to the positive maximal value of the described PCM of presetting numerical value; When described modulated acoustic tone signal is negative value, the amplitude of described modulated acoustic tone signal is converted to the negative maximal value of the described PCM of presetting numerical value;
Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
Preferably, described data modulation module also is used for:
Described modulated acoustic tone signal be on the occasion of the time, the amplitude of described modulated acoustic tone signal is converted to the negative maximal value of the described PCM of presetting numerical value; When described modulated acoustic tone signal is negative value, the amplitude of described modulated acoustic tone signal is converted to the positive maximal value of the described PCM of presetting numerical value;
Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
Preferably, described data modulation module also is used for:
The data of described need by audio interface output be on the occasion of the time, the described just peaked modulated acoustic tone signal of PCM numerical value that presets of corresponding generation; When the data of described need by audio interface output are negative value, correspondingly generate the described negative peaked modulated acoustic tone signal of PCM numerical value that presets;
Perhaps:
The data of described need by audio interface output be on the occasion of the time, correspondingly generate the described PCM numerical value that presets and bear peaked modulated acoustic tone signal; When the data of described need by audio interface output are negative value, correspondingly generate the described just peaked modulated acoustic tone signal of PCM numerical value that presets;
Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
The present invention sets up the chained list of mixer correspondence by main process equipment, and the data modulating audio frequency carrier signal of need by audio interface output generated the modulated acoustic tone signal; The sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer, before audio mixing each road input source is converted to unified audio sampling frequency; And at the two kind different accumulation algorithm of mixer when the audio mixing, input source adopts different audio signal output modes respectively, mixer is exported each input source signal behind the audio mixing that adds up as the audio mixing result, method for the reception of external audio communication facilities, have in the audio setting of not revising main process equipment and do not influence under the condition of other programs of main process equipment operation, the beneficial effect that the background audio that adopts audio interface to carry out data communication is suppressed, thoroughly solved when carrying out data communication by audio interface the interference problem that plays sound and produce because of other application programs; Because above-mentioned solution realizes therefore having better compatibility and versatility by software.
Embodiment
Further specify technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
In the specific embodiment of audio communication method of the present invention and device, described main process equipment refers to main process equipments such as portable terminal, panel computer, the described external unit that communicates with refers to the external audio communication facilities that carries out data communication by audio interface with described main process equipment, as USBKey etc.; Main process equipment and cooperatively interact by the external audio communication facilities that audio interface and main process equipment communicate is realized the compacting to background audio, and communication data is correct when guaranteeing to communicate between the two.
With reference to Fig. 1, Fig. 1 is audio communication method one embodiment schematic flow sheet of the present invention; As shown in Figure 1, audio communication method of the present invention may further comprise the steps:
Step S01, set up the mixer input source and safeguard chained list, each input source is begun to insert successively described chained list from linked list head;
Main process equipment is set up the input source of mixer correspondence and is safeguarded chained list, and each input source is begun to insert successively described chained list from described linked list head successively.
In a preferred embodiment, mixer is safeguarded each road input source by the chained list of above-mentioned foundation, in that to have new input source to add fashionable, the input source that increases newly is inserted into the end of this chained list; When having input source to close, the described input source of closing is removed from described chained list.
Step S02, will need to generate the modulated acoustic tone signal by the data modulating audio frequency carrier signal of audio interface output, the sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer;
Main process equipment will need the data that communicate with the external audio communication facilities of being used for by audio interface output, be modulated at and generate the modulated acoustic tone signal on the audio carrier signal.
In a preferred embodiment, main process equipment adopts PCM(Pulse-Code Modulation, pulse code modulation (PCM)) mode the data of output are modulated.
The sound signal that main process equipment will comprise described modulation sound exports mixer to as the input source of mixer.When main process equipment communicates by audio interface and external audio communication facilities, the sound signal that main process equipment will comprise described modulated acoustic tone signal exports the mixer of this main process equipment to by two-way or multichannel input source, by mixer two or more sound signals are carried out audio mixing, a synthetic independent mixed audio signal and output.
Step S03, audio sampling frequency is set, each input source of described mixer is converted to unified described audio sampling frequency;
Before the mixer of main process equipment carries out audio mixing to the sound signal of input source input, each road input source that main process equipment is safeguarded this mixer is converted to unified audio sampling frequency, when making each input source gather sound signal, sample according to same sample frequency.
Step S04, begin last accumulation result export from described audio interface as the audio mixing result, for the reception of external audio communication facilities by add up each input source of described mixer of road from the gauge outfit of described chained list.
The different modes that the sound signal of each road input source being imported at mixer in the main process equipment adds up, each input source adopts different audio signal output modes to export mixer to respectively.
When the mixer of main process equipment carries out audio mixing, begin by road each road input source that adds up from the linked list head with the chained list of this mixer coupling, wherein a kind of accumulate mode is: when adding up, the result who at every turn adds up is all carried out amplitude limiting processing, surpass described mixer at this accumulation result and preset the positive maximal value of PCM numerical value, then the amplitude with this accumulation result is restricted to the positive maximal value of the described PCM of presetting numerical value; Surpass describedly when presetting the negative maximal value of PCM numerical value at this accumulation result, then the amplitude with this accumulation result is restricted to the negative maximal value of the described PCM of presetting numerical value.
All carry out the accumulate mode of amplitude limiting processing at each accumulation result, when the sound signal that main process equipment will comprise described modulated acoustic tone signal exports mixer to as input source, output two-way or multichannel numerical value are the described just peaked sound signal of PCM numerical value that presets earlier, and exporting a way value again is the negative peaked sound signal of the described PCM of presetting numerical value; Perhaps, output two-way or multichannel numerical value are the described negative peaked sound signal of PCM numerical value that presets earlier, and exporting a way value again is the just peaked sound signal of the described PCM of presetting numerical value; Modulated acoustic tone signal when output is used for carrying out data communication at last is to mixer.Like this, export behind the mixer audio mixing only carry out data communication the time the modulated acoustic tone signal.The mixer of main process equipment is according to the unified audio sampling frequency that arranges, begin by road each input source that adds up from the linked list head of this mixer correspondence, each modulated acoustic tone signal namely adds up, and the accumulation result after described modulated acoustic tone signal added up exports from described audio interface as the audio mixing result, receives for the external audio communication facilities that communicates with main process equipment.
When the mixer of main process equipment carries out audio mixing, begin from the linked list head with the chained list of this mixer coupling by the add up another kind of accumulate mode of each road input source of road be: when adding up, only the result who in the end adds up carries out amplitude limiting processing and namely only the last accumulation result of each input source is carried out amplitude limiting processing, in the end accumulation result surpass described mixer preset the positive maximal value of PCM numerical value the time, then the amplitude with described last accumulation result is restricted to the positive maximal value of the described PCM of presetting numerical value; In the end accumulation result surpass described mixer preset the negative maximal value of PCM numerical value the time, amplitude that then will described last accumulation result is restricted to the described PCM of presetting numerical value and bears maximal value.
At only in the end accumulation result carry out the accumulate mode of amplitude limiting processing, when the sound signal that main process equipment will comprise described modulated acoustic tone signal exported mixer to as the input source of mixer, exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously was that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.Like this, export behind the mixer audio mixing only carry out data communication the time the modulated acoustic tone signal.The mixer of main process equipment is according to the unified audio sampling frequency that arranges, begin by road each input source that adds up from the linked list head of this mixer correspondence, each modulated acoustic tone signal namely adds up, and the accumulation result after described modulated acoustic tone signal added up exports from described audio interface as the audio mixing result, receives for the external audio communication facilities that communicates with main process equipment.
In a preferred embodiment, the described sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises:
Described modulated acoustic tone signal be on the occasion of the time, the amplitude of described modulated acoustic tone signal is converted to the negative maximal value of the described PCM of presetting numerical value; When described modulated acoustic tone signal is negative value, the amplitude of described modulated acoustic tone signal is converted to the positive maximal value of the described PCM of presetting numerical value; Exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously is that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.
In a preferred embodiment, described will the need comprises by the data modulating audio frequency carrier signal generation modulated acoustic tone signal of audio interface output:
The data of described need by audio interface output be on the occasion of the time, the described just peaked modulated acoustic tone signal of PCM numerical value that presets of corresponding generation; When the data of described need by audio interface output are negative value, correspondingly generate the described negative peaked modulated acoustic tone signal of PCM numerical value that presets; Perhaps: the data of described need by audio interface output be on the occasion of the time, correspondingly generate the described PCM numerical value that presets and bear peaked modulated acoustic tone signal; When the data of described need by audio interface output are negative value, correspondingly generate the described just peaked modulated acoustic tone signal of PCM numerical value that presets.In the present embodiment, when the data of described need by audio interface output are high level, define these data on the occasion of; When the data that described need are exported by audio interface were low level, defining these data was negative value.
Present embodiment will need to generate the modulated acoustic tone signal by the data modulating audio frequency carrier signal of audio interface output by main process equipment; Set up the chained list of mixer correspondence, the sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer, before audio mixing each road input source is converted to unified audio sampling frequency; At the two kind different accumulation algorithm of mixer when the audio mixing, input source adopts different audio signal output modes respectively, the audio mixing result that the modulated acoustic tone signal that mixer is exported each input source obtains behind the audio mixing that adds up exports from described audio interface, method for the reception of external audio communication facilities, have in the audio setting of not revising main process equipment and do not influence under the condition of other programs of main process equipment operation, the beneficial effect that the background audio that adopts audio interface to carry out data communication is suppressed; Because above-mentioned solution realizes therefore having better compatibility and versatility by software.
Please refer to Fig. 2, Fig. 2 is VOCA voice communications assembly one embodiment high-level schematic functional block diagram of the present invention.As shown in Figure 2, VOCA voice communications assembly of the present invention comprises: chained list is set up module 01, data modulation module 02, frequency setting module 03 and signal output module 04.
Chained list is set up module 01, is used for setting up the mixer input source and safeguards chained list, and each input source is begun to insert successively described chained list from linked list head;
Chained list is set up module 01 and is set up the input source of mixer correspondence and safeguard chained list, and each input source is begun to insert successively described chained list from described linked list head successively.
In a preferred embodiment, mixer is set up the chained list that module 01 sets up by above-mentioned chained list and is safeguarded each road input source, and in that to have new input source to add fashionable, chained list is set up the end that module 01 is inserted into the input source that increases newly this chained list; When having input source to close, chained list is set up the described input source that module 01 will close and is removed from described chained list.
Data modulation module 02 is used for, and the data modulating audio frequency carrier signal of need by audio interface output generated the modulated acoustic tone signal, and the sound signal that will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer;
Data modulation module 02 will need to be modulated to audio carrier signal by the data that are used for communicating with the external audio communication facilities of audio interface output, and generate the modulated acoustic tone signal.
In a preferred embodiment, data modulation module 02 adopts the mode of PCM that the data of output are modulated.
When main process equipment communicates by audio interface and external audio communication facilities, the sound signal that data modulation module 02 will comprise described modulated acoustic tone signal exports mixer to by two-way or multichannel input source, by mixer two or more sound signals are carried out audio mixing, a synthetic independent mixed audio signal and output.
Frequency setting module 03 is used for, and audio sampling frequency is set, and each input source of described mixer is converted to unified described audio sampling frequency;
Before the mixer of main process equipment carries out audio mixing to the sound signal of input source output, each road input source that frequency setting module 03 is safeguarded this mixer is converted to unified audio sampling frequency, when making each input source gather sound signal, sample according to same sample frequency.
Signal output module 04 is used for, and begins last accumulation result export from described audio interface as the audio mixing result, for the reception of external audio communication facilities by add up each input source of described mixer of road from the gauge outfit of described chained list.
The different modes that the sound signal of each road input source being imported at mixer in the main process equipment adds up, the sound signal that data modulation module 02 adopts different audio signal output modes will comprise described modulated acoustic tone signal respectively exports mixer to as input source.
Signal output module 04 begins by road each road input source that adds up from the linked list head with the chained list of mixer coupling, wherein a kind of accumulate mode is: when adding up, the result who at every turn adds up is all carried out amplitude limiting processing, this accumulation result surpass described mixer preset the positive maximal value of PCM numerical value the time, then the amplitude with this accumulation result is restricted to the positive maximal value of the described PCM of presetting numerical value; This accumulation result surpass described mixer preset the negative maximal value of PCM numerical value the time, then the amplitude with this accumulation result is restricted to the negative maximal value of the described PCM of presetting numerical value.
All carry out the accumulate mode of amplitude limiting processing at 04 pair of each accumulation result of signal output module, when the sound signal that data modulation module 02 will comprise described modulated acoustic tone signal exports mixer to as input source, output two-way or multichannel numerical value are the described just peaked sound signal of PCM numerical value that presets earlier, and exporting a way value again is the negative peaked sound signal of the described PCM of presetting numerical value; Perhaps, output two-way or multichannel numerical value are the described negative peaked sound signal of PCM numerical value that presets earlier, and exporting a way value again is the just peaked sound signal of the described PCM of presetting numerical value; Modulated acoustic tone signal when output is used for carrying out data communication at last is to mixer.Like this, export behind signal output module 04 audio mixing only carry out data communication the time the modulated acoustic tone signal.The signal output module 04 of main process equipment is according to the unified audio sampling frequency that arranges, begin by road each input source that adds up from the linked list head of mixer correspondence, each modulated acoustic tone signal namely adds up, and the accumulation result after described modulated acoustic tone signal added up exports from described audio interface as the audio mixing result, receives for the external audio communication facilities that communicates with main process equipment.
Signal output module 04 begins from the gauge outfit with the chained list of mixer coupling: when adding up, only the result who in the end adds up carries out amplitude limiting processing and namely only the last accumulation result of each input source is carried out amplitude limiting processing, in the end accumulation result surpass described mixer preset the positive maximal value of PCM numerical value the time, then the amplitude with described last accumulation result is restricted to the positive maximal value of the described PCM of presetting numerical value; In the end accumulation result surpass described mixer preset the negative maximal value of PCM numerical value the time, amplitude that then will described last accumulation result is restricted to the described PCM of presetting numerical value and bears maximal value.
At 04 of signal output module in the end accumulation result carry out the accumulate mode of amplitude limiting processing, when the sound signal that data modulation module 02 will comprise described modulated acoustic tone signal exported mixer to as the input source of mixer, exporting two-way or multichannel PCM numerical value is identical and phase place is identical amplitude simultaneously was that the negative peaked described modulated acoustic tone signal of the positive maximal value of the described PCM of presetting numerical value or the described PCM of presetting numerical value is to described mixer.Like this, export behind the mixer audio mixing only carry out data communication the time the modulated acoustic tone signal.Signal output module 04 is according to the unified audio sampling frequency that arranges, begin by road each input source that adds up from the linked list head of this mixer correspondence, each modulated acoustic tone signal namely adds up, and the accumulation result after described modulated acoustic tone signal added up exports from described audio interface as the audio mixing result, receives for the external audio communication facilities that communicates with main process equipment.
In a preferred embodiment, the sound signal that described data modulation module 02 will comprise described modulated acoustic tone signal exports mixer to as the input source of mixer and comprises:
Described modulated acoustic tone signal be on the occasion of the time, data modulation module 02 is converted to the negative maximal value of the described PCM of presetting numerical value with the amplitude of described modulated acoustic tone signal; When described modulated acoustic tone signal was negative value, data modulation module 02 was converted to the positive maximal value of the described PCM of presetting numerical value with the amplitude of described modulated acoustic tone signal; While data modulation module 02 output two-way or the amplitude that multichannel PCM numerical value is identical and phase place is identical are the positive maximal value of the described PCM of presetting numerical value or the described extremely described mixer of the negative peaked described modulated acoustic tone signal of PCM numerical value that presets.
In a preferred embodiment, described data modulation module 02 will need to comprise by the data modulating audio frequency carrier signal generation modulated acoustic tone signal of audio interface output:
The data of described need by audio interface output be on the occasion of the time, the described just peaked modulated acoustic tone signal of PCM numerical value that presets of data modulation module 02 corresponding generation; When the data of described need by audio interface output were negative value, data modulation module 02 is corresponding to generate the described negative peaked modulated acoustic tone signal of PCM numerical value that presets; Perhaps: the data of described need by audio interface output be on the occasion of the time, data modulation module 02 is corresponding to be generated the described PCM numerical value that presets and bears peaked modulated acoustic tone signal; When the data of described need by audio interface output were negative value, data modulation module 02 is corresponding to generate the described just peaked modulated acoustic tone signal of PCM numerical value that presets.In the present embodiment, when the data of described need by audio interface output are high level, define these data on the occasion of; When the data that described need are exported by audio interface were low level, defining these data was negative value.
Present embodiment is set up the chained list of mixer correspondence by main process equipment, and the data modulating audio frequency carrier signal of need by audio interface output generated the modulated acoustic tone signal; The sound signal that will comprise described modulated acoustic tone signal exports mixer to as input source, before audio mixing each road input source is converted to unified audio sampling frequency; At the two kind different accumulation algorithm of mixer when the audio mixing, input source adopts different audio signal output modes respectively, the audio mixing result that the modulated acoustic tone signal that mixer is exported each input source obtains behind the audio mixing that adds up exports from described audio interface, receives for the external audio communication facilities; Have in the audio setting of not revising main process equipment and do not influence under the condition of other programs of main process equipment operation, the beneficial effect that the background audio that adopts audio interface to carry out data communication is suppressed; Because the above-mentioned solution that the present embodiment VOCA voice communications assembly adopts realizes therefore having better compatibility and versatility by software.
The above only is the preferred embodiments of the present invention; be not so limit its claim; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.