CN114537271A - Control method, vehicle, and storage medium - Google Patents
Control method, vehicle, and storage medium Download PDFInfo
- Publication number
- CN114537271A CN114537271A CN202210121863.9A CN202210121863A CN114537271A CN 114537271 A CN114537271 A CN 114537271A CN 202210121863 A CN202210121863 A CN 202210121863A CN 114537271 A CN114537271 A CN 114537271A
- Authority
- CN
- China
- Prior art keywords
- audio
- sub
- audios
- vehicle
- accompaniment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 22
- 230000005236 sound signal Effects 0.000 claims description 21
- 238000001914 filtration Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 10
- 238000007781 pre-processing Methods 0.000 claims description 9
- 230000007613 environmental effect Effects 0.000 description 32
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 241001465754 Metazoa Species 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 241001137251 Corvidae Species 0.000 description 1
- 206010011469 Crying Diseases 0.000 description 1
- 241000238631 Hexapoda Species 0.000 description 1
- 241000282412 Homo Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 238000010792 warming Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q9/00—Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
- B60R16/0231—Circuits relating to the driving or the functioning of the vehicle
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Mechanical Engineering (AREA)
- Theoretical Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Automation & Control Theory (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The application discloses a control method. The control method comprises the following steps: acquiring audio information of an accompaniment to be played in a preset mode; acquiring real-time environment audio outside the vehicle; determining an atmosphere sound audio matched with the accompaniment in the real-time environment audio according to the audio information; and playing the atmosphere sound audio in the accompaniment playing process. In the process that the user uses the vehicle-mounted KTV function, the ambient sound audio can come from the real-time environment audio outside the current vehicle, and when the vehicle is located in different environments, the ambient sound audio matched with the current environment can be provided for the user, so that a singing environment with more ambient sense can be created through the ambient sound audio. The application also discloses a vehicle and a storage medium.
Description
Technical Field
The present application relates to the field of vehicle technology, and more particularly, to a control method, a vehicle, and a non-volatile computer-readable storage medium.
Background
With the development of automobile electronic technology, the vehicle-mounted entertainment function is more and more abundant. The K song is the recreational activities that consumers like, and the on-vehicle KTV function can make the user carry out the K song at the in-process that uses the vehicle, consequently receives user's extensive liking. However, although the interior space of the vehicle provides a quiet environment for the song K, the environment is relatively closed, so that the environment sound is lacked, and the atmosphere of the song K is lacked.
Disclosure of Invention
Provided are a control method, a control apparatus, a vehicle, and a non-volatile computer-readable storage medium.
An embodiment of the present application provides a control method, including:
acquiring audio information of an accompaniment to be played in a preset mode;
acquiring real-time environment audio outside the vehicle;
determining an atmosphere sound audio matched with the accompaniment in the real-time environment audio according to the audio information;
and playing the atmosphere sound audio in the accompaniment playing process.
Therefore, under the condition that the vehicle enters the preset mode, the audio information of the accompaniment to be played and the real-time environment audio outside the vehicle are acquired, the atmosphere sound audio matched with the accompaniment is determined in the real-time environment audio according to the audio information, and the atmosphere sound audio is added when the accompaniment is played. In the process that the user uses the vehicle-mounted KTV function, the ambient sound audio can come from the real-time environment audio outside the current vehicle, and when the vehicle is located in different environments, the ambient sound audio matched with the current environment can be provided for the user, so that a singing environment with more ambient sense can be created through the ambient sound audio.
In some embodiments, the control method further comprises:
and preprocessing the real-time environment audio, and obtaining a plurality of classified sub-audios according to a preset classification rule.
Therefore, the real-time environment audio is preprocessed, and better audio quality can be obtained. And, a plurality of user's ideal classification sub-audios can be obtained by presetting a classification rule.
In some embodiments, the pre-processing the real-time environment audio and obtaining a plurality of classified sub-audios according to a preset classification rule includes:
carrying out noise filtering processing on the real-time environment audio;
classifying the audio subjected to noise filtering processing according to the audio signal to obtain a plurality of sub-audios;
and matching the plurality of sub-audios with a preset track type to obtain a plurality of classified sub-audios.
Therefore, after the real-time environment audio is subjected to noise filtering, clear audio with better quality can be obtained, the audio subjected to noise filtering is classified according to audio signals to obtain a plurality of sub-audios, the classified sub-audios are further matched with preset track types, and the sub-audios are divided into different track types. The played atmosphere sound audio is divided more finely, and the atmosphere sound audio of different song types can be provided for the user in the process that the user uses the vehicle-mounted KTV function.
In some embodiments, the predetermined track type comprises a plurality, and matching the plurality of sub-audios to the predetermined track type comprises:
matching each of the sub-audios to at least one of the predetermined track types according to a user input.
In this manner, the user may choose to match each sub-audio with one or more pre-set track types as desired. Therefore, the played atmosphere sound audio can meet the wish of the user in the process of using the vehicle-mounted KTV function by the user.
In some embodiments, the audio information includes a track type of the accompaniment, and the determining the ambient sound audio matching the accompaniment from the audio information includes:
determining a plurality of classified sub-audios of the same type as the track of the accompaniment among the classified sub-audios as the ambience sound audio.
In this way, according to the track type of the accompaniment to be played, the sub-audio which is the same as the track type of the accompaniment in the plurality of classified sub-audios is determined as the atmosphere sound audio, so that the atmosphere sound is more matched with the accompaniment.
In some embodiments, the control method further comprises:
determining the type of the target track according to the input of the user;
and determining the classified sub-audio with the same type as the target track in the plurality of classified sub-audios as the atmosphere sound audio according to the type of the target track.
In this way, the track type of the ambient sound audio to be played is determined according to the user's intention, and the classified sub audio of the same type as the track type is determined as the ambient sound audio. The user can select the type of the music of the atmosphere sound to be played according to the will of the user, and more choices are provided for the user.
In some embodiments, the classifying the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios includes:
determining the acquisition weight of the audio content according to the position information of the vehicle;
and extracting the audio content after the classification processing according to the obtained weight to obtain the plurality of sub-audios.
In this way, the acquisition weight of the audio content can be determined according to the current position information of the vehicle. And then extracting the audio content after the classification processing according to the determined acquisition weight to obtain a plurality of sub-audios. A sub-audio that highlights the current real-time environmental characteristics outside the vehicle may be obtained.
In some embodiments, the classifying the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios includes:
determining the obtaining weight of the audio content according to the current weather information;
and extracting the audio content after the classification processing according to the obtained weight to obtain the plurality of sub-audios.
In this manner, the acquisition weight of the audio content may be determined according to the current weather information. And then extracting the audio content after the classification processing according to the determined acquisition weight to obtain a plurality of sub-audios. The sub-audio which highlights the current weather characteristics can be obtained according to the weather changes.
An embodiment of the present application further provides a control device, including:
the acquisition module is used for acquiring the audio information of the accompaniment to be played in a preset mode;
the matching module is used for determining the atmosphere sound frequency matched with the accompaniment according to the audio information;
and the playing module is used for playing the atmosphere sound audio in the accompaniment playing process.
The embodiment of the application also provides a vehicle, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to realize the control method.
The present embodiments also provide a non-transitory computer-readable storage medium that consistently includes a computer program, which, when executed by a processor, causes the processor to perform the control method described above.
According to the control method, the control device, the vehicle and the storage medium, under the condition that the vehicle enters the preset mode, the audio information of the accompaniment to be played and the real-time environment audio outside the vehicle are acquired, the atmosphere sound audio matched with the accompaniment is determined in the real-time environment audio according to the audio information, and the atmosphere sound audio is added when the accompaniment is played. In the process that the user uses the vehicle-mounted KTV function, the ambient sound audio can come from the real-time environment audio outside the current vehicle, and when the vehicle is located in different environments, the ambient sound audio matched with the current environment can be provided for the user, so that a singing environment with more ambient sense can be created through the ambient sound audio.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a control method according to certain embodiments of the present application;
FIG. 2 is a block schematic diagram of a control device according to certain embodiments of the present application;
FIG. 3 is a flow chart illustrating a control method according to some embodiments of the present disclosure
FIG. 4 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 5 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 6 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 7 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 8 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 9 is a schematic flow chart diagram of a control method according to certain embodiments of the present application;
FIG. 10 is a schematic diagram of a connection state of a non-volatile computer readable storage medium and a processor of some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
The vehicle-mounted KTV can enable users to carry out K song entertainment activities in the process of using vehicles such as driving vehicles, parking vehicles and the like, and attract more and more users to use the function to carry out K songs along with the increasing maturity of the vehicle-mounted KTV technology. The user is at the in-process of K song in the car, compares in KTV place, and the confined space has lacked the atmosphere sense of K song in the car, and makes user experience not good enough.
Referring to fig. 1, a control method according to an embodiment of the present disclosure includes the following steps:
01: acquiring audio information of an accompaniment to be played in a preset mode;
02: acquiring real-time environment audio outside the vehicle;
03: determining an atmosphere sound frequency matched with the accompaniment in real-time environment audio according to the audio information;
04: and in the process of playing the accompaniment, playing the atmosphere sound audio.
Referring to fig. 2, the present embodiment further provides a control device 10, where the control device 10 includes an obtaining module 11, a matching module 12, and a playing module 13. The control method according to the embodiment of the present application is applicable to the control device 10 according to the embodiment of the present application. The obtaining module 11 is configured to perform steps 01 and 02, and the matching module 12 is configured to perform step 03 and the playing module 13 is configured to perform step 04. Namely, the obtaining module 11 is configured to obtain the audio information of the accompaniment to be played and obtain the real-time environment audio outside the vehicle in the predetermined mode. The matching module 12 is configured to determine an ambient sound audio matching the accompaniment in the real-time environment audio according to the audio information. The playing module 13 is used for playing the ambient sound audio in the process of playing the accompaniment.
Embodiments of the present application further provide a vehicle comprising a memory and a processor. The memory has stored therein a computer program for acquiring audio information of an accompaniment to be played in a predetermined mode, and for acquiring real-time environmental audio outside the vehicle, and for determining an ambient sound audio matching the accompaniment in the real-time environmental audio based on the audio information, and for playing the ambient sound audio during playing of the accompaniment.
Specifically, the predetermined mode is a KTV function preset in the in-vehicle system. In the predetermined mode, the passengers in the vehicle can do karaoke activities in the vehicle after the microphone is accessed. In actual operation, the user can enter the preset mode by starting the karaoke application program in the vehicle-mounted system. In other examples, the predetermined mode is automatically entered when the vehicle detects that an associated hardware device, such as a microphone, is plugged in.
The accompaniment means that in a preset mode, after a user selects a song desired to sing, the played audio after the song is singed is eliminated.
The audio information of the accompaniment may include track type information. The track type refers to the type of audio, and the audio can be divided into different track types according to the characteristics of the audio. For example, the classification into track types of sadness, joy, anger, and joy may be made according to the emotion of the audio expression. As another example, the classification into popular, rock and classic track types may be based on the genre of the audio. In addition, the accompaniment may be divided according to a track type division manner set by the user.
In addition, the audio information may also include information such as word making, composition, singing, language, release date, album, duration, etc., and the track type is taken as an example for explanation in this application.
Ambient audio refers to the sound of the environment surrounding the exterior of the vehicle. The environmental audio includes sounds of the natural environment, such as rain, lightning, wind, etc., and sounds produced by animals and plants in the environment, such as bird sounds, insect sounds, leaf swinging sounds, etc. Ambient audio also includes artificially generated sounds such as car whistling, floor sweeping, talking, laughing, crying, and the like. The ambient audio may be captured by a sound input device, such as by an off-board microphone.
The atmosphere sound audio is audio added when the accompaniment is played, and the accompaniment is subjected to atmosphere warming from the aspect of sound by adding the audio. The ambient audio is from real-time ambient audio outside the vehicle. The ambient sound audio is output together with the accompaniment through a sound output device, for example, played through a speaker in the vehicle cabin.
In one example, the user turns on the karaoke mode, selecting the song desired to sing. After receiving the selection of the user, the processor acquires the audio information of the accompaniment of the song, namely the song type information. And acquires the environmental audio outside the vehicle at the present time. For example, when the vehicle is located in a suburban area, it is possible to acquire environmental audio in which a bug sound, a leaf sway sound, a bird sound, and the like are mixed together. If the vehicle is in an downtown area, the environmental audio mixed with the talk sound, the laughter sound, the whistle sound and the like can be obtained. And then selecting the ambient sound audio which is consistent with the track type of the accompaniment from the acquired environmental audio, and playing the ambient sound audio when the accompaniment is played. For example, the user turns on the karaoke mode, selects singing birthday song, and the vehicle judges the accompaniment type of the song as the joyful song after receiving the selection of playing the birthday song by the user. And the ambient audio outside the vehicle at the current moment is acquired, the audio of which the song type is the joy type in the ambient audio is selected as the ambient sound audio, and the ambient sound audio and the accompaniment are played together when the user sings the birthday song.
In this way, the control method, the control device 10, and the vehicle according to the embodiment of the present invention acquire the audio information of the accompaniment to be played and the real-time environment audio outside the vehicle when the vehicle enters the predetermined mode, specify the ambient sound audio matching the accompaniment in the real-time environment audio based on the audio information, and add the ambient sound audio when the accompaniment is played. In the process that the user uses the vehicle-mounted KTV function, the ambient sound audio can come from the real-time environment audio outside the current vehicle, and when the vehicle is located in different environments, the ambient sound audio matched with the current environment can be provided for the user, so that a singing environment with more ambient sense can be created through the ambient sound audio.
Referring to fig. 3, in some embodiments, the control method further includes the steps of:
05: and preprocessing the real-time environment audio, and obtaining a plurality of classified sub-audios according to a preset classification rule.
In certain embodiments, matching module 12 is configured to perform step 05. Namely, the matching module 12 is configured to pre-process the real-time environment audio and obtain a plurality of classified sub-audios according to a preset classification rule.
In some embodiments, the processor is configured to pre-process the real-time environment audio and obtain a plurality of classification sub-audios according to a preset classification rule.
In this embodiment, the preprocessing refers to processing of filtering noise, improving tone, tone and loudness of the audio, and improving audio definition of the acquired real-time environment audio.
Ambient sound audio is derived by capturing real-time ambient audio, and in particular, it will be appreciated that the actual captured ambient audio may include many components, such as a combination of audio content including natural environmental sounds, animal and plant generated sounds, and man-made sounds. Which may also include noise that the user does not wish to hear. The noise can be filtered by preprocessing the real-time environment audio, so that a clearer environment audio is obtained. Further, the audio frequency after the noise filtering processing is divided according to a preset classification rule to obtain a plurality of classification sub-audio frequencies.
The preset classification rule may refer to a preset rule for classifying the acquired environmental audio. May include classifying the audios having the same kind of characteristics into the same category and then matching the classified audios to a predetermined track type, thereby obtaining a plurality of classification rules for classifying the sub-audios.
In one example, after the vehicle acquires the environmental audio, the environmental audio is subjected to noise filtering and classification processing to obtain a plurality of classified sub-audios, so that the ambient audio of the song selected by the user can be further determined according to the setting or the user requirement.
Therefore, the real-time environment audio is preprocessed, and better audio quality can be obtained. And, a plurality of user's ideal classification sub-audios can be obtained by presetting a classification rule.
Referring to fig. 4, in some embodiments, step 05 includes:
050: carrying out noise filtering processing on the real-time environment audio;
051: classifying the audio subjected to noise filtering processing according to the audio signal to obtain a plurality of sub-audios;
052: the plurality of sub-audios are matched with a predetermined track type to obtain a plurality of classified sub-audios.
In some embodiments, the matching module 12 is configured to perform steps 050, 051, and 052, that is, the matching module 12 is configured to perform noise filtering on the real-time environment audio, classify the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios, and match the plurality of sub-audios with the predetermined track type to obtain a plurality of classified sub-audios.
In some embodiments, the processor is configured to perform noise filtering on the real-time environmental audio, perform classification processing on the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios, and match the plurality of sub-audios with a predetermined track type to obtain a plurality of classified sub-audios.
In particular, the pre-processing may comprise a noise filtering process. For the noise filtering process, a noise characteristic may be set in advance, and when a band that coincides with the noise characteristic is found in the environmental audio, the band is filtered out from the environmental audio.
Further, the audio after the noise filtering processing is classified. Classifying the audio means that the audio having the same kind of features is classified into the same class. The classified audio is then matched to a predetermined track type, resulting in a plurality of classified sub-audio.
The audio signal is a signal representing a sound wave, and is a carrier of information such as a wavelength and intensity variation of the sound wave. The basic characteristics of the audio signal comprise wavelength, harmonic wave and wave intensity, and the audio classification according to the audio signal means that the audio is classified according to any one or more characteristics of the wavelength, the harmonic wave and the wave intensity in the characteristics of the audio signal. For example, the audio frequencies are classified according to their wavelength characteristics, and the audio frequencies with consistent wavelengths are classified into a class. And classifying the audio according to the harmonic features of the audio, classifying the audio with consistent harmonics into a class and the like. Or classifying the audio according to the harmonic wave and wave intensity characteristics of the audio, and classifying the audio with harmonic wave and wave intensity consistent into one class. The audio is classified according to the wavelength and the wave intensity of the audio, and the audio with the consistent wavelength and wave intensity is classified into one class and the like. Or classifying the audio frequency according to the characteristics of wavelength, harmonic wave and wave intensity, classifying the audio frequency with consistent wavelength, harmonic wave and wave intensity into one class, and the like.
Further, humans perceive the wavelength as a tone, the harmonic as a tone, and the wave intensity as a tone intensity. Therefore, classifying audio according to an audio signal means classifying audio by selecting any one or more of pitch, timbre, and intensity among audio signal features. The audio is classified into a class, for example, according to its tonal characteristics. And classifying the audios with consistent sound intensity into one class according to the sound intensity characteristics of the audios. The audio is classified according to the tone and tone characteristics of the audio, and the audio with consistent tone and tone is classified into one class, and the like. Or the audio is classified according to the tone and the tone intensity of the audio, and the audio with consistent tone and tone intensity is classified into one class, and the like. Or classifying according to the characteristics of tone, timbre and sound intensity, classifying the audios with consistent tone, timbre and sound intensity into a class and the like.
The predetermined track type refers to a track type preset in the vehicle-mounted system.
In one example, after the real-time ambient audio outside the vehicle is obtained, the ambient audio is subjected to noise filtering, for example, after the ambient audio is obtained, the ambient audio includes a band of device friction that is preset as noise. And filtering the wave band related to equipment friction in the environmental audio to obtain the denoised environmental audio. And then classifying the audio with the same characteristics in the denoised environmental audio into one class according to the audio signal, thereby obtaining a plurality of sub-audios. For example. The environment audio comprises female laughter, male laughter, magpie barking and crow barking. The audio represented as laughter according to the characteristics of the audio signal is classified into one category, and the audio represented as bird strike according to the characteristics of the audio signal is classified into one category, so that the laughter and bird strike audio are obtained. And finally, matching the plurality of sub-audios with the preset track types to obtain a plurality of types of sub-audios. For example, if the predetermined track types are a happy type track and a sad type track, the audio characteristics are represented as an happy type laughter sub-audio and a bird-calling sub-audio, and the classified audio is classified as a classified sub-audio.
Therefore, after the real-time environment audio is subjected to noise filtering, clear audio with better quality can be obtained, the audio subjected to noise filtering is classified according to audio signals to obtain a plurality of sub-audios, the classified sub-audios are further matched with preset track types, and the sub-audios are divided into different track types. The played atmosphere sound audio is divided more finely, and the atmosphere sound audio of different song types can be provided for the user in the process that the user uses the vehicle-mounted KTV function.
Referring to fig. 5, in some embodiments, step 052 includes:
0520: each sub-audio is matched to at least one predetermined track type based on user input.
In some embodiments, the matching module 12 is configured to perform step 0520, namely the matching module 12 is configured to match each sub-audio to at least one predetermined track type based on user input.
In some embodiments, the processor is configured to match each sub-audio to at least one predetermined track type based on user input.
Specifically, the sub-audio and the predetermined track type may be matched according to the user input, and it is understood that the track type of the automatically matched ambient sound audio may not be in accordance with the personal preference of the user when the vehicle-mounted system plays the accompaniment. Therefore, the user can change the matching relationship between the sub-audio and the preset track type according to personal preference.
In one example, the user may select the sub-audio themselves to be categorized into a plurality of pre-defined track types. For example, the preset track types are a happy track, a sad track, an angry track and a funny track, and the matching relationship between the sub audio and the preset track types is to classify the preprocessed sub audio of the laughter into the happy track. At this time, the user can change the matching relationship between the sub-audio and the preset track type. For example, the pre-processed laughter sub-audio is selected to be classified into an angry type track, or the laughter sub-audio is simultaneously classified into an albino type track, a sad type track, an angry type track, and the like.
In this manner, the user may choose to match each sub-audio with one or more pre-set track types as desired. Therefore, the played atmosphere sound audio can meet the wish of the user in the process of using the vehicle-mounted KTV function by the user.
Referring to fig. 6, in some embodiments, the 02 step includes:
020: and determining the classified sub-audio with the same type as the accompaniment track in the plurality of classified sub-audios as the atmosphere sound audio.
In some embodiments, the matching module 12 is configured to execute step 020, that is, the matching module 12 is configured to determine that a classified sub-audio of the plurality of classified sub-audios that is the same as the track type of the accompaniment is an ambient sound audio.
In some embodiments, the processor is configured to determine a classified sub-audio of the plurality of classified sub-audios that is of the same type as the track of the accompaniment is an ambient sound audio.
Specifically, after the sub-audio is matched into a plurality of classified sub-audio according to a preset track type, the classified sub-audio of the same track type as the accompaniment track is determined as the atmosphere sound audio playing. For example, if the preset track types are a happy track and a sad track, the audio features are represented as happy-type laugh sub-audio and bird-type sound sub-audio, which are classified into the happy track, and the classified audio is classified into the classified sub-audio. At this time, if the birthday song is being played in the car, the birthday song is judged to belong to the happy song. Then the classified sub-audio belonging to the joy type music, i.e. the laughter sub-audio and the bird-calling sub-audio are determined as the atmosphere sound audio
In this way, according to the track type of the accompaniment to be played, the sub-audio which is the same as the track type of the accompaniment in the plurality of classified sub-audios is determined as the atmosphere sound audio, so that the atmosphere sound is more matched with the accompaniment.
Referring to fig. 7, in some embodiments, step 02 further includes:
021: determining the type of the target track according to the input of the user;
022: and determining the classified sub-audio with the same type as the target track in the plurality of classified sub-audios as the ambient sound audio according to the type of the target track.
In some embodiments, the matching module 12 is configured to perform steps 021 and 022, i.e., the matching module 12 is configured to determine a target track type according to the user input, and determine a classified sub-audio of the plurality of classified sub-audios that is the same as the target track type as the ambient sound audio according to the target track type.
In some embodiments, the processor is configured to determine a target track type based on user input; and the system is used for determining the classified sub-audio with the same type as the target track in the plurality of classified sub-audios as the atmosphere audio according to the type of the target track.
Specifically, the target track type refers to a track type of the ambient audio to be played, which the user himself selects.
It is understood that the type of track of the automatically matched ambiance audio may not be in accordance with the user's personal preference when the in-vehicle system plays the accompaniment. Therefore, a function for the user to directly select the track type of the classified sub audio to be played may also be provided to meet the personal intention of the user.
In one example, the user may select the track type of the ambient audio to be played by himself, without following preset rules. The user inputs the song type of the atmosphere sound audio to be played, and classified sub-audio consistent with the song type selected by the user is played in the vehicle. For example, it is set that, when a happy song such as "birthday song" is played, classified sub-audios of the same joy are matched, that is, the classified sub-audios are called from the happy type track type to be played as ambience audio. At this time, the user can change the setting of the user and directly select the classified sub-audio of the sadness type to be played as the atmosphere audio playing. And after receiving the selection of the user, playing the classified sub-audio selected by the user. That is, when the user selects the song singing the happy song of birthday song, the sad classified sub-audio is played as the atmosphere audio and the accompaniment.
In this way, the track type of the ambient sound audio to be played is determined according to the user's intention, and the classified sub audio of the same type as the track type is determined as the ambient sound audio. The user can select the type of the music of the atmosphere sound to be played according to the will of the user, and more choices are provided for the user.
In some embodiments, the control method further comprises:
023: determining the type of the target track according to the input of the user;
024: and according to the target track type, determining the audio with the same type as the target track as the ambient sound audio in a pre-stored ambient sound audio library.
In some embodiments, the matching module 12 is configured to perform steps 023 and 024, i.e., the matching module 12 is configured to determine a target track type based on the user input, and determine, in a pre-stored ambient audio library, audio of the same type as the target track as the ambient audio based on the target track type.
In some embodiments, the processor is configured to determine a target track type based on the user input, and to determine audio of the same target track type as the ambient audio in a pre-stored ambient audio library based on the target track type.
In the present embodiment, the ambient audio is obtained from a pre-stored ambient audio library. Specifically, the pre-stored ambience audio library refers to an audio library in which pre-stored audio is located. The audio may be previously acquired ambient audio or may be acquired from a music platform. The audio library contains functions that produce audio sounds that can be used to produce sounds in a microcontroller application. For example, a speaker may be connected to the microcontroller port, and the speaker may play audio from the audio library.
It is understood that the surrounding environment in which the vehicle is located may not have ambient audio that the user would like to play. Therefore, the ambient sound audio library can be arranged, and the audio in the ambient sound audio library is directly called to be played as the ambient sound audio.
In one example, audio pre-stored in an in-vehicle audio library may be used as ambient audio playback. After the user selects the song type of the atmosphere sound audio to be played, the audio which is consistent with the song type selected by the user is called from the atmosphere sound audio library to be played as the atmosphere sound audio. For example, the user selects a sadness type atmosphere sound frequency to be played, calls a sadness type sound frequency stored in the vehicle in advance, and plays the sound frequency as the atmosphere sound frequency together with the accompaniment when the user sings "birthday song".
Therefore, besides the mode of acquiring the environmental sound in real time as the ambient sound audio, the method also provides a pre-stored ambient sound audio library, and calls the audio with the same track type in the ambient sound audio library as the ambient sound audio according to the target track type determined by the user. The user can still play the ambient sound without acquiring the real-time environment audio outside the vehicle.
Referring to fig. 8, in some embodiments, step 051 includes:
0510: determining the acquisition weight of the audio content according to the position information of the vehicle;
0511: and extracting the audio content after the classification processing according to the obtained weight to obtain a plurality of sub-audios.
In some embodiments, the matching module 12 is configured to perform steps 0510 and 0511, that is, the matching module 12 is configured to determine an obtaining weight of the audio content according to the position information of the vehicle, and extract the audio content after the classification processing according to the obtaining weight to obtain a plurality of sub-audios.
In some embodiments, the processor is configured to determine an acquisition weight of the audio content according to the position information of the vehicle, and to extract the audio content after the classification processing according to the acquisition weight to obtain a plurality of sub-audios.
Specifically, the location information refers to the specific geographical location information of the vehicle and the environmental characteristic information embodied by the geographical location. For example, the environment information may be information representing characteristics of the environment, such as alarm area environment information and suburban environment information. The geographic location information may be obtained from a third party facilitator.
The audio content includes a desired audio signal.
The acquisition weight refers to an audio acquisition ratio selected as a sub audio in the classified audio contents. The proportion may range from 0 to 100%. For example, the acquired environmental audio includes audio mixed together with a worm sound, a leaf roll sound, a talk sound, a whistle sound, and the like. After the environmental audio is classified, it is possible to set that a plurality of sub-audios are obtained at an extraction ratio of 10% of a worm sound, 80% of a leaf sway sound, and 10% of a talk sound. That is, the vehicle can extract 10% of the sound of the bug as the sub-audio, 80% of the leaf roll as the sub-audio, and 10% of the talk sound as the sub-audio from the classified external environment audio.
It will be appreciated that although the current real-time ambient audio may be obtained, there may be mixing of audio in the ambient audio that does not conform to the current environmental characteristics. Therefore, after the environmental audios are classified, corresponding acquisition weights are set according to the current geographic environmental characteristics to extract the audios as sub-audios, so that the audios which do not accord with the current geographic environmental characteristics are eliminated or reduced. For example, in a suburban area, the weight of the sound generated by the animal or plant is increased, and the weight of the sound generated by the human is decreased. And in the alarm area, the weight of the sound generated by the human is increased, and the weight of the sound generated by the animal and plant is reduced.
In one example, when a vehicle is located at a certain position, position information of the position is acquired, and position information that the vehicle is located in a suburban area is acquired. And judging the environmental characteristics of the suburbs according to the position information of the vehicle in the suburbs, and selecting 20% of the sound of the bug and 80% of the leaf rolling sound extracted from the classified environmental audio as the sub-audio according to the environmental characteristics of the suburbs.
In this way, the acquisition weight of the audio content can be determined according to the current position information of the vehicle. And then extracting the audio content after the classification processing according to the determined acquisition weight to obtain a plurality of sub-audios. A sub-audio that highlights the current real-time environmental characteristics outside the vehicle may be obtained.
Referring to fig. 9, in some embodiments, step 051 includes:
0512: determining the obtaining weight of the audio content according to the current weather information;
0513: and extracting the audio content after the classification processing according to the obtained weight to obtain a plurality of sub-audios.
In some embodiments, the matching module 12 is configured to perform steps 0512 and 0513, that is, the matching module 12 is configured to determine an obtaining weight of the audio content according to the current weather information, and extract the audio content after the classification processing according to the obtaining weight to obtain a plurality of sub-audios.
In some embodiments, the processor is configured to determine an acquisition weight of the audio content according to the current weather information, and to extract the audio content after the classification processing according to the acquisition weight to obtain a plurality of sub-audios.
Specifically, the weather information refers to information reflecting weather conditions of an area where the vehicle is located, and includes special weather information such as cloudy, sunny, rainy and snowy weather, air temperature, wind direction, wind power, cold tide, typhoon, rainstorm and the like. The weather information may be obtained from the relevant official platform and applications.
It will be appreciated that in the same area, different ambient audio may be generated due to weather changes. For example, when wind blows, the sound of leaf swing is generated more than when wind does not blow, rain sound is generated more when rain falls, thunder sound is generated more when a mine is struck, and the like. In order to make the ambient audio to be played more in line with the current weather conditions. After the environmental audio is classified, corresponding acquisition weight is set according to the current weather condition to extract the audio as the sub-audio. For example, the acquisition weight of the rain sound is increased when raining. And in the thunder strike, the weight of obtaining thunder is improved.
In one example, when the vehicle is located at a certain position, weather information of the position is obtained, and thunder phenomenon information of the position where the vehicle is located is obtained. 80% of thunder and 20% of whistling sounds extracted from the classified environmental audio are selected as sub-audio according to the weather information.
In this manner, the acquisition weight of the audio content may be determined according to the current weather information. And then extracting the audio content after the classification processing according to the determined acquisition weight to obtain a plurality of sub-audios. The sub-audio which highlights the current weather characteristics can be obtained according to the weather changes.
Referring to fig. 10, the present application also provides a non-volatile computer-readable storage medium 100 containing a computer program 101. The computer program 101, when executed by the one or more processors 200, causes the one or more processors 200 to perform the control method of any of the embodiments described above.
Referring to fig. 1, for example, when executed by one or more processors 200, computer program 101 causes processor 200 to perform the following control method:
01: acquiring audio information of an accompaniment to be played in a preset mode;
02: acquiring real-time environment audio outside a vehicle;
03: determining an atmosphere sound frequency matched with the accompaniment in real-time environment audio according to the audio information;
04: and in the process of playing the accompaniment, playing the atmosphere sound audio.
Referring to fig. 3, for another example, when executed by the one or more processors 200, the computer program 101 causes the processors 200 to perform the following control method:
05: and preprocessing the real-time environment audio, and obtaining a plurality of classified sub-audios according to a preset classification rule.
In the description herein, references to the description of "certain embodiments," "in one example," "exemplary," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (10)
1. A control method, comprising:
acquiring audio information of an accompaniment to be played in a preset mode;
acquiring real-time environment audio outside the vehicle;
determining atmosphere sound frequency matched with the accompaniment according to the audio information;
and playing the atmosphere sound audio in the accompaniment playing process.
2. The control method according to claim 1, characterized by comprising:
and preprocessing the real-time environment audio, and obtaining a plurality of classified sub-audios according to a preset classification rule.
3. The control method according to claim 2, wherein the preprocessing the real-time environment audio and obtaining a plurality of classified sub-audios according to a preset classification rule comprises:
carrying out noise filtering processing on the real-time environment audio;
classifying the audio subjected to noise filtering processing according to the audio signal to obtain a plurality of sub-audios;
and matching the plurality of sub-audios with a preset track type to obtain a plurality of classified sub-audios.
4. The control method of claim 3, wherein the predetermined track type comprises a plurality of track types, and wherein matching the plurality of sub-audios to a predetermined track type comprises:
matching each of the sub-audios to at least one of the predetermined track types according to a user input.
5. The method of claim 3, wherein the audio information includes a track type of the accompaniment, and wherein determining the ambient sound audio matching the accompaniment based on the audio information comprises:
determining a plurality of classified sub-audios of the same type as the track of the accompaniment among the classified sub-audios as the ambience sound audio.
6. The control method according to claim 3, characterized by further comprising:
determining the type of the target track according to the input of the user;
and determining the classified sub-audio with the same type as the target track in the plurality of classified sub-audios as the atmosphere sound audio according to the type of the target track.
7. The control method according to claim 3, wherein the classifying the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios comprises:
determining the acquisition weight of the audio content according to the position information of the vehicle;
and extracting the audio content after the classification processing according to the obtained weight to obtain the plurality of sub-audios.
8. The control method according to claim 3, wherein the classifying the noise-filtered audio according to the audio signal to obtain a plurality of sub-audios comprises:
determining the obtaining weight of the audio content according to the current weather information;
and extracting the audio content after the classification processing according to the obtained weight to obtain the plurality of sub-audios.
9. A vehicle, characterized in that: comprising a memory and a processor, in which memory a computer program is stored which, when being executed by the processor, carries out the control method of any one of claims 1-8.
10. A non-transitory computer-readable storage medium comprising a computer program that, when executed by a processor, causes the processor to perform the control method of any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210121863.9A CN114537271A (en) | 2022-02-09 | 2022-02-09 | Control method, vehicle, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210121863.9A CN114537271A (en) | 2022-02-09 | 2022-02-09 | Control method, vehicle, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114537271A true CN114537271A (en) | 2022-05-27 |
Family
ID=81673515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210121863.9A Pending CN114537271A (en) | 2022-02-09 | 2022-02-09 | Control method, vehicle, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114537271A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918094A (en) * | 2008-01-16 | 2010-12-15 | 皇家飞利浦电子股份有限公司 | System and method for automatically creating an atmosphere suited to social setting and mood in an environment |
CN103318079A (en) * | 2013-04-09 | 2013-09-25 | 浙江吉利汽车研究院有限公司杭州分公司 | intelligentIntelligent sound box entertainment system |
CN104410748A (en) * | 2014-10-17 | 2015-03-11 | 广东小天才科技有限公司 | Method for adding background sound effect according to position of mobile terminal and mobile terminal |
US20150365743A1 (en) * | 2014-06-14 | 2015-12-17 | GM Global Technology Operations LLC | Method and apparatus for including sound from an external environment into a vehicle audio system |
CN108242238A (en) * | 2018-01-11 | 2018-07-03 | 广东小天才科技有限公司 | Audio file generation method and device and terminal equipment |
WO2018234848A1 (en) * | 2017-06-20 | 2018-12-27 | Lp-Research Inc. | Affective sound augmentation for automotive applications |
CN109686371A (en) * | 2018-12-25 | 2019-04-26 | 广州灵聚信息科技有限公司 | A kind of music intelligent playing method and device |
CN109920457A (en) * | 2019-03-01 | 2019-06-21 | 广州酷狗计算机科技有限公司 | Play method, apparatus, equipment and the storage medium of song |
CN111312296A (en) * | 2018-12-12 | 2020-06-19 | 上海博泰悦臻电子设备制造有限公司 | Vehicle, vehicle equipment and vehicle equipment audio mixing playing method |
CN111831249A (en) * | 2020-07-07 | 2020-10-27 | Oppo广东移动通信有限公司 | Audio playing method and device, storage medium and electronic equipment |
CN112995844A (en) * | 2021-02-26 | 2021-06-18 | 歌尔科技有限公司 | Sound playing method and sound playing device |
-
2022
- 2022-02-09 CN CN202210121863.9A patent/CN114537271A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918094A (en) * | 2008-01-16 | 2010-12-15 | 皇家飞利浦电子股份有限公司 | System and method for automatically creating an atmosphere suited to social setting and mood in an environment |
CN103318079A (en) * | 2013-04-09 | 2013-09-25 | 浙江吉利汽车研究院有限公司杭州分公司 | intelligentIntelligent sound box entertainment system |
US20150365743A1 (en) * | 2014-06-14 | 2015-12-17 | GM Global Technology Operations LLC | Method and apparatus for including sound from an external environment into a vehicle audio system |
CN104410748A (en) * | 2014-10-17 | 2015-03-11 | 广东小天才科技有限公司 | Method for adding background sound effect according to position of mobile terminal and mobile terminal |
WO2018234848A1 (en) * | 2017-06-20 | 2018-12-27 | Lp-Research Inc. | Affective sound augmentation for automotive applications |
CN108242238A (en) * | 2018-01-11 | 2018-07-03 | 广东小天才科技有限公司 | Audio file generation method and device and terminal equipment |
CN111312296A (en) * | 2018-12-12 | 2020-06-19 | 上海博泰悦臻电子设备制造有限公司 | Vehicle, vehicle equipment and vehicle equipment audio mixing playing method |
CN109686371A (en) * | 2018-12-25 | 2019-04-26 | 广州灵聚信息科技有限公司 | A kind of music intelligent playing method and device |
CN109920457A (en) * | 2019-03-01 | 2019-06-21 | 广州酷狗计算机科技有限公司 | Play method, apparatus, equipment and the storage medium of song |
CN111831249A (en) * | 2020-07-07 | 2020-10-27 | Oppo广东移动通信有限公司 | Audio playing method and device, storage medium and electronic equipment |
CN112995844A (en) * | 2021-02-26 | 2021-06-18 | 歌尔科技有限公司 | Sound playing method and sound playing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4166153B2 (en) | Apparatus and method for discriminating emotion of dog based on analysis of voice characteristics | |
US10789937B2 (en) | Speech synthesis device and method | |
CN102881283B (en) | Method and system for processing voice | |
DE112021001064T5 (en) | Device-directed utterance recognition | |
CN105956153B (en) | The search platform of music file is obtained at internet | |
US11188293B2 (en) | Playback sound provision device | |
CN103109317A (en) | Masking sound outputting device, and masking sound outputting means | |
CN106205602A (en) | Speech playing method and system | |
CN115079989A (en) | Vehicle and control method thereof | |
CN114630472A (en) | Light control method and device | |
US12079538B2 (en) | Method for delivering personalised audio content in a vehicle cab | |
CN111354325B (en) | Automatic word and song creation system and method thereof | |
CN113409798A (en) | Method, device and equipment for generating noise-containing voice data in vehicle | |
CN114537271A (en) | Control method, vehicle, and storage medium | |
CN110297617B (en) | Method and device for initiating active conversation | |
CN117219048A (en) | Personalized speech synthesis method, device, system and storage medium | |
WO2024087727A1 (en) | Voice data processing method based on in-vehicle voice ai, and related device | |
CN105045926B (en) | A kind of searching method obtaining music file at the Internet | |
US7219061B1 (en) | Method for detecting the time sequences of a fundamental frequency of an audio response unit to be synthesized | |
JP2019020638A (en) | Sound generation device, sound generation control program | |
CN101370216B (en) | Emotional processing and playing method for mobile phone audio files | |
JP2004348895A (en) | Onboard reproducing device and its control method, and control program and recording medium | |
CN117068080A (en) | Control method and system for vehicle-mounted equipment according to music scene change | |
KR102702773B1 (en) | Vehicle and control method for the same | |
JP2020042167A (en) | Music generation device and music generation program |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220527 |
|
RJ01 | Rejection of invention patent application after publication |