CN109995941B - Data adjusting method, device and storage medium - Google Patents
Data adjusting method, device and storage medium Download PDFInfo
- Publication number
- CN109995941B CN109995941B CN201910238804.8A CN201910238804A CN109995941B CN 109995941 B CN109995941 B CN 109995941B CN 201910238804 A CN201910238804 A CN 201910238804A CN 109995941 B CN109995941 B CN 109995941B
- Authority
- CN
- China
- Prior art keywords
- frequency
- sound effect
- data
- decibel
- response curve
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention discloses a data adjusting method, a device and a storage medium, wherein the method comprises the following steps: acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file; combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect. By adopting the invention, the accuracy of adjusting the frequency response can be improved.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a data adjusting method, device, and storage medium.
Background
With the continuous development and improvement of electronic technology, the mobile terminal and the application program show explosive growth, the usage amount of the music application program is increased day by day, the user also pays attention to the quality of music, the tone quality of the audio equipment determines the performance of the audio equipment and the quality of the sound heard by the user, and the tone quality of the audio equipment has frequency response, low-frequency diving degree, distortion and other factors. Generally, the sound production performance of the audio device is determined by the quality of the frequency response, the sound production performance of the audio device can be more reasonable by the good frequency response, and in order to enable the audio device and the frequency response to be closer to the standard, the current method is to modulate the frequency response of the audio device by adopting a ten-segment equalizer technology, but the ten-segment equalizer has the problems that the central frequency and quality factors of each Bell filter in the ten-segment equalizer cannot be changed, the adjusted parameters are fixed, the frequency responses of different frequency bands cannot be adjusted in a targeted manner, and the accuracy of the frequency response adjustment is influenced.
Disclosure of Invention
Embodiments of the present invention provide a data adjusting method, device, and storage medium, which can improve accuracy of adjusting a frequency response.
An aspect of an embodiment of the present invention provides a data adjustment method, which may include:
acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information;
setting sound effect parameters according to the frequency response curve data and the sounding component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
The acquiring related parameter information corresponding to the audio device, where the related parameter information includes frequency response curve data and sounding component information, includes:
the method comprises the steps of obtaining target model information of the audio equipment, and obtaining frequency response curve data and sounding component information corresponding to the target model information from a model information list.
Wherein, according to the frequency response curve data with sound production subassembly information sets up the sound effect parameter, and according to at least one sound effect ware is generated to the sound effect parameter, include:
obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
acquiring partial frequency response curve data with response frequency larger than the cut-off frequency from the frequency response curve data, acquiring first frequency and second frequency of decibel data equal to standard decibel data from the partial frequency response curve data, and acquiring extreme decibel data between the first frequency and the second frequency, wherein the extreme decibel data is decibel data with the maximum absolute value of difference between the decibel data and the standard decibel data;
setting first filter sound effect parameters according to the first frequency, the second frequency and the extreme decibel data, wherein the first filter sound effect parameters comprise a center frequency, a quality factor and a gain coefficient;
and generating sound effects corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient.
Wherein, set up the first filter sound effect parameter according to the first frequency, the second frequency and the extreme value decibel data, the first filter sound effect parameter includes central frequency, quality factor and gain factor, includes:
obtaining an extreme value response frequency corresponding to the extreme value decibel data, and determining the extreme value response frequency as a center frequency;
determining the difference between the extreme value decibel data and the standard decibel data as a gain coefficient;
and acquiring an absolute value of the difference value between the first frequency and the second frequency, and determining the ratio of the central frequency to the absolute value as a quality factor.
Wherein, according to the frequency response curve data with sound production subassembly information sets up the sound effect parameter, and according to at least one sound effect ware is generated to the sound effect parameter, include:
obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
acquiring the corresponding effect intensity of the information of the sounding component from the sounding component list;
and determining the effect intensity as an exciter sound effect parameter, determining the cut-off frequency as a second filter sound effect parameter, and generating a sound effect according to the exciter sound effect parameter and the second filter sound effect parameter.
Wherein, the obtaining of the cut-off frequency corresponding to the audio device according to the frequency response curve includes:
acquiring reference decibel data corresponding to reference response frequency from frequency response curve data, acquiring target decibel data, wherein the difference value between the decibel data and the reference decibel data is a decibel data threshold value, and the decibel data is smaller than the reference decibel data, and determining the response frequency corresponding to the target decibel data as a cut-off frequency.
Wherein, still include:
when a playing instruction for an audio file is acquired, acquiring equipment information of audio equipment initiating the playing instruction, and transmitting the audio chain file matched with the equipment information to the audio equipment playing the audio file, so that the audio equipment adjusts the audio file according to the audio chain file, and plays the adjusted audio file.
An aspect of an embodiment of the present invention provides a data adjusting apparatus, which may include:
the parameter information acquisition unit is used for acquiring characteristic parameter information corresponding to the audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information;
the sound effect device generating unit is used for setting sound effect parameters according to the frequency response curve data and the sound production component information and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
the sound effect chain generating unit is used for combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effects; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
The parameter information acquiring unit is specifically configured to:
the method comprises the steps of obtaining target model information of the audio equipment, and obtaining frequency response curve data and sounding component information corresponding to the target model information from a model information list.
Wherein, the sound effect generation unit includes:
the first cut-off frequency acquisition subunit is used for acquiring the cut-off frequency corresponding to the audio equipment according to the frequency response curve;
a frequency obtaining subunit, configured to obtain, from frequency response curve data, partial frequency response curve data in which a response frequency is greater than the cutoff frequency, obtain, from the partial frequency response curve data, a first frequency and a second frequency at which decibel data are equal to standard decibel data, and obtain extreme decibel data between the first frequency and the second frequency, where the extreme decibel data is decibel data whose absolute value of a difference between decibel data and the standard decibel data is maximum;
the first sound effect parameter acquiring subunit is configured to set a first filter sound effect parameter according to the first frequency, the second frequency, and the extreme value decibel data, where the first filter sound effect parameter includes a center frequency, a quality factor, and a gain coefficient;
and the first sound effect generating subunit is used for generating sound effects corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient.
The first sound effect parameter acquisition subunit is specifically configured to:
obtaining an extreme value response frequency corresponding to the extreme value decibel data, and determining the extreme value response frequency as a center frequency;
determining the difference between the extreme value decibel data and the standard decibel data as a gain coefficient;
and acquiring an absolute value of the difference value between the first frequency and the second frequency, and determining the ratio of the central frequency to the absolute value as a quality factor.
Wherein, the sound effect generation unit further comprises:
the second cut-off frequency acquisition subunit is used for acquiring the cut-off frequency corresponding to the audio equipment according to the frequency response curve;
the effect intensity obtaining subunit is used for obtaining the effect intensity corresponding to the information of the sounding component from the sounding component list;
and the second sound effect generating subunit is used for determining the effect intensity as an exciter sound effect parameter, determining the cut-off frequency as a second filter sound effect parameter, and generating a sound effect according to the exciter sound effect parameter and the second filter sound effect parameter.
Wherein the first cut-off frequency acquisition subunit is specifically configured to:
acquiring reference decibel data corresponding to reference response frequency from frequency response curve data, acquiring target decibel data, wherein the difference value between the decibel data and the reference decibel data is a decibel data threshold value, and the decibel data is smaller than the reference decibel data, and determining the response frequency corresponding to the target decibel data as a cut-off frequency.
Wherein the second cut-off frequency acquisition subunit is specifically configured to:
acquiring reference decibel data corresponding to reference response frequency from frequency response curve data, acquiring target decibel data with the difference value between the decibel data and the reference decibel data being a decibel data threshold value and the decibel data being smaller than the reference decibel data, and determining the response frequency corresponding to the target decibel data as a cut-off frequency.
Wherein, still include:
the file sending unit is used for obtaining equipment information of audio equipment initiating the playing instruction when a playing instruction for the audio file is obtained, transmitting the audio chain file matched with the equipment information to the audio equipment playing the audio file, so that the audio equipment adjusts the audio file according to the audio chain file, and playing the adjusted audio file.
An aspect of the embodiments of the present invention provides a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In one aspect, an embodiment of the present invention provides a data adjusting apparatus, including a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information;
setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The sound effect chains corresponding to different response frequencies are set according to the frequency response curve data, and the sound effect chain files are generated according to the priority order of the sound effect chains, so that the problem that the central frequency and the quality factor cannot be changed is solved, and the accuracy of adjusting the frequency response of the audio equipment is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of a data adjustment method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an example of a sound effect combining method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a data adjustment method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a data adjustment method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data adjustment device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another data adjustment device according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a sound effect generating unit according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an alternative sound effect generating unit according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another data adjustment device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The data adjusting method provided by the embodiment of the invention can be applied to the adjustment of frequency response in audio equipment, and specifically, the data adjusting equipment acquires characteristic parameter information corresponding to the audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sounding component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file; combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect. The sound effect chains corresponding to different response frequencies are set according to the frequency response curve data, and the sound effect chain files are generated according to the priority order of the sound effect chains, so that the problem that the central frequency and the quality factor cannot be changed is solved, and the accuracy of adjusting the frequency response of the audio equipment is improved.
The data adjusting device according to the embodiment of the present invention may include: the system comprises a terminal device and a processor with data processing, such as a tablet personal computer, a smart phone, a Personal Computer (PC), a notebook computer and intelligent wearable equipment.
Referring to fig. 1, a flow chart of a data adjusting method according to an embodiment of the present invention is shown. As shown in fig. 1, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information;
specifically, the data adjustment device acquires characteristic parameter information corresponding to the audio device, the characteristic parameter information includes frequency response curve data and sounding component information, it can be understood that the characteristic parameter information is parameter information to which the audio device belongs, the characteristic parameter information corresponds to the audio device one to one, the characteristic parameter information includes frequency response curve data and sounding component information, the frequency response curve data is corresponding relation data of response frequency and decibel data, decibel data of sounds output by the audio device for different response frequencies conforms to the frequency response curve data, the sounding component information is important information of the sounding component of the audio device, specifically is the size of the sounding component, and the characteristic parameter information corresponding to the audio device can be specific characteristic parameter information input by a user or model information of the audio device, and is obtained from a database through the model information of the audio device.
S102, setting sound effect parameters according to the frequency response curve data and the information of the sound production assembly, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
specifically, the data adjusting equipment sets sound effect parameters according to the frequency response curve data and the sound production component information, and generates at least one sound effect device according to the sound effect parameters; every sound effect ware all is used for adjusting the frequency response of audio file, and it can be understood that the sound effect parameter is the components and parts parameter of handling to the audio file, specifically is the parameter of wave filter, the parameter of exciter etc. and the wave filter can be bell filter, high pass filter, low pass filter etc. the sound effect parameter basis frequency response curve data with sound production component information sets up, specifically can set up different sound effect parameters according to different response frequency and different sound production components, and according to the component and parts information that sound effect parameter and sound effect parameter belong generates at least one sound effect ware, and every sound effect ware all is used for adjusting the frequency response of audio file, and the frequency response of the audio file that different response frequency section corresponds is adjusted to different sound effect wares.
S103, combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
Specifically, the data adjusting device combines the at least one sound effect into a sound effect chain file according to the priority order of the sound effect devices; the sound effect priority order refers to the order in which each sound effect in the at least one sound effect adjusts the frequency response of the audio file, and it can be understood that the sound effect priority order is the processing order of the sound effects on the audio file, and the sound effect priority order may be the preset order in which the audio file is processed, for example, the processing order of the left channel and the right channel may be set to process the left channel first and then process the right channel, that is, the preset sound effect priority order is that the left channel is greater than the right channel, the sound effect carries a tag including the priority order, the data adjusting device acquires the tag in the at least one sound effect, and combines the at least one sound effect into the sound effect chain file according to the priority order of the tag, please refer to fig. 2 together, which provides an example schematic diagram of combining sound effects into the sound effect chain file for the embodiment of the present invention. As shown in fig. 2, the data adjusting device sets sound effect parameters according to the frequency response curve data and the sound production component information, and according to the sound effect parameters generate the sound effect device a of the first filter, the sound effect device B of the second filter and the sound effect device C of the third filter, and the adjusting interface 100 for the sound effect device a, the sound effect device B and the sound effect device C is displayed on the display interface, the adjusting interface 100 includes an "add" key, a "delete" key, a "load" key and a "set" key, the "add" key can add a new sound effect device, the "delete" key can delete a selected sound effect device, the "load" key can check the parameters of the sound effect device, the "set" key can modify the parameters of the sound effect device, the user can realize the user autonomously modify the generated sound effect device by clicking the key in the adjusting interface 100, the priority order of the three sound effect devices is that the sound effect device a is greater than the sound effect device C, the sound effect device C is greater than the sound effect device B, the data adjusting device combines the three sound effect files into a sound effect file, and the sound effect chain file is sequentially a sound effect device B and a, a sound effect device C.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sounding component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The audio chain corresponding to different response frequencies is set according to the frequency response curve data, and the audio chain file is generated according to the priority order of the audio chain, so that the problem that the central frequency and the quality factor cannot be changed is avoided, and the accuracy of adjusting the frequency response of the audio equipment is improved.
Referring to fig. 3, a flow chart of a data adjusting method according to an embodiment of the invention is shown. As shown in fig. 3, the method of the embodiment of the present invention may include the following steps S201 to S207.
S201, acquiring target model information of the audio equipment, and acquiring frequency response curve data and sounding component information corresponding to the target model information from a model information list;
specifically, the data adjustment device acquires target model information of the audio device, acquires frequency response curve data and sounding component information corresponding to the target model information from a model information list, and it can be understood that the model information list is used for storing the model information and the frequency response curve data and the sounding component information corresponding to the model information, a user can store multiple types of model information and the frequency response curve data and the sounding component information corresponding to the model information into the model information list in advance, the data adjustment device acquires the target model information corresponding to the audio device, can be specific model information input by the user, and searches the frequency response curve data and the sounding component information corresponding to the target model information from the model information list.
S202, obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
specifically, the data adjusting device obtains the cut-off frequency corresponding to the audio device according to the frequency response curve, and it can be understood that the data adjusting device obtains reference decibel data corresponding to a reference response frequency from frequency response curve data, obtains target decibel data in which a difference between the decibel data and the reference decibel data is a decibel data threshold and the decibel data is smaller than the reference decibel data, and determines the response frequency corresponding to the target decibel data as the cut-off frequency.
S203, acquiring partial frequency response curve data with response frequency greater than the cut-off frequency from the frequency response curve data, acquiring a first frequency and a second frequency of decibel data equal to standard decibel data from the partial frequency response curve data, and acquiring extreme decibel data between the first frequency and the second frequency, wherein the extreme decibel data is decibel data with the maximum absolute value of difference between the decibel data and the standard decibel data;
specifically, the data adjusting apparatus obtains, from the frequency response curve data, partial frequency response curve data in which a response frequency is greater than the cutoff frequency, obtains, from the partial frequency response curve data, first and second frequencies in which decibel data equal to standard decibel data are obtained, and obtains extremum data in decibels between the first and second frequencies, where the extremum decibel data is decibel data in which an absolute value of a difference between the decibel data and the standard decibel data is the largest, it is understood that the partial frequency response curve data is frequency response curve data in which a response frequency is greater than the cutoff frequency, where there may be more than two decibel data corresponding to the response frequencies in the partial frequency response curve data equal to the standard decibel data, obtains, from the partial frequency response curve data, first and second frequencies in which the decibel data is equal to the standard decibel data, where the first and second frequencies are equal to the smallest response frequencies in the standard decibel data, or may be any two response frequencies in which the decibel data is equal to the standard decibel data, obtains the extremum data between the first frequency and the smallest response frequency data in the response frequency, where the decibel data corresponds to the maximum response frequency, or the smallest response frequency data in the maximum response frequency, where the decibel data is equal to the first frequency, or the smallest response frequency, where the maximum response curve data is equal to the maximum frequency, or the lowest in the decibel data.
S204, setting a first filter sound effect parameter according to the first frequency, the second frequency and the extreme value decibel data, wherein the first filter sound effect parameter comprises a central frequency, a quality factor and a gain coefficient;
specifically, the data adjusting device sets a first filter sound effect parameter according to the first frequency, the second frequency and the extreme decibel data, where the first filter sound effect parameter includes a center frequency, a quality factor and a gain coefficient, and it can be understood that the data adjusting device obtains an extreme response frequency corresponding to the extreme decibel data from the partial frequency response curve data, determines the extreme response frequency as the center frequency, and determines a difference between the extreme decibel data and the standard decibel data as the gain coefficient, for example, if the extreme decibel data is 92db and the standard decibel data is 90db, the gain coefficient is 2db; and the data adjusting equipment acquires the absolute value of the difference value of the first frequency and the second frequency and determines the ratio of the central frequency to the absolute value as a quality factor.
S205, generating sound effects corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient;
specifically, the data adjusting device generates the sound effects corresponding to the first frequency and the second frequency according to the center frequency, the quality factor and the gain factor, and it can be understood that the data adjusting device generates the sound effects corresponding to the first frequency and the second frequency according to the first filter sound effect parameter, and the part of frequency response curve data may include response frequencies at which decibel data corresponding to a plurality of response frequencies are equal to standard decibel data, so that a plurality of first frequencies and a plurality of second frequencies may be provided and correspond to a plurality of sound effects at the same time.
S206, combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect;
s207, when a playing instruction for the audio file is acquired, acquiring equipment information of the audio equipment initiating the playing instruction, and transmitting the audio chain file matched with the equipment information to the audio equipment playing the audio file, so that the audio equipment adjusts the audio file according to the audio chain file, and plays the adjusted audio file.
Specifically, when a playing instruction for an audio file is acquired, the data adjusting device acquires device information of the audio device initiating the playing instruction, and transmits the audio chain file matched with the device information to the audio device playing the audio file, so that the audio device adjusts the audio file according to the audio chain file, and plays the adjusted audio file.
Step S206 in the embodiment of the present invention refers to the detailed description of step S103 in the embodiment shown in fig. 1, which is not repeated herein.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The audio chain corresponding to different response frequencies is set according to the frequency response curve data, and the audio chain file is generated according to the priority order of the audio chain, so that the problem that the central frequency and the quality factor cannot be changed is avoided, and the accuracy of adjusting the frequency response of the audio equipment is improved.
Referring to fig. 4, a flow chart of a data adjusting method according to an embodiment of the invention is shown. As shown in fig. 4, the method of the embodiment of the present invention may include the following steps S301 to S306.
S301, acquiring target model information of the audio equipment, and acquiring frequency response curve data and sounding component information corresponding to the target model information from a model information list;
specifically, the data adjustment device acquires target model information of the audio device, acquires frequency response curve data and sounding component information corresponding to the target model information from a model information list, and it can be understood that the model information list is used for storing the model information and the frequency response curve data and the sounding component information corresponding to the model information, a user can store multiple types of model information and the frequency response curve data and the sounding component information corresponding to the model information into the model information list in advance, the data adjustment device acquires the target model information corresponding to the audio device, can be specific model information input by the user, and searches the frequency response curve data and the sounding component information corresponding to the target model information from the model information list.
S302, obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
specifically, the data adjusting device obtains the cut-off frequency corresponding to the audio device according to the frequency response curve, and as can be understood, the data adjusting device obtains reference decibel data corresponding to a reference response frequency from frequency response curve data, obtains target decibel data, of which a difference between the decibel data and the reference decibel data is a decibel data threshold and the decibel data is smaller than the reference decibel data, and determines the response frequency corresponding to the target decibel data as the cut-off frequency.
S303, acquiring the corresponding effect intensity of the sounding component information from the sounding component list;
specifically, data conditioning equipment acquires from the sound production subassembly list the effect intensity that sound production subassembly information corresponds can understand be, the sound production subassembly list is used for the storage sound production subassembly information with the effect intensity that sound production subassembly information corresponds, the user can be based on corresponding relation between sound production subassembly information and the effect intensity, with a plurality of sound production subassembly information with a plurality of effect intensity storage that a plurality of sound production subassembly information correspond extremely the sound production subassembly list.
S304, determining the effect intensity as an exciter sound effect parameter, determining the cut-off frequency as a second filter sound effect parameter, and generating a sound effect according to the exciter sound effect parameter and the second filter sound effect parameter;
specifically, data adjustment equipment will effect intensity is confirmed to exciter sound effect parameter, will cutoff frequency is confirmed to be second filter sound effect parameter, according to exciter sound effect parameter with second filter sound effect parameter generates the audio effect ware, and it can be understood that data adjustment equipment will effect intensity is confirmed to be exciter sound effect parameter, the exciter is used for generating multiple harmonics, rebuilds the multiple harmonic that the brain is lost, and data adjustment equipment will cutoff frequency is confirmed to be second filter sound effect parameter, second filter sound effect parameter includes high pass filter parameter and low pass filter parameter, high pass filter parameter and low pass filter parameter all include cutoff frequency and predetermined figure of merit, will exciter sound effect parameter with second filter sound effect parameter generates the audio effect ware.
S305, combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect;
s306, when a playing instruction for the audio file is acquired, acquiring equipment information of the audio equipment initiating the playing instruction, and transmitting the sound effect chain file matched with the equipment information to the audio equipment playing the audio file, so that the audio equipment adjusts the audio file according to the sound effect chain file, and plays the adjusted audio file.
Steps S305 and S306 in the embodiment of the present invention refer to the detailed description of steps S206 and S207 in the embodiment shown in fig. 3, which is not repeated herein.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The audio chain corresponding to different response frequencies is set according to the frequency response curve data, and the audio chain file is generated according to the priority order of the audio chain, so that the problem that the central frequency and the quality factor cannot be changed is solved, the accuracy of adjusting the frequency response of the audio equipment is improved, multiple harmonics are reconstructed according to the exciter, the virtual bass is generated, and the low-frequency diving degree of the audio equipment is improved.
Fig. 5 is a schematic structural diagram of a data adjusting apparatus according to an embodiment of the present invention. As shown in fig. 5, the data adjustment device 1 according to the embodiment of the present invention may include: a parameter information acquisition unit 11, a sound effect generation unit 12, and a sound effect chain generation unit 13.
The parameter information acquiring unit 11 is configured to acquire characteristic parameter information corresponding to the audio device, where the characteristic parameter information includes frequency response curve data and sounding component information;
specifically, the parameter information obtaining unit 11 obtains characteristic parameter information corresponding to the audio device, where the characteristic parameter information includes frequency response curve data and sounding component information, it can be understood that the characteristic parameter information is parameter information to which the audio device belongs, the characteristic parameter information is in one-to-one correspondence with the audio device, the characteristic parameter information includes frequency response curve data and sounding component information, the frequency response curve data is correspondence data of response frequency and decibel data, decibel data of sounds output by the audio device for different response frequencies corresponds to the frequency response curve data, the sounding component information is important information of the sounding component of the audio device, specifically, the size of the sounding component, and the characteristic parameter information corresponding to the audio device can be specific characteristic parameter information input by a user or model information of the audio device, and the characteristic parameter information corresponding to the model information is obtained from a database through the model information of the audio device.
The sound effect device generating unit 12 is used for setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
specifically, the sound effect generating unit 12 sets sound effect parameters according to the frequency response curve data and the sound generating component information, and generates at least one sound effect according to the sound effect parameters; every sound effect ware all is used for adjusting the frequency response of audio file, and it can be understood that, the sound effect parameter is the components and parts parameter of handling to the audio file, specifically is the parameter of wave filter, the parameter of exciter etc. and the wave filter can be bell filter, high pass filter, low pass filter etc. the sound effect parameter is according to frequency response curve data with sounding component information sets up, specifically can set up different sound effect parameters according to different response frequency and different sounding component, and according to the component and parts information that sound effect parameter and sound effect parameter belong generates at least one sound effect ware, and every sound effect ware all is used for adjusting the frequency response of audio file, and the frequency response of the audio file that different response frequency sections correspond is adjusted to different sound effect wares.
A sound effect chain generating unit 13, configured to combine the at least one sound effect into a sound effect chain file according to the sound effect priority order; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
Specifically, the sound effect chain generating unit 13 combines the at least one sound effect into a sound effect chain file according to the sound effect priority order; the priority order of the sound effects refers to the order in which each sound effect in the at least one sound effect adjusts the frequency response of the audio file, and it can be understood that the priority order of the sound effects is the order in which the sound effects process the audio file, and the priority order of the sound effects may be the preset order in which the audio file is processed, for example, the processing order of the left channel and the right channel may be set to process the left channel first and then process the right channel, that is, the preset priority order of the sound effects is that the left channel is greater than the right channel, the sound effects carry a tag including the priority order, the data adjusting device acquires the tag in the at least one sound effect, and combines the at least one sound effect into a sound effect chain file according to the priority order of the tag, please refer to fig. 2 together, which provides an example schematic diagram for combining sound effects into a sound effect chain file.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The sound effects corresponding to different response frequencies are set according to the frequency response curve data, and the sound effect chain file is generated according to the priority order of the sound effects, so that the problem that the central frequency and the quality factor cannot be changed is solved, and the accuracy of adjusting the frequency response of the audio equipment is improved.
Fig. 6 is a schematic structural diagram of a data adjusting apparatus according to an embodiment of the present invention. As shown in fig. 6, the data adjustment device 1 according to the embodiment of the present invention may include: a parameter information acquisition unit 11, a sound effect generation unit 12, a sound effect chain generation unit 13, and a file transmission unit 14.
The parameter information acquiring unit 11 is configured to acquire target model information of an audio device, and acquire frequency response curve data and sounding component information corresponding to the target model information from a model information list;
specifically, the parameter information acquiring unit 11 acquires target model information of the audio device, acquires frequency response curve data and sound emitting component information corresponding to the target model information from a model information list, and it can be understood that the model information list is used for storing the model information and the frequency response curve data and the sound emitting component information corresponding to the model information, a user can store various model information and the frequency response curve data and the sound emitting component information corresponding to the model information into the model information list in advance, and the data adjusting device acquires specific model information that the target model information corresponding to the audio device can be input by the user, and searches the frequency response curve data and the sound emitting component information corresponding to the target model information from the model information list.
The sound effect device generating unit 12 is used for setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
referring to fig. 7, a schematic structural diagram of a sound effect generating unit 12 is provided for the embodiment of the present invention. As shown in fig. 7, the sound effect generating unit 12 according to the embodiment of the present invention may include: a first cut-off frequency acquiring subunit 121, a frequency acquiring subunit 122, a first sound effect parameter acquiring subunit 123, and a first sound effect generator subunit 124.
A first cut-off frequency obtaining subunit 121, configured to obtain a cut-off frequency corresponding to the audio device according to the frequency response curve;
specifically, the first cut-off frequency obtaining subunit 121 obtains the cut-off frequency corresponding to the audio device according to the frequency response curve, and it can be understood that the data adjusting device obtains reference decibel data corresponding to a reference response frequency from frequency response curve data, obtains target decibel data in which a difference between the decibel data and the reference decibel data is a decibel data threshold and the decibel data is smaller than the reference decibel data, and determines the response frequency corresponding to the target decibel data as the cut-off frequency.
A frequency obtaining subunit 122, configured to obtain, from the frequency response curve data, partial frequency response curve data in which a response frequency is greater than the cut-off frequency, obtain, from the partial frequency response curve data, first frequency and second frequency in which decibel data are equal to standard decibel data, and obtain extreme decibel data between the first frequency and the second frequency, where the extreme decibel data is decibel data with a maximum absolute value of a difference between the decibel data and the standard decibel data;
specifically, the frequency obtaining subunit 122 obtains, from the frequency response curve data, partial frequency response curve data in which a response frequency is greater than the cutoff frequency, obtains a first frequency and a second frequency in which decibel data is equal to standard decibel data, and obtains extreme decibel data between the first frequency and the second frequency, where the extreme decibel data is decibel data having a maximum absolute value of a difference between the decibel data and the standard decibel data, it is understood that the partial frequency response curve data is frequency response curve data in which a response frequency is greater than the cutoff frequency, where there may be more than two decibel data corresponding to the response frequencies in the partial frequency response curve data equal to the standard decibel data, obtains, from the partial frequency response curve data, a first frequency and a second frequency that are equal to the standard decibel data, where the first frequency and the second frequency are equal to the minimum response frequency when the decibel data is equal to the standard decibel data, or obtains any two response frequencies when the decibel data is equal to the standard decibel data, obtains the extreme frequency response data between the first frequency and the second frequency, where the maximum decibel data is equal to the maximum response frequency, where the maximum response frequency is equal to the maximum decibel data, or the maximum response frequency, where the maximum response data is equal to the maximum decibel data, where the maximum response frequency is equal to the maximum frequency, or the maximum frequency, where the maximum frequency, or the maximum frequency.
A first sound parameter obtaining subunit 123, configured to set a first filter sound parameter according to the first frequency, the second frequency, and the extreme value decibel data, where the first filter sound parameter includes a center frequency, a quality factor, and a gain coefficient;
specifically, the first sound parameter obtaining subunit 123 sets a first filter sound parameter according to the first frequency, the second frequency, and the extreme decibel data, where the first filter sound parameter includes a central frequency, a quality factor, and a gain coefficient, and it can be understood that the data adjusting device obtains an extreme response frequency corresponding to the extreme decibel data from the partial frequency response curve data, determines the extreme response frequency as the central frequency, and determines a difference between the extreme decibel data and standard decibel data as the gain coefficient, for example, if the extreme data is 92db and the standard decibel data is 90db, the gain coefficient is 2db; and the data adjusting equipment acquires the absolute value of the difference value of the first frequency and the second frequency and determines the ratio of the central frequency to the absolute value as a quality factor.
A first effector generating subunit 124, configured to generate effectors corresponding to the first frequency and the second frequency according to the center frequency, the quality factor, and the gain factor;
specifically, the first effector generating subunit 124 generates the effectors corresponding to the first frequency and the second frequency according to the center frequency, the quality factor, and the gain factor, and it can be understood that the data adjusting device generates the effectors corresponding to the first frequency and the second frequency according to the first filter effector parameter, and the partial frequency response curve data may include response frequencies at which decibel data corresponding to a plurality of response frequencies are equal to response frequencies of standard decibel data, so that a plurality of first frequencies and a plurality of second frequencies may be provided, and a plurality of effectors may be provided.
Referring to fig. 8, a schematic structural diagram of a sound effect generating unit 12 is provided for the embodiment of the present invention. As shown in fig. 8, the sound effect generating unit 12 according to the embodiment of the present invention may include: a second cut-off frequency acquiring subunit 125, an effect intensity acquiring subunit 126, and a second effector generating subunit 127.
A second cut-off frequency obtaining subunit 125, configured to obtain, according to the frequency response curve, a cut-off frequency corresponding to the audio device;
specifically, the second cut-off frequency obtaining subunit 125 obtains the cut-off frequency corresponding to the audio device according to the frequency response curve, and it can be understood that the second effector generating subunit 127 obtains reference decibel data corresponding to the reference response frequency from the frequency response curve data, obtains target decibel data in which a difference between the decibel data and the reference decibel data is a decibel data threshold and the decibel data is smaller than the reference decibel data, and determines the response frequency corresponding to the target decibel data as the cut-off frequency, where it is required to be noted that the second cut-off frequency obtaining subunit 125 and the first cut-off frequency obtaining subunit 121 may be the same cut-off frequency obtaining subunit.
An effect strength obtaining subunit 126, configured to obtain, from the sound production component list, an effect strength corresponding to the sound production component information;
specifically, effect intensity acquisition subunit 126 acquires from the sound generation component list the effect intensity that the sound generation component information corresponds, and it can be understood that the sound generation component list is used for storing the sound generation component information with the effect intensity that the sound generation component information corresponds, the user can be according to the corresponding relation between sound generation component information and effect intensity, with a plurality of sound generation component information with a plurality of effect intensities that a plurality of sound generation component information correspond store extremely the sound generation component list.
A second sound effect generating subunit 127, configured to determine the effect intensity as an exciter sound effect parameter, determine the cut-off frequency as a second filter sound effect parameter, and generate a sound effect according to the exciter sound effect parameter and the second filter sound effect parameter;
specifically, second audio effect generates subunit 127 will effect intensity is confirmed to be exciter sound effect parameter, will cutoff frequency is confirmed to be second filter sound effect parameter, according to exciter sound effect parameter with second filter sound effect parameter generates the audio effect ware, and it can be understood that second audio effect ware generates subunit 127 will effect intensity is confirmed to be exciter sound effect parameter, the exciter is used for generating multiple harmonics, rebuilds the multiple harmonics that the brain is lost, and data conditioning equipment will cutoff frequency is confirmed to be second filter sound effect parameter, second filter sound effect parameter includes high pass filter parameter and low pass filter parameter, high pass filter parameter and low pass filter parameter all include cutoff frequency and predetermined figure of merit, will exciter sound effect parameter with second filter sound effect parameter generates the audio effect ware.
A sound effect chain generating unit 13, configured to combine the at least one sound effect into a sound effect chain file according to the sound effect priority order; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect;
the file sending unit 14 is configured to, when a play instruction for an audio file is obtained, obtain device information of an audio device that initiates the play instruction, transmit the sound effect chain file matched with the device information to the audio device that plays the audio file, so that the audio device adjusts the audio file according to the sound effect chain file, and play the adjusted audio file.
Specifically, when a playing instruction for an audio file is acquired, the file sending unit 14 acquires device information of an audio device that initiates the playing instruction, and transmits the audio chain file matched with the device information to the audio device that plays the audio file, so that the audio device adjusts the audio file according to the audio chain file, and plays the adjusted audio file.
The audio chain generating unit 13 according to the embodiment of the present invention refers to the detailed description of the audio chain generating unit 13 shown in fig. 5, which is not repeated herein.
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The audio chain corresponding to different response frequencies is set according to the frequency response curve data, and the audio chain file is generated according to the priority order of the audio chain, so that the problem that the central frequency and the quality factor cannot be changed is solved, the accuracy of adjusting the frequency response of the audio equipment is improved, multiple harmonics are reconstructed according to the exciter, the virtual bass is generated, and the low-frequency diving degree of the audio equipment is improved.
An embodiment of the present invention further provides a computer storage medium, where multiple instructions may be stored in the computer storage medium, where the instructions are suitable for being loaded by a processor and for executing the method steps in the embodiments shown in fig. 1 to fig. 4, and specific execution processes may refer to specific descriptions of the embodiments shown in fig. 1 to fig. 4, which are not described herein again.
Fig. 9 is a schematic structural diagram of a data adjusting apparatus according to an embodiment of the present invention. As shown in fig. 9, the data adjusting apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may alternatively be at least one memory device located remotely from the processor 1001. As shown in fig. 9, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data adjustment application program.
In the terminal 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call the data adjustment application stored in the memory 1005, and specifically perform the following operations:
acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information;
setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file;
combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of the frequency response of each sound effect device in the at least one sound effect device for adjusting the audio files
In the embodiment of the invention, the characteristic parameter information corresponding to the audio equipment is obtained, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; setting sound effect parameters according to the frequency response curve data and the sounding component information, and generating at least one sound effect device according to the sound effect parameters; combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; each sound effect device is used for adjusting the frequency response of the audio file, and the sound effect device priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect device in the at least one sound effect device. The sound effect chains corresponding to different response frequencies are set according to the frequency response curve data, and the sound effect chain files are generated according to the priority order of the sound effect chains, so that the problem that the central frequency and the quality factor cannot be changed is solved, and the accuracy of adjusting the frequency response of the audio equipment is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (8)
1. A method for adjusting data, comprising:
acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; the frequency response curve is a curve for reflecting corresponding relation data between response frequency and decibel data; the frequency response curve includes a cutoff frequency; a plurality of extreme decibel data exist in partial frequency response curve data of which the response frequency is greater than the cut-off frequency in the frequency response curve, each extreme decibel data corresponds to a first frequency and a second frequency, and the first frequency and the second frequency are respectively any two corresponding response frequencies when decibel data in the partial frequency response curve data are equal to standard decibel data;
setting sound effect parameters according to the frequency response curve data and the sound production component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file; the sound effect parameters of one sound effect device are comprehensively determined by one extreme value decibel data and the corresponding first frequency and second frequency; or the sound effect parameters of a sound effect device are comprehensively determined by the cut-off frequency and the effect intensity corresponding to the information of the sounding component; each sound effect device is used for adjusting the frequency response of the audio file, and different sound effect devices adjust the frequency response of the audio file corresponding to different response frequency sections;
when the sound effect parameter of a sound effect device is comprehensively determined by extreme value decibel data and a first frequency and a second frequency corresponding to the extreme value decibel data, the sound effect parameter is set according to the frequency response curve data and the sounding component information, and at least one sound effect device is generated according to the sound effect parameter, wherein the sound effect parameter setting step comprises the following steps:
obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
acquiring partial frequency response curve data with response frequency larger than the cut-off frequency from the frequency response curve data, acquiring first frequency and second frequency of which decibel data are equal to standard decibel data from the partial frequency response curve data, and acquiring extreme decibel data between the first frequency and the second frequency, wherein the extreme decibel data is decibel data with the maximum absolute value of difference between the decibel data and the standard decibel data; the extreme decibel data comprises maximum decibel data corresponding to the response frequency between the first frequency and the second frequency, or minimum decibel data corresponding to the response frequency between the first frequency and the second frequency;
obtaining an extreme value response frequency corresponding to the extreme value decibel data, and determining the extreme value response frequency as a center frequency;
determining the difference between the extreme value decibel data and the standard decibel data as a gain coefficient;
acquiring an absolute value of a difference value between the first frequency and the second frequency, and determining a ratio of the central frequency to the absolute value as a quality factor;
generating sound effect devices corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient;
displaying the at least one sound effect device in an adjustment interface, wherein each sound effect device is provided with a plurality of keys, and a user can modify the generated at least one sound effect device through the keys;
combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effect devices; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
2. The method of claim 1, wherein the obtaining related parameter information corresponding to the audio device, the related parameter information including frequency response curve data and sounding component information, comprises:
the method comprises the steps of obtaining target model information of the audio equipment, and obtaining frequency response curve data and sounding component information corresponding to the target model information from a model information list.
3. The method of claim 1, wherein the setting of sound effect parameters according to the frequency response curve data and the sound generation assembly information and the generating of at least one sound effect according to the sound effect parameters comprises:
obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
acquiring the effect intensity corresponding to the information of the sounding component from the sounding component list;
and determining the effect intensity as an exciter sound effect parameter, determining the cut-off frequency as a second filter sound effect parameter, and generating a sound effect according to the exciter sound effect parameter and the second filter sound effect parameter.
4. The method of claim 3, wherein obtaining the cut-off frequency corresponding to the audio device according to the frequency response curve comprises:
acquiring reference decibel data corresponding to reference response frequency from frequency response curve data, acquiring target decibel data with the difference value between the decibel data and the reference decibel data being a decibel data threshold value and the decibel data being smaller than the reference decibel data, and determining the response frequency corresponding to the target decibel data as a cut-off frequency.
5. The method of claim 1, further comprising:
when a playing instruction for an audio file is acquired, acquiring equipment information of audio equipment initiating the playing instruction, and transmitting the audio chain file matched with the equipment information to audio equipment playing the audio file, so that the audio equipment adjusts the audio file according to the audio chain file, and plays the adjusted audio file.
6. A data adjustment device, comprising:
the parameter information acquisition unit is used for acquiring characteristic parameter information corresponding to the audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; the frequency response curve is a curve for reflecting corresponding relation data between response frequency and decibel data; the frequency response curve includes a cutoff frequency; a plurality of extreme decibel data exist in partial frequency response curve data of which the response frequency is greater than the cut-off frequency in the frequency response curve, each extreme decibel data corresponds to a first frequency and a second frequency, and the first frequency and the second frequency are respectively any two corresponding response frequencies when decibel data in the partial frequency response curve data are equal to standard decibel data;
the sound effect device generating unit is used for setting sound effect parameters according to the frequency response curve data and the sound production assembly information and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file; the sound effect parameters of one sound effect device are comprehensively determined by one extreme value decibel data and the corresponding first frequency and second frequency; or the sound effect parameters of a sound effect device are comprehensively determined by the cut-off frequency and the effect intensity corresponding to the information of the sounding component; the system comprises a plurality of sound effects and a display interface, wherein the sound effects are used for displaying the at least one sound effect in the adjustment interface, each sound effect is provided with a plurality of keys, and a user can modify the generated at least one sound effect through the keys; each sound effect device is used for adjusting the frequency response of the audio file, and different sound effect devices adjust the frequency response of the audio file corresponding to different response frequency sections;
the sound effect generation unit is further configured to, when a sound effect parameter of a sound effect is comprehensively determined by extreme value decibel data and corresponding first frequency and second frequency thereof, set the sound effect parameter according to the frequency response curve data and the sound generation component information, and generate at least one sound effect according to the sound effect parameter, including: obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve; acquiring partial frequency response curve data with response frequency larger than the cut-off frequency from the frequency response curve data, acquiring first frequency and second frequency of which decibel data are equal to standard decibel data from the partial frequency response curve data, and acquiring extreme decibel data between the first frequency and the second frequency, wherein the extreme decibel data is decibel data with the maximum absolute value of difference between the decibel data and the standard decibel data; the extreme decibel data comprises maximum decibel data corresponding to the response frequency between the first frequency and the second frequency, or minimum decibel data corresponding to the response frequency between the first frequency and the second frequency; obtaining an extreme value response frequency corresponding to the extreme value decibel data, and determining the extreme value response frequency as a center frequency; determining the difference between the extreme value decibel data and the standard decibel data as a gain coefficient; acquiring an absolute value of a difference value between the first frequency and the second frequency, and determining a ratio of the central frequency to the absolute value as a quality factor; generating sound effect devices corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient;
the sound effect chain generating unit is used for combining the at least one sound effect into a sound effect chain file according to the priority sequence of the sound effects; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
7. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-6.
8. A data adjusting apparatus, characterized by comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
acquiring characteristic parameter information corresponding to audio equipment, wherein the characteristic parameter information comprises frequency response curve data and sounding component information; the frequency response curve is a curve for reflecting the corresponding relation data between the response frequency and the decibel data; the frequency response curve includes a cutoff frequency; a plurality of extreme decibel data exist in partial frequency response curve data of which the response frequency is greater than the cut-off frequency in the frequency response curve, each extreme decibel data corresponds to a first frequency and a second frequency, and the first frequency and the second frequency are respectively any two corresponding response frequencies when decibel data in the partial frequency response curve data are equal to standard decibel data;
setting sound effect parameters according to the frequency response curve data and the sounding component information, and generating at least one sound effect device according to the sound effect parameters; each sound effect device is used for adjusting the frequency response of the audio file; the sound effect parameters of one sound effect device are comprehensively determined by one extreme value decibel data and the corresponding first frequency and second frequency; or the sound effect parameters of one sound effect device are comprehensively determined by the cut-off frequency and the effect intensity corresponding to the information of the sound production assembly; each sound effect device is used for adjusting the frequency response of the audio file, and different sound effect devices adjust the frequency response of the audio file corresponding to different response frequency sections;
when the sound effect parameter of a sound effect device is comprehensively determined by extreme value decibel data and the corresponding first frequency and second frequency, the sound effect parameter is set according to the frequency response curve data and the sounding component information, and at least one sound effect device is generated according to the sound effect parameter, wherein the sound effect parameter comprises:
obtaining a cut-off frequency corresponding to the audio equipment according to the frequency response curve;
acquiring partial frequency response curve data with response frequency larger than the cut-off frequency from the frequency response curve data, acquiring first frequency and second frequency of which decibel data are equal to standard decibel data from the partial frequency response curve data, and acquiring extreme decibel data between the first frequency and the second frequency, wherein the extreme decibel data is decibel data with the maximum absolute value of difference between the decibel data and the standard decibel data; the extreme decibel data comprises maximum decibel data corresponding to the response frequency between the first frequency and the second frequency, or minimum decibel data corresponding to the response frequency between the first frequency and the second frequency;
obtaining an extreme value response frequency corresponding to the extreme value decibel data, and determining the extreme value response frequency as a center frequency;
determining the difference between the extreme value decibel data and the standard decibel data as a gain coefficient;
acquiring an absolute value of a difference value between the first frequency and the second frequency, and determining a ratio of the central frequency to the absolute value as a quality factor;
generating sound effect devices corresponding to the first frequency and the second frequency according to the central frequency, the quality factor and the gain coefficient;
displaying the at least one sound effect device in an adjustment interface, wherein each sound effect device is provided with a plurality of keys, and a user can modify the generated at least one sound effect device through the keys;
combining the at least one sound effect into a sound effect chain file according to the sound effect priority order; the sound effect priority order refers to the sequence of adjusting the frequency response of the audio file by each sound effect in the at least one sound effect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238804.8A CN109995941B (en) | 2019-03-27 | 2019-03-27 | Data adjusting method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238804.8A CN109995941B (en) | 2019-03-27 | 2019-03-27 | Data adjusting method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995941A CN109995941A (en) | 2019-07-09 |
CN109995941B true CN109995941B (en) | 2022-11-11 |
Family
ID=67131505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910238804.8A Active CN109995941B (en) | 2019-03-27 | 2019-03-27 | Data adjusting method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995941B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778580B (en) * | 2021-07-28 | 2023-12-08 | 赤子城网络技术(北京)有限公司 | Modal user interface display method, electronic device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111443A (en) * | 2016-11-25 | 2018-06-01 | 电信科学技术研究院 | A kind of method and device of definite voice link parametric equalizer tuning parameter |
CN109217834A (en) * | 2018-10-19 | 2019-01-15 | 歌尔科技有限公司 | Gain adjusting method, audio frequency apparatus and readable storage medium storing program for executing |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101226766B (en) * | 2007-01-19 | 2012-06-20 | 鸿富锦精密工业(深圳)有限公司 | Audio play device automatically adjusting play parameter |
CN101778321A (en) * | 2009-12-24 | 2010-07-14 | 广州大学 | Frequency response equalization processing method for omnidirectional sound source loudspeaker system |
CN105228050B (en) * | 2015-10-23 | 2018-07-17 | 广东欧珀移动通信有限公司 | The method of adjustment and device of earphone sound quality in terminal |
CN105554637A (en) * | 2015-12-30 | 2016-05-04 | 广州天逸电子有限公司 | Method for generating EQ parameters matched with real-time frequency response curve |
CN107016309A (en) * | 2017-03-02 | 2017-08-04 | 努比亚技术有限公司 | A kind of terminal and audio matching process |
-
2019
- 2019-03-27 CN CN201910238804.8A patent/CN109995941B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111443A (en) * | 2016-11-25 | 2018-06-01 | 电信科学技术研究院 | A kind of method and device of definite voice link parametric equalizer tuning parameter |
CN109217834A (en) * | 2018-10-19 | 2019-01-15 | 歌尔科技有限公司 | Gain adjusting method, audio frequency apparatus and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN109995941A (en) | 2019-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106535039B (en) | Audio signal compensation based on loudness | |
JP5969727B2 (en) | Frequency band compression using dynamic threshold | |
CN105245195B (en) | For the technology of distortion reduction multiband compressor reducer protected with sound quality | |
CN110308888B (en) | Volume control method, electronic equipment and computer readable storage medium | |
CN110312146B (en) | Audio processing method and device, electronic equipment and storage medium | |
CN102160358A (en) | Upstream signal processing for client devices in a small-cell wireless network | |
CN110809214B (en) | Audio playing method, audio playing device and terminal equipment | |
CN110062309B (en) | Method and device for controlling intelligent loudspeaker box | |
CN115442709A (en) | Audio processing method, virtual bass enhancement system, apparatus, and storage medium | |
CN112565981B (en) | Howling suppression method, howling suppression device, hearing aid, and storage medium | |
CN103929692B (en) | Audio information processing method and electronic equipment | |
EP3550424A1 (en) | Method for configuring wireless sound box, wireless sound box, and terminal device | |
CN109995941B (en) | Data adjusting method, device and storage medium | |
CN110265042B (en) | Sound signal processing method, device and equipment | |
CN112309418B (en) | Method and device for inhibiting wind noise | |
CN116437268B (en) | Adaptive frequency division surround sound upmixing method, device, equipment and storage medium | |
CN112005210A (en) | Spatial characteristics of multi-channel source audio | |
CN113573213B (en) | Sound quality optimization method for intelligent sound equipment with screen, intelligent sound equipment and playing system | |
CN114470774A (en) | Game sound effect processing method and device, storage medium and electronic equipment | |
CN111048063A (en) | Audio synthesis method and device | |
US20180254056A1 (en) | Sounding device, audio transmission system, and audio analysis method thereof | |
CN111048107B (en) | Audio processing method and device | |
CN112307161A (en) | Method and apparatus for playing audio | |
CN114400022B (en) | Method, device and storage medium for comparing sound quality | |
CN111045635B (en) | Audio processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |