CN114138226B - Car machine audio mixing method and device, controller and car - Google Patents

Car machine audio mixing method and device, controller and car Download PDF

Info

Publication number
CN114138226B
CN114138226B CN202111449583.2A CN202111449583A CN114138226B CN 114138226 B CN114138226 B CN 114138226B CN 202111449583 A CN202111449583 A CN 202111449583A CN 114138226 B CN114138226 B CN 114138226B
Authority
CN
China
Prior art keywords
mixing
group
audio
audio group
current playing
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
CN202111449583.2A
Other languages
Chinese (zh)
Other versions
CN114138226A (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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile 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 Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202111449583.2A priority Critical patent/CN114138226B/en
Publication of CN114138226A publication Critical patent/CN114138226A/en
Application granted granted Critical
Publication of CN114138226B publication Critical patent/CN114138226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a car machine audio mixing method, a device, a controller and a car, wherein the method comprises the following steps: dividing audio sources to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively; judging whether a current playing audio group exists or not; if yes, judging whether the current playing audio group is an audio group supporting mixing; if the current playing audio group is the audio group supporting the mixing, inquiring the mixing strategies corresponding to the mixing audio group and the current playing audio group respectively; based on the respective corresponding mixing strategies of the mixed audio group and the current playing audio group, respective mixing sound values of the mixed audio group and the current playing audio group are determined; and performing mixed sound playing on all audio sources of the mixed sound audio group and the current playing audio group according to the respective mixed sound values of the mixed sound audio group and the current playing audio group.

Description

Car machine audio mixing method and device, controller and car
Technical Field
The invention relates to the field of automobile audio processing, in particular to an automobile audio mixing method, an automobile audio mixing device, a controller and an automobile.
Background
Automotive audio systems are one function that is very versatile for users during use of an automobile. The method has extremely important roles in the use of functions such as telephone, broadcast listening, music listening, navigation broadcasting and the like of users, scenes which need multiple kinds of audio to be used simultaneously are frequently met in the use process of the users, but the different audio cannot be interfered with each other, and a primary-secondary relationship is needed, so that the driving experience of the users can be greatly improved by a good sound mixing strategy.
At present, a mixing strategy is usually to allow multiple sounds to be played simultaneously, but the original volume is generally adopted or adjusted to a certain fixed value during playing. The strategy is difficult to meet rich user scenes in the actual use process, and great inconvenience is brought to the user experience. Even during mixing, the user needs to manually adjust the volume of a certain audio source, and the operation can greatly increase the driving danger.
In the patent, a vehicle-mounted sound mixing method and a device thereof: in CN201710392608.7, an implementation of hardware-based on-board mixing is described. In this method, a vehicle-mounted audio source is subjected to audio mixing processing through a hardware channel. The method can ensure that specific audio mixing requirements can be realized under a certain audio source type, but has larger limitation on the existing intelligent cabin audio mixing requirements, and when a new audio source is added, the new design and hardware realizations are needed, and meanwhile, the personalized audio requirements of users cannot be met.
Disclosure of Invention
The invention aims to provide a vehicle audio mixing method, a device, a controller and a vehicle, and by configuration of a mixing strategy, audio output can have a better primary-secondary relationship when audio is mixed, and driving experience of a user is improved.
The technical scheme of the invention is as follows:
the invention provides a car audio mixing method, which comprises the following steps:
dividing audio sources to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively;
judging whether a current playing audio group exists or not;
if yes, judging whether the current playing audio group is an audio group supporting mixing;
if the current playing audio group is an audio group supporting audio mixing, inquiring the audio mixing strategies corresponding to the audio mixing audio group and the current playing audio group respectively;
determining respective mixing sound values of the mixed audio group and the current playing audio group based on respective mixing sound strategies corresponding to the mixed audio group and the current playing audio group;
and performing audio mixing and playing on all audio sources of the audio mixing and playing group according to the respective audio mixing values of the audio mixing group and the current playing group.
Preferably, the step of determining the mixing sound values of the mixing audio group and the current playing audio group based on the mixing sound policies corresponding to the mixing audio group and the current playing audio group respectively includes:
when the mixing strategy corresponding to the mixing audio group is an autonomous strategy, inquiring a preset mixing strategy management table to determine a group of target attribute values corresponding to the mixing audio group; determining a sound mixing value corresponding to the sound mixing audio group according to a group of target attribute values corresponding to the sound mixing audio group;
when the audio mixing strategy corresponding to the current playing audio group is an autonomous strategy, inquiring a preset audio mixing strategy management table to determine a group of target attribute values corresponding to the current playing audio group; determining a sound mixing value corresponding to the current playing audio group according to a group of target attribute values corresponding to the current playing audio group;
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowable volume corresponding to the audio mixing group through the key value ID of the audio mixing group; determining the maximum allowable volume corresponding to the mixed audio group as a mixed volume value of the mixed audio group;
when the audio strategy corresponding to the current playing audio group is a default strategy, determining the maximum allowable volume corresponding to the current playing audio group through the key value ID of the current playing audio group; and determining the maximum allowable volume corresponding to the current playing audio group as the mixing volume value of the current playing audio group.
Preferably, the method further comprises:
if the current playing audio group is an audio group which does not support mixing and the number of the mixing audio groups is two or more, inquiring a mixing strategy corresponding to each mixing audio group;
based on the corresponding mixing strategies of the mixing audio groups, determining the respective mixing volume values of the mixing audio groups;
after the current playing audio group finishes playing, according to the respective mixing sound values of the mixing audio groups, mixing and playing are carried out on all audio sources of the mixing audio groups.
Preferably, the step of determining the mixing volume of each of the mixed audio groups based on the mixing policy corresponding to each of the mixed audio groups includes:
performing, for each of the mixed audio groups:
when the mixing strategy corresponding to the mixing audio group is an autonomous strategy, inquiring a preset mixing strategy management table to determine a group of target attribute values corresponding to the mixing audio group; determining a sound mixing value corresponding to the sound mixing audio group according to a group of target attribute values corresponding to the sound mixing audio group;
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowable volume corresponding to the audio mixing group through the key value ID of the audio mixing group; and determining the maximum allowable volume corresponding to the mixed audio group as the mixed volume value of the mixed audio group.
Preferably, the mixing policy management table includes a set of target attribute values corresponding to each of the audio mixing groups, and the set of target attribute values includes: volume minimum value, volume maximum value, mixing volume mode and added value of the mixing audio group; when the mixing volume mode is a first preset mode1, the corresponding added value is larger than zero;
the step of determining the mixing sound value corresponding to each mixing sound group according to a group of target attribute values corresponding to each mixing sound group comprises the following steps:
when the mixing volume mode of the mixing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the mixing audio group as a mixing volume value corresponding to the mixing audio group;
if the mixing volume mode of the mixing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the mixing audio group as the mixing volume value corresponding to the mixing audio group;
the step of determining the mixing sound value corresponding to the current playing audio group according to the set of target attribute values corresponding to the current playing audio group comprises the following steps:
when the mixing volume mode of the current playing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the current playing audio group as the mixing volume value corresponding to the current playing audio group;
and when the mixed volume mode of the current playing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the current playing audio group as the mixed volume value corresponding to the current playing audio group.
Preferably, the audio source focus corresponding to each audio source is determined based on the streamType parameter in the focus request of each application.
The invention also provides a car audio mixing device, which comprises:
the dividing module is used for dividing audio sources needing to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively;
the first judging module is used for judging whether the current playing audio group exists or not;
the second judging module is used for judging whether the current playing audio group is an audio group supporting audio mixing or not if the current playing audio group is the audio group supporting audio mixing;
the query module is used for querying the mixing strategies corresponding to the mixed audio group and the current playing audio group if the current playing audio group is the audio group supporting mixing;
the determining module is used for determining the respective mixing sound values of the mixed audio group and the current playing audio group based on the respective mixing sound strategies corresponding to the mixed audio group and the current playing audio group;
and the sound mixing module is used for performing sound mixing and playing on all the audio sources of the sound mixing audio group and the current playing audio group according to the respective sound mixing values of the sound mixing audio group and the current playing audio group.
The invention also provides a controller comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor reading the program in the memory and performing the steps of the method as described above.
The invention also provides an automobile comprising the controller.
The beneficial effects of the invention are as follows: the scheme of the sound mixing strategy with stronger elasticity is simple to use, and can adapt to various scenes and various demands only by reasonable configuration. A default strategy scheme can be provided under the condition of configuration errors, so that the usability is improved.
The method is simple, easy to use, reliable and feasible, and greatly improves convenience and agility of configuring the audio mixing strategy. The strategy can be used for finely adjusting the mixing sound, so that the requirements of users on an audio system are met, and the driving experience of the users is improved.
Drawings
FIG. 1 is a logic flow diagram of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings of the specification:
referring to fig. 1, the method for audio mixing of a car machine according to the present invention comprises the following steps:
step1, determining grouping information of the current stored audio group. In the face of multiple audio sources, the audio sources of each application program need to be grouped in advance according to the use requirement, and the grouping purpose is to enable the audio sources needing to be mixed to be adjusted by using a special mixing channel.
Step2, acquiring a mixed audio group according to an audio source which is required to be played currently, and specifically: audio sources requiring mixing are divided into mixed audio groups based on focus requests of the respective applications, and audio sources not requiring mixing are divided into ordinary audio groups. For the existing audio group in step1, determining audio source focuses corresponding to all audio sources respectively according to the stream type parameter in the focus request of the current application, grouping all audio sources according to the duration Hint in the focus request of the current application, and dividing the audio sources needing to be mixed into one or more mixed audio groups. If 4 audio source groups are preset in the current system, the group_ A, group _ B, group _ C, group _d divides the WeChat and the radio station into the same or two audio mixing groups by the audio source grouping mode. The focus of the request corresponding to each application program in the same audio group may be the same or different; the focus of the request corresponding to each application in different audio groups may be the same or different. For example, the focuses corresponding to the 4 applications in the currently divided audio group GroupA are FocusA, focusB, focusC, focusD respectively. Step3, loading a mixing strategy on two or more mixed audio groups (the mixed audio groups at this time can be two or more mixed audio groups divided based on the focus request of the application program, or one or more mixed audio groups divided based on the focus request of the application program and the mixed audio group currently being played). The mode of loading the mixing strategy is a configurable mode. In the scenario where there is no autonomous configuration mixing policy or autonomous policy loading error, a default policy is used.
Step4, determining the mixing volume value of each mixing audio group by utilizing an autonomous strategy mode. In order to improve user experience, a new audio mixing strategy is provided according to the use situation. The autonomous strategy corresponds to a mixing strategy management table, which comprises a group of target attribute values corresponding to each mixing audio group, wherein the group of target attribute values comprises: volume minimum, volume maximum, mixing volume mode and added value of the mixing audio group. Specifically, in a set of target attribute values: the first two values are the starting value and the ending value, the third value is the mixing volume mode, and the fourth value is the added value. The four values are used as a section, so that the descriptive integrity of the autonomous strategy can be ensured, and the expansibility of the autonomous strategy can be ensured.
The format of a set of target attribute values is start, end, mode, extra. start and end represent volume intervals [ start, end ], mode is a mixing volume mode, and extra is an added value. For both start and end values, it is necessary to verify that both start and end are greater than 0, the start value must be less than the end value and the end value must be the set of maximum volume values. When mode=1, the corresponding added value is larger than zero, and the corresponding added value is the required mixing volume value, and when mode=2, the current volume value can be subjected to specific operation according to the requirement to calculate the required mixing volume value. Specifically, when mode=2, the difference between the current volume value and the added value of the current play audio group and the maximum volume value is taken as the required mixing volume value.
The strategy takes two ways. Fixed value sum minus difference.
For ease of understanding, 0,12,2,0, 13,18,1,13, 19,24,2,6, 25,40,1,19 are exemplified:
0,12,2,0 when the volume is in the interval of 0-12, processing according to mode2, wherein the required mixed volume value is the current volume value-added value (0) of the current playing audio group;
13,18,1,13 when the volume is within the range of 13-18, the method is processed according to the mode1, and the required mixing volume value is fixed to be added value 13;
19,24,2,6 when the volume is in the 19-24 interval, processing according to the mode2, wherein the required mixed volume value is the current volume value-added value (6) of the current playing audio group;
25,40,1,19 when the volume is in the range of 25-40, the required mixing volume value is fixed to be added value 19 by processing according to mode 1.
By utilizing the autonomous strategy, the respective mixing volume value of each mixing audio group needing mixing can be determined.
Step5, determining the mixing volume value of each mixing audio group by using a default strategy mode. For some mixed audio groups for which no autonomous policy is set, a default policy is employed to determine their corresponding mixed audio values. Specifically, the maximum allowable volume corresponding to the mixed audio group is determined by the key value ID thereof, and the maximum allowable volume is determined as the mixed volume value thereof.
Step6, based on the respective mixing volume values of all the mixed audio groups needing mixing, mixing and playing all the audio sources according to the corresponding mixing volume values.
The specific principle of the audio mixing playing is the prior art, and the description is omitted in this embodiment.
After the vehicle is started, the initialization operation related to the audio is carried out, firstly, the existing audio source and the corresponding configuration packet thereof are acquired. After the audio source packets are loaded, the mixing strategy is loaded. The mixing strategy is an autonomous strategy and a default strategy which are customized autonomously. The default policy is a public policy, which can only ensure the normal playing of the mixed sound, but cannot meet various scenes, so that the default policy is generally started under the condition that the autonomous policy configuration fails.
Before analyzing the mixing strategy, a mixing audio group needing to be mixed is required to be obtained, and the mixing audio group is used for mixing setting with other mixing audio groups needing to be mixed. If the groups group_a and group_b need to be mixed, the group_a or group_b can be set for mixing according to the requirement. Here, groupA is taken as an example.
After group_a is acquired, the maximum allowable volume value of the Group is acquired through the key value ID of the Group, and the value is used for guaranteeing the limitation of the maximum volume of the mixed sound.
After the initialization loading is completed, the method enters the loading of the mixing strategy, and the default strategy is loaded from the basic volume to the highest volume in a key value ID mode. The focus herein is on autonomous strategies. The home location describes a segment of a mix in terms of 4 attributes. As described above, start, end, mode, extra. These 4 attributes can fully describe a segment of the mixing strategy.
First, for a mixing strategy, the number of segments is read. Each segment is in turn composed of the above 4 attributes. For a specific end, the corresponding values of start, end, mode and extra in each segment are taken out.
Again, for the use of mode values and extra values, a segmented configuration is adopted. Mode identifies the mixing volume Mode used, extra being the gain value or added value.
Finally, through analyzing each section of strategy, the corresponding mixing values which can be covered to all the sound volume values are recorded and put into a mixing strategy management table.
When the mixing strategy management table is used, judging whether mixing is needed according to the focus type of the application. The application of Focus is done through Focus focus_b, as application app_b using group_b. The method comprises the steps of firstly detecting whether mixing is needed or not, and determining whether the mixing is needed or not according to the use scene. Such as broadcasting during listening to songs. In this case, the navigation sound needs to be mixed with the media sound.
Under the condition that the group_A and the group_B need to mix, the existing volume value in the current group_A is firstly obtained, and the existing volume value is matched in a mixing strategy management table to obtain the mixing volume value of the group_A. And setting the current mixing volume value of the group_B and the mixing volume value of the group_A through a bottom mixing play channel, so that a proper mixing effect can be played.
The invention also provides a car audio mixing device, which comprises:
the dividing module is used for dividing audio sources needing to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively;
the first judging module is used for judging whether the current playing audio group exists or not;
the second judging module is used for judging whether the current playing audio group is an audio group supporting audio mixing or not if the current playing audio group is the audio group supporting audio mixing;
the query module is used for querying the mixing strategies corresponding to the mixed audio group and the current playing audio group if the current playing audio group is the audio group supporting mixing;
the determining module is used for determining the respective mixing sound values of the mixed audio group and the current playing audio group based on the respective mixing sound strategies corresponding to the mixed audio group and the current playing audio group;
and the sound mixing module is used for performing sound mixing and playing on all the audio sources of the sound mixing audio group and the current playing audio group according to the respective sound mixing values of the sound mixing audio group and the current playing audio group.
The invention also provides a controller comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor reading the program in the memory and performing the steps of the method as described above.
The invention also provides an automobile comprising the controller.

Claims (8)

1. A car audio mixing method, comprising:
dividing audio sources to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively;
judging whether a current playing audio group exists or not;
if yes, judging whether the current playing audio group is an audio group supporting mixing;
if the current playing audio group is an audio group supporting audio mixing, inquiring the audio mixing strategies corresponding to the audio mixing audio group and the current playing audio group respectively;
determining respective mixing sound values of the mixed audio group and the current playing audio group based on respective mixing sound strategies corresponding to the mixed audio group and the current playing audio group;
according to the respective mixing sound values of the mixing sound group and the current playing sound group, mixing sound playing is carried out on all the sound sources of the mixing sound group and the current playing sound group;
based on the mixing strategies corresponding to the mixing audio group and the current playing audio group, the step of determining the mixing sound values of the mixing audio group and the current playing audio group comprises the following steps:
when the mixing strategy corresponding to the mixing audio group is an autonomous strategy, inquiring a preset mixing strategy management table to determine a group of target attribute values corresponding to the mixing audio group; determining a sound mixing value corresponding to the sound mixing audio group according to a group of target attribute values corresponding to the sound mixing audio group;
when the audio mixing strategy corresponding to the current playing audio group is an autonomous strategy, inquiring a preset audio mixing strategy management table to determine a group of target attribute values corresponding to the current playing audio group; determining a sound mixing value corresponding to the current playing audio group according to a group of target attribute values corresponding to the current playing audio group;
the mixing strategy management table comprises a group of target attribute values corresponding to each mixing audio group, and the group of target attribute values comprises: volume minimum value, volume maximum value, mixing volume mode and added value of the mixing audio group; when the mixing volume mode is a first preset mode1, the corresponding added value is larger than zero;
the step of determining the mixing sound value corresponding to each mixing sound group according to a group of target attribute values corresponding to each mixing sound group comprises the following steps:
when the mixing volume mode of the mixing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the mixing audio group as a mixing volume value corresponding to the mixing audio group;
if the mixing volume mode of the mixing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the mixing audio group as the mixing volume value corresponding to the mixing audio group;
the step of determining the mixing sound value corresponding to the current playing audio group according to the set of target attribute values corresponding to the current playing audio group comprises the following steps:
when the mixing volume mode of the current playing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the current playing audio group as the mixing volume value corresponding to the current playing audio group;
and when the mixed volume mode of the current playing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the current playing audio group as the mixed volume value corresponding to the current playing audio group.
2. The method of claim 1, wherein determining the mixing sound values for each of the mixed audio group and the currently playing audio group based on the mixing sound policies for each of the mixed audio group and the currently playing audio group further comprises:
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowable volume corresponding to the audio mixing group through the key value ID of the audio mixing group; determining the maximum allowable volume corresponding to the mixed audio group as a mixed volume value of the mixed audio group;
when the audio strategy corresponding to the current playing audio group is a default strategy, determining the maximum allowable volume corresponding to the current playing audio group through the key value ID of the current playing audio group; and determining the maximum allowable volume corresponding to the current playing audio group as the mixing volume value of the current playing audio group.
3. The method according to claim 1, wherein the method further comprises:
if the current playing audio group is an audio group which does not support mixing and the number of the mixing audio groups is two or more, inquiring a mixing strategy corresponding to each mixing audio group;
based on the corresponding mixing strategies of the mixing audio groups, determining the respective mixing volume values of the mixing audio groups;
after the current playing audio group finishes playing, according to the respective mixing sound values of the mixing audio groups, mixing and playing are carried out on all audio sources of the mixing audio groups.
4. The method of claim 3, wherein the step of determining the respective mixing volumes for each of the mixed audio groups based on the respective mixing policies for each of the mixed audio groups comprises:
performing, for each of the mixed audio groups:
when the mixing strategy corresponding to the mixing audio group is an autonomous strategy, inquiring a preset mixing strategy management table to determine a group of target attribute values corresponding to the mixing audio group; determining a sound mixing value corresponding to the sound mixing audio group according to a group of target attribute values corresponding to the sound mixing audio group;
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowable volume corresponding to the audio mixing group through the key value ID of the audio mixing group; and determining the maximum allowable volume corresponding to the mixed audio group as the mixed volume value of the mixed audio group.
5. The method of claim 1, wherein the audio source focus for each audio source is determined based on a streamType parameter in a focus request for each application.
6. An audio mixing apparatus for a vehicle, comprising:
the dividing module is used for dividing audio sources needing to be mixed into a mixed audio group based on focus requests of all application programs, and determining audio source focuses corresponding to all audio sources in the mixed audio group respectively;
the first judging module is used for judging whether the current playing audio group exists or not;
the second judging module is used for judging whether the current playing audio group is an audio group supporting audio mixing or not if the current playing audio group is the audio group supporting audio mixing;
the query module is used for querying the mixing strategies corresponding to the mixed audio group and the current playing audio group if the current playing audio group is the audio group supporting mixing;
the determining module is used for determining the respective mixing sound values of the mixed audio group and the current playing audio group based on the respective mixing sound strategies corresponding to the mixed audio group and the current playing audio group;
the audio mixing module is used for performing audio mixing playing on all audio sources of the audio mixing audio group and the current playing audio group according to respective audio mixing values of the audio mixing audio group and the current playing audio group;
the determining module is specifically configured to:
when the mixing strategy corresponding to the mixing audio group is an autonomous strategy, inquiring a preset mixing strategy management table to determine a group of target attribute values corresponding to the mixing audio group; determining a sound mixing value corresponding to the sound mixing audio group according to a group of target attribute values corresponding to the sound mixing audio group;
when the audio mixing strategy corresponding to the current playing audio group is an autonomous strategy, inquiring a preset audio mixing strategy management table to determine a group of target attribute values corresponding to the current playing audio group; determining a sound mixing value corresponding to the current playing audio group according to a group of target attribute values corresponding to the current playing audio group;
the mixing strategy management table comprises a group of target attribute values corresponding to each mixing audio group, and the group of target attribute values comprises: volume minimum value, volume maximum value, mixing volume mode and added value of the mixing audio group; when the mixing volume mode is a first preset mode1, the corresponding added value is larger than zero;
the step of determining the mixing sound value corresponding to each mixing sound group according to a group of target attribute values corresponding to each mixing sound group comprises the following steps:
when the mixing volume mode of the mixing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the mixing audio group as a mixing volume value corresponding to the mixing audio group;
if the mixing volume mode of the mixing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the mixing audio group as the mixing volume value corresponding to the mixing audio group;
the step of determining the mixing sound value corresponding to the current playing audio group according to the set of target attribute values corresponding to the current playing audio group comprises the following steps:
when the mixing volume mode of the current playing audio group is a first preset mode1, determining the added value in a group of target attribute values corresponding to the current playing audio group as the mixing volume value corresponding to the current playing audio group;
and when the mixed volume mode of the current playing audio group is a second preset mode2, calculating a difference value between a current volume value and an added value of the current playing audio group, and determining the smaller value of the difference value and the maximum volume value of the current playing audio group as the mixed volume value corresponding to the current playing audio group.
7. A controller comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor reads the program in the memory to perform the steps of the method according to any one of claims 1 to 5.
8. An automobile, comprising: the controller of claim 7.
CN202111449583.2A 2021-11-30 2021-11-30 Car machine audio mixing method and device, controller and car Active CN114138226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111449583.2A CN114138226B (en) 2021-11-30 2021-11-30 Car machine audio mixing method and device, controller and car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111449583.2A CN114138226B (en) 2021-11-30 2021-11-30 Car machine audio mixing method and device, controller and car

Publications (2)

Publication Number Publication Date
CN114138226A CN114138226A (en) 2022-03-04
CN114138226B true CN114138226B (en) 2023-05-23

Family

ID=80386280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111449583.2A Active CN114138226B (en) 2021-11-30 2021-11-30 Car machine audio mixing method and device, controller and car

Country Status (1)

Country Link
CN (1) CN114138226B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008101407A1 (en) * 2007-02-13 2008-08-28 Ivt (Beijing) Software Technology Inc. Audio data flow input/output method and system
CN102033776A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Audio playing method and computing device
CN102711032A (en) * 2012-05-30 2012-10-03 蒋憧 Sound processing reappearing device
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN103474078A (en) * 2013-09-17 2013-12-25 惠州华阳通用电子有限公司 Method for achieving sound mixing
CN104244165A (en) * 2014-09-01 2014-12-24 深圳市安普尔科技有限公司 Method using vehicle-mounted sound effect chip for achieving sound mixing function and vehicle-mounted sound mixing circuit
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN106162429A (en) * 2015-03-25 2016-11-23 美律电子(深圳)有限公司 Mobile device and its method of operating
CN109243472A (en) * 2018-09-28 2019-01-18 广州小鹏汽车科技有限公司 A kind of audio-frequency processing method and audio processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9652125B2 (en) * 2015-06-18 2017-05-16 Apple Inc. Device, method, and graphical user interface for navigating media content

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008101407A1 (en) * 2007-02-13 2008-08-28 Ivt (Beijing) Software Technology Inc. Audio data flow input/output method and system
CN102033776A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Audio playing method and computing device
CN102711032A (en) * 2012-05-30 2012-10-03 蒋憧 Sound processing reappearing device
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN103474078A (en) * 2013-09-17 2013-12-25 惠州华阳通用电子有限公司 Method for achieving sound mixing
CN104244165A (en) * 2014-09-01 2014-12-24 深圳市安普尔科技有限公司 Method using vehicle-mounted sound effect chip for achieving sound mixing function and vehicle-mounted sound mixing circuit
CN106162429A (en) * 2015-03-25 2016-11-23 美律电子(深圳)有限公司 Mobile device and its method of operating
CN105530171A (en) * 2015-12-23 2016-04-27 腾讯科技(深圳)有限公司 Method and apparatus for playing instant message sound on vehicle-mounted terminal
CN109243472A (en) * 2018-09-28 2019-01-18 广州小鹏汽车科技有限公司 A kind of audio-frequency processing method and audio processing system

Also Published As

Publication number Publication date
CN114138226A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN109996099B (en) Audio focus control method and system of vehicle-mounted system and vehicle-mounted system
US20120259440A1 (en) Method for managing conflicts between audio applications and conflict managing device
US7917081B2 (en) Apparatus and method for vehicle system interface
US7953183B2 (en) System for high definition radio blending
CN108668203B (en) Audio playing method, system and device
CN105575413A (en) Method for playing music of multimedia device in vehicle
CN101006750B (en) Method for expanding an audio mix to fill all available output channels
CN105122762A (en) Vehicle to vehicle data communication system
US9928025B2 (en) Dynamically equalizing receiver
CN105743596A (en) Vehicle-mounted radio, control method therefor, vehicle-mounted radio system, and server
US8238893B2 (en) Techniques for controlling a portable media device having a radio frequency tuner
CN105160030A (en) Method and device for transmitting media cache files on mobile terminal
CN104954853A (en) Playing information saving method and system, play terminal and control terminal
CN114138226B (en) Car machine audio mixing method and device, controller and car
CN109151562B (en) Sound effect control method and device, television and storage medium
US9092020B2 (en) Calibration data selection
CN103983272A (en) Method for starting navigation software adaptive to vehicle terminal based on Android platform
CN101562037B (en) Multimedia file playing method and device thereof
US7937055B2 (en) Timeshifting for a multiple-tuner vehicle radio system
US20040147241A1 (en) Entertainment device
TW201602891A (en) Switching method and computer system
US9287938B2 (en) Method and apparatus for transmission of song identifications
US8649756B2 (en) Systems and methods for providing abbreviated electronic program guides
CN114879931B (en) Onboard audio path management method and system supporting multiple operating systems
US10534574B2 (en) Acoustic system and volume adjustment method

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