CN112887877A - Audio parameter setting method and device, electronic equipment and storage medium - Google Patents

Audio parameter setting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112887877A
CN112887877A CN202110119698.9A CN202110119698A CN112887877A CN 112887877 A CN112887877 A CN 112887877A CN 202110119698 A CN202110119698 A CN 202110119698A CN 112887877 A CN112887877 A CN 112887877A
Authority
CN
China
Prior art keywords
audio
audio parameter
user
data frame
parameter combination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110119698.9A
Other languages
Chinese (zh)
Other versions
CN112887877B (en
Inventor
尚家乐
张海宏
王建鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110119698.9A priority Critical patent/CN112887877B/en
Publication of CN112887877A publication Critical patent/CN112887877A/en
Application granted granted Critical
Publication of CN112887877B publication Critical patent/CN112887877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses an audio parameter setting method, which comprises the following steps: receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency sound sources according to the test audio playing instruction; receiving an automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source; acquiring the feedback information according to the automatic compensation data frame, and inquiring an optimal audio parameter combination matched with the feedback information; setting the preferred audio parameter combination as the current audio parameter combination, and playing the audio according to the preferred audio parameter combination. The audio parameters can be set individually according to the hearing characteristics of the user. The application also discloses an audio parameter setting device, an electronic device and a storage medium, which have the beneficial effects.

Description

Audio parameter setting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of audio processing technologies, and in particular, to an audio parameter setting method and apparatus, an electronic device, and a storage medium.
Background
The audio parameters of audio playing devices such as earphones, sound boxes and the like can influence the listening experience of users, and due to the existence of individual differences, the characteristic requirements of each person on tone quality are also changed according to the requirements of tone quality experience and the difference of environment mood atmosphere.
In the related art, most of the audio playing devices adopt uniform and fixed audio parameters, and play different audio files according to the same audio parameters, so that the listening effect of a user is influenced.
Therefore, how to personalize the audio parameters according to the hearing characteristics of the user is a technical problem that needs to be solved by those skilled in the art at present.
Disclosure of Invention
The application aims to provide an audio parameter setting method, an audio parameter setting device, electronic equipment and a storage medium, which can perform personalized setting on audio parameters according to the hearing characteristics of a user.
In order to solve the above technical problem, the present application provides an audio parameter setting method, including:
receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
receiving an automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source;
acquiring the feedback information according to the automatic compensation data frame, and inquiring an optimal audio parameter combination matched with the feedback information;
setting the preferred audio parameter combination as the current audio parameter combination, and playing the audio according to the preferred audio parameter combination.
Optionally, the combination of the preferred audio parameters matched with the feedback information in the query includes:
determining auditory sensitivity information of the user according to the feedback information; wherein the auditory sensitivity information comprises a sensitivity level of the user's auditory sense at each frequency;
and inquiring the matching degree of the auditory sensation information and each preset audio parameter in the audio parameter file, and setting the preset audio parameter with the highest matching degree as the preferred audio parameter combination matched with the feedback information.
Optionally, playing a plurality of single-frequency sound sources according to the test audio playing instruction, including:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to the preset audio intensity;
and step 3: judging whether a switching instruction sent by the control terminal is received; if yes, entering step 4; if not, entering the step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user to the current single-frequency sound source;
and 4, step 4: judging whether all the single-frequency sound sources are played completely; if yes, ending the single-frequency sound source playing process; if not, the step 1 is entered.
Optionally, the automatic compensation data frame includes a head data identifier, an operation type ID, an operation timing identifier, the feedback information, and a tail data identifier.
Optionally, the method further includes:
receiving a user-defined gain data frame sent by the control terminal; the user-defined gain data frame is a data frame which is constructed by the control terminal according to multi-frequency point audio gain parameters which are adjusted by a user in a user-defined manner;
determining multi-frequency point audio gain parameters according to the user-defined gain data frame, and generating a user-defined audio parameter combination corresponding to the multi-frequency point audio gain parameters;
and playing the audio according to the user-defined audio parameter combination.
Optionally, the custom gain data frame includes a header data identifier, an operation type ID, an operation timing identifier, the multi-frequency audio gain parameter, and a trailer data identifier;
correspondingly, after receiving the custom gain data frame sent by the control terminal, the method further includes:
determining an operation type ID symbol according to the user-defined gain data frame;
if the operation type corresponding to the operation type ID symbol is a parameter effective operation, not modifying the current audio parameter combination;
if the operation type corresponding to the operation type ID symbol is a parameter saving operation, setting the self-defined audio parameter combination as a current audio parameter combination, and saving the self-defined audio parameter combination to an audio parameter file;
and playing the audio according to the current audio parameter combination after restarting.
Optionally, after the audio is played, the method further includes:
and if a parameter reset instruction sent by the control terminal is received, setting a default audio parameter combination as the current audio parameter combination, and playing audio according to the default audio parameter combination.
The application also provides an audio parameter setting device, the device includes:
the test module is used for receiving a test audio playing instruction sent by the control terminal and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
the data frame receiving module is used for receiving the automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying the optimal audio parameter combination matched with the feedback information;
and the parameter setting module is used for setting the preferred audio parameter combination as the current audio parameter combination and playing the audio according to the preferred audio parameter combination.
The application also provides a storage medium, on which a computer program is stored, which when executed implements the steps performed by the above audio parameter setting method.
The application also provides an electronic device, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor realizes the steps executed by the audio parameter setting method when calling the computer program in the memory.
The application provides an audio parameter setting method, which comprises the following steps: receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency sound sources according to the test audio playing instruction; receiving an automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source; acquiring the feedback information according to the automatic compensation data frame, and inquiring an optimal audio parameter combination matched with the feedback information; setting the preferred audio parameter combination as the current audio parameter combination, and playing the audio according to the preferred audio parameter combination.
This application is after receiving test audio playback instruction, broadcast a plurality of single-frequency sound sources so that the user feeds back according to the effect of listening to of single-frequency sound source. The control terminal can construct an automatic compensation data frame according to the feedback information of the user to the single-frequency sound source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user to the sound of each frequency, and further, the optimal audio parameter combination matched with the feedback information can be determined. Since the preferred audio parameter combination conforms to the hearing characteristics of the user, the audio played according to the preferred audio parameter combination can provide a better listening effect for the user. Therefore, the audio parameters can be set individually according to the auditory characteristics of the user, and the listening effect of the user is improved. The application also provides an audio parameter setting device, an electronic device and a storage medium, and the audio parameter setting device, the electronic device and the storage medium have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of an audio parameter setting method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for customized adjustment of audio parameters according to an embodiment of the present disclosure;
fig. 3 is a schematic view of a user operation interface for personalized setting of audio parameters according to an embodiment of the present application;
FIG. 4 is a flow chart of parameter adjustment for a custom adjustment audio parameter mode and an automatic detection compensation mode according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data organization protocol according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
Referring to fig. 1, fig. 1 is a flowchart of an audio parameter setting method according to an embodiment of the present disclosure.
The specific steps may include:
s101: receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
the embodiment can be applied to audio playing devices such as earphones, sound boxes and the like, the control terminal is a device for controlling the audio playing devices, and the control terminal can be a mobile phone, a computer, a television and other terminal devices. The user can operate on the control terminal so as to send a test audio playing instruction to the audio playing device. The test audio playing instruction is an instruction for playing test audio, and the test audio in this embodiment is a single-frequency sound source for testing the sensitivity of the user to each frequency. Specifically, a single frequency source is audio that includes only one frequency. After the control terminal receives the test audio playing instruction, a plurality of single-frequency sound sources can be played according to the test audio playing instruction. For example, single-frequency sound sources of 50Hz, 200Hz, 800Hz, 1500Hz, and 4000Hz may be played in sequence. As a possible implementation, a plurality of single-frequency sound sources with the same sound intensity can be played.
It can be understood that, after the control terminal sends the test audio playing instruction, a feedback window may be provided on the human-computer interaction interface, so that the user inputs the feedback information for each single-frequency sound source through the feedback window. The feedback information may include: low, moderate and high sound. As a feasible implementation manner, after receiving feedback information of the user on the currently played single-frequency sound source, the control terminal sends a switching instruction to the audio playing device, so that the audio playing device plays the next single-frequency sound source.
S102: receiving an automatic compensation data frame sent by a control terminal;
after the control terminal receives the feedback information of the user to the single-frequency sound source, an automatic compensation data frame can be constructed according to the feedback information, and the automatic compensation data frame is sent to the audio playing equipment. The automatic compensation data frame comprises feedback information of the user to each single-frequency sound source, and the audio playing equipment can set audio parameters according to the feedback information.
As a possible implementation, the automatic compensation data frame includes a head data identification symbol, an operation type ID symbol, an operation timing identification symbol, the feedback information, and a tail data identification symbol.
S103: acquiring feedback information according to the automatic compensation data frame, and inquiring an optimal audio parameter combination matched with the feedback information;
after receiving the automatic compensation data frame sent by the control terminal, the automatic compensation data frame can be analyzed, and feedback information can be obtained according to the analysis result. The feedback information includes the hearing sensitivity of the user to each single-frequency sound source, and the embodiment may query a corresponding preferred audio parameter combination according to the feedback information.
Specifically, the present embodiment may determine the hearing sensitivity information of the user according to the feedback information, query the matching degree between the hearing sensitivity information and each preset audio parameter in the audio parameter file, and set the preset audio parameter with the highest matching degree as the preferred audio parameter combination matched with the feedback information. The auditory sensitivity information includes the sensitivity of the user's auditory sense at each frequency. As a possible implementation manner, in the embodiment, a plurality of preset audio parameter combinations may be stored in advance, where the preset audio parameter combinations include gain parameters corresponding to each frequency band. In this embodiment, corresponding standard auditory sensation information may be set in advance for each preset audio parameter combination, where the standard auditory sensation information includes the sensitivity of the user to the audio of each frequency band. In this embodiment, information can be fed back to obtain actual auditory sense information of a user, the actual auditory sense information is compared with each standard auditory sense information in similarity, and a preset audio parameter combination corresponding to the standard auditory sense information with the highest similarity is set as a preferred audio parameter combination. For example, the above process is illustrated, for example, there are preset audio parameter combinations a and B, where the standard auditory sense information corresponding to the preset audio parameter combination a is low-frequency sensitive, medium-frequency sensitive, and high-frequency insensitive, and the standard auditory sense information corresponding to the preset audio parameter combination B is low-frequency insensitive, medium-frequency insensitive, and high-frequency insensitive, and if it is determined that the actual auditory sense information is low-frequency sensitive, medium-frequency sensitive, and high-frequency sensitive according to the feedback information of the user, the preset audio parameter combination a may be set as the preferred audio parameter combination.
S104: setting the preferred audio parameter combination as the current audio parameter combination, and playing the audio according to the preferred audio parameter combination.
Wherein after the preferred audio parameter combination is obtained, the preferred audio parameter combination may be set as the current audio parameter combination. The current audio parameter combination refers to an audio parameter combination used when the audio is played currently, and the audio can be processed according to the gain parameters of each frequency band in the current audio parameter combination.
After receiving the test audio playing instruction, the embodiment plays the plurality of single-frequency sound sources so that the user can feed back the test audio according to the listening effect of the single-frequency sound sources. The control terminal can construct an automatic compensation data frame according to the feedback information of the user to the single-frequency sound source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user to the sound of each frequency, and further, the optimal audio parameter combination matched with the feedback information can be determined. Since the preferred audio parameter combination conforms to the hearing characteristics of the user, the audio played according to the preferred audio parameter combination can provide a better listening effect for the user. Therefore, the audio parameters can be set individually according to the hearing characteristics of the user, and the listening effect of the user is improved.
As a further description of the corresponding embodiment of fig. 1, the present embodiment may play a plurality of single-frequency sound sources in the following manner:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to a preset audio intensity;
and step 3: judging whether a switching instruction sent by the control terminal is received; if yes, entering step 4; if not, entering the step 2;
the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user to the current single-frequency sound source;
and 4, step 4: judging whether all the single-frequency sound sources are played completely; if yes, ending the process; if not, the step 1 is entered.
This embodiment provides an implementation manner for playing a single-frequency sound source in sequence: after the user makes feedback to the current single-frequency sound source, the current single-frequency sound source is switched, and then the user can evaluate the definition degree of each single-frequency sound source one by one.
Referring to fig. 2, fig. 2 is a flowchart of a method for self-defining and adjusting audio parameters according to an embodiment of the present application, where this embodiment provides a scheme for a user to self-define and adjust audio parameters, so that the user self-defines a gain parameter of each frequency band to implement personalized setting of the audio parameters, and this embodiment may be combined with the embodiment corresponding to fig. 1 to obtain a further implementation manner, where this embodiment may include the following steps:
s201: receiving a user-defined gain data frame sent by the control terminal;
the user can self-define and adjust the audio gain parameters of the multi-frequency points through a human-computer interaction interface of the control terminal, and the control terminal can construct a self-defined gain data frame according to the multi-frequency point audio gain parameters self-defined and adjusted by the user.
S202: determining multi-frequency point audio gain parameters according to the user-defined gain data frame, and generating a user-defined audio parameter combination corresponding to the multi-frequency point audio gain parameters;
s203: and playing the audio according to the user-defined audio parameter combination.
On the basis of obtaining the user-defined gain data frame, the multi-frequency point audio gain parameters can be obtained by analyzing the user-defined gain data frame, and then user-defined audio parameter combinations corresponding to the multi-frequency point audio gain parameters are generated. By the method, the user can customize the gain parameters of each frequency band, so that the user can adjust the appropriate audio parameters.
As a possible implementation, the above-mentioned custom gain data frame includes a header data identifier, an operation type ID symbol, an operation timing identifier, the multi-frequency point audio gain parameters, and a trailer data identifier. The operation type ID symbol is information for describing an operation type of the audio playback device, and the operation type corresponding to the operation type ID symbol may include a parameter validation operation, a parameter saving operation, and a parameter resetting operation.
Specifically, after receiving a custom gain data frame sent by a control terminal, an operation type ID symbol may also be determined according to the custom gain data frame; and if the operation type corresponding to the operation type ID symbol is the parameter effective operation, not modifying the current audio parameter combination. The parameter validation operation means that the current audio plays audio according to the custom audio parameter combination, but the custom audio parameter combination is not stored, and the audio is played according to the previously set current audio parameter combination after restarting.
Further, if the operation type corresponding to the operation type ID symbol is a parameter saving operation, setting the custom audio parameter combination as the current audio parameter combination, and saving the custom audio parameter combination to an audio parameter file. The parameter saving operation refers to that the current audio plays the audio according to the user-defined audio parameter combination, the user-defined audio parameter combination is saved, and the audio continues to be played according to the user-defined audio parameter combination after the restart. That is, in this embodiment, after the restart, the audio is played according to the current audio parameter combination, if the parameter validation operation is performed, the current audio parameter combination is not changed, and if the parameter saving operation is performed, the current audio parameter combination is updated to the custom audio parameter combination. For example, if the current audio parameter combination is a1, the obtained custom audio parameter combination is a2, if the parameter validation operation is performed, the audio is played according to a2, but the audio is still played according to a1 after the audio playing device is restarted; if the parameter saving operation is executed, the audio is played according to A2, but the audio is played according to A2 after the audio playing device is restarted.
Further, after the audio is played, if a parameter reset instruction sent by the control terminal is received, setting a default audio parameter combination as a current audio parameter combination, and playing the audio according to the default audio parameter combination.
The flow described in the above embodiment is explained below by an embodiment in practical use.
Referring to fig. 3, fig. 3 is a schematic view of a user operation interface for personalized setting of audio parameters according to an embodiment of the present application. As shown in fig. 3, the present embodiment provides two audio parameter setting modes, namely, a user-defined audio parameter adjusting mode and an automatic detection compensation mode, which can flexibly and effectively meet the personalized audio requirement of the user.
In the mode of self-defining and adjusting the audio parameters, a user can perform self-defining adjustment on the gain parameters under different frequency points through a self-defining adjusting functional area of the mobile phone, and perform operations such as audio effect audition and storage effectiveness under the parameters after the self-defining adjustment through UI buttons such as 'effective', 'storage', 'default recovery' and the like. After the user clicks the validation button, the mobile phone can send the self-defined audio parameters to the earphone side and inform the earphone side to be immediately validated but not stored. After the user clicks the save button, the mobile phone can send the custom audio parameters to the earphone side and inform the earphone side to save and take effect on the custom audio parameters. And after the user clicks the default recovery button, the mobile phone informs the earphone side of performing default recovery operation on the audio parameters.
In the automatic detection compensation mode, a user can perform listening test on different frequency point sound sources according to the preset single-frequency test sound source, the feedback data of the user are organized and synchronized through the protocol, the earphone side can extract the feedback result of the user on the test single-frequency sound source according to the synchronized data, preset audio parameters are retrieved in the earphone flash according to the feedback result, and after the relatively optimal audio parameters are retrieved, the earphone can replace the parameters and take effect. As shown in fig. 3, after the user clicks the "start automatic compensation" button each time, a single-frequency sound source is played for the user to listen on, after listening each time, the user can perform personalized experience and feedback on the gain of the frequency point sound source, the feedback mode is that three buttons of "low", "moderate" and "high" are clicked, the feedback result is synchronized to the earphone side in time through a preset data organization protocol, and the earphone side calculates and retrieves the optimal audio parameter combination according to the feedback result for application.
Referring to fig. 4, fig. 4 is a parameter adjustment flow chart of a custom adjustment audio parameter mode and an automatic detection compensation mode according to an embodiment of the present application. As shown in fig. 4, at the mobile phone side, if the mobile phone is in the mode of self-defining audio parameter adjustment, the user selects personalized audio on the interface of the mobile phone, the user self-defines the parameters of the frequency point, and the user selects a click button to define the operation type. If the mobile phone is in the automatic detection compensation mode, the user starts the automatic compensation function on the interface of the mobile phone, the mobile phone plays the single-frequency point sound source, and the user can perform personalized feedback after listening to the single-frequency point sound source by clicking the interface. The user can make a judgment according to the operation types, wherein the operation types comprise validation, saving and restoration defaults. The mobile phone can establish a data frame and transmit the data frame to the earphone through the SPP virtual serial port channel.
After the earphone receives the data frame, if the earphone is in a self-defined audio parameter adjusting mode, frequency point gain is extracted and cached, the operation type is identified, and the obtained operation type is judged to be effective, stored and restored to be default. If the operation type is effective, the Audio Dsp Audio processing unit receives the data and takes effect; if the operation type is storage, the Audio Dsp unit extracts the default parameters from the flash and takes effect, and stores the current frequency point gain parameters in the earphone flash, so that the parameters are automatically loaded when the Audio processing unit is started next time. After the earphone receives the data frame, if the earphone is in the automatic detection compensation mode, the earphone side extracts the personalized feedback parameters of the user for the audibility of the sound sources of different frequency points according to the data frame construction method, the earphone side searches the pre-stored optimal Audio parameters of each frequency point in the flash according to the extracted parameters, and the Audio Dsp Audio processing unit switches the default Audio parameters into the current optimal frequency point parameters and takes effect.
According to the embodiment, the user can set the audio effect in a personalized manner, and the audio experience of the user can be improved in an effective and flexible manner. The user can self-define and adjust the parameters of different frequency points according to individual experience and take effect for storage; and visual feedback can be made according to the single-frequency test sound source, and after data synchronization, the optimal parameter combination is retrieved by the earphone according to the feedback result.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a data organization protocol according to an embodiment of the present application, and fig. 5 illustrates that the data organization protocol includes a header data identifier, an operation type ID, an operation timing identifier, parameter data, and a trailer data identifier. And determining the parameter data according to the parameter adjusting mode, and if the parameter adjusting mode is a self-defined adjusting audio parameter mode, the parameter data comprises a frequency point data packet which comprises a packet length, a frequency point identifier and a frequency point gain value, wherein the frequency point identifier can identify the frequency point type, and then the frequency point gain of the adjustable frequency points 1, 2 and 3 … N is established. If the parameter adjusting mode is the automatic detection compensation mode, the parameter data comprises a frequency point detection feedback data packet, the frequency point detection feedback data packet comprises a packet length, a feedback data identifier and a feedback value under the frequency point, the feedback value comprises a low, moderate and high value, and the feedback data identifier can identify the frequency point type, so as to determine the feedback value corresponding to the adjustable frequency points 1, 2 and 3 … N. The structure can efficiently frame and transmit the audio gain parameters and the feedback structure of the single-frequency test tone in the using process of the personalized audio function.
An audio parameter setting device provided in an embodiment of the present application may include:
the test module is used for receiving a test audio playing instruction sent by the control terminal and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
the data frame receiving module is used for receiving the automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying the optimal audio parameter combination matched with the feedback information;
and the parameter setting module is used for setting the preferred audio parameter combination as the current audio parameter combination and playing the audio according to the preferred audio parameter combination.
After receiving the test audio playing instruction, the embodiment plays the plurality of single-frequency sound sources so that the user can feed back the test audio according to the listening effect of the single-frequency sound sources. The control terminal can construct an automatic compensation data frame according to the feedback information of the user to the single-frequency sound source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user to the sound of each frequency, and further, the optimal audio parameter combination matched with the feedback information can be determined. Since the preferred audio parameter combination conforms to the hearing characteristics of the user, the audio played according to the preferred audio parameter combination can provide a better listening effect for the user. Therefore, the audio parameters can be set individually according to the hearing characteristics of the user, and the listening effect of the user is improved.
Further, the parameter combination query module comprises:
the auditory sense information determining unit is used for determining auditory sense information of the user according to the feedback information; wherein the auditory sensitivity information comprises a sensitivity level of the user's auditory sense at each frequency;
and the parameter matching unit is used for inquiring the matching degree of the auditory sensation information and each preset audio parameter in the audio parameter file, and setting the preset audio parameter with the highest matching degree as the optimal audio parameter combination matched with the feedback information.
Further, the process of playing the single-frequency sound source by the test module includes:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to the preset audio intensity;
and step 3: judging whether a switching instruction sent by the control terminal is received; if yes, entering step 4; if not, entering the step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user to the current single-frequency sound source;
and 4, step 4: judging whether all the single-frequency sound sources are played completely; if yes, ending the single-frequency sound source playing process; if not, the step 1 is entered.
Further, the automatic compensation data frame includes a head data identification symbol, an operation type ID symbol, an operation timing identification symbol, the feedback information, and a tail data identification symbol.
Further, the method also comprises the following steps:
the user-defined gain data frame receiving module is used for receiving the user-defined gain data frame sent by the control terminal; the user-defined gain data frame is a data frame which is constructed by the control terminal according to multi-frequency point audio gain parameters which are adjusted by a user in a user-defined manner;
the user-defined parameter generation module is used for determining multi-frequency point audio gain parameters according to the user-defined gain data frame and generating user-defined audio parameter combinations corresponding to the multi-frequency point audio gain parameters;
and the audio playing module is used for playing audio according to the user-defined audio parameter combination.
Further, the custom gain data frame comprises a header data identifier, an operation type ID symbol, an operation timing identifier, the multi-frequency audio gain parameter, and a trailer data identifier;
correspondingly, the method also comprises the following steps:
the current audio parameter combination setting module is used for determining an operation type ID symbol according to a user-defined gain data frame after receiving the user-defined gain data frame sent by the control terminal; the audio parameter combination processing module is also used for not modifying the current audio parameter combination if the operation type corresponding to the operation type ID symbol is a parameter effective operation; the audio parameter combination processing module is further configured to set the custom audio parameter combination as a current audio parameter combination and store the custom audio parameter combination to an audio parameter file if the operation type corresponding to the operation type ID symbol is a parameter saving operation; and is also used for playing the audio according to the current audio parameter combination after restarting.
Further, the method also comprises the following steps:
and the resetting module is used for setting the default audio parameter combination as the current audio parameter combination and playing the audio according to the default audio parameter combination if a parameter resetting instruction sent by the control terminal is received after the audio is played.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The present application also provides a storage medium having a computer program stored thereon, which when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The application further provides an electronic device, which may include a memory and a processor, where the memory stores a computer program, and the processor may implement the steps provided by the foregoing embodiments when calling the computer program in the memory. Of course, the electronic device may also include various network interfaces, power supplies, and the like.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An audio parameter setting method, comprising:
receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
receiving an automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source;
acquiring the feedback information according to the automatic compensation data frame, and inquiring an optimal audio parameter combination matched with the feedback information;
setting the preferred audio parameter combination as the current audio parameter combination, and playing the audio according to the preferred audio parameter combination.
2. The audio parameter setting method according to claim 1, wherein the querying the preferred audio parameter combination matching the feedback information comprises:
determining auditory sensitivity information of the user according to the feedback information; wherein the auditory sensitivity information comprises a sensitivity level of the user's auditory sense at each frequency;
and inquiring the matching degree of the auditory sensation information and each preset audio parameter in the audio parameter file, and setting the preset audio parameter with the highest matching degree as the preferred audio parameter combination matched with the feedback information.
3. The audio parameter setting method of claim 1, wherein playing a plurality of single-frequency sound sources according to the test audio playing instruction comprises:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to a preset audio intensity;
and step 3: judging whether a switching instruction sent by the control terminal is received; if yes, entering step 4; if not, entering the step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user to the current single-frequency sound source;
and 4, step 4: judging whether all the single-frequency sound sources are played completely; if yes, ending the single-frequency sound source playing process; if not, the step 1 is entered.
4. The audio parameter setting method according to claim 1, wherein the auto-compensation data frame includes a header data identification symbol, an operation type ID symbol, an operation timing identification symbol, the feedback information, and a trailer data identification symbol.
5. The audio parameter setting method according to claim 1, further comprising:
receiving a user-defined gain data frame sent by the control terminal; the user-defined gain data frame is a data frame which is constructed by the control terminal according to multi-frequency point audio gain parameters which are adjusted by a user in a user-defined manner;
determining multi-frequency point audio gain parameters according to the user-defined gain data frame, and generating a user-defined audio parameter combination corresponding to the multi-frequency point audio gain parameters;
and playing the audio according to the user-defined audio parameter combination.
6. The audio parameter setting method of claim 5, wherein the custom gain data frame comprises a header data identification symbol, an operation type ID symbol, an operation timing identification symbol, the multi-frequency point audio gain parameters, and a trailer data identification symbol;
correspondingly, after receiving the custom gain data frame sent by the control terminal, the method further includes:
determining an operation type ID symbol according to the user-defined gain data frame;
if the operation type corresponding to the operation type ID symbol is a parameter effective operation, not modifying the current audio parameter combination;
if the operation type corresponding to the operation type ID symbol is a parameter saving operation, setting the self-defined audio parameter combination as a current audio parameter combination, and saving the self-defined audio parameter combination to an audio parameter file;
and playing the audio according to the current audio parameter combination after restarting.
7. The audio parameter setting method according to any one of claims 1 to 6, further comprising, after the audio is played:
and if a parameter reset instruction sent by the control terminal is received, setting a default audio parameter combination as the current audio parameter combination, and playing audio according to the default audio parameter combination.
8. An audio parameter setting apparatus, comprising:
the test module is used for receiving a test audio playing instruction sent by the control terminal and playing a plurality of single-frequency sound sources according to the test audio playing instruction;
the data frame receiving module is used for receiving the automatic compensation data frame sent by the control terminal; the automatic compensation data frame is a data frame which is constructed by the control terminal according to the feedback information of the user to the single-frequency sound source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying the optimal audio parameter combination matched with the feedback information;
and the parameter setting module is used for setting the preferred audio parameter combination as the current audio parameter combination and playing the audio according to the preferred audio parameter combination.
9. An electronic device, comprising a memory in which a computer program is stored and a processor that implements the steps of the audio parameter setting method according to any one of claims 1 to 7 when the processor calls the computer program in the memory.
10. A storage medium having stored thereon computer-executable instructions which, when loaded and executed by a processor, carry out the steps of the audio parameter setting method according to any one of claims 1 to 7.
CN202110119698.9A 2021-01-28 2021-01-28 Audio parameter setting method and device, electronic equipment and storage medium Active CN112887877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110119698.9A CN112887877B (en) 2021-01-28 2021-01-28 Audio parameter setting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110119698.9A CN112887877B (en) 2021-01-28 2021-01-28 Audio parameter setting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112887877A true CN112887877A (en) 2021-06-01
CN112887877B CN112887877B (en) 2023-09-08

Family

ID=76053094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110119698.9A Active CN112887877B (en) 2021-01-28 2021-01-28 Audio parameter setting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112887877B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023016208A1 (en) * 2021-08-13 2023-02-16 Oppo广东移动通信有限公司 Audio signal compensation method and apparatus, earbud, and storage medium

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038199A (en) * 1997-11-21 2000-03-14 Dictaphone Corporation Portable digital audio recorder with adaptive control configurations
CN101014107A (en) * 2007-01-26 2007-08-08 深圳创维-Rgb电子有限公司 Television voice processing apparatus and method
CN201063732Y (en) * 2007-06-27 2008-05-21 深圳创维-Rgb电子有限公司 Voice equalizer and television set
CN102456348A (en) * 2010-10-25 2012-05-16 松下电器产业株式会社 Method and device for calculating sound compensation parameters as well as sound compensation system
CN104503297A (en) * 2014-11-25 2015-04-08 宁波中荣声学科技有限公司 DSP audio digital signal processing system and method
CN105050014A (en) * 2015-06-01 2015-11-11 邹采荣 Hearing-aid device and method based on smart phone
CN105262887A (en) * 2015-09-07 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and audio setting method thereof
CN106020765A (en) * 2016-05-24 2016-10-12 深圳市树源科技有限公司 Sound effect adjusting method and device
CN107170463A (en) * 2017-05-09 2017-09-15 佛山博智医疗科技有限公司 Method for regulating audio signal and system
US20170365274A1 (en) * 2016-06-15 2017-12-21 Przemyslaw Maziewski Automatic gain control for speech recognition
CN108055409A (en) * 2017-12-29 2018-05-18 西安蜂语信息科技有限公司 Audio frequency playing method, equipment and system
CN109040885A (en) * 2017-06-09 2018-12-18 中国科学院声学研究所 A kind of personalized loudness compensation method and system for headphone equalization based on volume
CN109194835A (en) * 2018-09-29 2019-01-11 努比亚技术有限公司 A kind of control method, terminal device and computer storage medium
CN109246515A (en) * 2018-10-09 2019-01-18 王青云 A kind of intelligent earphone and method promoting personalized sound quality function
CN110012389A (en) * 2018-01-05 2019-07-12 宝沃汽车(中国)有限公司 The method, apparatus and vehicle of sound effect parameters are set
US20200021262A1 (en) * 2018-07-13 2020-01-16 Eui Sang SHIN Apparatus and method for controlling personalised audio frequency equalizer
CN110858941A (en) * 2018-08-22 2020-03-03 Mimi听力技术有限责任公司 System and method for sound enhancement in an audio system
CN111465155A (en) * 2020-03-24 2020-07-28 广州河东科技有限公司 Control method and device of intelligent lighting equipment, control equipment and storage medium
CN111833900A (en) * 2020-06-16 2020-10-27 普联技术有限公司 Audio gain control method, system, device and storage medium

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038199A (en) * 1997-11-21 2000-03-14 Dictaphone Corporation Portable digital audio recorder with adaptive control configurations
CN101014107A (en) * 2007-01-26 2007-08-08 深圳创维-Rgb电子有限公司 Television voice processing apparatus and method
CN201063732Y (en) * 2007-06-27 2008-05-21 深圳创维-Rgb电子有限公司 Voice equalizer and television set
CN102456348A (en) * 2010-10-25 2012-05-16 松下电器产业株式会社 Method and device for calculating sound compensation parameters as well as sound compensation system
CN104503297A (en) * 2014-11-25 2015-04-08 宁波中荣声学科技有限公司 DSP audio digital signal processing system and method
CN105050014A (en) * 2015-06-01 2015-11-11 邹采荣 Hearing-aid device and method based on smart phone
CN105262887A (en) * 2015-09-07 2016-01-20 惠州Tcl移动通信有限公司 Mobile terminal and audio setting method thereof
CN106020765A (en) * 2016-05-24 2016-10-12 深圳市树源科技有限公司 Sound effect adjusting method and device
US20170365274A1 (en) * 2016-06-15 2017-12-21 Przemyslaw Maziewski Automatic gain control for speech recognition
CN107170463A (en) * 2017-05-09 2017-09-15 佛山博智医疗科技有限公司 Method for regulating audio signal and system
CN109040885A (en) * 2017-06-09 2018-12-18 中国科学院声学研究所 A kind of personalized loudness compensation method and system for headphone equalization based on volume
CN108055409A (en) * 2017-12-29 2018-05-18 西安蜂语信息科技有限公司 Audio frequency playing method, equipment and system
CN110012389A (en) * 2018-01-05 2019-07-12 宝沃汽车(中国)有限公司 The method, apparatus and vehicle of sound effect parameters are set
US20200021262A1 (en) * 2018-07-13 2020-01-16 Eui Sang SHIN Apparatus and method for controlling personalised audio frequency equalizer
CN110858941A (en) * 2018-08-22 2020-03-03 Mimi听力技术有限责任公司 System and method for sound enhancement in an audio system
CN109194835A (en) * 2018-09-29 2019-01-11 努比亚技术有限公司 A kind of control method, terminal device and computer storage medium
CN109246515A (en) * 2018-10-09 2019-01-18 王青云 A kind of intelligent earphone and method promoting personalized sound quality function
CN111465155A (en) * 2020-03-24 2020-07-28 广州河东科技有限公司 Control method and device of intelligent lighting equipment, control equipment and storage medium
CN111833900A (en) * 2020-06-16 2020-10-27 普联技术有限公司 Audio gain control method, system, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武汉市教育科学研究院,华中师范大学: "《信息技术》", 31 July 2008, pages: 137 - 138 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023016208A1 (en) * 2021-08-13 2023-02-16 Oppo广东移动通信有限公司 Audio signal compensation method and apparatus, earbud, and storage medium

Also Published As

Publication number Publication date
CN112887877B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
US8265311B2 (en) Method and apparatus for using text messages to distribute ring tones to adjust hearing aids
US20100046765A1 (en) System for processing audio data
KR20100004111A (en) Dynamic volume adjusting and band-shifting to compensate for hearing loss
CN106302997B (en) Output control method, electronic equipment and system
CN109511041B (en) Earphone starting setting method and device and earphone
KR20160042101A (en) Hearing aid having a classifier
WO2012151839A1 (en) Method and device for automatically adjusting sound volume
CN109982231B (en) Information processing method, device and storage medium
CN110312146B (en) Audio processing method and device, electronic equipment and storage medium
JP6633681B2 (en) Personalization system for smart headphone device and method of using the same
CN105262887B (en) Mobile terminal and audio setting method thereof
CN107621933B (en) Audio playing method and device and related medium product
CN113411707A (en) Auxiliary listening earphone, control method, device and system thereof, and readable medium
CN112887877A (en) Audio parameter setting method and device, electronic equipment and storage medium
CN105006240A (en) Music sound control method and system based on audio playing device
CN107948854B (en) Operation audio generation method and device, terminal and computer readable medium
CN111800699B (en) Volume adjustment prompting method and device, earphone equipment and storage medium
US10448162B2 (en) Smart headphone device personalization system with directional conversation function and method for using same
CN105786363B (en) A kind of control method for playing back of voice box group, device and intelligent sound box
CN109218877B (en) Intelligent earphone device personalization system and use method thereof
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
CN113055784A (en) Volume adjusting method and device
CN111506743A (en) Media resource storage method, media resource playing method and related equipment
CN109218875B (en) Intelligent earphone device personalization system with directional conversation function and use method
CN110996205A (en) Earphone control method, earphone and readable storage medium

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