CN112905833A - Audio playback equipment preheating method, device, equipment and medium - Google Patents

Audio playback equipment preheating method, device, equipment and medium Download PDF

Info

Publication number
CN112905833A
CN112905833A CN202110069625.3A CN202110069625A CN112905833A CN 112905833 A CN112905833 A CN 112905833A CN 202110069625 A CN202110069625 A CN 202110069625A CN 112905833 A CN112905833 A CN 112905833A
Authority
CN
China
Prior art keywords
amplitude
frequency response
audio playback
frequency
playback device
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.)
Pending
Application number
CN202110069625.3A
Other languages
Chinese (zh)
Inventor
闫震海
曹硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202110069625.3A priority Critical patent/CN112905833A/en
Publication of CN112905833A publication Critical patent/CN112905833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10481Improvement or modification of read or write signals optimisation methods
    • G11B20/105Improvement or modification of read or write signals optimisation methods selecting parameter values from a plurality of predetermined settings

Abstract

The application discloses an audio playback device preheating method, device, equipment and medium, comprising: acquiring a first amplitude-frequency response curve of the audio playback equipment; determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve; determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value; performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal; preheating the audio playback device using the target base audio signal. The basic audio signal obtained by carrying out frequency domain weighting calculation on the amplitude-frequency response value based on the equipment amplitude-frequency response curve is utilized to preheat the audio playback equipment, so that the adaptability of an audio file and the audio playback equipment adopted for preheating can be ensured, and the preheating effect is improved.

Description

Audio playback equipment preheating method, device, equipment and medium
Technical Field
The present application relates to the field of audio playback device preheating technologies, and in particular, to a method, an apparatus, a device, and a medium for audio playback device preheating.
Background
The preheating of the audio playback equipment is a common means for protecting the playing equipment for high-level users. At present, in the existing method, the audio file used for preheating needs to be manually searched by the user, the file is fixed and single, the adopted method is completely indistinguishable for different playing devices, and the personalized characteristics of the devices are not considered. In summary, in the process of implementing the present invention, the inventor finds that at least the problem of the prior art that the audio file adopted for preheating does not take personalized features of the device into consideration.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, a device and a medium for preheating an audio playback device, which can ensure the adaptability between an audio file used for preheating and the audio playback device, thereby improving the preheating effect. The specific scheme is as follows:
in a first aspect, the present application discloses an audio playback device warm-up method, comprising:
acquiring a first amplitude-frequency response curve of the audio playback equipment;
determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve;
determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value;
performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal;
preheating the audio playback device using the target base audio signal.
Optionally, the obtaining a first amplitude-frequency response curve of the audio playback device includes:
and calling the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response characteristic library by using the model of the audio playback equipment.
Optionally, the obtaining a first amplitude-frequency response curve of the audio playback device includes:
sequentially controlling the audio playback equipment to play a plurality of single-frequency signals with equal amplitude according to the frequency from low to high;
determining a minimum energy value corresponding to each single-frequency signal; wherein the minimum energy value is a minimum energy value audible to the human ear;
and determining the first amplitude-frequency response curve by using all the minimum energy values and the frequencies corresponding to all the single-frequency signals.
Optionally, before the frequency-domain weighting calculation is performed on the initial basic audio signal by using the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain the target basic audio signal, the method further includes:
acquiring configuration parameters; the configuration parameters comprise signal duration, sampling rate and frequency range;
locally generating the initial base audio signal based on the configuration parameters; wherein the base audio signal comprises white noise and/or pink noise and/or a sweep signal.
Optionally, the method further includes:
determining a first preheating frequency range based on the second amplitude-frequency response curve;
screening a first target music signal according to the first preset frequency range;
accordingly, the pre-heating the audio playback device with the target base audio signal includes:
the audio playback device is preheated using the target base audio signal and the first target music signal.
Optionally, the method further includes:
acquiring user information; the user information comprises user listening preference information and a preheating song selected by a user;
determining a second preheat frequency band range based on the user listening preference information;
screening a second target music signal by using the second preheating frequency range;
accordingly, the pre-heating the audio playback device with the target base audio signal includes:
preheating the audio playback device using the target base audio signal, the first target music signal, the second target music signal, and the preheat song.
Optionally, the preheating the audio playback device by using the target base audio signal, the first target music signal, the second target music signal, and the preheat song includes:
preheating the audio playback apparatus using the target base audio signal, the first target music signal, the second target music signal, and the preheat song in a preset order.
In a second aspect, the present application discloses an audio playback device preheating apparatus, comprising:
the first amplitude-frequency response curve acquisition module is used for acquiring a first amplitude-frequency response curve of the audio playback equipment;
the reference amplitude-frequency response value determining module is used for determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve;
the second amplitude-frequency response curve determining module is used for determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value;
the target basic audio signal determining module is used for performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal;
an audio playback device warm-up module to warm-up the audio playback device with the target base audio signal.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the aforementioned audio playback device warm-up method.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program which, when executed by a processor, implements the aforementioned audio playback apparatus warm-up method.
It can be seen that, in the present application, a first amplitude-frequency response curve of an audio playback device is obtained first, then a reference amplitude-frequency response value corresponding to a preset reference frequency is determined by using the first amplitude-frequency response curve, then a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value is determined, frequency domain weighting calculation is performed on an initial basic audio signal by using an amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal, and finally the audio playback device is preheated by using the target basic audio signal. That is, the relative amplitude-frequency response curve of the audio playback device is determined by using the amplitude-frequency response curve of the audio playback device and the preset reference frequency, the amplitude-frequency response characteristic of the audio playback device is obtained, the target basic audio signal obtained by performing frequency domain weighting calculation on the initial basic audio signal by using the amplitude-frequency response value of the relative amplitude-frequency response curve as a weighting factor is the audio signal reflecting the amplitude-frequency response characteristic of the audio playback device, and the audio playback device is preheated by using the audio signal, so that the adaptability of an audio file used for preheating and the audio playback device can be guaranteed, and the preheating effect is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a system framework to which the audio playback device warm-up scheme disclosed herein is applicable;
FIG. 2 is a flow chart of a method for preheating an audio playback device as disclosed herein;
FIG. 3 is a flow chart of a specific audio playback device warm-up method disclosed herein;
FIG. 4 is a flow chart of a specific audio playback device warm-up method disclosed herein;
FIG. 5 is a schematic diagram of a preheating device of an audio playback apparatus according to the present disclosure;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
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 only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, in the existing preheating method of the audio playback device, the audio file adopted for preheating usually needs to be manually searched by the user, the file is fixed and single, the adopted method is completely indistinguishable for different playing devices, and the personalized characteristics of the devices are not considered. In summary, in the process of implementing the present invention, the inventor finds that at least the problem of the prior art that the audio file adopted for preheating does not take personalized features of the device into consideration. Therefore, the preheating scheme of the audio playback equipment is provided, the adaptability of the audio file and the audio playback equipment which are adopted in the preheating mode can be guaranteed, and therefore the preheating effect is improved.
In the audio playback device warm-up scheme of the present application, a system framework adopted may specifically refer to fig. 1, and may specifically include: a user terminal 01 and a number of audio playback devices 02 establishing a communication connection with the user terminal 01. The audio playback device 02 may include a sound, an earphone, and the like.
In the application, the user terminal 01 may provide an information input interface for a user on a user interaction interface through a client installed in advance. The user terminal 01 obtains a preheating instruction input by a user through an information input interface, and then executes the step of the audio playback equipment preheating method, wherein the step comprises the step of obtaining a first amplitude-frequency response curve of the audio playback equipment; determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve; determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value; performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal; the audio playback apparatus 02 is preheated using the target base audio signal.
Referring to fig. 2, an embodiment of the present application discloses an audio playback device warm-up method, including:
step S11: a first amplitude frequency response curve of an audio playback device is obtained.
In a specific implementation manner, the model of the audio playback device can be used to retrieve the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response characteristic library.
It is noted that the amplitude-frequency response characterizes the signal playback capability of the audio playback device. The amplitude-frequency response curves corresponding to different devices are completely different, and when the audio playback device leaves a factory, the audio playback device provider measures the amplitude-frequency response curves of the audio playback device by using professional devices. In this embodiment, a preset amplitude-frequency response feature library of the model and amplitude-frequency response curve of the audio playback device may be constructed, so that when the device is preheated, the amplitude-frequency response curve of the corresponding model is called from the preset amplitude-frequency response feature library according to the model.
In another specific embodiment, the audio playback device may be sequentially controlled to play a plurality of single-frequency signals with equal amplitude according to the frequency from low to high; determining a minimum energy value corresponding to each single-frequency signal; wherein the minimum energy value is a minimum energy value audible to the human ear; and determining the first amplitude-frequency response curve by using all the minimum energy values and the frequencies corresponding to all the single-frequency signals.
That is, the present embodiment may estimate the amplitude-frequency response according to a hearing test, and perform curve estimation by means of a single-frequency hearing test of a user. The equal-amplitude single-frequency signals are played from low to high in sequence, and the user finds the minimum audible energy value of the single-frequency signals by manually adjusting the volume of the equipment. The minimum energy values of a plurality of frequency points are combined to form a vector, and the first amplitude-frequency response curve is obtained.
Further, in some embodiments, if the model of the audio playback device is obtained, the model of the audio playback device is used to retrieve the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response feature library, and if the model of the audio playback device cannot be obtained or the preset amplitude-frequency response feature library does not have the first amplitude-frequency response curve of a corresponding model, the audio playback device is sequentially controlled to play a plurality of single-frequency signals with equal amplitudes according to the frequency from low to high; determining a minimum energy value corresponding to each single-frequency signal; wherein the minimum energy value is a minimum energy value audible to the human ear; and determining the first amplitude-frequency response curve by using all the minimum energy values and the frequencies corresponding to all the single-frequency signals.
The audio playback device can be an earphone or a sound device, and if the audio playback device is a sound device, the audio playback device needs to be preheated by one sound device.
Step S12: and determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve.
Step S13: and determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value.
In a specific embodiment, if a first amplitude-frequency response curve of the audio playback device called from the preset amplitude-frequency response feature library is H, and the preset reference frequency is 1kHz, the corresponding amplitude-frequency response value is H (1000). And correcting the first amplitude-frequency response curve by taking 1kHz as a reference to obtain a second amplitude-frequency response curve, namely: HNew is H-H (1000) to ensure that the position response value of the corrected curve at 1kHz is zero. The first amplitude-frequency response curve estimated by the hearing test is marked as HLis. Similarly, amplitude correction is performed with reference to 1kHz to obtain a second amplitude-frequency response curve, HLisNew ═ HLis-HLis (1000). Thus, the amplitude-frequency response value of each frequency point relative to 1kHz can be obtained and recorded as HNew or HLisNew.
Step S14: and performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal.
Step S15: preheating the audio playback device using the target base audio signal.
It can be seen that, in the embodiment of the present application, a first amplitude-frequency response curve of an audio playback device is obtained first, then a reference amplitude-frequency response value corresponding to a preset reference frequency is determined by using the first amplitude-frequency response curve, then a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value is determined, frequency domain weighting calculation is performed on an initial basic audio signal by using an amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor, so as to obtain a target basic audio signal, and finally the audio playback device is preheated by using the target basic audio signal. That is, in the embodiment of the present application, the amplitude-frequency response curve of the audio playback device and the preset reference frequency are used to determine the relative amplitude-frequency response curve of the audio playback device, so as to obtain the amplitude-frequency response characteristic of the audio playback device, the target base audio signal obtained by performing frequency domain weighting calculation on the initial base audio signal with the amplitude-frequency response value of the relative amplitude-frequency response curve as a weighting factor is an audio signal reflecting the amplitude-frequency response characteristic of the audio playback device, and the audio playback device is preheated by using such an audio signal, so that the adaptability of the audio file used for preheating to the audio playback device can be ensured, and the preheating effect is improved.
Referring to fig. 3, an embodiment of the present application discloses a specific audio playback device warm-up method, including:
step S21: a first amplitude frequency response curve of an audio playback device is obtained.
Step S22: and determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve.
Step S23: and determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value.
Step S24: acquiring configuration parameters; the configuration parameters include signal duration, sampling rate and frequency range.
Step S25: locally generating the initial base audio signal based on the configuration parameters; wherein the base audio signal comprises white noise and/or pink noise and/or a sweep signal.
The white noise signal refers to a random signal with constant power spectral density in each frequency band. The power spectral density of the pink noise signal is inversely proportional to the frequency value, the higher the frequency, the lower the power spectral density. The sweep signal refers to a signal that is a sine wave at each time, wherein the frequency of the signal varies continuously with time.
It should be noted that there is no precedence relationship between steps S24 to S25 and steps S21 to S23, and the generation of the initial fundamental audio signal is completed before step S26.
In particular embodiments, white noise may be generated based on a random function rand (), which may return a random number between 0-MAX. The random number is normalized and translated, so that the random number can be used as audio PCM (Pulse Code Modulation) data, that is:
rand()/MAX–0.5;
the sampling rate of the generated signal is set to fs, and a random number is generated every 1/fs seconds. The total time length is t, a white noise signal vector with the length t x fs between plus or minus 0.5 can be generated. The energy of the white noise in each frequency band is relatively uniform and is in a horizontal straight line.
Furthermore, pink noise can be obtained after the white noise signal passes through a filter which attenuates 3dB per octave. Wherein the filter may employ an autoregressive model:
Figure BDA0002905308890000081
wherein pinkNoise represents a pink noise signal, whitetNoise represents a white noise signal, a represents amplitude, n represents time, and the coefficients of the autoregressive model:
a0=1;
Figure BDA0002905308890000082
the frequency sweeping signals are divided into two types: linear and logarithmic sweeps.
The linear sweep frequency means that the frequency value at each moment is linearly changed along with time, and the expression is as follows:
Figure BDA0002905308890000083
wherein, F0And F1Respectively representing the lowest and highest frequency of the frequency sweep signal, the function sin () representing a sine function, T representing a time variable, and T representing the total duration of the signal.
The logarithmic sweep frequency means that the frequency value at each moment is in logarithmic change trend along with time, and the expression is as follows:
Figure BDA0002905308890000084
wherein, F0And F1Respectively representing the lowest and highest frequency of the frequency sweep signal, the function sin () representing a sine function, T representing a time variable, and T representing the total duration of the signal.
Step S26: and performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal.
Step S27: preheating the audio playback device using the target base audio signal.
It should be noted that in the prior art, the basic audio signal is used as a common signal for preheating the device. On the network or in a library, there are many fundamental audios like white noise, pink noise, and frequency swept signals. However, these signals are usually fixed and written signals, and the characteristics of the signals, such as signal length, sampling rate, and covered frequency range, cannot be easily changed. In addition, downloading these audio signals from the cloud wastes unnecessary traffic and buffering time. The embodiment adopts a local synthesis mode to manufacture the basic audio signal, can flexibly meet the requirements of parameter modification such as signal duration, sampling frequency, frequency range and the like, improves the flexibility of the audio playback equipment, and improves the preheating efficiency of the audio playback equipment.
Referring to fig. 4, an embodiment of the present application discloses a specific audio playback device warm-up method, including:
step S301: a first amplitude frequency response curve of an audio playback device is obtained.
Step S302: and determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve.
Step S303: and determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value.
Step S304: and performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal.
Step S305: and determining a first preheating frequency range based on the second amplitude-frequency response curve.
Step S306: and screening a first target music signal according to the first preset frequency range.
In particular embodiments, some music signals are selected in addition to the underlying audio signal. For example, if the low frequency value in the second amplitude frequency response curve is larger, drum sound can be selected as the main music signal.
Step S307: acquiring user information; the user information comprises user listening preference information and a preheating song selected by the user.
Step S308: determining a second preheat frequency band range based on the user listening preference information.
Step S309: and screening a second target music signal by using the second preheating frequency range.
For example, if the user prefers medium-high frequency, a music signal mainly having high frequency, such as koto, can be selected. The user can also add a more approved test disc song or a preferred popular song as a preheating song.
Specifically, questionnaires can be prepared in advance, and listening preferences of users can be investigated to obtain user listening preference information. Such as the preferences of different frequency bands like treble, voice, bass, subwoofer, etc., in order to filter out personalized music signals to the user's preferences.
And, in particular embodiments, after determining the first target music signal, the second target music signal, and the pre-heated song, the music may be retrieved from the music library.
Step S310: preheating the audio playback device using the target base audio signal, the first target music signal, the second target music signal, and the preheat song.
In a specific embodiment, the audio playback apparatus may be preheated by using the target base audio signal, the first target music signal, the second target music signal, and the preheat song in a preset order.
And, the target basic audio signal, the first target music signal, the second target music signal, and the pre-heat song may be played for a preset time period.
That is, in this embodiment, the durations corresponding to the target basic audio signal, the first target music signal, the second target music signal, and the preheating song may be preset, and the sequence of different audio signals may also be preset.
It can be seen that the audio signals for device warm-up in the embodiment of the present application include a basic audio signal, a music signal covering a part of a frequency band, and a music signal covering a full frequency band. The basic audio signal and the first target music signal are signals meeting the personalized characteristics of the audio playback equipment, and the second target music signal and the preheating song are music signals determined according to the preference of the user, so that the preheating audio signal can be adapted to the audio playback equipment on one hand, and the personalized requirements of the user can be met on the other hand, and the user experience is improved.
Moreover, the embodiment may preset a preheating time period, for example, preheating the device at night. The preheating progress can be displayed, the preheating is suspended, and the like.
Further, the embodiment of the present application may generate a corresponding audio playback device preheating scheme engineering file, including an initial basic audio signal generating method, a target basic audio signal acquiring method, and a corresponding basic audio signal may be generated by inputting a configuration parameter by a user, and a corresponding target basic audio signal may be generated based on an amplitude-frequency response curve of a device, and a first target music signal may be determined. The user input user information comprises user listening preference information and a preheating song selected by the user, namely, a second target music signal can be screened based on the user listening preference information, and the audio playback equipment is preheated by utilizing each audio signal according to a playing sequence preset by the user. Wherein, the configuration parameters may include: the duration of the base audio signal, the duration of the first target music signal, the duration of the second target music signal, the duration of the pre-heated song, the sampling rate of the base audio signal, and the frequency range. That is, the user configures the duration of the basic audio signal, the duration of the first target music signal, the duration of the second target music signal, the duration of the pre-heating song, the sampling rate and the frequency range of the basic audio signal, the playing sequence of each audio signal, the input listening preference information, and the pre-heating song, i.e., the device pre-heating can be completed through the project file.
Thus, the entire project file resembles a pre-assembled list of songs. And starting the equipment for preheating, and playing the list according to the preset sequence. In the middle of playing, the played time and the non-played time can be displayed in real time, and preheating can be carried out in a pause or a reserved time period. Such as at night when the device is not in use. And the project files used by any user can be shared for other people to use. Since the underlying audio signal is synthesized locally, the music signal can be queried to the library for the corresponding song via the song id. Therefore, after another user takes the project file, the corresponding preheating effect can be conveniently reproduced without manually downloading any additional file.
The following describes the technical solution of the present application by taking a preheating process for a certain sound as an example.
The user terminal utilizes the model of the sound to call the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response characteristic library, then utilizes the first amplitude-frequency response curve to determine a reference amplitude-frequency response value corresponding to a preset reference frequency 1KH, and then determines a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value. And obtaining configuration parameters; wherein the configuration parameters include a signal duration, a sampling rate, and a frequency range, the initial fundamental audio signal being locally generated based on the configuration parameters; and then, performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal.
Further, a first preheating frequency range is determined based on the second amplitude-frequency response curve; and screening a first target music signal according to the first preset frequency range. And, obtain the user information; the user information comprises user listening preference information and a preheating song selected by a user, a second preheating frequency range is determined based on the user listening preference information, and a second target music signal is screened by utilizing the second preheating frequency range. And finally, preheating the stereo by utilizing the target basic audio signal, the first target music signal, the second target music signal and the preheating song according to a preset sequence.
Referring to fig. 5, an embodiment of the present application discloses an audio playback device preheating apparatus, including:
a first amplitude-frequency response curve obtaining module 11, configured to obtain a first amplitude-frequency response curve of the audio playback device;
the reference amplitude-frequency response value determining module 12 is configured to determine a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve;
a second amplitude-frequency response curve determining module 13, configured to determine a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value;
the target basic audio signal determining module 14 is configured to perform frequency domain weighting calculation on the initial basic audio signal by using the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal;
an audio playback device warm-up module 15 for warming up the audio playback device with the target base audio signal.
It can be seen that, in the embodiment of the present application, a first amplitude-frequency response curve of an audio playback device is obtained first, then a reference amplitude-frequency response value corresponding to a preset reference frequency is determined by using the first amplitude-frequency response curve, then a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value is determined, frequency domain weighting calculation is performed on an initial basic audio signal by using an amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor, so as to obtain a target basic audio signal, and finally the audio playback device is preheated by using the target basic audio signal. That is, in the embodiment of the present application, the amplitude-frequency response curve of the audio playback device and the preset reference frequency are used to determine the relative amplitude-frequency response curve of the audio playback device, so as to obtain the amplitude-frequency response characteristic of the audio playback device, the target base audio signal obtained by performing frequency domain weighting calculation on the initial base audio signal with the amplitude-frequency response value of the relative amplitude-frequency response curve as a weighting factor is an audio signal reflecting the amplitude-frequency response characteristic of the audio playback device, and the audio playback device is preheated by using such an audio signal, so that the adaptability of the audio file used for preheating to the audio playback device can be ensured, and the preheating effect is improved.
In a specific implementation manner, the first amplitude-frequency response curve obtaining module 11 is specifically configured to use a model of the audio playback device to retrieve the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response feature library.
In a specific embodiment, the first amplitude-frequency response curve obtaining module 11 is specifically configured to sequentially control the audio playback device to play a plurality of single-frequency signals with equal amplitudes according to frequencies from low to high; determining a minimum energy value corresponding to each single-frequency signal; wherein the minimum energy value is a minimum energy value audible to the human ear; and determining the first amplitude-frequency response curve by using all the minimum energy values and the frequencies corresponding to all the single-frequency signals.
Further, the apparatus further comprises:
the configuration parameter acquisition module is used for acquiring configuration parameters; the configuration parameters comprise signal duration, sampling rate and frequency range;
an initial base audio signal generation module to locally generate the initial base audio signal based on the configuration parameters; wherein the base audio signal comprises white noise and/or pink noise and/or a sweep signal.
And, the apparatus further comprises:
the first target music signal determining module is used for determining a first preheating frequency range based on the second amplitude-frequency response curve; and screening a first target music signal according to the first preset frequency range.
Accordingly, the audio playback device warm-up module 15 is specifically configured to warm up the audio playback device using the target base audio signal and the first target music signal.
Further, the apparatus further comprises:
the user information acquisition module is used for acquiring user information; the user information comprises user listening preference information and a preheating song selected by a user;
a second target music signal determination module for determining a second preheat frequency band range based on the user listening preference information; screening a second target music signal by using the second preheating frequency range;
accordingly, the audio playback device preheating module 15 is specifically configured to preheat the audio playback device by using the target base audio signal, the first target music signal, the second target music signal, and the preheating song.
In a specific embodiment, the audio playback device preheating module 15 is specifically configured to preheat the audio playback device with the target base audio signal, the first target music signal, the second target music signal, and the preheating song according to a preset order.
Further, the embodiment of the application also provides electronic equipment. FIG. 6 is a block diagram illustrating an electronic device 6 in accordance with an exemplary embodiment, the contents of which should not be considered as limiting the scope of use of the present application in any way.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the audio playback device warm-up method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the processor 21 on the data 223 in the memory 22, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the audio playback device warm-up method performed by the electronic device 20 disclosed in any of the foregoing embodiments. Data 223 may include user information, user configuration parameters, etc. collected by electronic device 20.
Further, an embodiment of the present application further discloses a storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the steps of the audio playback device preheating method disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or 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.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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.
The foregoing detailed description is directed to a method, apparatus, device and medium for preheating an audio playback device, and the principles and implementations of the present application are described herein using specific examples, which are provided only to help understand the method and core concepts of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of warming up an audio playback device, comprising:
acquiring a first amplitude-frequency response curve of the audio playback equipment;
determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve;
determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value;
performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal;
preheating the audio playback device using the target base audio signal.
2. The audio playback device warm-up method of claim 1, wherein said obtaining a first amplitude-frequency response curve of the audio playback device comprises:
and calling the first amplitude-frequency response curve corresponding to the model from a preset amplitude-frequency response characteristic library by using the model of the audio playback equipment.
3. The audio playback device warm-up method of claim 1, wherein said obtaining a first amplitude-frequency response curve of the audio playback device comprises:
sequentially controlling the audio playback equipment to play a plurality of single-frequency signals with equal amplitude according to the frequency from low to high;
determining a minimum energy value corresponding to each single-frequency signal; wherein the minimum energy value is a minimum energy value audible to the human ear;
and determining the first amplitude-frequency response curve by using all the minimum energy values and the frequencies corresponding to all the single-frequency signals.
4. The audio playback device warm-up method as claimed in claim 1, wherein before performing the frequency domain weighting calculation on the initial base audio signal by using the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain the target base audio signal, the method further comprises:
acquiring configuration parameters; the configuration parameters comprise signal duration, sampling rate and frequency range;
locally generating the initial base audio signal based on the configuration parameters; wherein the base audio signal comprises white noise and/or pink noise and/or a sweep signal.
5. The audio playback device warm-up method according to any one of claims 1 to 4, further comprising:
determining a first preheating frequency range based on the second amplitude-frequency response curve;
screening a first target music signal according to the first preset frequency range;
accordingly, the pre-heating the audio playback device with the target base audio signal includes:
the audio playback device is preheated using the target base audio signal and the first target music signal.
6. The audio playback device warm-up method of claim 5, further comprising:
acquiring user information; the user information comprises user listening preference information and a preheating song selected by a user;
determining a second preheat frequency band range based on the user listening preference information;
screening a second target music signal by using the second preheating frequency range;
accordingly, the pre-heating the audio playback device with the target base audio signal includes:
preheating the audio playback device using the target base audio signal, the first target music signal, the second target music signal, and the preheat song.
7. The audio playback device warm-up method of claim 6, wherein the warming up the audio playback device using the target base audio signal, the first target music signal, the second target music signal, and the warm-up song, comprises:
preheating the audio playback apparatus using the target base audio signal, the first target music signal, the second target music signal, and the preheat song in a preset order.
8. An audio playback device preheating apparatus, comprising:
the first amplitude-frequency response curve acquisition module is used for acquiring a first amplitude-frequency response curve of the audio playback equipment;
the reference amplitude-frequency response value determining module is used for determining a reference amplitude-frequency response value corresponding to a preset reference frequency by using the first amplitude-frequency response curve;
the second amplitude-frequency response curve determining module is used for determining a second amplitude-frequency response curve of the first amplitude-frequency response curve relative to the reference amplitude-frequency response value;
the target basic audio signal determining module is used for performing frequency domain weighting calculation on the initial basic audio signal by taking the amplitude-frequency response value of the second amplitude-frequency response curve as a weighting factor to obtain a target basic audio signal;
an audio playback device warm-up module to warm-up the audio playback device with the target base audio signal.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the audio playback device warm-up method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program which, when executed by a processor, implements the audio playback device warm-up method of any one of claims 1 to 7.
CN202110069625.3A 2021-01-19 2021-01-19 Audio playback equipment preheating method, device, equipment and medium Pending CN112905833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110069625.3A CN112905833A (en) 2021-01-19 2021-01-19 Audio playback equipment preheating method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110069625.3A CN112905833A (en) 2021-01-19 2021-01-19 Audio playback equipment preheating method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN112905833A true CN112905833A (en) 2021-06-04

Family

ID=76115751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110069625.3A Pending CN112905833A (en) 2021-01-19 2021-01-19 Audio playback equipment preheating method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN112905833A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116962123A (en) * 2023-09-20 2023-10-27 大尧信息科技(湖南)有限公司 Raised cosine shaping filter bandwidth estimation method and system of software defined framework

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116962123A (en) * 2023-09-20 2023-10-27 大尧信息科技(湖南)有限公司 Raised cosine shaping filter bandwidth estimation method and system of software defined framework
CN116962123B (en) * 2023-09-20 2023-11-24 大尧信息科技(湖南)有限公司 Raised cosine shaping filter bandwidth estimation method and system of software defined framework

Similar Documents

Publication Publication Date Title
JP6534452B2 (en) Karaoke processing method and system
CN109686347B (en) Sound effect processing method, sound effect processing device, electronic equipment and readable medium
CN105390144B (en) A kind of audio-frequency processing method and apparatus for processing audio
US9148104B2 (en) Reproduction apparatus, reproduction method, provision apparatus, and reproduction system
CN109982231B (en) Information processing method, device and storage medium
CN103915086A (en) Information processing method, device and system
US11335378B2 (en) Systems and methods for dynamic audio processing
TW202037178A (en) Video playback method and apparatus and multimedia data playback method
CN103177743A (en) Song playing method and device
CN103871439B (en) The method of a kind of audio frequency broadcasting, Apparatus and system
CN112905833A (en) Audio playback equipment preheating method, device, equipment and medium
JP2011123462A (en) Sound processing apparatus
CN112017622B (en) Audio data alignment method, device, equipment and storage medium
KR100597964B1 (en) The advanced digital audio contents service system and its implementation method for mobile wireless device on wireless and wired internet communication network
US20040193429A1 (en) Music file generating apparatus, music file generating method, and recorded medium
JP2006243397A (en) Sound information distribution system, method and program
US8965755B2 (en) Acoustic data communication device
KR20030057494A (en) The advanced digital audio contents service system and its implementation method for mobile wireless device on wireless and wired internet communication network
JP3876595B2 (en) Audio signal generating method, audio signal generating apparatus, and recording medium
US11516545B1 (en) Optimization tools and techniques for audio and audiovisual content
KR100698847B1 (en) Method for audio service of mobile phone
CN112767971B (en) Audio playing method, model obtaining method, device, terminal and server
CN109545176B (en) Dynamic echo processing method and device for audio
CN106792351A (en) A kind of audio method to set up and audio set device
US8914475B2 (en) Method, device and terminal for editing and playing music according to data download speed

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