CN115185477A - Sound source balancing method, sound source balancing device, electronic equipment and medium - Google Patents

Sound source balancing method, sound source balancing device, electronic equipment and medium Download PDF

Info

Publication number
CN115185477A
CN115185477A CN202110373211.XA CN202110373211A CN115185477A CN 115185477 A CN115185477 A CN 115185477A CN 202110373211 A CN202110373211 A CN 202110373211A CN 115185477 A CN115185477 A CN 115185477A
Authority
CN
China
Prior art keywords
driver
vehicle
determining
personnel
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.)
Pending
Application number
CN202110373211.XA
Other languages
Chinese (zh)
Inventor
马资源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pateo Connect and Technology Shanghai Corp
Original Assignee
Pateo Connect and Technology Shanghai Corp
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 Pateo Connect and Technology Shanghai Corp filed Critical Pateo Connect and Technology Shanghai Corp
Priority to CN202110373211.XA priority Critical patent/CN115185477A/en
Publication of CN115185477A publication Critical patent/CN115185477A/en
Pending legal-status Critical Current

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

Abstract

The invention relates to a sound source balancing method, a sound source balancing device, electronic equipment and a medium. The method comprises the following steps: determining volume references of different types of sound sources according to preset driver figures and images of drivers in the automobile; the preset driver portrait comprises a preset driver image, a preset driver gender and a preset driver music type preference; determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; the personnel number comprises the personnel number of the copilot and the personnel number of the rear seats, the personnel category comprises the personnel category of the copilot and the personnel category of the rear seats, and the personnel category refers to the interval of the sex and the age of the personnel; and determining the output volume of the different types of sound sources according to the images of the drivers in the automobile, the volume references of the different types of sound sources, the number of people and the classes of people. The method can realize stable output of the volume when different types of sound sources are switched, and improves user experience.

Description

Sound source balancing method, sound source balancing device, electronic equipment and medium
Technical Field
The invention relates to the field of volume adjustment, in particular to a sound source balancing method, a sound source balancing device, electronic equipment and a medium.
Background
Currently, when people listen to a song, when the song is switched to the next song after being played, the problem that the volume is suddenly increased or suddenly decreased is sometimes encountered due to the difference of the song content itself, and for this reason, the general practice is to manually adjust the audio button of the device or the interface to adjust to the proper volume. When the song is switched again, the problem that the volume is suddenly increased or suddenly decreased may still be encountered, and thus, the user experience may be greatly reduced by repeatedly and frequently manually adjusting the volume.
In view of the above, the present invention is particularly proposed.
Disclosure of Invention
The invention aims to provide a sound source balancing method, a sound source balancing device, electronic equipment and a medium, so that when different types of sound sources are switched, sound volume can be stably output, and user experience is improved.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a sound source balancing method, including the following steps:
determining volume references of different types of sound sources according to preset driver figures and images of drivers in the automobile; the preset driver portrait comprises a preset driver image, a preset driver gender and a preset driver music type preference;
determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; the personnel number comprises the personnel number of the copilot and the personnel number of the rear seats, the personnel category comprises the personnel category of the copilot and the personnel category of the rear seats, and the personnel category refers to the interval of the sex and the age of the personnel;
and determining the output volume of different types of sound sources according to the images of drivers in the vehicle, volume references of different types of sound sources, the number of personnel and the personnel category.
As a further preferred technical solution, the determining the volume reference of different types of sound sources according to the preset driver image and the in-vehicle driver image includes:
judging whether the driver in the vehicle is a preset driver or not according to the preset driver image and the image of the driver in the vehicle;
judging that the driver in the vehicle is a preset driver, and determining the volume reference as a preset reference;
judging whether the driver in the vehicle is a preset driver or not, and determining the volume reference according to the gender of the preset driver, the music type preference of the preset driver and the gender of the driver in the vehicle; wherein the gender of the driver in the vehicle is judged according to the image of the driver in the vehicle.
As a further preferred technical solution, the determining the volume reference according to the preset gender of the driver, the preset music type preference of the driver and the gender of the driver in the vehicle includes:
judging that the preset gender of the driver and the gender of the driver in the vehicle are both male, and determining the volume reference as a preset reference;
judging whether the preset gender of the driver is male, the preset music type preference of the driver is rock music, and the gender of the driver in the vehicle is female, and determining the volume reference as the difference value between the preset reference and the preset deviation;
and judging that the gender of the preset driver is female, and determining the volume reference as a preset reference.
As a further preferred technical solution, the determining the output sound volumes of different types of sound sources according to the image of the driver in the vehicle, the sound volume references of different types of sound sources, the number of people, and the class of people includes:
determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
and determining the output volume of the different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of people and the class of people.
As a further preferred technical solution, the determining the output volume of the different types of sound sources according to the gender of the driver in the vehicle, the volume reference of the different types of sound sources, the number of people, and the category of people includes:
judging whether the gender of a driver in the automobile is female, and determining the output volume as a preset reference;
and judging that the gender of the driver in the vehicle is male, and determining the output volume of the sound sources of different types according to the volume reference, the number of the people and the class of the people of the sound sources of different types.
As a further preferred technical solution, the determining the output sound volumes of different types of sound sources according to the image of the driver in the vehicle, the sound volume references of different types of sound sources, the number of people, and the class of people includes:
determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
determining the pre-output volume of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of different types of sound sources, the number of personnel and the category of the personnel;
and determining the output volume of different types of sound sources according to the pre-output volume and the pressure of the front windshield of the vehicle.
As a further preferred technical solution, the determining the output sound volumes of different types of sound sources according to the image of the driver in the vehicle, the sound volume references of different types of sound sources, the number of people, and the class of people includes:
determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
determining the pre-output volume of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of different types of sound sources, the number of personnel and the category of the personnel;
and determining the output volume of different types of sound sources according to the pre-output volume, the pressure of the front windshield of the vehicle, the priority of the sound sources and whether the vehicle is in a reverse gear state.
In a second aspect, the present invention provides an audio source balance apparatus, comprising:
the sound volume reference determining module of different types of sound sources is used for determining the sound volume references of the different types of sound sources according to preset driver figures and images of drivers in the automobile; the preset driver portrait comprises a preset driver image, a preset driver gender and a preset driver music type preference;
the personnel number and personnel type determining module is used for determining the personnel number and the personnel type according to the copilot image and the rear-row seat image; the personnel number comprises the personnel number of the copilot and the personnel number of the rear seats, the personnel category comprises the personnel category of the copilot and the personnel category of the rear seats, and the personnel category refers to the interval of the sex and the age of the personnel;
and the output volume determining module of the different types of sound sources is used for determining the output volumes of the different types of sound sources according to the images of drivers in the vehicle, the volume references of the different types of sound sources, the number of personnel and the personnel category.
In a third aspect, the present invention provides an electronic device, comprising:
at least one processor, and a memory communicatively coupled to at least one of the processors;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
In a fourth aspect, the present invention provides a medium having stored thereon computer instructions for causing the computer to perform the method described above.
Compared with the prior art, the invention has the beneficial effects that:
the sound source balancing method provided by the invention firstly determines the volume reference of different types of sound sources according to the preset driver portrait and the driver image in the vehicle, and the volume reference is used as the basic value of the subsequent output volume. For example, if the former sound source is light music and the latter sound source is rock music, the volume references of the two sound sources are different, for example, if the volume reference of the light music is higher than the volume reference of the rock music (i.e. the volume of the light music is large and the volume of the rock music is small), when the sound source is switched from the light music to the rock music, the problem of the volume being suddenly increased can not occur because the volume references of the two sound sources are different, thereby improving the user experience. In the prior art, when the switching is performed, the volume is suddenly increased.
Secondly, the method determines the number of persons and the category of the persons according to the image of the passenger seat and the image of the rear seat. The main purpose of determining the number of people and the class of people is to comprehensively consider the output volume from the two aspects of the number of people and the class of people so as to adapt to the diversified requirements of the situations of people in the vehicle.
And finally, determining the output volume of different types of sound sources according to the images of drivers in the vehicle, the volume reference of different types of sound sources, the number of personnel and the personnel category. When the output sound volumes of different types of sound sources are determined, the method particularly considers the point of an in-vehicle driver image, the in-vehicle driver image is not only used for determining the sound volume reference of the different types of sound sources, but also has important influence on the output sound volume, for example, the gender, the age belonging interval and the like of a driver can be obtained from the image, and the sound volume reference, the number of personnel and the personnel type are combined, so that the output sound volume is more scientific and reliable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a sound source balancing method according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a sound source balancing method according to embodiment 2 of the present invention;
fig. 3 is a flowchart of a sound source balancing method according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a sound source balancing apparatus according to embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in embodiment 5 of the present invention.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application to assist in understanding, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Example 1
Fig. 1 is a flowchart of a sound source balancing method provided in this embodiment, and this embodiment is suitable for controlling sound source volume output in a vehicle. The method may be performed by an audio source balancing apparatus, which may be constituted by software and/or hardware, and which is typically integrated in an electronic device.
As shown in fig. 1, the present embodiment provides a sound source balancing method, including the following steps:
s110, determining volume references of different types of sound sources according to preset driver images and in-vehicle driver images; the preset driver representation includes a preset driver image, a preset driver gender and a preset driver music type preference.
The preset driver portrait, the preset driver gender and the preset driver music type preference can be manually input into the electronic equipment in advance, and can also be obtained through machine autonomous learning according to information collected historically in the driving process. For example, the user may manually input an image of the driver, the driver's gender, the driver's music genre preference in advance; the method comprises the steps that historical information is collected during driving of a vehicle, for example, a plurality of driver images and the gender of a driver are collected, the image and the gender which appear most are used as a preset driver image and the gender of the driver, a plurality of music types are collected, and the music type which plays the most is used as the preference of the music type of the preset driver.
The preset music type preference of the driver refers to the music type preferred by the driver, such as rock music, light music, pop music, metal music, folk songs, RAP (RAP) music and the like.
The in-vehicle driver image refers to an image of the in-vehicle driver acquired in real time.
The volume reference of the different types of sound sources is a reference value of the volume of the different types of sound sources. Wherein the different types of sound sources comprise different types of music, vehicle alarm sound, vehicle navigation sound and the like.
Specifically, according to presetting driver and drawing pictures and driver's image in the car, confirm the volume benchmark of different types of sound sources, include:
judging whether the driver in the vehicle is a preset driver or not according to the preset driver image and the image of the driver in the vehicle;
judging that the driver in the vehicle is a preset driver, and determining the volume reference as a preset reference;
judging whether the driver in the vehicle is a preset driver, and determining the volume reference according to the gender of the preset driver, the music type preference of the preset driver and the gender of the driver in the vehicle; wherein the gender of the driver in the vehicle is judged according to the image of the driver in the vehicle. Further, if the gender of the preset driver is female, determining the volume reference as a preset reference; if the preset gender of the driver and the gender of the driver in the vehicle are both male, determining the volume reference as a preset reference; and if the preset gender of the driver is male, the preset music type preference of the driver is rock music, the gender of the driver in the automobile is female, and the volume reference is determined as the difference value between the preset reference and the preset deviation.
The preset reference refers to volume reference values of different types of sound sources preset in the electronic equipment; the preset deviation is used for representing the reduction amount of the preset reference of different types of sound sources, and the preset deviation can be different for the different types of sound sources.
The volume reference determined in this step can be used as a base value of the subsequent output volume. For example, if the former sound source is light music and the latter sound source is rock music, the volume references of the two sound sources are different, for example, if the volume reference of the light music is higher than the volume reference of the rock music (i.e. the volume of the light music is large and the volume of the rock music is small), when the sound source is switched from the light music to the rock music, the problem of the volume being suddenly increased can not occur because the volume references of the two sound sources are different, thereby improving the user experience. In the prior art, when the switching is performed, the volume is suddenly increased.
S120, determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; the personnel number includes vice operator's seat personnel number and back row seat personnel number, personnel's classification includes vice operator's seat personnel classification and back row seat personnel classification, personnel's classification is the interval that personnel's gender and personnel's age belong to.
The image of the passenger seat and the image of the rear seat can be acquired by the camera as the image of the driver in the vehicle. For the specific manner of determining the number of people and the class of people according to the image, any face recognition and age estimation method that can be implemented in the art may be adopted, and this embodiment does not particularly limit this.
The age range of the above-mentioned persons is, for example, 0 to 12 years, 13 to 18 years, 19 to 50 years, or more than 51 years.
The main purpose of the step is to comprehensively consider the output volume from two aspects of the number of people and the class of people so as to adapt to the diversified requirements of the situations of people in the vehicle.
It should be noted that the sequence of S110 and S120 may be switched.
And S130, determining the output volume of the sound sources of different types according to the images of the drivers in the automobile, the volume references of the sound sources of different types, the number of people and the class of people.
Specifically, determining the output volume of different types of sound sources according to the image of the driver in the vehicle, the volume reference of different types of sound sources, the number of people and the category of people includes:
determining the gender of a driver in the vehicle according to the image of the driver in the vehicle;
and determining the output volume of the different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of people and the class of people.
The gender of the driver in the vehicle can be determined according to the image of the driver in the vehicle by any gender recognition method which can be realized in the field, and the method is not particularly limited in the embodiment.
The determining of the output volume of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of different types of sound sources, the number of people and the category of people comprises the following steps:
judging whether the gender of a driver in the automobile is female, and determining the output volume as a preset reference;
and judging the sex of the driver in the vehicle as a man, and determining the output volume of different types of sound sources according to the volume reference, the number of people and the class of people of the different types of sound sources.
For example, if the sex of the driver in the vehicle is male and the number of the persons is 0, determining the output volume of the sound sources of different types as a preset reference;
if the gender of the driver in the vehicle is male, the deputy driver is female 1 or the age of the rear seat is 0-12 years old, 13-18 years old or more than 51 years old, determining the output sound volume of the sound source of different types as the difference value between the preset reference and the preset deviation;
and if the gender of the driver in the vehicle is male, the number of the passenger in the assistant seat is 1 male or more than 1 rear seat, and the age range of the rear seat is 19-50 years, determining the output volume of the sound sources of different types as a preset reference.
Example 2
As shown in fig. 2, this embodiment provides another sound source balancing method, which is a further optimization of S130 in embodiment 1, and the method includes the following steps:
s110, determining volume references of different types of sound sources according to preset driver images and in-vehicle driver images; the preset driver profile includes a preset driver image, a preset driver gender and a preset driver music type preference.
S120, determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; personnel's quantity includes passenger seat personnel quantity and back row seat personnel quantity, personnel's classification includes passenger seat personnel classification and back row seat personnel classification, personnel's classification refers to the interval that personnel's sex and personnel's age belong to.
S131, determining the gender of the driver in the vehicle according to the image of the driver in the vehicle.
S132, determining the pre-output volume of the sound sources of different types according to the gender of the driver in the vehicle, the volume reference of the sound sources of different types, the number of people and the class of people.
S110 and S120 are the same as those in embodiment 1, and S131 and S132 are the same as those in S130 in embodiment 1, and are not described again here. The difference is that in S130 of embodiment 1, "the output volume of the sound source of different type is determined according to the sex of the driver in the vehicle, the volume reference of the sound source of different type, the number of people and the category of people", but in this embodiment, the pre-output volume of the sound source of different type may be determined according to the above information, and the output volume and the pre-output volume should be the same in value, which is only different in terms of expression, and in this embodiment, the final output volume is determined according to the next step after the pre-output volume is obtained.
And S133, determining the output volume of different types of sound sources according to the pre-output volume and the pressure of the front windshield of the vehicle.
Specifically, the determining the output volume of the sound sources of different types according to the pre-output volume and the pressure of the front windshield of the vehicle includes:
if the pressure of the front windshield of the vehicle is lower than the pressure threshold value, determining the output volume of different types of sound sources as the pre-output volume;
and if the pressure of the front windshield of the vehicle is greater than the pressure threshold, determining the output volume of different types of sound sources according to the amount of exceeding the pressure threshold and the pre-output volume.
Due to the fact that rain or wind can increase the pressure of the front windshield of the vehicle, the external noise is relatively large, and if the volume is output according to the pre-output volume, the problem that the sound cannot be clearly distinguished is caused. In this embodiment, on the basis of embodiment 1, a determination factor of the pressure of the front windshield of the vehicle is further added in step S130, which can effectively solve the above problems and make the whole method more intelligent.
Example 3
As shown in fig. 3, this embodiment provides another sound source balance method, which is a further optimization of S133 in embodiment 2, and the method includes the following steps:
s110, determining volume references of different types of sound sources according to preset driver images and in-vehicle driver images; the preset driver profile includes a preset driver image, a preset driver gender and a preset driver music type preference.
S120, determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; the personnel number includes vice operator's seat personnel number and back row seat personnel number, personnel's classification includes vice operator's seat personnel classification and back row seat personnel classification, personnel's classification is the interval that personnel's gender and personnel's age belong to.
S131, determining the gender of the driver in the vehicle according to the image of the driver in the vehicle.
S132, determining the pre-output volume of the sound sources of different types according to the gender of the driver in the vehicle, the volume reference of the sound sources of different types, the number of people and the class of people.
The above steps are the same as those in embodiment 1, and are not described again here.
And S134, determining the output volume of different types of sound sources according to the pre-output volume, the pressure of the front windshield of the vehicle, the priority of the sound sources and whether the vehicle is in a reverse gear state.
When the vehicle has only one sound source output at the same time, the sound volume can be accurately output in the manner of embodiment 2. However, when the vehicle has a plurality of different sound sources outputting at the same time, for example, an alarm sound, a navigation sound, and music, and at this time, each sound source outputs at its own pre-output volume, it is difficult to distinguish the sound, and the user may miss listening to important information. The requirements for the volume of the vehicle are different between the reverse gear state and the non-reverse gear state. In this embodiment, on the basis of embodiment 2, the original step S133 is further adjusted to form step S134, and two determination factors, i.e., the priority of the sound source and whether the vehicle is in the reverse gear state are added in this step, so that the above problems can be effectively solved, and the whole method is more intelligent.
Example 4
As shown in fig. 4, the present embodiment provides an audio source balancing apparatus, including:
the sound volume reference determining module 101 is used for determining the sound volume references of different types of sound sources according to preset driver figures and images of drivers in the automobile; the preset driver profile includes a preset driver image, a preset driver gender and a preset driver music type preference.
A personnel number and category determination module 102, configured to determine a personnel number and a personnel category according to the passenger seat image and the rear seat image; personnel's quantity includes passenger seat personnel quantity and back row seat personnel quantity, personnel's classification includes passenger seat personnel classification and back row seat personnel classification, personnel's classification refers to the interval that personnel's sex and personnel's age belong to.
And the output volume determining module 103 for different types of sound sources is used for determining the output volumes of the different types of sound sources according to the images of drivers in the vehicles, volume references of the different types of sound sources, the number of people and the category of people.
Further, the output volume determination module 103 for different types of sound sources further includes:
the gender determination unit of the driver in the vehicle is used for determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
and the output volume determining unit is used for determining the output volumes of the different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of people and the class of people.
When the output volume of different types of sound sources is determined according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of people and the class of people: judging whether the gender of a driver in the automobile is female, and determining the output volume as a preset reference;
and judging that the gender of the driver in the vehicle is male, and determining the output volume of the sound sources of different types according to the volume reference, the number of the people and the class of the people of the sound sources of different types.
Alternatively, the output volume determining module 103 for different types of sound sources further includes:
the gender unit of the driver in the vehicle is used for determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
the pre-output volume determining unit is used for determining the pre-output volumes of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of personnel and the personnel category;
and the output volume determining unit is used for determining the output volumes of different types of sound sources according to the pre-output volume and the pressure of the front windshield of the vehicle.
Alternatively, the output volume determination module 103 for different types of sound sources further includes:
the gender unit of the driver in the vehicle is used for determining the gender of the driver in the vehicle according to the image of the driver in the vehicle;
the pre-output volume determining unit is used for determining the pre-output volumes of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of personnel and the personnel category;
and the output volume determining unit is used for determining the output volumes of different types of sound sources according to the pre-output volume, the pressure of a front windshield of the vehicle, the priority of the sound sources and whether the vehicle is in a reverse gear state.
The sound source balancing device in this embodiment is used for executing the sound source balancing method in the above embodiment, and thus has at least functional modules and beneficial effects corresponding to the above method.
Example 5
As shown in fig. 5, the present embodiment provides an electronic device including:
at least one processor; and
a memory communicatively coupled to at least one of the processors; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by at least one of the processors to enable the at least one of the processors to perform the method described above. The at least one processor in the electronic device is capable of performing the above method and thus has at least the same advantages as the above method.
Optionally, the electronic device further includes an interface for connecting the components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display Graphical information for a GUI (Graphical User Interface) on an external input/output device, such as a display device coupled to the Interface. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 201 is taken as an example.
The memory 202 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the sound source balancing method in the embodiment of the present invention (for example, the sound volume reference determination module 101, the number of people and class of people determination module 102, and the output sound volume determination module 103 for different types of sound sources in the sound source balancing device). The processor 201 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 202, that is, implements the above-described ABS reference vehicle speed calculation method.
The memory 202 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 202 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 202 may further include memory located remotely from the processor 201, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device may further include: an input device 203 and an output device 204. The processor 201, the memory 202, the input device 203 and the output device 204 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The input device 203 may receive input numeric or character information, and the output device 204 may include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Example 6
The present embodiment provides a medium having stored thereon computer instructions for causing the computer to perform the method described above. The computer instructions on the medium for causing a computer to perform the method described above thus have at least the same advantages as the method described above.
The medium of the present invention may take any combination of one or more computer-readable media. The medium may be a computer readable signal medium or a computer readable storage medium. The medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the medium include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of source balancing, comprising the steps of:
determining volume references of different types of sound sources according to preset driver images and in-vehicle driver images; the preset driver portrait comprises a preset driver image, a preset driver gender and a preset driver music type preference;
determining the number and the category of the personnel according to the image of the passenger seat and the image of the rear seat; the personnel number comprises the personnel number of the copilot and the personnel number of the rear seats, the personnel category comprises the personnel category of the copilot and the personnel category of the rear seats, and the personnel category refers to the interval of the sex and the age of the personnel;
and determining the output volume of the different types of sound sources according to the images of the drivers in the automobile, the volume references of the different types of sound sources, the number of people and the classes of people.
2. The sound source balancing method according to claim 1, wherein the determining the volume reference of different types of sound sources according to the preset driver image and the in-vehicle driver image comprises:
judging whether the driver in the vehicle is a preset driver or not according to the preset driver image and the image of the driver in the vehicle;
judging that the driver in the vehicle is a preset driver, and determining the volume reference as a preset reference;
judging whether the driver in the vehicle is a preset driver, and determining the volume reference according to the gender of the preset driver, the music type preference of the preset driver and the gender of the driver in the vehicle; wherein the gender of the driver in the vehicle is judged according to the image of the driver in the vehicle.
3. The sound source balancing method according to claim 2, wherein the determining the volume reference according to a preset gender of the driver, a preset music genre preference of the driver and a gender of the driver in the vehicle comprises:
judging that the preset gender of the driver and the gender of the driver in the vehicle are both male, and determining the volume reference as a preset reference;
judging whether the preset gender of the driver is male, the preset music type preference of the driver is rock music, the gender of the driver in the vehicle is female, and determining the volume reference as the difference value between the preset reference and the preset deviation;
and judging that the gender of the preset driver is female, and determining the volume reference as a preset reference.
4. The sound source balancing method according to any one of claims 1 to 3, wherein the determining the output sound volumes of the different types of sound sources according to the image of the driver in the vehicle, the sound volume references of the different types of sound sources, the number of persons, and the category of persons includes:
determining the gender of a driver in the vehicle according to the image of the driver in the vehicle;
and determining the output volume of the different types of sound sources according to the gender of a driver in the vehicle, the volume reference of the different types of sound sources, the number of people and the class of people.
5. The sound source balancing method according to claim 4, wherein the determining the output sound volume of the sound source of different types according to the gender of the driver in the vehicle, the sound volume reference of the sound source of different types, the number of people and the class of people comprises:
judging whether the gender of a driver in the automobile is female, and determining the output volume as a preset reference;
and judging that the gender of the driver in the vehicle is male, and determining the output volume of the sound sources of different types according to the volume reference, the number of the people and the class of the people of the sound sources of different types.
6. The sound source balancing method according to any one of claims 1 to 3, wherein the determining the output sound volumes of the different types of sound sources according to the image of the driver in the vehicle, the sound volume references of the different types of sound sources, the number of persons, and the category of persons includes:
determining the gender of a driver in the vehicle according to the image of the driver in the vehicle;
determining the pre-output volume of different types of sound sources according to the gender of a driver in the vehicle, the volume reference of different types of sound sources, the number of personnel and the category of the personnel;
and determining the output volume of different types of sound sources according to the pre-output volume and the pressure of the front windshield of the vehicle.
7. The sound source balancing method according to any one of claims 1 to 3, wherein the determining the output sound volume of the different types of sound sources according to the in-vehicle driver image, the sound volume references of the different types of sound sources, the number of people and the category of people comprises:
determining the gender of a driver in the vehicle according to the image of the driver in the vehicle;
determining the pre-output volume of different types of sound sources according to the gender of a driver in the vehicle, volume references of different types of sound sources, the number of people and the category of people;
and determining the output volume of different types of sound sources according to the pre-output volume, the pressure of the front windshield of the vehicle, the priority of the sound sources and whether the vehicle is in a reverse gear state.
8. An audio source balance device, comprising:
the sound source volume reference determining module is used for determining the sound source volume references of different types according to the preset driver portrait and the driver image in the vehicle; the preset driver portrait comprises a preset driver image, a preset driver gender and a preset driver music type preference;
the personnel number and personnel type determining module is used for determining the personnel number and the personnel type according to the copilot image and the rear-row seat image; the personnel number comprises the personnel number of the copilot and the personnel number of the rear seats, the personnel category comprises the personnel category of the copilot and the personnel category of the rear seats, and the personnel category refers to the interval of the sex and the age of the personnel;
and the output volume determining module of the different types of sound sources is used for determining the output volumes of the different types of sound sources according to the images of drivers in the automobile, the volume references of the different types of sound sources, the number of personnel and the personnel category.
9. An electronic device, comprising:
at least one processor, and a memory communicatively coupled to at least one of the processors;
wherein the memory stores instructions executable by at least one of the processors to enable the at least one of the processors to perform the method of any one of claims 1-7.
10. A medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202110373211.XA 2021-04-07 2021-04-07 Sound source balancing method, sound source balancing device, electronic equipment and medium Pending CN115185477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110373211.XA CN115185477A (en) 2021-04-07 2021-04-07 Sound source balancing method, sound source balancing device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110373211.XA CN115185477A (en) 2021-04-07 2021-04-07 Sound source balancing method, sound source balancing device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115185477A true CN115185477A (en) 2022-10-14

Family

ID=83511562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110373211.XA Pending CN115185477A (en) 2021-04-07 2021-04-07 Sound source balancing method, sound source balancing device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115185477A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483310A (en) * 2023-06-21 2023-07-25 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483310A (en) * 2023-06-21 2023-07-25 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium
CN116483310B (en) * 2023-06-21 2023-09-12 一汽解放汽车有限公司 In-vehicle volume adjusting method, device, equipment and medium

Similar Documents

Publication Publication Date Title
EP3916719A1 (en) Speech recognition
US11438547B2 (en) Video frame transmission method, apparatus, electronic device and readable storage medium
CN111596878B (en) Screen projection method, device, equipment and storage medium
CN111968642A (en) Voice data processing method and device and intelligent vehicle
JP2021082287A (en) Traffic light timing setting method and apparatus, electronic apparatus, and storage medium
CN112037731A (en) Screen brightness adjusting method, device, equipment and storage medium
CN115185477A (en) Sound source balancing method, sound source balancing device, electronic equipment and medium
CN113085722B (en) Vehicle control method, electronic device, and computer-readable medium
US20170287476A1 (en) Vehicle aware speech recognition systems and methods
JP2021190986A (en) Ultrasonic radar array, and obstacle detection method and system
CN113343128A (en) Method, device, equipment and storage medium for pushing information
CN101645716B (en) Vehicle-borne communication system having voice recognition function and recognition method thereof
CN111354334B (en) Voice output method, device, equipment and medium
CN110147283B (en) Display content switching display method, device, equipment and medium
WO2023036234A1 (en) Management system, method and apparatus, and device and storage medium
JP7383761B2 (en) Audio processing method, device, electronic device, storage medium and computer program for vehicles
CN111383626A (en) Vehicle-mounted voice interaction method, device, equipment and medium
CN113791839A (en) Control method, device, equipment and storage medium
CN113791843A (en) Execution method, device, equipment and storage medium
CN112677985B (en) Method and device for determining activation level of central control function of vehicle, electronic equipment and medium
CN115061762A (en) Page display method and device, electronic equipment and medium
CN114764001A (en) Vehicle converging method, device, electronic apparatus, and medium
CN112017659A (en) Processing method, device and equipment for multi-sound zone voice signals and storage medium
CN114038465A (en) Voice processing method and device and electronic equipment
CN112164396A (en) Voice control method and device, electronic equipment and storage medium

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