[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106358118A - Convolutional audio generation method and audio equipment - Google Patents

Convolutional audio generation method and audio equipment Download PDF

Info

Publication number
CN106358118A
CN106358118A CN201610826841.7A CN201610826841A CN106358118A CN 106358118 A CN106358118 A CN 106358118A CN 201610826841 A CN201610826841 A CN 201610826841A CN 106358118 A CN106358118 A CN 106358118A
Authority
CN
China
Prior art keywords
voice
grade channel
impact
data
convolution
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.)
Granted
Application number
CN201610826841.7A
Other languages
Chinese (zh)
Other versions
CN106358118B (en
Inventor
杨将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610826841.7A priority Critical patent/CN106358118B/en
Publication of CN106358118A publication Critical patent/CN106358118A/en
Application granted granted Critical
Publication of CN106358118B publication Critical patent/CN106358118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

An embodiment of the invention provides a convolutional audio generation method and audio equipment. The method includes: acquiring audio pulse data of a target audio channel, and acquiring audio pulse influence data of influences generated by influence audio channels to the target audio channel; respectively convoluting the audio pulse influence data of influences generated by each influence audio channel to the target audio channel with original audio data corresponding to each influence audio channel to obtain at least one first convolution; convoluting the audio pulse data of the target audio channel with original audio data of the target audio channel to obtain a second convolution; superposing the at least one first convolution with the second convolution to obtain convolutional audio of the target audio channel. The convolutional audio generation method and the audio equipment have advantages that surround effects of the generated convolutional audio can be improved, and an applicable audio play scene range of the convolutional audio generation method is expanded.

Description

A kind of convolution audio frequency generation method and audio frequency apparatus
Technical field
The present invention relates to audio signal processing technique field is and in particular to a kind of convolution audio frequency generation method and audio frequency apparatus.
Background technology
Convolution audio frequency is, using tonepulse, original audio is carried out with the audio file that convolution is obtained, convolution audio frequency for The cincture degree strengthening audio frequency has important result, and therefore in audio processing process, application is wider.
Current convolution audio frequency generating mode is mainly: needs to export the voice-grade channel of audio frequency for each, by this sound The tonepulse data of frequency passage and original audio data carry out convolution, to obtain the convolution audio frequency that this voice-grade channel need to export. However, playing under scene in audio frequency such as played in stereo, a voice-grade channel is often affected by other voice-grade channels, at present Convolution audio frequency generating mode only consider that the tonepulse data of itself voice-grade channel to realize convolution sound with original audio data The generation of frequency, leads to the cincture degree effect of the convolution audio frequency of voice-grade channel output poor, and applicable audio frequency plays scene model Enclose limited.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of convolution audio frequency generation method and audio frequency apparatus, is generated with being lifted Convolution audio frequency cincture degree effect, and lifted the applicable audio frequency of convolution audio frequency generation method play scene domain.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of convolution audio frequency generation method, is applied to audio frequency apparatus, described audio frequency apparatus has a plurality of voice-grade channel;Described Method includes:
Obtain the tonepulse data of target audio passage, and the impact voice-grade channel of described target audio passage is to described Target audio passage produces the tonepulse impact data of impact;Wherein, described target audio passage is that described a plurality of audio frequency leads to Need in road to generate a voice-grade channel of convolution audio frequency, described impact voice-grade channel is for affecting institute in described a plurality of voice-grade channel State the voice-grade channel of target audio passage, the quantity of described impact voice-grade channel is at least one, and an impact voice-grade channel The corresponding one tonepulse impact data that described target audio passage is produced with impact;
Respectively each impact voice-grade channel is produced the tonepulse impact data of impact to target audio passage, with each impact Voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution;And by described target audio passage Tonepulse data and the original audio data phase convolution of described target audio passage, obtain the second convolution;
Will be superimposed with described second convolution at least one first convolution described, obtain the convolution of described target audio passage Audio frequency.
The embodiment of the present invention also provides a kind of audio frequency apparatus, and described audio frequency apparatus has a plurality of voice-grade channel;Described audio frequency Equipment includes:
Pulse data acquisition module, for obtaining the tonepulse data of target audio passage, and described target audio is led to The impact voice-grade channel in road produces the tonepulse impact data of impact to described target audio passage;Described target audio passage For needing in described a plurality of voice-grade channel to generate a voice-grade channel of convolution audio frequency, described impact voice-grade channel is described a plurality of The voice-grade channel of described target audio passage is affected, the quantity of described impact voice-grade channel is at least one in voice-grade channel, and Article one, the corresponding tonepulse impact data that described target audio passage is produced with impact of impact voice-grade channel;
First convolution obtains module, for each impact voice-grade channel produces the audio frequency of impact respectively on target audio passage Pulsing effect data, with each impact voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution;
The module that second convolution obtains, for by the tonepulse data of described target audio passage and described target audio The original audio data phase convolution of passage, obtains the second convolution;
Laminating module, for will be superimposed with described second convolution at least one first convolution described, obtains described target The convolution audio frequency of voice-grade channel.
Based on technique scheme, the embodiment of the present invention when determining the convolution audio frequency of target audio passage, except determining mesh The tonepulse data of mark voice-grade channel, also needs the impact voice-grade channel determining target audio passage to described target audio passage Produce the tonepulse impact data of impact;Thus each impact voice-grade channel is produced the audio frequency arteries and veins of impact to target audio passage Punching impact data, with each impact voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution, and will The tonepulse data of described target audio passage and the original audio data phase convolution of described target audio passage, obtain second Convolution;And then will be superimposed with described second convolution at least one first convolution described, can get described target audio passage Convolution audio frequency.The embodiment of the present invention when generating the convolution audio frequency of target audio passage, except considering target audio passage itself Tonepulse data outer it is also contemplated that the impact that target audio passage is produced of the impact voice-grade channel of impact target audio passage, The convolution audio frequency of the target audio passage therefore being generated has higher cincture degree effect, and can be subject to other in voice-grade channel The audio frequency of voice-grade channel impact is play and is applied under scene, improves the applicable audio frequency of convolution audio frequency generation method and plays scene model Enclose.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Inventive embodiment, for the common road in this area technical staff, on the premise of not paying creative work, can also root Obtain other accompanying drawings according to the accompanying drawing providing.
Fig. 1 is the flow chart of convolution audio frequency generation method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of convolution audio frequency generation method provided in an embodiment of the present invention;
Fig. 3 is the structured flowchart of audio frequency apparatus provided in an embodiment of the present invention;
Fig. 4 is the structured flowchart of pulse data acquisition module provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart of measuring unit provided in an embodiment of the present invention;
Fig. 6 is another structured flowchart of audio frequency apparatus provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the common road in this area technical staff obtained under the premise of not making creative work all its His embodiment, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow chart of convolution audio frequency generation method provided in an embodiment of the present invention, and the method can be applicable to audio frequency and sets Standby, audio frequency apparatus can be the equipment that voice data can be processed and exported with audio frequency, such as mobile phone, panel computer, notes The electronic equipments such as this computer;Audio frequency apparatus can have a plurality of voice-grade channel, and such as audio frequency apparatus can have dual-audio passage (i.e. Double track) etc.;
With reference to Fig. 1, convolution audio frequency generation method provided in an embodiment of the present invention may include that
Step s100, the tonepulse data of acquisition target audio passage, and the impact audio frequency of described target audio passage Passage produces the tonepulse impact data of impact to described target audio passage;
Target audio passage can be audio frequency apparatus a plurality of voice-grade channel in need to generate any one of convolution audio frequency Voice-grade channel, the embodiment of the present invention can need selection target audio frequency from a plurality of voice-grade channel to lead to according to actual audio output Road;The embodiment of the present invention also can be using each voice-grade channel in a plurality of voice-grade channel as target audio passage;
The embodiment of the present invention when target audio passage is carried out with the generation of convolution audio frequency, except need obtain target audio The tonepulse data (i.e. the tonepulse data of target audio passage itself) of passage is in addition it is also necessary to obtain target audio passage Impact voice-grade channel produces the tonepulse impact data of impact to target audio passage;
The impact voice-grade channel of target audio passage is to produce impact to target audio passage in described a plurality of voice-grade channel Voice-grade channel;In the impact voice-grade channel of target audio passage possibly described a plurality of voice-grade channel in addition to target audio passage At least one voice-grade channel, i.e. at least one voice-grade channel in addition to target audio passage, meeting in described a plurality of voice-grade channel Impact is produced on target audio passage;As being only the part audio frequency in addition to target audio passage in described a plurality of voice-grade channel Passage, can produce impact to target audio passage, and for example in possibly described a plurality of voice-grade channel in addition to target audio passage Other each voice-grade channels, all can produce impact to target audio passage;
One impact voice-grade channel of target audio passage, can correspond to an audio frequency that target audio passage is produced with impact Pulsing effect data;I.e. an impact voice-grade channel will produce a tonepulse to target audio passage affects data;
Optionally, the impact voice-grade channel of the tonepulse data of target audio passage, and target audio passage is to target The acquisition modes that voice-grade channel produces the tonepulse impact data of impact can be that artificial recording or algorithm generate or simulate Generate etc..
Step s110, the tonepulse respectively each impact voice-grade channel being produced on target audio passage impact affect number According to, with each impact voice-grade channel corresponding original audio data phase convolution, obtain at least one first convolution;And by described target The tonepulse data of voice-grade channel and the original audio data phase convolution of described target audio passage, obtain the second convolution;
Obtaining each impact voice-grade channel of target audio passage, target audio passage is being produced with the tonepulse shadow of impact After ringing data, the embodiment of the present invention can by the corresponding tonepulse of each impact voice-grade channel of target audio passage impact data with Each impact voice-grade channel corresponding original audio data phase convolution, obtains each impact corresponding first convolution of voice-grade channel;
Impact voice-grade channel as target audio passage has two to be respectively a and b, then a can be affected by the embodiment of the present invention Voice-grade channel produces the tonepulse impact data of impact to target audio passage, affects the original audio number of voice-grade channel with a According to phase convolution, obtain a impact corresponding first convolution of voice-grade channel, b impact voice-grade channel is produced shadow to target audio passage The tonepulse impact data rung, affects the original audio data phase convolution of voice-grade channel with b, obtains b impact voice-grade channel pair The first convolution answered;
I.e. an impact voice-grade channel of target audio passage will correspond to first convolution, and the one of target audio passage The first convolution that bar affects voice-grade channel is by this impact voice-grade channel produces the tonepulse shadow of impact to target audio passage Ring data, with the original audio data phase convolution of this impact voice-grade channel and obtain;Each impact audio frequency on target audio passage Passage all makees this process, will obtain corresponding first convolution of each impact voice-grade channel of target audio passage, and obtain at least one First convolution;
After obtaining the tonepulse data of target audio passage, the embodiment of the present invention can be by the audio frequency of target audio passage Pulse data and the original audio data phase convolution of target audio passage, obtain corresponding second convolution of target audio passage;
Optionally, the original audio data of target audio passage may be considered, and target audio passage treats the audio frequency of convolution Data;The tonepulse data of target audio passage may be considered the tonepulse used by target audio passage convolution, typically Generated using artificial recording or algorithm or simulate the modes such as generation and determine;
Tonepulse data using target audio passage carries out convolution to the original audio data of target audio passage, then The convolution audio frequency of the target audio passage being generated in known manner;And the embodiment of the present invention is generating target audio passage Convolution audio frequency when, except the audio frequency convolution process considering target audio passage itself it is also contemplated that the impact of target audio passage The impact that voice-grade channel produces to target audio passage.
Step s120, will be superimposed with described second convolution at least one first convolution described, obtain described target audio The convolution audio frequency of passage.
The embodiment of the present invention determine target audio passage convolution audio frequency when, except determine target audio passage audio frequency arteries and veins Rush data, also need the impact voice-grade channel determining target audio passage that described target audio passage is produced with the tonepulse of impact Impact data;Thus each impact voice-grade channel is produced the tonepulse impact data of impact to target audio passage, with each shadow Ring voice-grade channel corresponding original audio data phase convolution, obtain at least one first convolution, and by described target audio passage Tonepulse data and the original audio data phase convolution of described target audio passage, obtain the second convolution;And then will be described At least one first convolution is superimposed with described second convolution, can get the convolution audio frequency of described target audio passage.The present invention Embodiment generate target audio passage convolution audio frequency when, except consider target audio passage itself tonepulse data in addition to, Further contemplate the impact that the impact voice-grade channel of impact target audio passage produces, the target therefore being generated to target audio passage The convolution audio frequency of voice-grade channel has higher cincture degree effect, and the sound that can be affected by other voice-grade channels in voice-grade channel Frequency is play and is applied under scene, improves the applicable audio frequency of convolution audio frequency generation method and plays scene domain.
The voice-grade channel of audio frequency apparatus have a plurality of, the embodiment of the present invention can measure each bar voice-grade channel tonepulse During data, measure the tonepulse impact data that each voice-grade channel produces impact to the voice-grade channel being affected simultaneously;General feelings Under condition, it is interactional between voice-grade channel, therefore obtaining the tonepulse data of each voice-grade channel, and each voice-grade channel After the voice-grade channel being affected is produced with the tonepulse impact data of impact, the embodiment of the present invention can by each voice-grade channel respectively As target audio passage, arrange the tonepulse data obtaining target audio passage, and the impact audio frequency of target audio passage Passage produces the tonepulse impact data of impact to target audio passage;
Accordingly, Fig. 2 shows another flow chart of convolution audio frequency generation method provided in an embodiment of the present invention, reference picture 2, the method may include that
The tonepulse data of each voice-grade channel in step s200, a plurality of voice-grade channel of measurement, and each voice-grade channel is to institute The voice-grade channel of impact produces the tonepulse impact data of impact;
Step s210, using each voice-grade channel as target audio passage, arrange the audio frequency obtaining target audio passage Pulse data, and the tonepulse impact number on the generation impact of target audio passage for the impact voice-grade channel of target audio passage According to;
If audio frequency apparatus is dual-audio passage, the embodiment of the present invention measure left voice-grade channel tonepulse data when, The tonepulse impact data that left voice-grade channel produces impact to right voice-grade channel can be measured simultaneously;Measuring right voice-grade channel During tonepulse data, the tonepulse impact data that right voice-grade channel produces impact to left voice-grade channel can be measured simultaneously;
Accordingly, when generating the convolution audio frequency of left voice-grade channel, left voice-grade channel can be target audio passage, is giving birth to Become right voice-grade channel convolution audio frequency when, right voice-grade channel can be target audio passage.
Step s220, the tonepulse respectively each impact voice-grade channel being produced on target audio passage impact affect number According to, with each impact voice-grade channel corresponding original audio data phase convolution, obtain at least one first convolution;And by described target The tonepulse data of voice-grade channel and the original audio data phase convolution of described target audio passage, obtain the second convolution;
Optionally, if left voice-grade channel is target audio passage, the impact voice-grade channel of left voice-grade channel can be the right side Voice-grade channel, right voice-grade channel can be produced the tonepulse impact data of impact by the embodiment of the present invention on left voice-grade channel, with The original audio data phase convolution of right voice-grade channel, obtains the first convolution;By the tonepulse data of left voice-grade channel and left sound The original audio data phase convolution of frequency passage, obtains the second convolution;
If right voice-grade channel is target audio passage, the impact voice-grade channel of right voice-grade channel can lead to for left audio frequency Road, left voice-grade channel can be produced the tonepulse impact data of impact by the embodiment of the present invention on right voice-grade channel, with left audio frequency The original audio data phase convolution of passage, obtains the first convolution;By the tonepulse data of right voice-grade channel and right voice-grade channel Original audio data phase convolution, obtain the second convolution.
Step s230, will be superimposed with described second convolution at least one first convolution described, obtain described target audio The convolution audio frequency of passage.
Optionally, if left voice-grade channel is target audio passage, the embodiment of the present invention can be by right voice-grade channel to left sound Frequency passage produces the tonepulse impact data of impact, the first volume obtaining with the original audio data phase convolution of right voice-grade channel The second convolution that is long-pending, obtaining with the original audio data phase convolution of, the tonepulse data of left voice-grade channel and left voice-grade channel Superimposed, obtain the convolution audio frequency of left voice-grade channel;
If right voice-grade channel is target audio passage, left voice-grade channel can be produced by the embodiment of the present invention to right voice-grade channel The tonepulse impact data of raw impact, the first convolution obtaining with the original audio data phase convolution of left voice-grade channel, with the right side The second convolution that the original audio data phase convolution of the tonepulse data of voice-grade channel and right voice-grade channel obtains is superimposed, obtains Convolution audio frequency to right voice-grade channel.
Optionally, the mode obtaining tonepulse data is mainly artificial recording, algorithm generation, simulation generation etc.;Manually The method recorded refers to the pick up very high using precision, records special audio, then obtain it under specific audio environment Tonepulse data;Algorithm is generated and refers to be inputted using single pulse excitation, is then passed through algorithm process output tonepulse data; Simulation generation refers to generate the tonepulse data of specific sound field sound effect using simulation softward such as tinyave.
, the mode generating according to algorithm to obtain tonepulse data taking the stereophonic widening of dual-audio passage as a example, Then can be according to formulaMeasure the tonepulse data of left voice-grade channel, wherein hllFor institute The tonepulse data of the left voice-grade channel of measurement, w is the extension width of voice-grade channel;
Meanwhile, when measuring the tonepulse data of left voice-grade channel, can be according to formula Measure the tonepulse impact data that left voice-grade channel produces impact to right voice-grade channel, wherein hlrFor left voice-grade channel to right sound Frequency passage produces the tonepulse impact data of impact.
When measuring the tonepulse data of right voice-grade channel, can be according to formulaReal Existing, wherein hrrFor the tonepulse data of measured right voice-grade channel, i.e. hrr=hll
Meanwhile, can be according to formulaMeasure right voice-grade channel left voice-grade channel is produced The tonepulse impact data of impact, wherein, hrlFor right voice-grade channel, left voice-grade channel is produced with the tonepulse impact of impact Data, i.e. hrl=hlr.
It can be seen that, the embodiment of the present invention generate a certain target audio passage convolution audio frequency when, except obtain this target audio Outside the tonepulse data of passage itself, also need the impact voice-grade channel obtaining target audio passage that target audio passage is produced The tonepulse impact data of impact;As a example by left voice-grade channel for target audio passage, the embodiment of the present invention is obtaining a left side Tonepulse data h of voice-grade channelllWhen, also need to obtain the tonepulse shadow that right voice-grade channel produces impact to left voice-grade channel Ring data hrl;So that right voice-grade channel is for target audio passage as a example, the embodiment of the present invention is obtaining the audio frequency arteries and veins of right voice-grade channel Rush data hrrWhen, also need to obtain tonepulse impact data h that left voice-grade channel produces impact to right voice-grade channellr.
In the tonepulse impact data that each impact voice-grade channel is produced on target audio passage impact, with each impact sound Frequency passage corresponding original audio data phase convolution, and by the tonepulse data of described target audio passage and described target sound During the original audio data phase convolution of frequency passage, according to convolution theorem: Fourier's change of convolution of functions is function Fu In leaf transformation productWherein f is Fourier transformation;Therefore convolution algorithm can be converted into Calculate Fourier transformation product, then carry out the calculating process of inverse Fourier transform again, the calculating process of inverse Fourier transform is such asThe purpose of do so mainly uses fast Fourier transform and reduces operand, reaches reality When process;
Accordingly, each impact voice-grade channel is being produced the tonepulse of impact by the embodiment of the present invention on target audio passage Impact data, affects voice-grade channel corresponding original audio data phase convolution with each, when obtaining at least one first convolution, for Each impact voice-grade channel of target audio passage, can affect according to the tonepulse of each impact voice-grade channel of target audio passage Data carries out Fourier transformation product calculating with each impact corresponding original audio data of voice-grade channel, then to target audio passage The corresponding result of calculation of each impact voice-grade channel carry out inverse Fourier transform respectively, obtain each impact sound of target audio passage Corresponding first convolution of frequency passage;
And by the original audio data of the tonepulse data of described target audio passage and described target audio passage Phase convolution, when obtaining the second convolution, the embodiment of the present invention can according to the tonepulse data of described target audio passage with described The original audio data of target audio passage carries out Fourier transformation product calculating, then result of calculation is carried out with inverse Fourier's change Change, obtain corresponding second convolution of described target audio passage.
Optionally, in the case that target audio passage is left voice-grade channel, the embodiment of the present invention can be by right voice-grade channel Left voice-grade channel is produced with the tonepulse impact data of impact, the original audio data phase convolution with right voice-grade channel, obtains First convolutionWherein riOriginal audio data for right voice-grade channel;And the tonepulse data by left voice-grade channel With the original audio data phase convolution of left voice-grade channel, obtain the second convolutionWherein liOriginal for left voice-grade channel Voice data;Accordingly, the convolution of left voice-grade channel is
Optionally, in the case that target audio passage is right voice-grade channel, the embodiment of the present invention can be by left voice-grade channel Right voice-grade channel is produced with the tonepulse impact data of impact, the original audio data phase convolution with left voice-grade channel, obtains First convolutionAnd the original audio data phase convolution by the tonepulse data of right voice-grade channel and right voice-grade channel, Obtain the second convolutionAccordingly, the convolution of right voice-grade channel is
According toThen left voice-grade channel Convolution audio frequencyIt is extended toEnter line translation, then the volume of left voice-grade channel Amass and beThe situation of the convolution audio frequency of right voice-grade channel is similar to;As can be seen that the embodiment of the present invention is true During the convolution audio frequency of fixed a certain voice-grade channel, the impact that other voice-grade channels are brought, the volume of lifting voice-grade channel can be represented The cincture degree effect of long-pending audio frequency, and the generating mode of convolution audio frequency provided in an embodiment of the present invention can play scene in multiple audio frequency Use under scope.
After obtaining the convolution audio frequency of target audio passage, obtained convolution audio frequency can exist on Time Domain Amplitude Exceed the value of predetermined effective range;Predetermined effective range such as takes (- 1,1) etc., and specifically visual practical situation sets;The therefore present invention Embodiment can design a casing pressure limit mechanism, by regular for the amplitude of the convolution audio frequency of target audio passage in predetermined effective scope; Optionally, the embodiment of the present invention can enter professional etiquette to the amplitude of the convolution audio frequency of target audio passage in the form of sliding window Whole, sliding window can have scheduled time length, and the scheduled time length as sliding window may be selected 2 seconds etc.;When will slide After the convolution audio frequency of window and target audio passage matches, if occurred in that in sliding window more than predetermined effective range Value, then can diminish process within the time of scheduled time length in the gain that carries out the value beyond predetermined effective range slowly, Thus the amplitude of the convolution audio frequency of regular target audio passage;
Accordingly, the embodiment of the present invention, after obtaining the convolution audio frequency of target audio passage, can determine whether target audio passage The Time Domain Amplitude of convolution audio frequency in the presence or absence of exceeding the value of predetermined effective range;If in the Time Domain Amplitude of described convolution audio frequency Exist and exceed the value of predetermined effective range, the sliding window of scheduled time length can be crossed by passage, will with described scheduled time length Value beyond predetermined effective range carries out gain and diminishes process.
Convolution audio frequency generation method provided in an embodiment of the present invention, can make the convolution audio frequency generating have higher cincture Degree effect, and application under scene can be play in the audio frequency that voice-grade channel is affected by other voice-grade channels, improve convolution audio frequency The applicable audio frequency of generation method plays scene domain.
Below audio frequency apparatus provided in an embodiment of the present invention is introduced, audio frequency apparatus described below can with retouch above The convolution audio frequency generation method stated is mutually to should refer to.The structure of audio frequency apparatus described below may be considered audio frequency apparatus Realize the function structure generating required setting of convolution audio frequency.
Fig. 3 is the structured flowchart of audio frequency apparatus provided in an embodiment of the present invention, and this audio frequency apparatus can have a plurality of audio frequency Passage, with reference to Fig. 3, this audio frequency apparatus may include that
Pulse data acquisition module 100, for obtaining the tonepulse data of target audio passage, and described target audio The impact voice-grade channel of passage produces the tonepulse impact data of impact to described target audio passage;Described target audio is led to Road is a voice-grade channel needing to generate convolution audio frequency in described a plurality of voice-grade channel, and described impact voice-grade channel is described many The voice-grade channel of described target audio passage is affected, the quantity of described impact voice-grade channel is at least one in bar voice-grade channel, And an impact voice-grade channel corresponds to a tonepulse impact data that described target audio passage is produced with impact;
First convolution obtains module 200, for respectively each impact voice-grade channel being produced impact on target audio passage Tonepulse affects data, with each impact voice-grade channel corresponding original audio data phase convolution, obtains at least one first volume Long-pending;
The module 300 that second convolution obtains, for by the tonepulse data of described target audio passage and described target The original audio data phase convolution of voice-grade channel, obtains the second convolution;
Laminating module 400, for will be superimposed with described second convolution at least one first convolution described, obtains described mesh The convolution audio frequency of mark voice-grade channel.
Optionally, Fig. 4 shows the alternative construction of pulse data acquisition module 100 provided in an embodiment of the present invention, reference Fig. 4, pulse data acquisition module 100 may include that
Measuring unit 110, for measuring the tonepulse data of each voice-grade channel in described a plurality of voice-grade channel, and each sound Frequency passage produces the tonepulse impact data of impact to the voice-grade channel being affected;
Arrangement obtains unit 120, for using each voice-grade channel as target audio passage, arranging and obtaining target audio The tonepulse data of passage, and the audio frequency arteries and veins on the generation impact of target audio passage for the impact voice-grade channel of target audio passage Punching impact data.
Optionally, audio frequency apparatus can have dual-audio passage, that is, described a plurality of voice-grade channel can include left audio frequency lead to Road and right voice-grade channel;Fig. 5 shows the alternative construction of measuring unit 110 provided in an embodiment of the present invention, with reference to Fig. 5, measurement Unit 110 may include that
Measurement execution subelement 111, for measuring the tonepulse data of left voice-grade channel, and left voice-grade channel is to right sound Frequency passage produces the tonepulse impact data of impact;And measure the tonepulse data of right voice-grade channel, and right voice-grade channel Left voice-grade channel is produced with the tonepulse impact data of impact.
Optionally, measurement executes subelement 111 in the tonepulse data measuring left voice-grade channel, and left voice-grade channel pair When right voice-grade channel produces the tonepulse impact data of impact, it is particularly used in:
According to formulaMeasure the tonepulse data of left voice-grade channel, wherein hll For the tonepulse data of measured left voice-grade channel, w is the extension width of voice-grade channel;And according to formulaMeasure the tonepulse impact data that left voice-grade channel produces impact to right voice-grade channel, Wherein hlrFor left voice-grade channel, right voice-grade channel is produced with the tonepulse impact data of impact.
Optionally, measurement executes subelement 111 in the tonepulse data measuring right voice-grade channel, and right voice-grade channel pair When left voice-grade channel produces the tonepulse impact data of impact, it is particularly used in:
According to formulaMeasure the tonepulse data of right voice-grade channel, wherein hrr For the tonepulse data of measured right voice-grade channel, hrr=hll;And according to formula Measure the tonepulse impact data that right voice-grade channel produces impact to left voice-grade channel, wherein, hrlFor right voice-grade channel to a left side Voice-grade channel produces the tonepulse impact data of impact, hrl=hlr.
Optionally, target audio passage can be left voice-grade channel;Accordingly, the first convolution obtains module 200 and specifically may be used For right voice-grade channel being produced the tonepulse impact data of impact, the original sound with right voice-grade channel to left voice-grade channel Frequency, according to phase convolution, obtains the first convolution;
The module 300 that second convolution obtains is particularly used in, and the tonepulse data of left voice-grade channel and left audio frequency are led to The original audio data phase convolution in road, obtains the second convolution.
Optionally, target audio passage can be right voice-grade channel;Accordingly, the first convolution obtains module 200 and specifically may be used For left voice-grade channel being produced the tonepulse impact data of impact, the original sound with left voice-grade channel to right voice-grade channel Frequency, according to phase convolution, obtains the first convolution;
The module 300 that second convolution obtains is particularly used in, and the tonepulse data of right voice-grade channel and right audio frequency are led to The original audio data phase convolution in road, obtains the second convolution.
Optionally, the first convolution obtains module 200 during obtaining the first convolution, each for target audio passage Impact voice-grade channel, can be according to the tonepulse impact data of each impact voice-grade channel of target audio passage and each impact audio frequency The corresponding original audio data of passage carries out Fourier transformation product calculating, each impact voice-grade channel phase on target audio passage The result of calculation answered carries out inverse Fourier transform respectively, obtains the corresponding first volume of each impact voice-grade channel of target audio passage Long-pending;
The module 300 that second convolution obtains, can be according to described target audio passage during obtaining the second convolution Tonepulse data carries out Fourier transformation product calculating, to result of calculation with the original audio data of described target audio passage Carry out inverse Fourier transform, obtain corresponding second convolution of described target audio passage.
Optionally, Fig. 6 shows another structured flowchart of audio frequency apparatus provided in an embodiment of the present invention, in conjunction with Fig. 3 and Fig. 6 Shown, this audio frequency apparatus can also include:
The regular module of amplitude 500, for judge target audio passage convolution audio frequency Time Domain Amplitude in the presence or absence of super Cross the value of predetermined effective range;If there is the value exceeding predetermined effective range, passage mistake in the Time Domain Amplitude of described convolution audio frequency Value beyond predetermined effective range is carried out gain with described scheduled time length and diminishes place by the sliding window of scheduled time length Reason.
In the embodiment of the present invention, the audio processing chip of audio frequency apparatus can be provided with and generate with can achieve above-mentioned convolution audio frequency The program of method;Optionally, in the hardware configuration of audio frequency apparatus, audio frequency apparatus can include audio processing chip, this audio frequency Process chip can be used for configuration processor, and this program is particularly used in:
Obtain the tonepulse data of target audio passage, and the impact voice-grade channel of described target audio passage is to described Target audio passage produces the tonepulse impact data of impact;Described target audio passage is to need in described a plurality of voice-grade channel Generate a voice-grade channel of convolution audio frequency, described impact voice-grade channel is to affect described target in described a plurality of voice-grade channel The voice-grade channel of voice-grade channel, the quantity of described impact voice-grade channel is at least one, and an impact voice-grade channel corresponding The individual tonepulse impact data that described target audio passage is produced with impact;
Respectively each impact voice-grade channel is produced the tonepulse impact data of impact to target audio passage, with each impact Voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution;And by described target audio passage Tonepulse data and the original audio data phase convolution of described target audio passage, obtain the second convolution;
Will be superimposed with described second convolution at least one first convolution described, obtain the convolution of described target audio passage Audio frequency.
In this specification, each embodiment is described by the way of going forward one by one, and what each embodiment stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it corresponds to the method disclosed in Example, so description is fairly simple, say referring to method part in place of correlation Bright.
Professional further appreciates that, in conjunction with the unit of each example of the embodiments described herein description And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, generally describes composition and the step of each example in the above description according to function.These Function to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specialty Technical staff can use different methods to each specific application realize described function, but this realization should Think beyond the scope of this invention.
The step of the method in conjunction with the embodiments described herein description or algorithm can directly be held with hardware, processor The software module of row, or the combination of the two is implementing.Software module can be placed in random access memory (ram), internal memory, read-only deposit Reservoir (rom), electrically programmable rom, electrically erasable rom, depositor, hard disk, moveable magnetic disc, cd-rom or technology In known any other form of storage medium in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one The scope the widest causing.

Claims (12)

1. it is characterised in that being applied to audio frequency apparatus, described audio frequency apparatus has a plurality of audio frequency to a kind of convolution audio frequency generation method Passage;Methods described includes:
Obtain the tonepulse data of target audio passage, and the impact voice-grade channel of described target audio passage is to described target Voice-grade channel produces the tonepulse impact data of impact;Wherein, described target audio passage is in described a plurality of voice-grade channel Need to generate a voice-grade channel of convolution audio frequency, described impact voice-grade channel is to affect described mesh in described a plurality of voice-grade channel The voice-grade channel of mark voice-grade channel, the quantity of described impact voice-grade channel is at least one, and an impact voice-grade channel corresponds to One tonepulse impact data that described target audio passage is produced with impact;
Respectively each impact voice-grade channel is produced the tonepulse impact data of impact to target audio passage, with each impact audio frequency Passage corresponding original audio data phase convolution, obtains at least one first convolution;And the audio frequency by described target audio passage Pulse data and the original audio data phase convolution of described target audio passage, obtain the second convolution;
Will be superimposed with described second convolution at least one first convolution described, obtain the convolution sound of described target audio passage Frequently.
2. convolution audio frequency generation method according to claim 1 is it is characterised in that the sound of described acquisition target audio passage Frequency pulse data, and the audio frequency arteries and veins on the generation impact of described target audio passage for the impact voice-grade channel of described target audio passage Punching impact data includes:
Measure the tonepulse data of each voice-grade channel in described a plurality of voice-grade channel, and each voice-grade channel is on the audio frequency being affected Passage produces the tonepulse impact data of impact;
Using each voice-grade channel as target audio passage, arrange the tonepulse data obtaining target audio passage, and mesh The impact voice-grade channel of mark voice-grade channel produces the tonepulse impact data of impact to target audio passage.
3. convolution audio frequency generation method according to claim 1 and 2 is it is characterised in that described a plurality of voice-grade channel includes Left voice-grade channel and right voice-grade channel;
The described tonepulse data measuring each voice-grade channel in described a plurality of voice-grade channel, and each voice-grade channel is on being affected The tonepulse impact data that voice-grade channel produces impact includes:
Measure the tonepulse data of left voice-grade channel, and left voice-grade channel produces the tonepulse shadow of impact to right voice-grade channel Ring data;And measure the tonepulse data of right voice-grade channel, and right voice-grade channel produces the audio frequency of impact to left voice-grade channel Pulsing effect data.
4. convolution audio frequency generation method according to claim 3 is it is characterised in that the audio frequency of the left voice-grade channel of described measurement Pulse data, and left voice-grade channel on right voice-grade channel produce impact tonepulse impact data include:
According to formulaMeasure the tonepulse data of left voice-grade channel, wherein hllFor measured The tonepulse data of left voice-grade channel, w is the extension width of voice-grade channel;And according to formula Measure the tonepulse impact data that left voice-grade channel produces impact to right voice-grade channel, wherein hlrFor left voice-grade channel to right sound Frequency passage produces the tonepulse impact data of impact;
The described tonepulse data measuring right voice-grade channel, and the audio frequency arteries and veins on the generation impact of left voice-grade channel for the right voice-grade channel Punching impact data includes:
According to formulaMeasure the tonepulse data of right voice-grade channel, wherein hrrBy being surveyed The tonepulse data of the right voice-grade channel of amount, hrr=hll;And according to formulaMeasurement Right voice-grade channel produces the tonepulse impact data of impact, wherein, h to left voice-grade channelrlFor right voice-grade channel to left audio frequency Passage produces the tonepulse impact data of impact, hrl=hlr.
If 5. convolution audio frequency generation method according to claim 3 is it is characterised in that target audio passage leads to for left audio frequency Road;The described tonepulse impact data that each impact voice-grade channel produces impact respectively on target audio passage, with each impact Voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution and includes:
Right voice-grade channel is produced the tonepulse impact data of impact, the original audio with right voice-grade channel to left voice-grade channel Data phase convolution, obtains the first convolution;
The original audio data phase of the described tonepulse data by described target audio passage and described target audio passage is rolled up Long-pending, obtain the second convolution and include:
By the original audio data phase convolution of the tonepulse data of left voice-grade channel and left voice-grade channel, obtain the second convolution.
If 6. convolution audio frequency generation method according to claim 3 is it is characterised in that target audio passage leads to for right audio frequency Road;The described tonepulse impact data that each impact voice-grade channel produces impact respectively on target audio passage, with each impact Voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution and includes:
Left voice-grade channel is produced the tonepulse impact data of impact, the original audio with left voice-grade channel to right voice-grade channel Data phase convolution, obtains the first convolution;
The original audio data phase of the described tonepulse data by described target audio passage and described target audio passage is rolled up Long-pending, obtain the second convolution and include:
By the original audio data phase convolution of the tonepulse data of right voice-grade channel and right voice-grade channel, obtain the second convolution.
7. convolution audio frequency generation method according to claim 1 it is characterised in that described by each impact voice-grade channel to mesh Mark voice-grade channel produces the tonepulse impact data of impact, with each impact voice-grade channel corresponding original audio data phase volume Long-pending, obtain at least one first convolution and include:
For each impact voice-grade channel of target audio passage, the audio frequency arteries and veins of each impact voice-grade channel according to target audio passage Punching impact data carries out Fourier transformation product calculating with each impact corresponding original audio data of voice-grade channel, to target audio The corresponding result of calculation of each impact voice-grade channel of passage carries out inverse Fourier transform respectively, obtains each shadow of target audio passage Ring corresponding first convolution of voice-grade channel;
The original audio data phase of the described tonepulse data by described target audio passage and described target audio passage is rolled up Long-pending, obtain the second convolution and include:
Tonepulse data according to described target audio passage carries out Fu with the original audio data of described target audio passage In leaf transformation product calculate, inverse Fourier transform is carried out to result of calculation, obtains corresponding the second of described target audio passage Convolution.
8. convolution audio frequency generation method according to claim 1 is it is characterised in that methods described also includes:
Judge to whether there is the value exceeding predetermined effective range in the Time Domain Amplitude of convolution audio frequency of target audio passage;
If there is the value exceeding predetermined effective range in the Time Domain Amplitude of described convolution audio frequency, passage crosses the cunning of scheduled time length Value beyond predetermined effective range is carried out gain with described scheduled time length and diminishes process by dynamic window.
9. a kind of audio frequency apparatus is it is characterised in that described audio frequency apparatus has a plurality of voice-grade channel;Described audio frequency apparatus includes:
Pulse data acquisition module, for obtaining the tonepulse data of target audio passage, and described target audio passage Impact voice-grade channel produces the tonepulse impact data of impact to described target audio passage;Described target audio passage is institute State a voice-grade channel needing to generate convolution audio frequency in a plurality of voice-grade channel, described impact voice-grade channel is described a plurality of audio frequency The voice-grade channel of described target audio passage is affected, the quantity of described impact voice-grade channel is at least one in passage, and one The corresponding tonepulse impact data that described target audio passage is produced with impact of impact voice-grade channel;
First convolution obtains module, for each impact voice-grade channel produces the tonepulse of impact respectively on target audio passage Impact data, with each impact voice-grade channel corresponding original audio data phase convolution, obtains at least one first convolution;
The module that second convolution obtains, for by the tonepulse data of described target audio passage and described target audio passage Original audio data phase convolution, obtain the second convolution;
Laminating module, for will be superimposed with described second convolution at least one first convolution described, obtains described target audio The convolution audio frequency of passage.
10. audio frequency apparatus according to claim 9 is it is characterised in that described pulse data acquisition module includes:
Measuring unit, for measuring the tonepulse data of each voice-grade channel in described a plurality of voice-grade channel, and each voice-grade channel The voice-grade channel being affected is produced with the tonepulse impact data of impact;
Arrangement obtains unit, for using each voice-grade channel as target audio passage, arranging and obtaining target audio passage Tonepulse data, and the tonepulse impact on the generation impact of target audio passage for the impact voice-grade channel of target audio passage Data.
11. audio frequency apparatuses according to claim 10 are it is characterised in that described a plurality of voice-grade channel includes left voice-grade channel With right voice-grade channel;Described measuring unit includes:
Measurement execution subelement, for measuring the tonepulse data of left voice-grade channel, and left voice-grade channel is to right voice-grade channel Produce the tonepulse impact data of impact;And measure the tonepulse data of right voice-grade channel, and right voice-grade channel is to left sound Frequency passage produces the tonepulse impact data of impact.
12. audio frequency apparatuses according to any one of claim 9-11 are it is characterised in that also include: the regular module of amplitude, use Exceed the value of predetermined effective range in judging to whether there is in the Time Domain Amplitude of convolution audio frequency of target audio passage;If described volume There is, in the Time Domain Amplitude of long-pending audio frequency, the value exceeding predetermined effective range, passage crosses the sliding window of scheduled time length, with institute State the scheduled time length value beyond predetermined effective range is carried out gain and diminish process.
CN201610826841.7A 2016-09-14 2016-09-14 Convolution audio generation method and audio equipment Active CN106358118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826841.7A CN106358118B (en) 2016-09-14 2016-09-14 Convolution audio generation method and audio equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826841.7A CN106358118B (en) 2016-09-14 2016-09-14 Convolution audio generation method and audio equipment

Publications (2)

Publication Number Publication Date
CN106358118A true CN106358118A (en) 2017-01-25
CN106358118B CN106358118B (en) 2020-05-05

Family

ID=57859934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826841.7A Active CN106358118B (en) 2016-09-14 2016-09-14 Convolution audio generation method and audio equipment

Country Status (1)

Country Link
CN (1) CN106358118B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717767A (en) * 1993-11-08 1998-02-10 Sony Corporation Angle detection apparatus and audio reproduction apparatus using it
CN102325298A (en) * 2010-05-20 2012-01-18 索尼公司 Audio signal processor and acoustic signal processing method
CN104681034A (en) * 2013-11-27 2015-06-03 杜比实验室特许公司 Audio signal processing method
CN104853283A (en) * 2015-04-24 2015-08-19 华为技术有限公司 Audio signal processing method and apparatus
CN105451152A (en) * 2015-11-02 2016-03-30 上海交通大学 Hearer-position-tracking-based real-time sound field reconstruction system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717767A (en) * 1993-11-08 1998-02-10 Sony Corporation Angle detection apparatus and audio reproduction apparatus using it
CN102325298A (en) * 2010-05-20 2012-01-18 索尼公司 Audio signal processor and acoustic signal processing method
CN104681034A (en) * 2013-11-27 2015-06-03 杜比实验室特许公司 Audio signal processing method
CN104853283A (en) * 2015-04-24 2015-08-19 华为技术有限公司 Audio signal processing method and apparatus
CN105451152A (en) * 2015-11-02 2016-03-30 上海交通大学 Hearer-position-tracking-based real-time sound field reconstruction system and method

Also Published As

Publication number Publication date
CN106358118B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US7123728B2 (en) Speaker equalization tool
US9584940B2 (en) Wireless exchange of data between devices in live events
CN110265064B (en) Audio frequency crackle detection method, device and storage medium
CN109831733A (en) Test method, device, equipment and the storage medium of audio broadcast performance
CN103137136B (en) Sound processing device
CN108596016A (en) A kind of personalized head-position difficult labor modeling method based on deep neural network
TWI740315B (en) Sound separation method, electronic and computer readable storage medium
US10911885B1 (en) Augmented reality virtual audio source enhancement
US9401684B2 (en) Methods, systems, and computer readable media for synthesizing sounds using estimated material parameters
TWI811762B (en) Timbre evaluation method and timbre evaluation system using the same
CN109920446A (en) A kind of audio data processing method, device and computer storage medium
CN105981412A (en) Apparatus and method for estimating an overall mixing time based on at least a first pair of room impulse responses, as well as corresponding computer program
JP5395399B2 (en) Mobile terminal, beat position estimating method and beat position estimating program
CN108040315A (en) A kind of test machine of computer-readable recording medium and the application medium
CN112712816A (en) Training method and device of voice processing model and voice processing method and device
Primavera et al. Objective and subjective investigation on a novel method for digital reverberator parameters estimation
CN112652290A (en) Method for generating reverberation audio signal and training method of audio processing model
CN101516055B (en) Method and device capable of simulating three-dimensional echo sound effect in different acoustic environments
CN104424971B (en) A kind of audio file play method and device
CN106358118A (en) Convolutional audio generation method and audio equipment
CN114615599B (en) Audio processing method, device, computer equipment, storage medium and program product
CN102523553B (en) Holographic audio method and device for mobile terminal equipment based on sound source contents
Brunet et al. Use of Repetitive Multi-Tone Sequences to Estimate Nonlinear Response of a Loudspeaker to Music
JP2010091821A (en) Sound field support device, sound field support method, and program
CN109683845B (en) Sound playing device, method and non-transient storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant