CN115119110A - Sound effect adjusting method, audio playing device and computer readable storage medium - Google Patents

Sound effect adjusting method, audio playing device and computer readable storage medium Download PDF

Info

Publication number
CN115119110A
CN115119110A CN202210908964.0A CN202210908964A CN115119110A CN 115119110 A CN115119110 A CN 115119110A CN 202210908964 A CN202210908964 A CN 202210908964A CN 115119110 A CN115119110 A CN 115119110A
Authority
CN
China
Prior art keywords
sound effect
determining
audio file
processed
audio
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
CN202210908964.0A
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.)
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 CN202210908964.0A priority Critical patent/CN115119110A/en
Publication of CN115119110A publication Critical patent/CN115119110A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0091Means for obtaining special acoustic effects
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos

Landscapes

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

Abstract

The invention relates to the technical field of digital audio signal processing, in particular to a sound effect adjusting method, audio playing equipment and a computer readable storage medium, wherein the method comprises the following steps: determining an applied sound effect corresponding to an audio file to be processed according to the audio characteristics of the audio file to be processed; determining a sound effect to be applied corresponding to the audio file to be processed; determining a target sound effect according to the applied sound effect and the sound effect to be applied; and processing the audio file to be processed based on the target sound effect. The negative listening feeling of the played audio file due to the superposition of sound effects is avoided, and better audio playing experience is brought to the user.

Description

Sound effect adjusting method, audio playing device and computer readable storage medium
Technical Field
The present invention relates to the field of digital audio signal processing technologies, and in particular, to a sound effect adjusting method, an audio playing device, and a computer readable storage medium.
Background
When audio files such as music and movies are played on different devices, a user can add some sound effect processing, so that the audio playing can be optimized on the basis of the original audio, and the preference of a listener is better met.
In the related art, the device supplier or the application software developer may provide some debugged sound effects to the user for the user to select, or the user may edit the sound effects according to his/her preference. However, the sound effect is not always positive to the user's perception, for example, when the bass portion in an audio file is strong, if the frequency of the bass portion is further enhanced by the sound effect, the user's perception is lowered because the bass portion is too strong. Therefore, in order to avoid the adverse effect of the sound effect on the user's hearing, it is necessary to analyze whether the sound effect and the audio file are in fit or not.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a sound effect adjusting method, and aims to solve the problem of how to avoid negative influence on the hearing of a user caused by sound effect superposition.
In order to achieve the above object, the present invention provides a sound effect adjusting method, which comprises:
determining an applied sound effect corresponding to an audio file to be processed according to the audio characteristics of the audio file to be processed;
determining a sound effect to be applied corresponding to the audio file to be processed;
determining a target sound effect according to the applied sound effect and the sound effect to be applied;
and processing the audio file to be processed based on the target sound effect.
Optionally, the audio features include frequency domain features, music theory features, and harmonic features, and the step of determining the applied sound effect corresponding to the audio file to be processed according to the audio features of the audio file to be processed includes:
determining the tone brightness of the audio file to be processed according to the frequency domain characteristics, determining the tone deviation degree in the audio file to be processed according to the music theory characteristics, and/or determining the type of an instrument in the audio file to be processed according to the harmonic characteristics;
and determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the type of the musical instrument.
Optionally, before determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the instrument type, the method includes:
determining whether the tone brightness is in a preset interval and/or determining whether the tone deviation degree is smaller than or equal to a preset threshold value;
and if the tone brightness is within the interval and/or the tone deviation degree is smaller than or equal to the threshold value, executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation degree and/or the instrument type.
Optionally, after the step of determining whether the timbre brightness is in a preset interval and/or determining whether the timbre deviation degree is less than or equal to a preset threshold, the method includes:
if the tone brightness is outside the interval, adjusting the tone brightness to be within the interval, and/or if the tone deviation is greater than the threshold, adjusting the tone deviation to be less than or equal to the threshold;
and executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the instrument type.
Optionally, before the step of determining the sound effect to be applied corresponding to the audio file to be processed, the method includes:
determining fundamental tone frequency and overtone frequency in the audio file to be processed based on a spectrum analysis algorithm;
the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises the following steps:
and determining the sound effect to be applied of the audio file to be processed according to the fundamental tone frequency and the overtone frequency.
Optionally, before the step of determining the to-be-applied sound effect corresponding to the to-be-processed audio file, the method includes:
determining tone brightness, musical instrument types and/or sound source positions in the audio file to be processed based on a full-connection neural network analysis algorithm;
the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises the following steps:
and determining the sound effect to be applied corresponding to the audio file to be processed according to the tone brightness, the type of the musical instrument and/or the sound source position.
Optionally, the step of determining the sound effect to be applied corresponding to the audio file to be processed includes:
determining the playing environment information of the audio file to be processed;
and determining the sound effect to be applied of the audio file to be processed according to the playing environment information.
Optionally, the step of determining a target sound effect according to the applied sound effect and the sound effect to be applied includes:
determining the sound effect types of the applied sound effect and the sound effect to be applied;
if the sound effect type of the applied sound effect is different from the sound effect type of the sound effect to be applied, the applied sound effect and the sound effect to be applied are jointly used as the target sound effect;
and if the sound effect type of the applied sound effect is the same as the sound effect type of the sound effect to be applied, taking the applied sound effect as the target sound effect.
In addition, to achieve the above object, the present invention further provides an audio playback device, including: the sound effect adjusting method comprises a memory, a processor and a sound effect adjusting program which is stored on the memory and can run on the processor, wherein the sound effect adjusting program realizes the steps of the sound effect adjusting method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a sound effect adjusting program, and when the sound effect adjusting program is executed by a processor, the sound effect adjusting program implements the steps of the sound effect adjusting method as described above.
The embodiment of the invention provides a sound effect adjusting method, audio playing equipment and a computer readable storage medium, wherein the method comprises the following steps: determining an applied sound effect corresponding to an audio file to be processed according to the audio characteristics of the audio file to be processed; determining a sound effect to be applied corresponding to the audio file to be processed; determining a target sound effect according to the applied sound effect and the sound effect to be applied; and processing the audio file to be processed based on the target sound effect. The negative listening feeling of the played audio file due to the superposition of sound effects is avoided, and better audio playing experience is brought to the user.
Drawings
Fig. 1 is a schematic diagram of a hardware architecture of an audio playback device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a sound effect adjusting method according to a first embodiment of the present invention;
FIG. 3 is a flow chart illustrating a sound effect adjusting method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a sound effect adjustment method according to a third embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The audio which is applied is obtained through intelligent analysis on the platform side, and the post-processing sound effect which needs to be applied is determined according to the applied sound effect. The negative listening feeling of the played audio file due to the superposition of sound effects is avoided, and better audio playing experience is brought to the user.
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As an implementation solution, the hardware architecture of the audio playing device may be as shown in fig. 1.
The embodiment of the invention relates to a hardware architecture of audio playing equipment, which comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a memory 102, which is a kind of computer-readable storage medium, may include therein a sound effect adjustment program; and the processor 101 may be configured to call up the program for sound effect adjustment stored in the memory 102 and perform the following operations:
determining an applied sound effect corresponding to an audio file to be processed according to the audio characteristics of the audio file to be processed;
determining a sound effect to be applied corresponding to the audio file to be processed;
determining a target sound effect according to the applied sound effect and the sound effect to be applied;
and processing the audio file to be processed based on the target sound effect.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
determining the tone brightness of the audio file to be processed according to the frequency domain characteristics, determining the tone deviation degree in the audio file to be processed according to the music theory characteristics, and/or determining the type of an instrument in the audio file to be processed according to the harmonic characteristics;
and determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the musical instrument type.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
determining whether the tone brightness is in a preset interval and/or determining whether the tone deviation degree is smaller than or equal to a preset threshold value;
and if the tone brightness is within the interval and/or the tone deviation degree is smaller than or equal to the threshold value, executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation degree and/or the instrument type.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
if the tone brightness is outside the interval, adjusting the tone brightness to be within the interval, and/or if the tone deviation is greater than the threshold, adjusting the tone deviation to be less than or equal to the threshold;
and executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the instrument type.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
determining fundamental tone frequency and overtone frequency in the audio file to be processed based on a spectrum analysis algorithm;
the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises the following steps:
and determining the sound effect to be applied of the audio file to be processed according to the fundamental tone frequency and the overtone frequency.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
determining tone brightness, musical instrument types and/or sound source positions in the audio file to be processed based on a full-connection neural network analysis algorithm;
the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises the following steps:
and determining the sound effect to be applied corresponding to the audio file to be processed according to the tone brightness, the type of the musical instrument and/or the sound source position.
In one embodiment, the processor 101 may be configured to invoke the sound effect adjustment program stored in the memory 102 and perform the following operations:
determining the playing environment information of the audio file to be processed;
and determining the sound effect to be applied of the audio file to be processed according to the playing environment information.
In one embodiment, the processor 101 may be configured to call the sound effect adjustment program stored in the memory 102, and perform the following operations:
determining the sound effect types of the applied sound effect and the sound effect to be applied;
if the sound effect type of the applied sound effect is different from the sound effect type of the sound effect to be applied, the applied sound effect and the sound effect to be applied are jointly used as the target sound effect;
and if the sound effect type of the applied sound effect is the same as the sound effect type of the sound effect to be applied, taking the applied sound effect as the target sound effect.
Based on the hardware architecture of the audio playing device based on the digital audio signal processing technology, the embodiment of the sound effect adjusting method is provided.
Referring to fig. 2, in a first embodiment, the sound effect adjusting method includes the steps of:
step S10, determining an applied sound effect corresponding to the audio file to be processed according to the audio characteristics of the audio file to be processed;
in this embodiment, before the audio file to be processed is played, the characteristics of the audio are analyzed and identified through the intelligent sound effect analysis module, so that the applied sound effect in the audio file to be processed is determined according to the audio characteristics.
Optionally, the audio features may include frequency domain features, and the frequency domain features may include a spectrum centroid, which is a frequency domain feature and may represent an energy concentration point in a signal spectrum, and a quantized value that can describe a tone color of the signal, that is, a tone color brightness, is determined by performing spectrum analysis on the feature of the spectrum centroid. The timbre brightness is mainly used for judging the sense of volume and the sense of brightness of medium-high frequency and high-frequency signals, and can directly influence the auditory sense of human ears to generate the perception difference of 'timbre brightness/darkness'. In general, the more prominent the high frequency, the brighter the timbre we will perceive, but this does not mean that the timbre is "brighter as better". Once the tone color is too bright, it means that the high frequency is too much, the three frequencies are unbalanced, and at this time, the human ear hearing sense actually has the bad feeling of being hard and sharp, even if some high frequency bands have nonlinear peak bulges, the human ear hearing sense still feels harsh. Therefore, after determining the timbre brightness of the audio to be processed, it is necessary to determine whether the timbre brightness is within a preset appropriate preset range. In some embodiments, a brightness range is preset, when the brightness of the tone color is within the brightness range, it is determined that the sound in the audio file to be processed does not make people feel harsh, and the step of determining the applied sound effect corresponding to the audio file to be processed is performed; otherwise, adjusting the tone brightness to be within the brightness range by signal processing and the like, and then executing the subsequent steps.
Alternatively, the audio features may include a fundamental frequency and an overtone frequency. The fundamental frequency and the overtone frequency are musical features, and the degree of deviation (i.e., the degree of distortion) between the fundamental frequency and the overtone frequency reflects the degree of deviation between the overtone frequency and the integer multiple of the fundamental frequency, and the degree of distortion is defined as the square root of the ratio of the fundamental frequency to the overtone frequency. In some sound effects, the distortion degree in the audio frequency can be increased to achieve the effect of improving the audibility, for example, simulating the power amplification sound effect of a vacuum tube. However, when the audio file to be recorded is to be reproduced with original taste as much as possible, the audio distortion added to the sound effect is no longer necessary. Therefore, the sound effect to which it has been applied is judged by determining the degree of deviation of the fundamental tone frequency and the overtone frequency. In some embodiments, when the deviation degree is greater than the preset first threshold, it is determined that the distortion in the audio is too large at this time, which may cause a negative hearing sensation, and the deviation degree is adjusted to be less than or equal to the preset first threshold. In other embodiments, when the deviation degree is greater than a preset second threshold, it is determined that a distortion sound effect exists in the audio file to be processed, where the second threshold is smaller than the first threshold.
Optionally, the audio features may include harmonic features, and the musical instrument category included in the audio file to be processed may be determined through the harmonic features. The harmonic frequencies of different types of instruments are different, for example, the harmonic frequency range of violin is 4k-15k, and the harmonic frequency range of cello is 1k-6.5 k. In some sound effects, the sound effects of some musical instruments can be simulated by changing the harmonic frequency of the audio, so that the range of the harmonic frequency in the audio file is determined to be matched with the preset harmonic frequency range, and the musical instrument type in the audio characteristic is determined according to the frequency range obtained by matching, so that the musical instrument sound effects in the audio file to be processed are judged according to the musical instrument type.
Step S20, determining a sound effect to be applied corresponding to the audio file to be processed;
furthermore, the intelligent sound effect analysis module can also determine the sound effect to be applied corresponding to the audio file to be processed. The to-be-applied sound effect is characterized in that the sound effect which can be added in the to-be-processed audio file is obtained through analysis of the intelligent sound effect analysis module, for example, bass sound effect and reverberation sound effect can be applied in the to-be-processed audio file, and then the bass sound effect and the reverberation sound effect are both used as the to-be-applied sound effect of the to-be-processed audio file. It should be noted that the determination method of the to-be-applied sound effect is also to analyze the to-be-applied sound effect suitable for the processed audio file by extracting the audio features in the processed audio file, and therefore, the determined type of the to-be-applied sound effect may be the same as or different from the type of the applied sound effect.
Optionally, in some embodiments, the intelligent sound effect analysis module may obtain the environmental information based on the setting of the user and a sensor set on the audio playing device, and determine the type and parameters of the sound effect to be applied, for example, the sensor collects the environmental information, and identifies that the user is in an environment in a room, and then obtains that the sound effect to be applied is a reverberation sound effect.
Step S30, determining a target sound effect according to the applied sound effect and the sound effect to be applied;
and step S40, processing the audio file to be processed based on the target sound effect.
After determining the applied sound effect and the to-be-applied sound effect in the to-be-processed audio file, determining a target sound effect of the to-be-processed audio file actually applied in the playing process according to the two sound effects, wherein the target sound effect comprises the applied sound effect added in the to-be-processed audio file in advance and the to-be-applied sound effect determined through the intelligent sound effect analysis module.
Optionally, in order to avoid reducing the hearing sense of the user due to the superposition of the same type of sound effects, the intelligent sound effect analysis module needs to determine the sound effect types of the applied sound effect and the sound effect to be applied, and if the sound effect type of the applied sound effect is different from the sound effect type of the sound effect to be applied, the applied sound effect and the sound effect to be applied are jointly used as the target sound effect; and if the sound effect type of the applied sound effect is the same as the sound effect type of the sound effect to be applied, taking the applied sound effect as the target sound effect. It should be noted that, because the types of the to-be-applied sound effect and the applied sound effect in the audio file may be one or multiple, the obtained target sound effect may be one or multiple, the sound effects included in the target sound effect may be the to-be-applied sound effect or the applied sound effect, or the target sound effect may include a plurality of the to-be-applied sound effects and the applied sound effect at the same time, and the factors depending on the different situations are the differences of the audio characteristics in the different to-be-processed audio files.
In the technical scheme provided by this embodiment, an applied sound effect corresponding to a to-be-processed audio file is determined by analyzing audio features of the to-be-processed audio file, then the to-be-applied sound effect corresponding to the to-be-processed audio file is determined, a target sound effect corresponding to the to-be-processed audio file is determined according to the applied sound effect and the to-be-applied sound effect, and finally the to-be-processed audio file is processed based on the target sound effect. The negative listening feeling of the played audio file due to the superposition of sound effects is avoided, and better audio playing experience is brought to the user.
Referring to fig. 3, in the second embodiment, based on any one of the embodiments, before the step S20, the method includes:
step S50, determining fundamental tone frequency and overtone frequency in the audio file to be processed based on a spectrum analysis algorithm;
the step S20 includes:
step S21, determining the sound effect to be applied of the audio file to be processed according to the fundamental tone frequency and the overtone frequency.
Optionally, the present embodiment provides a method for determining the sound effect to be applied according to the pitch frequency and harmonic frequency of the audio file to be processed. Based on a spectral analysis algorithm, the fundamental (i.e. fundamental) and overtone (i.e. harmonic) frequencies of the audio file to be processed can be determined. The fundamental frequency is a main frequency in an audio signal, which determines the pitch of a sound played by the audio, and the overtone frequency is a high-frequency in the audio signal, which has the effect of beautifying the sound, giving a sense of presence and clarity to the sound. The balance quantity at the low-end frequency of the fundamental tone frequency is properly improved, so that the sound is warmer and richer, and the balance quantity of the fundamental frequency is properly attenuated, so that the sound is wider; and the balance of the overtone frequency is improved, so that the scene feeling and the definition of the sound can be enhanced, and the balance of the overtone frequency is reduced, so that the sound is prevented from being too harsh. Based on the principle, the listening feeling of a user is improved by adjusting the overtone frequency and the fundamental tone frequency of some sound effects, therefore, the intelligent sound effect analysis module matches the sound effect to be applied corresponding to the condition by determining the overtone frequency and the fundamental tone frequency in the audio file to be processed when the overtone frequency and the fundamental tone frequency meet the preset condition.
In the technical scheme provided by this embodiment, the fundamental tone frequency and the overtone frequency in the audio file to be processed are determined through a spectrum analysis algorithm, when the preset conditions are met according to the fundamental tone frequency and the overtone frequency, the audio to be applied corresponding to the preset conditions is determined, whether the audio to be applied exists in the audio file to be processed is automatically identified and adapted, compared with the traditional method that a user selects the audio through own subjective listening sensation, the audio may have a negative effect on the listening sensation, in this embodiment, the audio proper audio of the audio file is automatically matched through audio features, negative listening sensation generated due to the audio superposition phenomenon that the user may appear when selecting the audio is avoided for the played audio file, and better audio playing experience is brought for the user.
Referring to fig. 4, in a third embodiment, based on any one of the above embodiments, before the step S20, the method includes:
step S60, determining tone brightness, musical instrument type and/or sound source position in the audio file to be processed based on a full-connection neural network analysis algorithm;
the step S20 includes:
step S22, determining the sound effect to be applied corresponding to the audio file to be processed according to the tone brightness, the type of the musical instrument and/or the sound source position.
Optionally, the present embodiment provides another method of determining sound effects to be applied. In the embodiment, the tone brightness, the type of the musical instrument and/or the sound source position in the audio file to be processed are determined through a full-connection neural network analysis algorithm. A large number of audio file training sets are input into an algorithm database in advance, and data in the training sets are classified through a fully-connected neural network, so that audio characteristics of several audio files including tone brightness, musical instrument types and sound source positions are obtained. And matching the reference tone color brightness, the reference instrument type and/or the reference sound source position in the preset data set according to the tone color brightness, the instrument type and/or the sound source position, and selecting a sound effect corresponding to the matched reference tone color brightness, the reference instrument type and/or the reference sound source position as a sound effect to be applied.
In the technical scheme provided by this embodiment, the tone brightness, the type of an instrument and/or the position of a sound source in an audio file to be processed are determined through a full-link neural network analysis algorithm, and when the tone brightness, the type of an instrument and/or the position of a sound source meet a preset condition, a sound effect to be applied corresponding to the preset condition is determined. Compare in when traditional user removes the selection audio through the subjective audibility of oneself, the audio probably brings the negative effect to the audibility, through the audio frequency characteristic automatic matching audio file suitable audio in this embodiment, avoided the audio file of broadcast because the user produces negative audibility because the audio superposition phenomenon that probably appears when selecting the audio, bring better audio playback experience for the user.
In addition, it can be understood by those skilled in the art that all or part of the flow in the method for implementing the above embodiments may be implemented by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the audio playback device to implement the flow steps of the embodiments of the method described above.
Therefore, the present invention also provides a computer readable storage medium, which stores a sound effect adjusting program, and when the sound effect adjusting program is executed by a processor, the sound effect adjusting program realizes the steps of the sound effect adjusting method according to the above embodiment.
The computer-readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, and may store various computer-readable storage media of program codes.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A sound effect adjustment method, the method comprising:
determining an applied sound effect corresponding to an audio file to be processed according to the audio characteristics of the audio file to be processed;
determining a sound effect to be applied corresponding to the audio file to be processed;
determining a target sound effect according to the applied sound effect and the sound effect to be applied;
and processing the audio file to be processed based on the target sound effect.
2. The sound-effect adjustment method of claim 1, wherein the audio features comprise frequency domain features, music theory features and harmonic features, and the step of determining the applied sound effect corresponding to the audio file to be processed according to the audio features of the audio file to be processed comprises:
determining the tone brightness of the audio file to be processed according to the frequency domain characteristics, determining the tone deviation degree in the audio file to be processed according to the music theory characteristics, and/or determining the type of a musical instrument in the audio file to be processed according to the harmonic characteristics;
and determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the type of the musical instrument.
3. The sound-effect adjustment method of claim 2, wherein the determining the applied sound effect of the audio file to be processed before according to the timbre brightness, the timbre deviation and/or the instrument type comprises:
determining whether the tone brightness is in a preset interval and/or determining whether the tone deviation degree is smaller than or equal to a preset threshold value;
and if the tone brightness is within the interval and/or the tone deviation degree is smaller than or equal to the threshold value, executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation degree and/or the instrument type.
4. The sound effect adjustment method of claim 2 wherein the step of determining whether the timbre brightness is within a preset interval and/or determining whether the timbre deviation is less than or equal to a preset threshold is followed by the step of:
if the tone brightness is outside the interval, adjusting the tone brightness to be within the interval, and/or if the tone deviation is greater than the threshold, adjusting the tone deviation to be less than or equal to the threshold;
and executing the step of determining the applied sound effect of the audio file to be processed according to the tone brightness, the tone deviation and/or the instrument type.
5. The sound effect adjustment method of claim 1, wherein the step of determining the sound effect to be applied corresponding to the audio file to be processed is preceded by the steps of:
determining fundamental tone frequency and overtone frequency in the audio file to be processed based on a spectrum analysis algorithm;
the step of determining the to-be-applied sound effect corresponding to the to-be-processed audio file comprises the following steps of:
and determining the sound effect to be applied of the audio file to be processed according to the fundamental tone frequency and the overtone frequency.
6. The sound effect adjustment method of claim 1, wherein the step of determining the sound effect to be applied corresponding to the audio file to be processed is preceded by the steps of:
determining timbre brightness, musical instrument types and/or sound source positions in the audio file to be processed based on a full-connection neural network analysis algorithm;
the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises the following steps:
and determining the sound effect to be applied corresponding to the audio file to be processed according to the tone brightness, the type of the musical instrument and/or the sound source position.
7. The sound effect adjustment method of claim 1, wherein the step of determining the sound effect to be applied corresponding to the audio file to be processed comprises:
determining the playing environment information of the audio file to be processed;
and determining the sound effect to be applied of the audio file to be processed according to the playing environment information.
8. The sound-effect adjustment method of any one of claims 1 to 7 wherein the step of determining a target sound effect based on the applied sound effect and the to-be-applied sound effect comprises:
determining the sound effect types of the applied sound effect and the sound effect to be applied;
if the sound effect type of the applied sound effect is different from the sound effect type of the sound effect to be applied, the applied sound effect and the sound effect to be applied are jointly used as the target sound effect;
and if the sound effect type of the applied sound effect is the same as the sound effect type of the sound effect to be applied, taking the applied sound effect as the target sound effect.
9. An audio playback apparatus, characterized in that the audio playback apparatus comprises: memory, processor and sound-effect adjustment program stored on the memory and executable on the processor, the sound-effect adjustment program when executed by the processor implementing the steps of the sound-effect adjustment method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an audio-effect adjustment program, which when executed by a processor implements the steps of the audio-effect adjustment method according to any one of claims 1 to 8.
CN202210908964.0A 2022-07-29 2022-07-29 Sound effect adjusting method, audio playing device and computer readable storage medium Pending CN115119110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210908964.0A CN115119110A (en) 2022-07-29 2022-07-29 Sound effect adjusting method, audio playing device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210908964.0A CN115119110A (en) 2022-07-29 2022-07-29 Sound effect adjusting method, audio playing device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115119110A true CN115119110A (en) 2022-09-27

Family

ID=83334392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210908964.0A Pending CN115119110A (en) 2022-07-29 2022-07-29 Sound effect adjusting method, audio playing device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115119110A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116312431A (en) * 2023-03-22 2023-06-23 广州资云科技有限公司 Electric tone key control method, apparatus, computer device, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116312431A (en) * 2023-03-22 2023-06-23 广州资云科技有限公司 Electric tone key control method, apparatus, computer device, and storage medium
CN116312431B (en) * 2023-03-22 2023-11-24 广州资云科技有限公司 Electric tone key control method, apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
US10861472B2 (en) Algorithm-based audio optimization method, intelligent terminal and storage device
CN109982231B (en) Information processing method, device and storage medium
DE102012103553A1 (en) AUDIO SYSTEM AND METHOD FOR USING ADAPTIVE INTELLIGENCE TO DISTINCT THE INFORMATION CONTENT OF AUDIOSIGNALS IN CONSUMER AUDIO AND TO CONTROL A SIGNAL PROCESSING FUNCTION
CN113556604B (en) Sound effect adjusting method, device, computer equipment and storage medium
CN112216294B (en) Audio processing method, device, electronic equipment and storage medium
CN112565981B (en) Howling suppression method, howling suppression device, hearing aid, and storage medium
Buyens et al. A stereo music preprocessing scheme for cochlear implant users
CN115119110A (en) Sound effect adjusting method, audio playing device and computer readable storage medium
CN114067827A (en) Audio processing method and device and storage medium
US20020053275A1 (en) Musical signal processing apparatus
JP3888239B2 (en) Digital audio processing method and apparatus, and computer program
CN116437268B (en) Adaptive frequency division surround sound upmixing method, device, equipment and storage medium
JP2001292491A (en) Equalizer
CN110853606A (en) Sound effect configuration method and device and computer readable storage medium
JP2006178334A (en) Language learning system
JP2006324786A (en) Acoustic signal processing apparatus and method
CN113347551B (en) Method and device for processing single-sound-channel audio signal and readable storage medium
Mu et al. A timbre matching approach to enhance audio quality of psychoacoustic bass enhancement system
WO2021248964A1 (en) Home appliance and control method therefor, and computer-readable storage medium
CN110740404B (en) Audio correlation processing method and audio processing device
CN116033314B (en) Audio automatic gain compensation method, system, computer and storage medium
Lim et al. Synthesis of polynomial-based nonlinear device and harmonic shifting technique for virtual bass system
Gadre Piano Notes Recognition using Digital Signal Processing
JP7179250B1 (en) Sound quality generating means and acoustic data generating means
CN217178628U (en) Range hood and range hood system

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