CN114138226A - Vehicle audio mixing method and device, controller and vehicle - Google Patents

Vehicle audio mixing method and device, controller and vehicle Download PDF

Info

Publication number
CN114138226A
CN114138226A CN202111449583.2A CN202111449583A CN114138226A CN 114138226 A CN114138226 A CN 114138226A CN 202111449583 A CN202111449583 A CN 202111449583A CN 114138226 A CN114138226 A CN 114138226A
Authority
CN
China
Prior art keywords
audio
mixing
group
audio group
volume
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.)
Granted
Application number
CN202111449583.2A
Other languages
Chinese (zh)
Other versions
CN114138226B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention provides a vehicle audio mixing method, a vehicle audio mixing device, a controller and a vehicle, wherein the method comprises the following steps: dividing audio sources needing audio mixing into audio mixing audio groups based on focus requests of all application programs, and determining audio source focuses corresponding to the audio sources in the audio mixing audio groups 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 audio mixing; if the current playing audio group is an audio group supporting audio mixing, inquiring respective audio mixing strategies corresponding to the audio mixing audio group and the current playing audio group; determining respective mixing sound volume values of the mixing sound audio group and the current playing audio group based on respective mixing sound strategies corresponding to the mixing sound audio group and the current playing audio group; and carrying out sound mixing playing on all audio sources of the sound mixing audio group and the current playing audio group according to the respective sound mixing volume values of the sound mixing audio group and the current playing audio group.

Description

Vehicle audio mixing method and device, controller and vehicle
Technical Field
The invention relates to the field of automobile audio processing, in particular to a vehicle audio mixing method, a vehicle audio mixing device, a controller and an automobile.
Background
A car audio system is a function that is used by a user very much during the use of a car. The audio mixing strategy has an extremely important position in the functional use of a user for telephone, broadcasting, music listening, navigation broadcasting and the like, the user often faces a scene that multiple audios are needed to be used simultaneously in the using process, but the different audios cannot interfere with each other and must have primary and secondary relations, so that the driving experience of the user can be greatly improved by a good audio 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 satisfy rich user scenes in the actual use process, and brings great inconvenience to the user experience. Even when mixing sound, the user needs to manually adjust the volume of an audio source, which greatly increases the driving risk.
In the patent, a vehicle-mounted sound mixing method and a device thereof: CN201710392608.7 describes an implementation method for vehicle-mounted audio mixing based on hardware. In the method, the vehicle-mounted common audio source is subjected to mixing processing through the hardware channel. The method can ensure that the specific sound mixing requirement is realized under a certain audio source type, but has great limitation to the existing intelligent cabin sound mixing requirement, and after a new audio source is added, the new design and the realization on hardware are required to be carried out again, and meanwhile, the personalized audio requirement of a user can not be met.
Disclosure of Invention
The invention aims to provide a vehicle audio mixing method, a vehicle audio mixing device, a controller and a vehicle.
The technical scheme of the invention is as follows:
the invention provides a vehicle audio mixing method, which comprises the following steps:
dividing audio sources needing audio mixing into audio mixing audio groups based on focus requests of all application programs, and determining audio source focuses corresponding to the audio sources in the audio mixing audio groups 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 audio mixing;
if the current playing audio group is an audio group supporting audio mixing, inquiring respective audio mixing strategies corresponding to the audio mixing audio group and the current playing audio group;
determining respective mixing volume values of the mixing audio group and the current playing audio group based on respective mixing strategies corresponding to the mixing audio group and the current playing audio group;
and performing mixed sound playing on all audio sources of the mixed sound audio group and the currently played audio group according to the respective mixed sound volume values of the mixed sound audio group and the currently played audio group.
Preferably, the step of determining the mixing volume values of the mixed audio group and the currently playing audio group based on the mixing strategies corresponding to the mixed audio group and the currently playing audio group 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 mixed sound volume value corresponding to the mixed sound audio group according to a group of target attribute values corresponding to the mixed sound audio group;
when the audio mixing strategy corresponding to the currently played 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 currently played audio group; determining a mixed sound volume 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 allowed volume corresponding to the audio mixing group through the key value ID of the audio mixing group; determining the maximum allowed volume corresponding to the mixed audio group as the mixed volume value of the mixed audio group;
when the audio policy corresponding to the currently played audio group is a default policy, determining the maximum allowed volume corresponding to the currently played audio group according to the key value ID of the currently played audio group; and determining the maximum allowed volume corresponding to the currently played audio group as the mixing volume value of the currently played audio group.
Preferably, the method further comprises:
if the current playing audio group is an audio group which does not support audio mixing and the audio mixing audio groups are two or more, inquiring the audio mixing strategy corresponding to each audio mixing audio group;
determining respective mixed sound volume values of the mixed sound audio groups based on respective mixed sound strategies corresponding to the mixed sound audio groups;
and after the current playing audio group is played, carrying out audio mixing playing on all audio sources of each audio mixing audio group according to the respective audio mixing volume value of each audio mixing audio group.
Preferably, the step of determining the mixing volume of each mixed audio group based on the mixing strategy corresponding to each mixed audio group 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 mixed sound volume value corresponding to the mixed sound audio group according to a group of target attribute values corresponding to the mixed sound audio group;
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowed volume corresponding to the audio mixing group through the key value ID of the audio mixing group; and determining the maximum allowed 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 mixed audio group, where the set of target attribute values includes: the minimum value, the maximum value, the sound mixing volume mode and the additional value of the sound mixing audio group; when the mixing volume mode is a first preset mode1, the corresponding additional value is greater than zero;
the step of determining the mixed sound volume value corresponding to each mixed sound audio group according to a group of target attribute values corresponding to each mixed sound audio group comprises the following steps:
when the mixing volume mode of the mixing audio group is a first preset mode1, determining an additional 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;
when the mixing volume mode of the mixing audio group is a second preset mode2, calculating a difference value between the current volume value of the currently played audio group and an additional value, and determining the smaller value of the difference value and the maximum value of the volume of the mixing audio group as the mixing volume value corresponding to the mixing audio group;
the step of determining the audio mixing volume value corresponding to the currently played audio group according to a group of target attribute values corresponding to the currently played audio group includes:
when the mixing volume mode of the currently played audio group is a first preset mode1, determining an additional value in a group of target attribute values corresponding to the currently played audio group as a mixing volume value corresponding to the currently played audio group;
and when the mixing volume mode of the current playing audio group is a second preset mode2, calculating a difference value between the current volume value of the current playing audio group and an additional value, and determining the smaller value of the difference value and the maximum value of the volume of the current playing audio group as the mixing 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 machine audio mixing device, which comprises:
the dividing module is used for dividing the audio sources needing sound mixing into a sound mixing audio group based on the focus requests of all the application programs and determining the audio source focuses corresponding to the audio sources in the sound mixing audio group;
the first judgment module is used for judging whether a 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 if the current playing audio group exists;
the query module is used for querying the sound mixing strategies corresponding to the sound mixing audio group and the current playing audio group if the current playing audio group is the audio group supporting sound mixing;
a determining module, configured to determine respective mixing volume values of the mixed audio group and the currently playing audio group based on respective mixing strategies corresponding to the mixed audio group and the currently playing audio group;
and the audio mixing module is used for carrying out audio mixing playing on all audio sources of the audio mixing audio group and the current playing audio group according to the respective audio mixing volume values of the audio mixing audio group and the current playing audio group.
The invention also provides a controller, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor reads the program in the memory and executes the steps of the method.
The invention also provides an automobile comprising the controller.
The invention has the beneficial effects that: the scheme is simple in use, and can adapt to various scenes and various requirements only by reasonable configuration. A default strategy scheme can be provided under the condition of configuration error, and the usability is improved.
The method is simple, easy to use, reliable and feasible, and greatly improves the convenience and agility of the sound mixing strategy configuration. The mixed sound can be adjusted more finely through the strategy, the requirements of the user on an audio system are met, and the driving experience of the user is improved.
Drawings
FIG. 1 is a logic flow diagram of the present invention.
Detailed Description
The invention is further described with reference to the accompanying drawings in which:
referring to fig. 1, the car audio mixing method according to the present invention includes the following steps:
step1, determining grouping information of the currently stored audio group. In the face of multiple audio sources, the audio sources of each application program need to be grouped according to the use requirements, and the grouping purpose is to enable the audio sources needing sound mixing to be adjusted by using a special sound mixing channel.
Step2, acquiring a mixed audio group according to the audio source needing to be played currently, specifically: and dividing the audio sources needing to be mixed into mixed audio groups and dividing the audio sources not needing to be mixed into common audio groups based on the focus requests of the application programs. Aiming at the existing audio group in step1, audio source focuses corresponding to each audio source are determined according to streamType parameters in the focus request of the current application, the audio sources are grouped according to duration in the focus request of the current application, and then the audio sources needing to be mixed are divided into one or more groups of mixed audio groups. If 4 audio source groups, Group _ A, Group _ B, Group _ C, Group _ D, are preset in the current system, the WeChat and the radio stations are divided into the same or two mixed audio groups by the audio source grouping mode. Wherein, the focus of the corresponding request of each application program in the same audio group may be the same or different; the focus of the corresponding request for each application in different audio groups may be the same or different. For example, the focuses corresponding to 4 applications in the currently divided mixed audio group are focsa, FocusB, FocusC, and FocusD, respectively. Step3, loading a mixing strategy for two or more groups of mixed audio groups needing mixing (the mixed audio groups at this time can be composed of two or more groups of mixed audio groups divided based on the focus request of the application program, or can be composed of one or more groups of mixed audio groups divided based on the focus request of the application program and the currently played mixed audio group). The mode of loading the mixing strategy is a configurable mode. And under the condition that the mixing strategy is not configured autonomously or the autonomous strategy is loaded wrongly, using a default strategy.
And Step4, determining the mixed sound volume value of each mixed sound audio group by using an autonomous strategy mode. In order to improve the user experience, a new mixing strategy is provided according to the use scene. The autonomous strategy comprises a group of target attribute values corresponding to each mixed sound audio group in a mixed sound strategy management table, wherein the group of target attribute values comprises: the minimum value of the volume of the mixed audio group, the maximum value of the volume, the mixed volume mode and the additional value. Specifically, in a set of target attribute values: the first two values are initial and end values, the third value is a sound mixing volume mode, and the fourth value is an additional value. The four values are taken as one section, so that the description integrity of the autonomous strategy can be guaranteed, and the expansibility of the autonomous strategy can be guaranteed.
The format of a set of target attribute values is start, end, mode, extra. start and end denote volume intervals [ start, end ], mode is a remix volume mode, and extra is an additional value. For both start and end values, it needs to be verified 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 additional value is greater than zero, and the corresponding additional value is the required mixed sound volume value, and when Mode =2, the required mixed sound volume value can be calculated by performing specific operation on the current volume value as required. Specifically, when Mode =2, the difference between the current volume value of the currently played audio set and the additional value and the maximum volume value is taken to be small as the required mixed volume value.
The strategy takes two forms. Fix the value and subtract the difference.
For ease of understanding, 0,12,2,0, 13,18,1,13, 19,24,2,6, 25,40,1,19 are taken as examples:
when the volume is in the interval of 0-12, the processing is carried out according to the mode2, and the required mixed sound volume value is the current volume value-added value (0) of the current playing audio group;
13,18,1 and 13 represent that when the volume is in a 13-18 interval, the processing is carried out according to the mode1, and the required mixed volume value is fixed as an additional value 13;
19,24,2,6 shows that when the volume is in the interval of 19-24, the processing is carried out according to the mode2, and the required mixed volume value is the current volume value-additional value (6) of the current playing audio group;
25,40,1,19 shows that when the volume is in the 25-40 interval, the processing is carried out according to the mode1, and the required mixed volume value is fixed to the additional value 19.
By using the autonomous strategy, the respective mixed sound volume value of each mixed sound audio group needing mixed sound can be determined.
And Step5, determining the mixed sound volume value of each mixed sound audio group by using a default strategy mode. And for some mixed audio groups without the autonomous strategy, adopting a default strategy to determine the corresponding mixed audio volume value. Specifically, the maximum allowed volume corresponding to the key value ID of the mixed audio group is determined, and the maximum allowed volume is determined as the mixed volume value thereof.
And Step6, mixing and playing all audio sources according to the corresponding mixing volume values based on the respective mixing volume values of all mixing audio groups needing mixing.
The specific principle of audio mixing playing is the prior art, and is not described in detail in this embodiment.
When the car machine is started, the audio-related initialization operation is performed, and firstly, the existing audio source and the corresponding configuration packet thereof are obtained. After loading the audio source packets, the mixing strategy is loaded. The mixing policy is an autonomous policy and a default policy that are customized autonomously. The default policy is a common policy, which can only guarantee normal play of mixed sound, but cannot satisfy various scenes, and therefore, the default policy is generally enabled when the autonomous policy configuration fails.
Before the sound mixing strategy is analyzed, a sound mixing audio group needing sound mixing needs to be obtained, and the sound mixing audio group is used for carrying out sound mixing setting with other sound mixing audio groups needing sound mixing. If the Group _ a and the Group _ B need to be mixed, the Group _ a or the Group _ B can be mixed according to the requirement. GroupA is used here as an example.
After the Group _ a is acquired, the maximum allowed volume value of the Group needs to be acquired through the key value ID of the Group, and the value is used for guaranteeing the limitation of the maximum volume of mixed sound.
After the above initialization loading is completed, the loading of the mixing strategy is entered, and the default strategy is loaded from the basic volume to the highest volume in a key value ID mode. The focus here is on autonomous strategies. The home position describes a piece of mixed sound form with 4 attributes. Start, end, mode, extra, as described above. These 4 attributes can fully describe a piece of mixing strategy.
First, for a mixing strategy, the number of segments is read. Each segment in turn consists of the above 4 attributes. For a specific end, the corresponding values of start, end, mode, extra in each segment are taken first.
And thirdly, adopting a segmentation configuration mode for the use of the mode value and the extra value. The Mode identifies the used mixing volume Mode, and extra is a gain value or an additional value.
And finally, recording the mixing values corresponding to all the volume values which can be covered by analyzing each section of strategy, and putting the recording into a mixing strategy management table.
And when the mixing strategy management table is used, judging whether mixing is needed or not according to the focus type of the application. As the application APP _ B using Group _ B, the application of Focus is made through Focus _ B. Whether sound mixing is needed or not is detected firstly, and whether the condition of sound mixing is needed or not is determined by a use scene. If in the process of listening to the song, the navigation carries out broadcasting. At this time, the navigation sound needs to be mixed with the media sound.
Under the condition that Group _ A and Group _ B need to mix sound, the existing volume value in the current Group _ A is obtained first, and the existing volume value is matched in the mixing strategy management table to obtain the mixing sound volume value of the Group _ A. And setting the mixing volume value of the current Group _ B and the mixing volume value of the Group _ A through a bottom layer mixing playing channel, so that a proper mixing effect can be played.
The invention also provides a car machine audio mixing device, which comprises:
the dividing module is used for dividing the audio sources needing sound mixing into a sound mixing audio group based on the focus requests of all the application programs and determining the audio source focuses corresponding to the audio sources in the sound mixing audio group;
the first judgment module is used for judging whether a 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 if the current playing audio group exists;
the query module is used for querying the sound mixing strategies corresponding to the sound mixing audio group and the current playing audio group if the current playing audio group is the audio group supporting sound mixing;
a determining module, configured to determine respective mixing volume values of the mixed audio group and the currently playing audio group based on respective mixing strategies corresponding to the mixed audio group and the currently playing audio group;
and the audio mixing module is used for carrying out audio mixing playing on all audio sources of the audio mixing audio group and the current playing audio group according to the respective audio mixing volume values of the audio mixing audio group and the current playing audio group.
The invention also provides a controller, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor reads the program in the memory and executes the steps of the method.
The invention also provides an automobile comprising the controller.

Claims (9)

1. A car machine audio mixing method is characterized by comprising the following steps:
dividing audio sources needing audio mixing into audio mixing audio groups based on focus requests of all application programs, and determining audio source focuses corresponding to the audio sources in the audio mixing audio groups 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 audio mixing;
if the current playing audio group is an audio group supporting audio mixing, inquiring respective audio mixing strategies corresponding to the audio mixing audio group and the current playing audio group;
determining respective mixing volume values of the mixing audio group and the current playing audio group based on respective mixing strategies corresponding to the mixing audio group and the current playing audio group;
and performing mixed sound playing on all audio sources of the mixed sound audio group and the currently played audio group according to the respective mixed sound volume values of the mixed sound audio group and the currently played audio group.
2. The method according to claim 1, wherein the step of determining the mixing volume values of the mixed audio group and the currently playing audio group based on the mixing strategies corresponding to the mixed audio group and the currently playing audio group comprises:
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 mixed sound volume value corresponding to the mixed sound audio group according to a group of target attribute values corresponding to the mixed sound audio group;
when the audio mixing strategy corresponding to the currently played 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 currently played audio group; determining a mixed sound volume 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 allowed volume corresponding to the audio mixing group through the key value ID of the audio mixing group; determining the maximum allowed volume corresponding to the mixed audio group as the mixed volume value of the mixed audio group;
when the audio policy corresponding to the currently played audio group is a default policy, determining the maximum allowed volume corresponding to the currently played audio group according to the key value ID of the currently played audio group; and determining the maximum allowed volume corresponding to the currently played audio group as the mixing volume value of the currently played audio group.
3. The method of claim 1, further comprising:
if the current playing audio group is an audio group which does not support audio mixing and the audio mixing audio groups are two or more, inquiring the audio mixing strategy corresponding to each audio mixing audio group;
determining respective mixed sound volume values of the mixed sound audio groups based on respective mixed sound strategies corresponding to the mixed sound audio groups;
and after the current playing audio group is played, carrying out audio mixing playing on all audio sources of each audio mixing audio group according to the respective audio mixing volume value of each audio mixing audio group.
4. The method according to claim 3, wherein the step of determining the mixing volume of each mixed audio group based on the mixing strategy corresponding to each mixed audio group 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 mixed sound volume value corresponding to the mixed sound audio group according to a group of target attribute values corresponding to the mixed sound audio group;
when the audio strategy corresponding to the audio mixing group is a default strategy, determining the maximum allowed volume corresponding to the audio mixing group through the key value ID of the audio mixing group; and determining the maximum allowed volume corresponding to the mixed audio group as the mixed volume value of the mixed audio group.
5. The method according to claim 2 or 4, wherein the mixing policy management table includes a set of target attribute values corresponding to each mixed audio group, and the set of target attribute values includes: the minimum value, the maximum value, the sound mixing volume mode and the additional value of the sound mixing audio group; when the mixing volume mode is a first preset mode1, the corresponding additional value is greater than zero;
the step of determining the mixed sound volume value corresponding to each mixed sound audio group according to a group of target attribute values corresponding to each mixed sound audio group comprises the following steps:
when the mixing volume mode of the mixing audio group is a first preset mode1, determining an additional 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;
when the mixing volume mode of the mixing audio group is a second preset mode2, calculating a difference value between the current volume value of the currently played audio group and an additional value, and determining the smaller value of the difference value and the maximum value of the volume of the mixing audio group as the mixing volume value corresponding to the mixing audio group;
the step of determining the audio mixing volume value corresponding to the currently played audio group according to a group of target attribute values corresponding to the currently played audio group includes:
when the mixing volume mode of the currently played audio group is a first preset mode1, determining an additional value in a group of target attribute values corresponding to the currently played audio group as a mixing volume value corresponding to the currently played audio group;
and when the mixing volume mode of the current playing audio group is a second preset mode2, calculating a difference value between the current volume value of the current playing audio group and an additional value, and determining the smaller value of the difference value and the maximum value of the volume of the current playing audio group as the mixing volume value corresponding to the current playing audio group.
6. The method of claim 1, wherein the audio source focus point corresponding to each audio source is determined based on a streamType parameter in the focus request of each application.
7. The utility model provides a car machine audio mixing device which characterized in that includes:
the dividing module is used for dividing the audio sources needing sound mixing into a sound mixing audio group based on the focus requests of all the application programs and determining the audio source focuses corresponding to the audio sources in the sound mixing audio group;
the first judgment module is used for judging whether a 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 if the current playing audio group exists;
the query module is used for querying the sound mixing strategies corresponding to the sound mixing audio group and the current playing audio group if the current playing audio group is the audio group supporting sound mixing;
a determining module, configured to determine respective mixing volume values of the mixed audio group and the currently playing audio group based on respective mixing strategies corresponding to the mixed audio group and the currently playing audio group;
and the audio mixing module is used for carrying out audio mixing playing on all audio sources of the audio mixing audio group and the current playing audio group according to the respective audio mixing volume values of the audio mixing audio group and the current playing audio group.
8. 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 and executes the steps of the method according to any one of claims 1 to 6.
9. An automobile, comprising: the controller of claim 8.
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 true CN114138226A (en) 2022-03-04
CN114138226B 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 (10)

* 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
US20160370976A1 (en) * 2015-06-18 2016-12-22 Apple Inc. Device, Method, and Graphical User Interface for Navigating Media Content
CN109243472A (en) * 2018-09-28 2019-01-18 广州小鹏汽车科技有限公司 A kind of audio-frequency processing method and audio processing system

Patent Citations (10)

* 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
US20160370976A1 (en) * 2015-06-18 2016-12-22 Apple Inc. Device, Method, and Graphical User Interface for Navigating Media Content
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
CN114138226B (en) 2023-05-23

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
CN102946520B (en) A kind of method automatically controlling frequency channel volume and digital TV terminal
US20110078323A1 (en) Rules-based user preferences for stream switching in an internet radio player
CN103345929B (en) A kind of method and apparatus regulating volume
US6889193B2 (en) Method and system for smart cross-fader for digital audio
US9928025B2 (en) Dynamically equalizing receiver
CN105122762A (en) Vehicle to vehicle data communication system
WO2021057364A1 (en) Vehicle function service recommendation method and apparatus
CN104954853A (en) Playing information saving method and system, play terminal and control terminal
WO2023165116A1 (en) Control method, apparatus and system for smart home device, and storage medium
CN108933636A (en) A kind of radio reception opportunity interference automatic mute method and device
JP5385964B2 (en) Wireless systems including terrestrial and internet radio
CN114138226A (en) Vehicle audio mixing method and device, controller and vehicle
US20180307458A1 (en) Multi-device in-vehicle-infotainment system
CN101562037B (en) Multimedia file playing method and device thereof
CN112579208A (en) Audio playing method and device for vehicle, electronic equipment and storage medium
CN111310059A (en) User intention positioning method and device based on aggregated resources
US9154872B2 (en) Multiple input audio switch
CN107872727B (en) Media playing control method, media playing control device and electronic terminal
TW201602891A (en) Switching method and computer system
CN113423006B (en) Multi-audio-stream audio mixing playing method and system based on main and auxiliary sound channels
US11449167B2 (en) Systems using dual touch and sound control, and methods thereof
US10552117B1 (en) Vehicle audio settings management
US20090141596A1 (en) Timeshifting for a multiple-tuner vehicle radio system

Legal Events

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