CN112887877B - 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
CN112887877B
CN112887877B CN202110119698.9A CN202110119698A CN112887877B CN 112887877 B CN112887877 B CN 112887877B CN 202110119698 A CN202110119698 A CN 202110119698A CN 112887877 B CN112887877 B CN 112887877B
Authority
CN
China
Prior art keywords
audio
frequency
audio parameter
parameter combination
data frame
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
Application number
CN202110119698.9A
Other languages
Chinese (zh)
Other versions
CN112887877A (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

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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)
  • Circuit For Audible Band Transducer (AREA)

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 audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source; acquiring the feedback information according to the automatic compensation data frame, and inquiring a preferred audio parameter combination matched with the feedback information; setting the preferred audio parameter combination as a current audio parameter combination, and playing audio according to the preferred audio parameter combination. The application can carry out personalized setting on the audio parameters according to the auditory characteristics of the user. The application also discloses an audio parameter setting device, electronic equipment 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 application relates to the field of audio processing technologies, and in particular, to a method and apparatus for setting audio parameters, an electronic device, and a storage medium.
Background
Audio parameters of audio playing devices such as headphones and sound boxes can influence the listening experience of users, and the requirements of each person on tone quality experience and the environmental mood atmosphere are different due to the existence of individual differences, so that the characteristic requirements on tone quality are also continuously changed.
In the related art, most of audio playing devices adopt unified and fixed audio parameters, and play different audio files according to the same audio parameters, so as to influence the listening effect of users.
Therefore, how to personalize the audio parameters according to the auditory characteristics of the user is a technical problem that the person skilled in the art needs to solve.
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 problems, the present application provides an audio parameter setting method, which includes:
receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source;
acquiring the feedback information according to the automatic compensation data frame, and inquiring a preferred audio parameter combination matched with the feedback information;
setting the preferred audio parameter combination as a current audio parameter combination, and playing audio according to the preferred audio parameter combination.
Optionally, the querying is combined with a preferred audio parameter matched with the feedback information, including:
determining auditory sensitive information of the user according to the feedback information; wherein the auditory sense information includes a degree of sensitivity of the user's hearing at each frequency;
and inquiring the matching degree of the hearing sensitive information and each preset audio parameter in the audio parameter file, and setting the preset audio parameter with the highest matching degree as the preferable audio parameter combination matched with the feedback information.
Optionally, playing a plurality of single-frequency audio sources according to the test audio playing instruction includes:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to preset audio intensity;
step 3: judging whether a switching instruction sent by the control terminal is received or not; if yes, enter step 4; if not, entering step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user on the current single-frequency sound source;
step 4: judging whether all the single-frequency audio sources are played completely; if yes, ending the single-frequency sound source playing flow; if not, go to step 1.
Optionally, the auto-compensation data frame includes a header data identifier, an operation type ID symbol, an operation timing identifier, the feedback information, and a trailer data identifier.
Optionally, the method further comprises:
receiving a user-defined gain data frame sent by the control terminal; the self-defined gain data frame is a data frame which is constructed by the control terminal according to the multi-frequency-point audio gain parameters which are self-defined and adjusted by the user;
determining multi-frequency-point audio gain parameters according to the self-defined gain data frames, and generating self-defined audio parameter combinations corresponding to the multi-frequency-point audio gain parameters;
and playing the audio according to the custom audio parameter combination.
Optionally, the custom gain data frame includes a header data identifier, an operation type ID symbol, an operation timing identifier, the multiband audio gain parameter, and a trailer data identifier;
correspondingly, after receiving the custom gain data frame sent by the control terminal, the method further comprises:
determining an operation type ID symbol according to the custom gain data frame;
if the operation type corresponding to the operation type ID symbol is a parameter effective operation, the current audio parameter combination is not modified;
if the operation type corresponding to the operation type ID symbol is a parameter preservation operation, setting the custom audio parameter combination as a current audio parameter combination, and preserving the custom audio parameter combination to an audio parameter file;
and after restarting, playing the audio according to the current audio parameter combination.
Optionally, after playing the audio, the method further comprises:
if a parameter resetting instruction sent by the control terminal is received, setting a default audio parameter combination as a current audio parameter combination, and playing audio according to the default audio parameter combination.
The application also provides an audio parameter setting device, which comprises:
the test module is used for receiving a test audio playing instruction sent by the control terminal and playing a plurality of single-frequency audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying a preferred audio parameter combination matched with the feedback information;
and the parameter setting module is used for setting the preferred audio parameter combination as a current audio parameter combination and playing audio according to the preferred audio parameter combination.
The present application also provides a storage medium having stored thereon a computer program which, when executed, implements the steps of the above-described audio parameter setting method.
The application also provides an electronic device comprising a memory and a processor, wherein the memory stores 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 audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source; acquiring the feedback information according to the automatic compensation data frame, and inquiring a preferred audio parameter combination matched with the feedback information; setting the preferred audio parameter combination as a current audio parameter combination, and playing audio according to the preferred audio parameter combination.
After receiving the test audio playing instruction, the application plays a plurality of single-frequency audio sources so that the user can feed back according to the listening effect of the single-frequency audio sources. The control terminal can construct an automatic compensation data frame according to feedback information of the user on the single-frequency audio source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user on 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 meets the auditory characteristics of the user, the audio played in accordance with the preferred audio parameter combination enables the user to obtain a better listening effect. Therefore, the application can perform personalized setting on the audio parameters according to the hearing characteristics of the user, and improve the listening effect of the user. The application also provides an audio parameter setting device, an electronic device and a storage medium, which have the beneficial effects and are not described herein.
Drawings
For a clearer description of embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flowchart of an audio parameter setting method according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for custom adjusting audio parameters according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user 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 auto-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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart of an audio parameter setting method according to an embodiment of the application.
The specific steps may include:
s101: receiving a test audio playing instruction sent by a control terminal, and playing a plurality of single-frequency audio sources according to the test audio playing instruction;
the embodiment can be applied to audio playing equipment such as headphones and sound boxes, the control terminal is a device for controlling the audio playing equipment, and the control terminal can be terminal equipment such as mobile phones, computers and televisions. The user may operate on the control terminal to send test audio playback instructions to the audio playback device. The test audio playing instruction is an instruction for playing test audio, and the test audio in this embodiment is a single-frequency audio source for testing the sensitivity degree of the user to each frequency. Specifically, the single-frequency audio source is audio including only one frequency. After the control terminal receives the test audio playing instruction, a plurality of single-frequency audio sources can be played according to the test audio playing instruction. For example, single frequency audio sources of 50Hz, 200Hz, 800Hz, 1500Hz, and 4000Hz may be played sequentially. As a possible implementation, multiple single frequency audio sources with the same sound intensity may be played.
It can be understood that after sending the test audio playing instruction, the control terminal may provide a feedback window on the man-machine interaction interface, so that the user inputs feedback information for each single-frequency audio source through the feedback window. The feedback information may include: low sound, moderate sound and high sound. As a possible implementation manner, after receiving feedback information of a user on a currently played single-frequency audio source, the control terminal sends a switching instruction to the audio playing device so that the audio playing device plays a next single-frequency audio source.
S102: receiving an automatic compensation data frame sent by a control terminal;
after receiving the feedback information of the user to the single-frequency audio source, the control terminal can also construct an automatic compensation data frame according to the feedback information and send the automatic compensation data frame to the audio playing device. The automatic compensation data frame comprises feedback information of the user on each single-frequency sound source, and the audio playing device can set audio parameters according to the feedback information.
As a possible implementation manner, the above-mentioned 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 tail data identification symbol.
S103: acquiring feedback information according to the automatic compensation data frame, and inquiring a preferred 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 for each single-frequency audio source, and the embodiment can query the corresponding preferred audio parameter combination according to the feedback information.
Specifically, in this embodiment, the auditory sense information of the user may be determined according to the feedback information, the matching degree of the auditory sense information and each preset audio parameter in the audio parameter file may be queried, and the preset audio parameter with the highest matching degree may be set as the preferred audio parameter combination matched with the feedback information. The above-mentioned auditory sense information includes the degree of sensitivity of the user's auditory sense at each frequency. As a possible implementation manner, in this 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 sense information may be preset for each preset audio parameter combination, where the standard auditory sense information includes the sensitivity degree of the user to the audio frequency of each frequency band. In this embodiment, the actual auditory sense information of the user may be obtained by feeding back the information, and the actual auditory sense information is compared with each standard auditory sense information in similarity, and the preset audio parameter combination corresponding to the standard auditory sense information with the highest similarity is set as the preferred audio parameter combination. For example, in the above process, for example, there are preset audio parameter combinations a and B, the standard auditory sense information corresponding to the preset audio parameter combination a is low-frequency sensitive, medium-frequency sensitive and high-frequency insensitive, 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: the preferred audio parameter combination is set as the current audio parameter combination, and audio is played according to the preferred audio parameter combination.
Wherein after obtaining the preferred audio parameter combination, the preferred audio parameter combination may be set to the current audio parameter combination. The current audio parameter combination refers to an audio parameter combination used when audio is played currently, and the audio can be processed according to gain parameters of each frequency band in the current audio parameter combination.
In this embodiment, after receiving the test audio playing instruction, a plurality of single-frequency audio sources are played so that the user can feed back according to the listening effect of the single-frequency audio sources. The control terminal can construct an automatic compensation data frame according to feedback information of the user on the single-frequency audio source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user on 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 meets the auditory characteristics of the user, the audio played in accordance with the preferred audio parameter combination enables the user to obtain a better listening effect. Therefore, the embodiment can perform personalized setting on the audio parameters according to the hearing characteristics of the user, and improve the listening effect of the user.
As a further introduction to the corresponding embodiment of fig. 1, this embodiment may play a plurality of single frequency audio sources by:
step 1: selecting a current single-frequency sound source;
step 2: playing the current single-frequency sound source according to the preset audio intensity;
step 3: judging whether a switching instruction sent by the control terminal is received or not; if yes, enter step 4; if not, entering step 2;
the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user on the current single-frequency sound source;
step 4: judging whether all the single-frequency audio sources are played completely; if yes, ending the flow; if not, go to step 1.
The implementation manner of playing the single-frequency audio source in turn is provided in this embodiment: after the user feeds back the current single-frequency sound source, the current single-frequency sound source is switched, so that the user can evaluate the definition of each single-frequency sound source one by one.
Referring to fig. 2, fig. 2 is a flowchart of a method for adjusting audio parameters in a customized manner, which is provided by the embodiment of the present application, and this embodiment provides a scheme for adjusting audio parameters in a customized manner, so that a user can customize gain parameters of each frequency band, and personalized setting of audio parameters is achieved, and this embodiment may be combined with the embodiment corresponding to fig. 1 to obtain a further implementation, and 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 multiple frequency points through the man-machine interaction interface of the control terminal, and the control terminal can construct a self-defined gain data frame according to the self-defined and adjusted audio gain parameters of the multiple frequency points.
S202: determining multi-frequency-point audio gain parameters according to the self-defined gain data frames, and generating self-defined audio parameter combinations corresponding to the multi-frequency-point audio gain parameters;
s203: and playing the audio according to the custom audio parameter combination.
On the basis of obtaining the self-defined gain data frame, the multi-frequency-point audio gain parameters can be obtained by analyzing the self-defined gain data frame, and further the self-defined audio parameter combination corresponding to the multi-frequency-point audio gain parameters is generated. Through the mode, the user can customize gain parameters of each frequency band, so that the user can adjust proper audio parameters.
As a possible implementation manner, the custom gain data frame includes a header data identifier, an operation type ID symbol, an operation timing identifier, the multiband audio gain parameter and a trailer data identifier. The operation type ID symbol is information for describing an operation type for the audio playback apparatus, and the operation type corresponding to the operation type ID symbol may include a parameter validation operation, a parameter save operation, and a parameter reset operation.
Specifically, after receiving the custom gain data frame sent by the control terminal, the 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 a parameter effective operation, not modifying the current audio parameter combination. The parameter validation operation means that the current audio plays the audio according to the custom audio parameter combination, but does not store the custom audio parameter combination, and plays the audio 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, the custom audio parameter combination is set as a current audio parameter combination, and the custom audio parameter combination is saved to an audio parameter file. The parameter saving operation means that the current audio plays the audio according to the custom audio parameter combination, the custom audio parameter combination is saved, and the audio continues to be played according to the custom audio parameter combination after restarting. That is, in this embodiment, after restarting, 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, and if the parameter is executed to take effect, the audio is played according to A2, but after the audio playing device is restarted, the audio is still played according to A1; if the parameter saving operation is executed, the audio is played according to A2, but after the audio playing device is restarted, the audio is played according to A2.
Further, after playing the audio, 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 way of an embodiment in practical application.
Referring to fig. 3, fig. 3 is a schematic diagram 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 custom audio parameter adjusting mode and an automatic detection compensation mode, which can flexibly and effectively achieve the personalized audio requirement of the user.
In the mode of self-defining and adjusting the audio parameters, a user can self-define and adjust the gain parameters under different frequency points through a self-defining and adjusting function area of the mobile phone, and the user can perform operations such as audio effect listening trial and saving in effect under the parameters after self-defining and adjusting through UI buttons such as effective, save, restore default and the like. When the user clicks the validate button, the handset may send the custom audio parameters to the earpiece side and notify the earpiece side to immediately validate, but not save. After the user clicks the save button, the handset may send the custom audio parameters to the earpiece side and notify the earpiece side to save and validate the custom audio parameters. After the user clicks the restore default button, the mobile phone notifies the earphone side to restore the default value of the audio parameters.
In the automatic detection compensation mode, a user can perform hearing test on different frequency point sound sources according to a single frequency test sound source preset by the scheme, and organize and synchronize feedback data of the user through the scheme protocol, an earphone side can extract a feedback result of the user on the test single frequency sound source according to the synchronized data, preset audio parameters are searched in an earphone flash according to the feedback result, and after the relatively optimal audio parameters are searched, the parameters are replaced and validated by the earphone. As shown in fig. 3, after the user clicks the "start automatic compensation" button each time, a single-frequency audio source is played for the user to listen to, the user can perform personalized feeling and feedback on the gain of the audio source after listening each time, the feedback mode is that three buttons of "low", "moderate" and "high" are clicked, the feedback result is timely synchronized to the earphone side through a preset data organization protocol, and the earphone side can calculate and search the optimal audio parameter combination according to the feedback result for application.
Referring to fig. 4, fig. 4 is a parameter adjustment flowchart 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, on the mobile phone side, if the mobile phone is in the mode of custom adjusting audio parameters, the user selects personalized audio on the interface of the mobile phone, the user custom adjusts the parameters of the frequency points, and the user selects to click a 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 conduct personalized feedback after the single-frequency point sound source is listened to by clicking the interface. The user may make a determination based on the type of operation, including validating, saving, and restoring defaults. The mobile phone can perform data frame construction and transmit data frames to the earphone through the SPP virtual serial port channel.
After the earphone receives the data frame, if the earphone is in the self-defined audio parameter adjusting mode, extracting the frequency point gain and caching, identifying the operation type, and judging that the obtained operation type comprises the steps of validating, saving and recovering the defaults. If the operation type is effective, the Audio Dsp Audio processing unit receives data and takes effect; if the operation type is save, the Audio Dsp Audio processing unit extracts default parameters from the flash and takes effect, and stores the current frequency point gain parameters in the earphone flash so that the Audio processing unit automatically loads the parameters when being started next time. After the earphone receives the data frame, if the earphone is in an automatic detection compensation mode, the earphone side extracts personalized feedback parameters of the hearing of the user to different frequency point sound sources according to the data frame construction method, the earphone side searches the prestored optimal frequency point Audio parameters 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.
The embodiment can enable the user to perform personalized setting on the audio effect, and can improve the audio experience of the user in an effective and flexible mode. The user can self-define and adjust parameters of different frequency points according to individual experience and take effect and store the parameters; visual feedback can be made according to the single-frequency test sound source, and after data synchronization, the earphone searches the optimal parameter combination 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, where the data organization protocol includes a header data identifier, an operation type ID symbol, an operation timing identifier, parameter data and a tail data identifier as shown in fig. 5. If the parameter adjustment mode is a self-defined audio parameter adjustment mode, the parameter data comprises a frequency point data packet, the frequency point data packet comprises a packet length, a frequency point identifier and a frequency point gain value, the frequency point identifier can identify the frequency point type, and further the frequency point gain of the adjustable frequency points 1, 2 and 3 … N is established. If the parameter adjustment mode is an 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 low, moderate and high, the feedback data identifier can identify the frequency point type, and further the feedback value corresponding to the adjustable frequency points 1, 2 and 3 … N is determined. Through the structure, the audio gain parameters and the feedback structure of the single-frequency test tone in the use process of the personalized audio function can be efficiently framed and transmitted.
The embodiment of the application also provides an audio parameter setting device, which can comprise:
the test module is used for receiving a test audio playing instruction sent by the control terminal and playing a plurality of single-frequency audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying a preferred audio parameter combination matched with the feedback information;
and the parameter setting module is used for setting the preferred audio parameter combination as a current audio parameter combination and playing audio according to the preferred audio parameter combination.
In this embodiment, after receiving the test audio playing instruction, a plurality of single-frequency audio sources are played so that the user can feed back according to the listening effect of the single-frequency audio sources. The control terminal can construct an automatic compensation data frame according to feedback information of the user on the single-frequency audio source, the feedback information in the automatic compensation data frame reflects the sensitivity degree of the user on 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 meets the auditory characteristics of the user, the audio played in accordance with the preferred audio parameter combination enables the user to obtain a better listening effect. Therefore, the embodiment can perform personalized setting on the audio parameters according to the hearing characteristics of the user, and improve the listening effect of the user.
Further, the parameter combination query module includes:
the hearing sensitive information determining unit is used for determining hearing sensitive information of the user according to the feedback information; wherein the auditory sense information includes a degree of sensitivity of the user's hearing at each frequency;
and the parameter matching unit is used for inquiring the matching degree of the hearing sensitive 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 audio source by the test module comprises the following steps:
step 1: selecting a current single-frequency sound source;
step 2: playing a current single-frequency sound source according to preset audio intensity;
step 3: judging whether a switching instruction sent by the control terminal is received or not; if yes, enter step 4; if not, entering step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user on the current single-frequency sound source;
step 4: judging whether all the single-frequency audio sources are played completely; if yes, ending the single-frequency sound source playing flow; if not, go to step 1.
Further, 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.
Further, the method further comprises the following steps:
the custom gain data frame receiving module is used for receiving the custom gain data frame sent by the control terminal; the self-defined gain data frame is a data frame which is constructed by the control terminal according to the multi-frequency-point audio gain parameters which are self-defined and adjusted by the user;
the custom parameter generation module is used for determining multi-frequency-point audio gain parameters according to the custom gain data frames and generating custom 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 custom audio parameter combination.
Further, the custom gain data frame includes a header data identifier, an operation type ID symbol, an operation timing identifier, the multiband audio gain parameter, and a trailer data identifier;
correspondingly, the method further comprises the steps of:
the current audio parameter combination setting module is used for determining an operation type ID symbol according to a self-defined gain data frame after receiving the self-defined gain data frame sent by the control terminal; 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 custom audio parameter combination as a current audio parameter combination, and saving the custom audio parameter combination to an audio parameter file; and is also used for playing the audio according to the current audio parameter combination after restarting.
Further, the method further 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 embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
The present application also provides a storage medium having stored thereon a computer program which, when executed, performs the steps provided by the above embodiments. The storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The application also provides an electronic device, which can comprise a memory and a processor, wherein the memory stores a computer program, and the processor can realize the steps provided by the embodiment when calling the computer program in the memory. Of course the electronic device may also include various network interfaces, power supplies, etc.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the application can be made without departing from the principles of the application and these modifications and adaptations are intended to be within the scope of the application as defined in the following claims.
It should also be noted that in this 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

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 audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source;
acquiring the feedback information according to the automatic compensation data frame, and inquiring a preferred audio parameter combination matched with the feedback information;
setting the preferred audio parameter combination as a current audio parameter combination, and playing audio according to the preferred audio parameter combination;
the method further comprises the steps of: receiving a user-defined gain data frame sent by the control terminal; the self-defined gain data frame is a data frame which is constructed by the control terminal according to the multi-frequency-point audio gain parameters which are self-defined and adjusted by the user;
determining multi-frequency-point audio gain parameters according to the self-defined gain data frames, and generating self-defined audio parameter combinations corresponding to the multi-frequency-point audio gain parameters;
playing audio according to the custom audio parameter combination; the audio parameter combination is a user-defined gain parameter of each frequency band; wherein,,
the custom gain data frame comprises a head data identification symbol, an operation type ID symbol, an operation time sequence identification symbol, the multi-frequency-point audio gain parameter and a tail data identification symbol;
correspondingly, after receiving the custom gain data frame sent by the control terminal, the method further comprises:
determining an operation type ID symbol according to the custom gain data frame;
if the operation type corresponding to the operation type ID symbol is a parameter effective operation, the current audio parameter combination is not modified;
if the operation type corresponding to the operation type ID symbol is a parameter preservation operation, setting the custom audio parameter combination as a current audio parameter combination, and preserving the custom audio parameter combination to an audio parameter file;
and after restarting, playing the audio according to the current audio parameter combination.
2. The audio parameter setting method according to claim 1, wherein the querying the preferred audio parameter combination matched with the feedback information comprises:
determining auditory sensitive information of the user according to the feedback information; wherein the auditory sense information includes a degree of sensitivity of the user's hearing at each frequency;
and inquiring the matching degree of the hearing sensitive information and each preset audio parameter in the audio parameter file, and setting the preset audio parameter with the highest matching degree as the preferable audio parameter combination matched with the feedback information.
3. The audio parameter setting method according to claim 1, wherein playing a plurality of single-frequency audio sources according to the test audio playing instruction comprises:
step 1: selecting a current single-frequency sound source;
step 2: playing the current single-frequency sound source according to the preset audio intensity;
step 3: judging whether a switching instruction sent by the control terminal is received or not; if yes, enter step 4; if not, entering step 2; the switching instruction is an instruction sent by the control terminal after receiving feedback information of the user on the current single-frequency sound source;
step 4: judging whether all the single-frequency audio sources are played completely; if yes, ending the single-frequency sound source playing flow; if not, go to step 1.
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 any one of claims 1 to 4, characterized by further comprising, after playing the audio:
if a parameter resetting instruction sent by the control terminal is received, setting a default audio parameter combination as a current audio parameter combination, and playing audio according to the default audio parameter combination.
6. 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 audio 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 constructed by the control terminal according to feedback information of a user on the single-frequency audio source;
the parameter combination query module is used for acquiring the feedback information according to the automatic compensation data frame and querying a preferred audio parameter combination matched with the feedback information;
the parameter setting module is used for setting the preferred audio parameter combination as a current audio parameter combination and playing audio according to the preferred audio parameter combination;
the device further comprises:
the custom gain data frame receiving module is used for receiving the custom gain data frame sent by the control terminal; the self-defined gain data frame is a data frame which is constructed by the control terminal according to the multi-frequency-point audio gain parameters which are self-defined and adjusted by the user;
the custom parameter generation module is used for determining multi-frequency-point audio gain parameters according to the custom gain data frames and generating custom audio parameter combinations corresponding to the multi-frequency-point audio gain parameters;
the audio playing module is used for playing audio according to the custom audio parameter combination; the audio parameter combination is a user-defined gain parameter of each frequency band; wherein,,
the custom gain data frame comprises a head data identification symbol, an operation type ID symbol, an operation time sequence identification symbol, the multi-frequency-point audio gain parameter and a tail data identification symbol;
correspondingly, after receiving the custom gain data frame sent by the control terminal, the method further comprises:
determining an operation type ID symbol according to the custom gain data frame;
if the operation type corresponding to the operation type ID symbol is a parameter effective operation, the current audio parameter combination is not modified;
if the operation type corresponding to the operation type ID symbol is a parameter preservation operation, setting the custom audio parameter combination as a current audio parameter combination, and preserving the custom audio parameter combination to an audio parameter file;
and after restarting, playing the audio according to the current audio parameter combination.
7. An electronic device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the audio parameter setting method according to any one of claims 1 to 5 when the computer program in the memory is invoked by the processor.
8. A storage medium having stored therein computer executable instructions which, when loaded and executed by a processor, implement the steps of the audio parameter setting method of any of claims 1 to 5.
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 CN112887877A (en) 2021-06-01
CN112887877B true 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)

Families Citing this family (1)

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

Citations (17)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170365271A1 (en) * 2016-06-15 2017-12-21 Adam Kupryjanow Automatic speech recognition de-reverberation
KR101941680B1 (en) * 2018-07-13 2019-01-23 신의상 Method and apparatus for regulating the audio frequency of an equalizer

Patent Citations (17)

* 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
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
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
武汉市教育科学研究院,华中师范大学.给声音润色-音频效果处理.《信息技术》.2008, *

Also Published As

Publication number Publication date
CN112887877A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN104394491B (en) A kind of intelligent earphone, Cloud Server and volume adjusting method and system
CN107172256B (en) Earphone call self-adaptive adjustment method and device, mobile terminal and storage medium
CN107995360B (en) Call processing method and related product
WO2016184119A1 (en) Volume adjustment method, system and equipment, and computer storage medium
US8265311B2 (en) Method and apparatus for using text messages to distribute ring tones to adjust hearing aids
CN109151566B (en) Audio playing method and device, electronic equipment and computer readable medium
CN107332994A (en) A kind of tuning effect Self Matching method and system
CN107609034A (en) A kind of audio frequency playing method of intelligent sound box, audio playing apparatus and storage medium
CN107360507A (en) A kind of play parameter Automatic adjustment method, intelligent sound box and storage medium
CN109982231B (en) Information processing method, device and storage medium
CN104301782A (en) Method and device for outputting audios and terminal
CN112887877B (en) Audio parameter setting method and device, electronic equipment and storage medium
CN114786139A (en) Connection establishing method, device, equipment, storage medium and program product
CN113411707A (en) Auxiliary listening earphone, control method, device and system thereof, and readable medium
US6738805B2 (en) Audio-contents demo system connectable to a mobile telephone device
CN106681713A (en) Multimedia resource playing operation control method and device
CN113176870A (en) Volume adjustment method and device, electronic equipment and storage medium
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
EP4283617A1 (en) Audio data processing method and apparatus, device, storage medium, and program product
CN105786363B (en) A kind of control method for playing back of voice box group, device and intelligent sound box
CN111506743A (en) Media resource storage method, media resource playing method and related equipment
CN102325283A (en) Earphone, user equipment and audio data output method
US10997984B2 (en) Sounding device, audio transmission system, and audio analysis method thereof
CN109218877B (en) Intelligent earphone device personalization system and use method thereof
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