CN113611317B - Sound effect processing method and device, vehicle-mounted entertainment system and automobile - Google Patents

Sound effect processing method and device, vehicle-mounted entertainment system and automobile Download PDF

Info

Publication number
CN113611317B
CN113611317B CN202110885524.3A CN202110885524A CN113611317B CN 113611317 B CN113611317 B CN 113611317B CN 202110885524 A CN202110885524 A CN 202110885524A CN 113611317 B CN113611317 B CN 113611317B
Authority
CN
China
Prior art keywords
sound effect
sound
volume
effect parameters
volume levels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110885524.3A
Other languages
Chinese (zh)
Other versions
CN113611317A (en
Inventor
谢芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology 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 Guangzhou Xiaopeng Motors Technology Co Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202110885524.3A priority Critical patent/CN113611317B/en
Publication of CN113611317A publication Critical patent/CN113611317A/en
Application granted granted Critical
Publication of CN113611317B publication Critical patent/CN113611317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • G10L21/013Adapting to target pitch
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application relates to an audio processing method and device, a vehicle-mounted entertainment system and an automobile. The method comprises the following steps: acquiring an input volume level; the input volume level is one of a plurality of preset volume levels, and the preset volume levels respectively have corresponding sound effect parameters; and adjusting the audio sound effect according to the sound effect parameters corresponding to the input volume level. According to the scheme, dynamic audio effect adjustment can be performed by adopting corresponding audio effect parameters to different volumes, and the fixed audio effect parameter adjustment is not adopted, so that good hearing feeling can be achieved when the audio is played at different volumes, and meanwhile, the characteristics of the corresponding audio effect are maintained.

Description

Sound effect processing method and device, vehicle-mounted entertainment system and automobile
Technical Field
The application relates to the technical field of sound effect processing, in particular to a sound effect processing method and device, a vehicle-mounted entertainment system and an automobile.
Background
Currently, in-vehicle entertainment systems are an important component of automobiles, and the systems can be used for playing music, videos, voice broadcasts and the like, so that the application functions of the automobiles are enriched. Aiming at the music playing function, the vehicle-mounted entertainment system is often provided with more loudspeakers, and audio data are adjusted through DSP (Digital Signal Processing) through digital signal processing, so that the sound effects of various types can be simulated when music is played. The sound effects generally comprise types of original sound, human sound, jazz, rock, classical and the like, each sound effect respectively has different adjusting parameters, and the played music can have corresponding sound effect characteristics by adjusting the audio through the adjusting parameters of the corresponding sound effects.
In the related art, taking a rock type sound effect as an example, the rock sound effect is generally adjusted by raising the gains of the low frequency band and the high frequency band in the audio data and suppressing the gain of the middle frequency band, so that the music played by the loudspeaker has a rock style. However, when a user plays music using a rock and roll sound effect, if the user increases the volume of the music to a certain volume level, the rock and roll sound effect may instead bring a sense of harshness and discomfort to the user.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a sound effect processing method and device, a vehicle-mounted entertainment system and an automobile, and the sound effect can be dynamically adjusted according to the volume, so that the hearing experience of a user is improved.
The first aspect of the present application provides an audio processing method, including:
acquiring an input volume level; the input volume level is one of a plurality of preset volume levels, and the preset volume levels respectively have corresponding sound effect parameters;
and adjusting audio sound effects according to the sound effect parameters corresponding to the input volume level.
In an embodiment, the preset volume levels respectively have corresponding sound effect parameters, including:
presetting a plurality of volume levels;
presetting corresponding reference sound effect parameters according to the volume level of the N level; wherein N is a natural number;
and respectively presetting sound effect parameters corresponding to other sound volume levels in the plurality of sound volume levels according to the reference sound effect parameters.
In an embodiment, the presetting the corresponding sound effect parameter includes:
presetting the frequency range of audio;
selecting a plurality of center frequencies in the frequency range;
and setting corresponding gain and Q value according to the center frequency.
In an embodiment, the gain is a positive value, a negative value or 0dB, and the gain corresponding to each center frequency is set independently.
In an embodiment, the presetting sound effect parameters corresponding to other sound volume levels in the plurality of sound volume levels according to the reference sound effect parameters includes:
selecting at least one volume level to form a group of volume sets;
the sound effect parameters corresponding to the volume levels in the same volume set are the same.
In an embodiment, the presetting sound effect parameters corresponding to other sound volume levels in the plurality of sound volume levels according to the reference sound effect parameters includes:
and respectively setting gains of the sound effect parameters of the other sound volume levels according to the gains in the reference sound effect parameters of the sound volume levels of the N-th level.
In an embodiment, the method further comprises:
respectively obtaining the power amplifier gain and/or the default gain of the DSP of the vehicle-mounted entertainment system;
and determining the total gain of the audio sound effect according to the sound effect parameter, the power amplifier gain and/or the default gain.
A second aspect of the present application provides an audio processing apparatus, including:
the volume level acquisition module is used for acquiring the input volume level; the input volume level is one of a plurality of preset volume levels, and the preset volume levels respectively have corresponding sound effect parameters;
and the sound effect adjusting module is used for adjusting the audio sound effect according to the sound effect parameters corresponding to the input volume level.
A third aspect of the present application provides an in-vehicle entertainment system, which includes the sound processing device according to any one of the foregoing embodiments.
A fourth aspect of the present application provides an automobile comprising the in-vehicle entertainment system of any of the embodiments described above.
The technical scheme that this application provided can include following beneficial effect:
according to the scheme, corresponding sound effect parameters are set in advance according to different volume levels, so that when different volume plays are adopted for audio, the corresponding sound effect parameters are all available for adjustment. By adopting the design, the dynamic audio sound effect adjustment is carried out by adopting the corresponding sound effect parameters aiming at different sound volumes instead of adopting the fixed sound effect parameter adjustment, so that good hearing feeling can be achieved when the audio is played at different sound volumes, and the characteristics of the corresponding sound effect are maintained.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 is a flowchart of an audio processing method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of an audio processing method according to another embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of an audio processing device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an audio processing device according to another embodiment of the present application.
Detailed Description
Preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application 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.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the related art, when different sound volumes are adopted for playing, especially when high sound volumes are adopted for playing, the audio in the high frequency band can bring a harsh bad hearing feeling to the user. Aiming at the problems, the embodiment of the application provides a sound effect processing method which can dynamically adjust sound effects according to volume and improve hearing experience of users.
In order to facilitate understanding of the embodiments of the present application, the following describes in detail the technical solutions of the embodiments of the present application with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating an audio processing method according to an embodiment of the disclosure.
As shown in fig. 1, the method includes:
step S110, acquiring an input volume level; the input volume level is one of a plurality of preset volume levels, and the preset volume levels respectively have corresponding sound effect parameters.
It will be appreciated that the vehicle entertainment system is pre-configured with a plurality of volume levels to correspond to different volume levels, and the user may adjust the volume levels by directly or indirectly selecting the corresponding volume levels. Wherein the plurality of volume levels includes two or more volume levels. Taking a vehicle-mounted entertainment system as an example, after a user inputs a certain volume level, the vehicle-mounted entertainment system acquires the volume level input by the user.
Further, the preset volume levels respectively have corresponding preset sound effect parameters. In an embodiment, the sound effect parameters corresponding to different volume levels may be the same or different. In one embodiment, the setting of the sound parameters approaches the characteristics of the sound itself. For example, when the type of sound effect is a rock sound effect, the setting of the sound effect parameter approaches the characteristic of the rock sound effect so that the expression characteristic of the audio adjusted according to the sound effect parameter approaches the rock style.
Step S120, the audio sound effect is adjusted according to the sound effect parameters corresponding to the input volume level.
According to the different input volume levels, the corresponding sound effect parameters are adopted to adjust the audio sound effect, so that the sound effect during audio playing is correspondingly adjusted according to the change of the volume level, and good hearing feeling is brought to a user. The method of the embodiment can reasonably avoid the rock sound effect in the related technology from normally representing in the middle and low frequency bands and harshly representing in the high frequency band and the high volume. In this embodiment, when the input volume level is high volume, the adopted sound effect parameters can correspondingly suppress the gain of the high frequency band, so as to avoid the occurrence of harsh sound effects and achieve good hearing feeling.
According to the scheme provided by the embodiment of the application, corresponding sound effect parameters are preset according to different volume levels, so that when different volume levels are adopted for playing, the audio has the corresponding sound effect parameters for adjustment. By adopting the design, the dynamic audio sound effect adjustment is carried out by adopting the corresponding sound effect parameters aiming at different sound volumes instead of adopting the fixed sound effect parameter adjustment, so that good hearing feeling can be achieved when the audio is played at different sound volumes, and the characteristics of the corresponding sound effect are maintained.
Fig. 2 further illustrates the sound processing method of the present application.
Referring to fig. 2, the method includes:
step S210, presetting a plurality of volume levels; presetting corresponding reference sound effect parameters according to the Nth level volume level; wherein N is a natural number.
In an embodiment, a plurality of volume levels are preset, and each volume level corresponds to a different volume level. And selecting an Nth volume level in the volume levels to set corresponding reference sound effect parameters. For example, 0 to 30 sound volume levels are preset, 0 level represents silence, 30 level represents maximum sound volume, and each sound volume level is ranked according to 0,1, 2. Further, one of the volume levels is selected, for example, the 15 th volume level corresponds to setting the reference sound effect parameter, that is, N is 15. Of course, based on different types of audio devices, the corresponding reference sound effect parameters may be set according to the actual volume level, which is not limited herein. In an embodiment, the corresponding reference sound effect parameters may be set according to a volume level commonly used by the user. It can be understood that the volume level adopted by the user to normally listen to music is not too low or too high, so that the volume level of the intermediate value is selected to set the corresponding reference sound effect parameter, and the hearing habit of the user can be more met.
Further, in an embodiment, a plurality of volume levels may be set according to the ratio of the power amplifier gains. The power amplifier gain refers to an expression mode of 20 times of logarithm of the amplification factor. Let L denote the gain and a denote the amplification, then l=20lga, the unit of gain being called decibel, i.e. the sign dB. It will be appreciated that different audio devices have corresponding power amplifier gains. Taking an on-board entertainment system on an automobile as an example, the gain of the power amplifier generally has corresponding decibels. Assuming that the power amplifier gain is XdB, a corresponding plurality of volume levels may be set according to the ratio of XdB. Assuming that the volume level includes 30 levels in total, the volume level of the 30 th level may be corresponding to 80% of the power amplification gain, that is, 0.8x db corresponds to the volume level of the 30 th level. In other embodiments, the volume level may also be set according to other rules, without limitation.
Further, in order to reduce the setting difficulty of the sound effect parameters, the corresponding reference sound effect parameters may be preset. Wherein the reference sound effect parameter corresponds to a type of sound effect. For example, the types of sound effects may include acoustic, vocal, jazz, rock, classical, etc., each type of sound effect having unique style characteristics. In the related art, different types of sound effects are generally obtained by adjusting parameter settings correspondingly for audio frequencies in different frequency bands, that is, each type of sound effect has corresponding adjusting parameters. In this embodiment, the reference sound effect parameter is matched with the sound effect of the corresponding type, so as to ensure that the sound effect of the audio after being adjusted according to the reference sound effect parameter accords with the characteristic of the preset sound effect type. After qualitative passing the reference sound effect parameters, the subsequent steps further set the sound effect parameters on the basis of the reference sound effect parameters.
Further, in order to reasonably set the reference sound effect parameter, in an embodiment, the frequency range of the audio is preset; selecting a plurality of center frequencies in a frequency range; according to the center frequency, the corresponding gain and Q value are set respectively. It is understood that the sound frequency range that normal human ears can feel is between 20Hz and 20000Hz. In an embodiment, the adjustable frequency range of the audio may be preset to 0-20000 Hz. Further, in an embodiment, a plurality of frequency bands are divided in a frequency range, and a corresponding number of center frequencies f are selected according to the number of divided frequency bands i Where i is a natural number. It is understood that each center frequency is a frequency of a center point of a corresponding frequency band. In one embodiment, the number of frequency bands is 9, and 9 center frequencies are selected correspondingly. In one embodiment, the 9 center frequencies may be f 1 =60Hz、f 2 =260Hz、f 3 =440Hz、f 4 =1000Hz、f 5 =2000Hz、f 6 =4000Hz、f 7 =6000Hz、f 8 =10000Hz、f 9 =15000 Hz. Wherein, the low frequency comprises 60Hz, 260Hz and 440Hz, the intermediate frequency comprises 1000Hz, 2000Hz and 4000Hz, and the high frequency comprises 6000Hz, 10000Hz and 15000Hz. In other embodiments, the number of frequency bands may be 7 segments; accordingly, the number of the center frequencies is 7, and the values of the center frequencies are set correspondingly, without limitation. Further, after the frequency value of the center frequency of each frequency band is determined, setting the gain g corresponding to each center frequency i And Q i . It can be appreciated that the reference sound parameters include the center frequency, gain and bandwidth corresponding to each frequency band, i.e. the reference sound parameters can be determined by { f i ,g i ,Q i And } represents. According to the frequency range division, taking 9-segment frequency bands as an example, the reference sound effect parameters comprise {f 1 ,g 1 ,Q 1 }、{f 2 ,g 2 ,Q 2 }、{f 3 ,g 3 ,Q 3 }、{f 4 ,g 4 ,Q 4 }、{f 5 ,g 5 ,Q 5 }、{f 6 ,g 6 ,Q 6 }、{f 7 ,g 7 ,Q 7 }、{f 8 ,g 8 ,Q 8 { f 9 ,g 9 ,Q 9 }。
Further, according to the sound characteristics of the low frequency, the medium frequency and the high frequency corresponding to different volume levels, the gains gi corresponding to the frequency bands are set. In one embodiment, the gain is positive, negative or 0dB, and the gain corresponding to each center frequency is set independently. Where a gain of negative value represents a signal suppressing the attenuated audio and a gain of positive value represents a signal boosting the enhanced audio. Corresponding gains are set correspondingly for the respective characteristics of low frequency, intermediate frequency and high frequency, thereby ensuring that the audio reduces distortion. For example, for high frequency bands, the corresponding gain may be reduced appropriately, thereby avoiding a harsh audible sensation.
Further, the Q value is the center frequency f i Ratio to bandwidth B of the frequency band, i.e. Q i =f i and/B. The larger the Q value, the narrower the bandwidth of the effect, i.e. the Q value determines the range of the frequency band to be boosted or attenuated by the gain, without changing the center frequency. The typical Q value ranges from 0.1 (very wide) to 16 (very narrow). In order to equalize the effect of the gain on the bandwidth corresponding to each frequency band, in an embodiment, the Q value corresponding to each center frequency may be set identically.
In order to facilitate understanding, taking rock type sound effects as an example, in an embodiment, presetting 0-30 level volume levels, and selecting 15 level volume levels to set reference sound effect parameters; the method comprises the steps of dividing an adjustable frequency range of 0-20000 Hz of audio equipment into 9 frequency bands in advance, and obtaining 9 corresponding center frequencies of 60Hz, 260Hz, 440Hz, 1000Hz, 2000Hz, 4000Hz, 6000Hz, 10000Hz and 15000Hz respectively; according to { f i ,g i ,Q i The reference sound parameters may be {6 } representing the reference sound parameters0,-8,1.0},{260,0,1.0},{440,0,1.0},{1000,-2,1.0},{2000,-3,1.0},{4000,-4,1.0},{6000,-3,1.0},{10000,-4,1.0},{15000,-3,1.0}。
Step S220, according to the reference sound effect parameters, sound effect parameters corresponding to other sound volume levels in the plurality of sound volume levels are preset respectively.
Further, since the volume levels include a plurality of levels, in order to reduce the difficulty of setting the sound effect parameters and keep the sound effects consistent for all the volume levels, the sound effect parameters corresponding to other volume levels are set under the reference of the reference sound effect parameters. For example, in the above embodiment, the corresponding reference sound effect parameter is set at the 15 th sound level, and then the sound effect parameters of 30 sound effect levels other than the 15 th sound effect level are set in this step based on the reference sound effect parameter.
Further, in order to reduce the complexity of the sound effect parameter setting, in an embodiment, at least one volume level is selected to form a set of volume sets; the sound effect parameters corresponding to the volume levels in the same volume set are the same. In an embodiment, a plurality of volume levels adjacent in sequence can be combined into a group of volume sets, and sound effect parameters of the volume levels in the volume sets are set equally, so that the parameter setting quantity is reduced. For ease of understanding, the volume level of an in-vehicle entertainment system, for example, includes a level of 0 to 30. In an embodiment, 0 to 5 levels are used as the first set of volume sets VG1 (volume groups), 6 to 10 levels are used as the second set of volume sets VG2, 11 to 15 levels are used as the third set of volume sets VG3, 16 to 20 levels are used as the fourth set of volume sets VG4, 21 to 25 levels are used as the fifth set of volume sets VG5, 26 to 28 levels are used as the sixth set of volume sets VG6, 29 levels are used as the seventh set of volume sets VG7, and 30 levels are used as the eighth set of volume sets VG8. That is, by assigning the volume levels of 0 to 30 levels to form 8 sets of volume sets, the number of volume levels included in each set of volume sets may be the same or different, and the number of volume levels of each set is at least one. The volume difference based on the volume levels in the same group is smaller, the volume levels in the same group are all subjected to the same sound effect parameters, the sound effect adjusting effect can not be obviously developed, the workload of parameter setting is simplified, and the adjusting efficiency is improved. Further, it will be appreciated that the volume levels of the volume sets of each group are not equally distributed, the greater the volume level, the fewer the number of volume levels each group contains. Such a design is because, in the case of a large sound volume, the larger the influence of the sound volume on the sound effect, the better the setting of the appropriate sound effect parameters is required. In general, when the volume is relatively small, the change in sound effect is relatively insignificant compared to the change in the case of a large volume. Thus, it is desirable to group larger volume levels finer, while smaller volume levels are relatively not excessively subdivided. For example, the first group volume set VG1 contains 0 to 5 stages, and the eighth group volume set VG8 contains only the 30 th stage.
Further, when setting the sound effect parameters of the other sound volume levels according to the reference sound effect parameter, in an embodiment, the gains of the sound effect parameters of the other sound volume levels are set according to the gains in the reference sound effect parameter of the nth sound volume level, respectively. It will be appreciated that each volume level may have the same center frequency and Q value, depending on the volume level. To simplify the parameter settings, in one embodiment, the sound effect parameters of the volume levels located in the same volume set have the same gain.
For easy understanding, taking ROCK sound effects as an example, according to the 8 sets of sound volume sets VG1 to VG8, the corresponding sound effect parameters ROCK1, ROCK2, ROCK3, ROCK4, ROCK5, ROCK6, ROCK7, ROCK8 are respectively provided, i.e. the 8 sets of sound volume sets respectively have the corresponding sound effect parameters, for example, VG1 corresponds to ROCK1, VG2 corresponds to ROCK2, and so on. When the reference sound effect parameter is set at the 15 th level of sound volume level, since the 15 th level of sound volume level is located in the sound volume set VG3, the reference sound effect parameter corresponding to VG3 is ROCK3. According to the design, sound effect parameters of ROCK1, ROCK2, ROCK4, ROCK5, ROCK6, ROCK7, ROCK8 and ROCK9 are respectively set according to the reference sound effect parameter ROCK3, so that sound effects of the audio after being adjusted by adopting the corresponding sound effect parameters at any volume level are ensured to be ROCK sound effects, and meanwhile, sound effects of the audio played at any volume level are ensured not to be distorted and harshly.
Further, for example, VG3 sets the corresponding reference sound effect parameter ROCK3 may employ { f i ,g i ,Q i The sound effect parameters corresponding to other volume levels are { f } i ,g i ±a,Q i And, wherein a is any number. Wherein each frequency band in the sound effect parameters corresponding to the single volume level adopts { f }, respectively i ,g i ±a,Q i The value of a for each band may be the same or different. For example, the sound effect parameters corresponding to other volume levels may be { f 1 ,g 1 ,Q 1 }、{f 2 ,g 2 ,Q 2 }、{f 3 ,g 3 ,Q 3 }、{f 4 ,g 4 ,Q 4 }、{f 5 ,g 5 ,Q 5 }、{f 6 ,g 6 -w,Q 6 }、{f 7 ,g 7 -x,Q 7 }、{f 8 ,g 8 -y,Q 8 { f 9 ,g 9 -z,Q 9 W, x, y, z are gain dB values for attenuation in the corresponding frequency bands, which may be the same or different settings. For example, the ROCK8 corresponding to VG8 has the sound effect parameters of {60, -8,1.0}, {260,0,1.0}, {440,0,1.0}, {1000, -2,1.0}, {2000, -3,1.0}, {4000, -4,1.0}, {6000, -3,1.0}, {10000, -4,1.0}, {15000, -3,1.0}.
Step S230, according to the input volume level and the sound effect type, the audio sound effect is adjusted according to the corresponding sound effect parameters.
After the sound effect parameters corresponding to each volume level are preset, in actual use, the corresponding sound effect parameters can be adapted according to the volume level and the sound effect type input by the user. That is, taking the vehicle-mounted entertainment system as an example, when playing the audio of the same sound effect aiming at any volume level selected by the user, the output characteristics of the sound effect can be reasonably adjusted by matching different sound effect parameters with the corresponding volume level while keeping the corresponding sound effect style. When the volume level is high, the corresponding sound effect parameters can reduce the gain of the high frequency band, so that the harshness of sound is avoided; at a smaller volume level, the corresponding sound effect parameters can improve the gain of the low frequency band and increase the sense of thickness of sound. When the user switches the sound effect types, for example, from the rock type to the classical type, the sound effect parameters corresponding to the same volume level are correspondingly switched, i.e. the sound effect parameters of different types of sound effects at the same volume level are different.
Further, in the related art, the vehicle-mounted entertainment system itself has a corresponding power amplifier gain based on characteristics of hardware devices such as speakers mounted on the vehicle-mounted entertainment system itself. In addition, when the DSP system is adopted to adjust the audio, the audio is also based on the inherent characteristics of the DSP system, so that the audio has corresponding default gain. It will be appreciated that the values of the power amplifier gain and the default gain of the DSP for the in-vehicle entertainment system are typically fixed gain values. In an embodiment, the power amplifier gain and/or the default gain of the DSP of the vehicle-mounted entertainment system are respectively obtained; and determining the total gain of the audio sound effect according to the sound effect parameters, the power amplifier gain and/or the default gain. For example, the power amplifier gain is 26dB, the default gain is-14 dB, the gain of the sound effect parameter of a certain type of sound effect at a certain volume level is 2dB, and the total gain is 26-14+2=14 dB. The car entertainment system finally adjusts the sound effect of the audio according to the total gain of 14dB.
According to the scheme provided by the embodiment of the application, corresponding sound effect parameters are respectively set for different sound volume levels according to the sound effects of the same type, so that when a user selects any sound volume level to play music, the corresponding sound effect parameters can be reasonably adjusted, and on the premise of keeping the style of the sound effect unchanged, bad hearing such as harshness is avoided, and user experience is improved; meanwhile, a plurality of adjacent volume levels are grouped to correspond to the same sound effect parameter, so that the setting difficulty of the parameter is reduced, and the workload is reduced; in addition, according to different types of sound effects, sound effect parameters corresponding to styles and different sound volume levels are respectively provided, so that the sound effect of any type and any sound volume level can be switched, and a good hearing effect can be achieved.
Corresponding to the embodiment of the application function implementation method, the application also provides an audio processing device, a vehicle-mounted entertainment system, an automobile and corresponding embodiments.
Fig. 3 is a schematic structural diagram of an audio processing apparatus according to an embodiment of the present application.
Referring to fig. 3, the sound effect processing apparatus of the present application includes a volume level acquisition module 310 and a sound effect adjustment module 320, where:
the volume level acquisition module 310 is configured to acquire an input volume level; the input volume level is one of a plurality of preset volume levels, and the preset volume levels respectively have corresponding sound effect parameters.
The sound effect adjusting module 320 is configured to adjust the audio sound effect according to the sound effect parameter corresponding to the input volume level.
Further, referring to fig. 4, in an embodiment, the sound effect processing apparatus further includes a parameter setting module 330, where the parameter setting module 330 is configured to preset corresponding reference sound effect parameters according to the nth level volume level; wherein N is a natural number; and respectively presetting sound effect parameters corresponding to other sound volume levels in the plurality of sound volume levels according to the reference sound effect parameters. In order to obtain the sound effect parameters, the frequency range of the audio can be preset; selecting a plurality of center frequencies in a frequency range; and respectively setting corresponding gain and Q value according to the center frequency, thereby obtaining the sound effect parameters. The gain of each sound effect parameter is positive value, negative value or 0dB, the gain corresponding to each center frequency is respectively and independently set, and the setting of the gain is related to the volume level and the frequency band. The corresponding gain values may be different for different volume levels for the same frequency band. By adjusting the gain, the sound effect can have good hearing performance at different volume levels. It can be appreciated that the sound parameters of the same type of sound are set according to the corresponding sound levels, and the sound parameters of the same sound level and different sound types are different. Further, in order to reduce the difficulty of parameter setting, at least one volume level can be selected to form a group of volume sets; the sound effect parameters corresponding to the volume levels in the same volume set are the same.
According to the scheme provided by the embodiment of the application, the parameter setting module is used for setting the corresponding sound effect parameters according to different sound volume levels in advance, and after the sound volume level acquisition module acquires the input sound volume level, the sound effect adjustment module is used for adjusting the audio according to the corresponding sound effect parameters, so that the audio can be dynamically adjusted when played according to the different sound volume levels, and the corresponding style type of the sound effect is maintained while the harshness is avoided.
An embodiment of the present application further provides a vehicle-mounted entertainment system, which includes the sound effect processing device according to any one of the embodiments. According to the vehicle-mounted entertainment system, sound effects can be dynamically adjusted according to the corresponding sound effect parameters according to any sound volume level input by a user, good audio sound effects are output, and hearing experience of the user is improved.
An embodiment of the present application further provides an automobile, which includes the vehicle entertainment system according to any one of the embodiments above.
The specific manner in which the respective modules perform the operations in the apparatus of the above embodiments has been described in detail in the embodiments related to the method, and will not be described in detail herein.
An embodiment of the application also provides an electronic device, which includes a memory and a processor.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may include various types of storage units, such as system memory, read Only Memory (ROM), and persistent storage. Wherein the ROM may store static data or instructions that are required by the processor or other modules of the computer. The persistent storage may be a readable and writable storage. The persistent storage may be a non-volatile memory device that does not lose stored instructions and data even after the computer is powered down. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the persistent storage may be a removable storage device (e.g., diskette, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as dynamic random access memory. The system memory may store instructions and data that are required by some or all of the processors at runtime. Furthermore, the memory may comprise any combination of computer-readable storage media including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks, and/or optical disks may also be employed. In some embodiments, the memory may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only blu-ray disc, an ultra-dense disc, a flash memory card (e.g., SD card, min SD card, micro-SD card, etc.), a magnetic floppy disk, and the like. The computer readable storage medium does not contain a carrier wave or an instantaneous electronic signal transmitted by wireless or wired transmission.
The memory has stored thereon executable code that, when processed by the processor, can cause the processor to perform some or all of the methods described above.
The aspects of the present application have been described in detail hereinabove with reference to the accompanying drawings. In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments. Those skilled in the art will also appreciate that the acts and modules referred to in the specification are not necessarily required in the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application may be sequentially adjusted, combined and pruned according to actual needs, and the modules in the apparatus of the embodiment of the present application may be combined, divided and pruned according to actual needs.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing part or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a computer-readable storage medium (or a computer-readable storage medium, or a machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) that, when executed by a processor of an electronic device (or an electronic device, a server, etc.), causes the processor to perform some or all of the steps of the above-described method according to the present application.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the application herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The embodiments of the present application have been described above, the foregoing description is exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A sound effect processing method, characterized by comprising:
acquiring an input volume level; the input sound volume level is one of a plurality of preset sound volume levels, and the preset sound volume levels respectively have corresponding sound effect parameters, wherein the sound effect parameters correspond to sound effect types; among the preset volume levels, presetting corresponding reference sound effect parameters according to the volume level of the Nth level; wherein N is a natural number; according to the reference sound effect parameters, sound effect parameters corresponding to other sound volume levels in a plurality of sound volume levels are preset respectively; among the preset sound effect parameters, presetting the frequency range of the audio; selecting a plurality of center frequencies in the frequency range; setting corresponding gain and Q value according to the center frequency;
and adjusting audio sound effects according to the sound effect parameters corresponding to the input volume level.
2. The method of claim 1, wherein the plurality of volume levels are preset according to a ratio of power amplifier gains of the audio device.
3. The method of claim 1, wherein the gain is positive, negative or 0dB, and the gain corresponding to each center frequency is set independently.
4. The method according to claim 1, wherein the presetting sound effect parameters corresponding to other sound volume levels of the plurality of sound volume levels according to the reference sound effect parameters includes:
selecting at least one volume level to form a group of volume sets;
and the sound effect parameters corresponding to the volume levels in the same volume set are the same.
5. The method of claim 4, wherein selecting at least one volume level forms a set of volume levels, comprising:
and forming a group of volume sets by sequencing a plurality of volume levels adjacent to each other.
6. The method according to claim 1, wherein the presetting sound effect parameters corresponding to other sound volume levels of the plurality of sound volume levels according to the reference sound effect parameters includes:
and respectively setting gains of the sound effect parameters of the other sound volume levels according to the gains in the reference sound effect parameters of the sound volume levels of the N-th level.
7. The method according to any one of claims 1 to 6, further comprising:
respectively obtaining the power amplifier gain and/or the default gain of the DSP of the vehicle-mounted entertainment system;
and determining the total gain of the audio sound effect according to the sound effect parameter, the power amplifier gain and/or the default gain.
8. An audio processing apparatus, comprising:
the volume level acquisition module is used for acquiring the input volume level; the input sound volume level is one of a plurality of preset sound volume levels, and the preset sound volume levels respectively have corresponding sound effect parameters, wherein the sound effect parameters correspond to sound effect types; among the preset volume levels, presetting corresponding reference sound effect parameters according to the volume level of the Nth level; wherein N is a natural number; according to the reference sound effect parameters, sound effect parameters corresponding to other sound volume levels in a plurality of sound volume levels are preset respectively; among the preset sound effect parameters, presetting the frequency range of the audio; selecting a plurality of center frequencies in the frequency range; setting corresponding gain and Q value according to the center frequency;
and the sound effect adjusting module is used for adjusting the audio sound effect according to the sound effect parameters corresponding to the input volume level.
9. A vehicle entertainment system comprising the sound processing apparatus of claim 8.
10. An automobile comprising the in-vehicle entertainment system of claim 9.
CN202110885524.3A 2021-08-03 2021-08-03 Sound effect processing method and device, vehicle-mounted entertainment system and automobile Active CN113611317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110885524.3A CN113611317B (en) 2021-08-03 2021-08-03 Sound effect processing method and device, vehicle-mounted entertainment system and automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110885524.3A CN113611317B (en) 2021-08-03 2021-08-03 Sound effect processing method and device, vehicle-mounted entertainment system and automobile

Publications (2)

Publication Number Publication Date
CN113611317A CN113611317A (en) 2021-11-05
CN113611317B true CN113611317B (en) 2024-03-12

Family

ID=78339194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110885524.3A Active CN113611317B (en) 2021-08-03 2021-08-03 Sound effect processing method and device, vehicle-mounted entertainment system and automobile

Country Status (1)

Country Link
CN (1) CN113611317B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051794A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method and device for dynamically setting sound effect of mobile terminal
CN106354471A (en) * 2016-09-29 2017-01-25 北京小米移动软件有限公司 Method and device for audio play control and electronic device
WO2017215657A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect processing method, and terminal device
CN109195068A (en) * 2018-09-09 2019-01-11 昊智信息技术(深圳)有限公司 Audio-frequency processing method, device and audio frequency apparatus
CN110187861A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 A kind of volume adjusting method, electronic equipment and computer readable storage medium
CN112748897A (en) * 2021-01-29 2021-05-04 广州六环信息科技有限公司 Volume debugging method, device and equipment for vehicle-mounted system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051794A (en) * 2012-12-18 2013-04-17 广东欧珀移动通信有限公司 Method and device for dynamically setting sound effect of mobile terminal
WO2017215657A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect processing method, and terminal device
CN106354471A (en) * 2016-09-29 2017-01-25 北京小米移动软件有限公司 Method and device for audio play control and electronic device
CN109195068A (en) * 2018-09-09 2019-01-11 昊智信息技术(深圳)有限公司 Audio-frequency processing method, device and audio frequency apparatus
CN110187861A (en) * 2019-05-27 2019-08-30 Oppo广东移动通信有限公司 A kind of volume adjusting method, electronic equipment and computer readable storage medium
CN112748897A (en) * 2021-01-29 2021-05-04 广州六环信息科技有限公司 Volume debugging method, device and equipment for vehicle-mounted system

Also Published As

Publication number Publication date
CN113611317A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
US10069471B2 (en) System and method for digital signal processing
US10848867B2 (en) System and method for digital signal processing
US9348904B2 (en) System and method for digital signal processing
JP5149991B2 (en) Audio playback device, audio playback method and program
JP4894342B2 (en) Sound playback device
NO20160775A1 (en) System and Method for digital signal processing
AU2014340178A1 (en) System and method for digital signal processing
JP2013516143A (en) Digital signal processing system and processing method
JPH11504478A (en) Stereo enhancement system
WO2011115944A1 (en) Techniques for distortion reducing multi-band compressor with timbre preservation
US8335323B2 (en) Method of and a device for processing audio data, a program element and a computer-readable medium
WO2006075264A1 (en) Signal processing arrangement and audio system for and method of frequency-dependent amplifying of the sound level of audio signals
CN113611317B (en) Sound effect processing method and device, vehicle-mounted entertainment system and automobile
US9813039B2 (en) Multiband ducker
US10225654B1 (en) Speaker distortion reduction
JP7335282B2 (en) Audio enhancement in response to compression feedback
JP2023123514A (en) Method for setting parameter for individual adaptation of audio signal
JP5062055B2 (en) Audio signal processing apparatus and method
US20210384879A1 (en) Acoustic signal processing device, acoustic signal processing method, and non-transitory computer-readable recording medium therefor
JP4494117B2 (en) Driving support system and navigation device
US7965852B2 (en) Audio signal processing method and apparatus
CN113730914A (en) Audio adjusting method and device and computer readable storage medium
JP5501883B2 (en) Dynamic frequency correction device and sound quality correction device
CN115086837A (en) Sound effect enhancing method and device
CN113747309A (en) Audio processing method, link and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant