CN117037857A - Vehicle-mounted music playing method, computer device and storage medium - Google Patents

Vehicle-mounted music playing method, computer device and storage medium Download PDF

Info

Publication number
CN117037857A
CN117037857A CN202311007118.2A CN202311007118A CN117037857A CN 117037857 A CN117037857 A CN 117037857A CN 202311007118 A CN202311007118 A CN 202311007118A CN 117037857 A CN117037857 A CN 117037857A
Authority
CN
China
Prior art keywords
vehicle
music
information
emotion
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311007118.2A
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.)
GAC Honda Automobile Co Ltd
Guangqi Honda Automobile Research and Development Co Ltd
Original Assignee
GAC Honda Automobile Co Ltd
Guangqi Honda Automobile Research and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GAC Honda Automobile Co Ltd, Guangqi Honda Automobile Research and Development Co Ltd filed Critical GAC Honda Automobile Co Ltd
Priority to CN202311007118.2A priority Critical patent/CN117037857A/en
Publication of CN117037857A publication Critical patent/CN117037857A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B31/00Arrangements for the associated working of recording or reproducing apparatus with related apparatus
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric 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/02Electric 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/037Electric 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 occupant comfort, e.g. for automatic adjustment of appliances according to personal settings, e.g. seats, mirrors, steering wheel
    • B60R16/0373Voice control
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/174Facial expression recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/22Arrangements for obtaining desired frequency or directional characteristics for obtaining desired frequency characteristic only 

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Mechanical Engineering (AREA)
  • Otolaryngology (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a vehicle-mounted music playing method, a computer device and a storage medium. According to the invention, the played hearing effect can be generated based on the target music by adjusting the playing content of the target music according to the information outside the vehicle, the macroscopic requirement caused by the emotion represented by the first emotion information of the personnel on the vehicle can be met, and the microscopic requirement caused by the emotion fluctuation of the personnel on the vehicle due to the information outside the vehicle can be met by adjusting the information outside the vehicle, so that the adjustment of the emotion of the personnel on the vehicle by the vehicle-mounted music is more flexible and fine, and the adjustment effect of the emotion of the personnel on the vehicle by the vehicle-mounted music can be improved. The invention is widely applied to the technical field of automobiles.

Description

Vehicle-mounted music playing method, computer device and storage medium
Technical Field
The invention relates to the technical field of automobiles, in particular to a vehicle-mounted music playing method, a computer device and a storage medium.
Background
During driving of an automobile, the driver or passenger's occupants may be affected by various factors, thereby creating negative emotions that affect the driving experience and even the driving safety. Music can regulate the emotion of a person, for example, soft music is beneficial to relieve anger emotion, and aggressive music is beneficial to relieve low-lying emotion. Based on the principle, some current automobile technologies are beneficial to alleviating negative emotion of the personnel on the automobile by identifying emotion of the personnel on the automobile and playing corresponding music according to the identification result. Since a song is played typically for a period of time during which the emotion of the person on the vehicle may have changed, the currently played song will not be able to adapt to the emotion needs of the person on the vehicle.
Disclosure of Invention
Aiming at the technical problems that the played music cannot meet the emotion change of the personnel on the vehicle in real time in the current vehicle-mounted music playing technology, the invention aims to provide a vehicle-mounted music playing method, a computer device and a storage medium.
In one aspect, an embodiment of the present invention includes a vehicle-mounted music playing method, including the steps of:
identifying first emotion information of personnel on the vehicle;
acquiring target music according to the first emotion information; the target music is matched with the first emotion information;
playing the target music;
detecting vehicle exterior environment information;
and adjusting the playing content of the target music according to the information of the outside environment of the vehicle.
Further, the detecting the vehicle exterior environment information includes:
and detecting the environment outside the vehicle in real time to obtain the information of the environment outside the vehicle.
Further, the adjusting the playing content of the target music according to the vehicle exterior environment information includes:
determining second emotion information according to the vehicle exterior environment information and the first emotion information;
acquiring a part to be played of the target music;
decoding the part to be played to obtain waveform information;
and adjusting the waveform information according to the second emotion information.
Further, the acquiring the upcoming playing portion of the target music includes:
determining a similarity between the first mood information and the second mood information;
determining the intercepting duration according to the similarity; the intercepting duration is inversely related to the similarity;
and starting from the current playing position in the target music, cutting out a part corresponding to the cutting-out duration as the part to be played.
Further, the detecting the vehicle exterior environment information includes:
acquiring the playing time length of the unreleased part of the target music;
acquiring a navigation task of a car;
determining a future driving road section matched with the playing time length according to the navigation task;
and detecting by taking the future driving road section as a detection target to obtain the vehicle exterior environment information.
Further, the detecting with the future driving road section as a detection target, to obtain the vehicle exterior environment information, includes:
setting a plurality of detection points on the future driving road section;
respectively carrying out vehicle exterior environment detection on each detection point to obtain vehicle exterior environment information corresponding to each detection point;
and forming a time sequence by the information of the outside environment of the vehicle according to the sequence of the detection points in the future driving road section.
Further, the adjusting the playing content of the target music according to the vehicle exterior environment information includes:
acquiring an unplayed portion of the target music;
dividing the unplayed portion into a plurality of first musical pieces;
establishing a corresponding relation between each first music piece and each detection point;
for any one of the first music pieces, acquiring the in-vehicle environment information of the detection point corresponding to the first music piece, determining second emotion information according to the in-vehicle environment information and the first emotion information, and adjusting the first music piece according to the second emotion information; and matching the adjusted acoustic parameters of the first music piece with the second emotion information.
Further, the adjusting the playing content of the target music according to the vehicle exterior environment information includes:
dividing the unplayed portion into a plurality of first musical pieces;
establishing a corresponding relation between each first music piece and each detection point;
and for any one of the first music pieces, acquiring the in-vehicle environment information of the detection point corresponding to the first music piece, determining second emotion information according to the in-vehicle environment information and the first emotion information, acquiring a second music piece according to the second emotion information, matching the second music piece with the second emotion information, and replacing the first music piece with the second music piece.
In another aspect, an embodiment of the present invention further includes a computer apparatus including a memory for storing at least one program, and a processor for loading the at least one program to perform a vehicle-mounted music playing method in the embodiment.
In another aspect, the embodiment of the present invention further includes a storage medium in which a processor-executable program is stored, which when executed by a processor, is for executing a vehicle-mounted music playing method in the embodiment.
The beneficial effects of the invention are as follows: according to the vehicle-mounted music playing method, the played hearing effect can be generated based on target music by adjusting the playing content of the target music according to the vehicle exterior environment information, macroscopic requirements caused by emotion represented by first emotion information of on-board personnel can be met, and simultaneously, the adjustment is performed based on the vehicle exterior environment information, microscopic requirements caused by emotion fluctuation caused by the on-board personnel due to the vehicle exterior environment information can be met, so that the adjustment of the emotion of the on-board personnel by the vehicle-mounted music is more flexible and fine, the situation that the emotion of the on-board personnel is difficult to match due to overlong music tracks determined to be played according to the first emotion information can be avoided, and the adjustment effect of the vehicle-mounted music on the emotion of the on-board personnel can be improved.
Drawings
Fig. 1 is a schematic diagram of a system to which a vehicle-mounted music playing method may be applied in an embodiment;
fig. 2 is a schematic diagram illustrating steps of a vehicle-mounted music playing method according to an embodiment;
FIG. 3 is a schematic diagram of a first implementation of the step of adjusting the playing content of the target music according to the information of the outside environment of the vehicle;
FIG. 4 is a schematic diagram of a second implementation of the step of adjusting the playing content of the target music according to the information of the outside environment of the vehicle;
fig. 5 is a schematic diagram of a third implementation of the step of adjusting the playing content of the target music according to the in-vehicle environment information in the embodiment.
Detailed Description
In this embodiment, the vehicle-mounted music playing method may be applied to the vehicle-mounted system shown in fig. 1.
Referring to fig. 1, the in-vehicle system includes a control module, an emotion recognition module, a storage module, a communication module, an environmental information detection module, and a music playing module. Wherein the control module is a device having data processing and control functions, for example, an ECU (electronic control unit) on board can be used as the control module; the emotion recognition module can recognize emotion types of the personnel on the vehicle by collecting facial expression, limb actions or breathing, heartbeat and other information of the personnel on the vehicle; the storage module can establish a song library, and music information is stored in the song library; the communication module can be connected with the Internet through a wireless communication protocol, accesses the music server through the Internet and downloads the needed music information; the music playing module comprises devices such as a power amplifier, a loudspeaker and the like, can receive the music information output by the control module, and plays corresponding sound in the automobile cabin.
In fig. 1, the environmental information detection module may collect information about an automobile surrounding environment through the environmental information detection module, for example, the environmental information detection module may include a camera, a sound sensor, a wind speed sensor, a temperature sensor, a humidity sensor, and other sensors, and a satellite navigation module, and through these sensors and modules, the environmental information detection module collects environment information outside the automobile such as a live image, environmental noise, wind speed, air temperature, air humidity, and a real-time position of the automobile surrounding environment, where the environmental information detection module or the control module performs image analysis on the live image, and can identify information about an environment type (for example, urban area, suburban area, and mountain area), a road type (for example, expressway, national road, provincial road, county road), a number of surrounding pedestrians, or vehicles, and further identify information about an external environment such as a congestion degree (for example, smooth, moderate congestion, and serious congestion) of the automobile at the location.
In fig. 1, the environmental information detection module may also download the in-vehicle environmental information from the server by connecting to the server. The server may acquire the latest in-vehicle environment information from the data detection stations provided at the respective locations, or accept vehicles at the respective locations to upload in-vehicle environment information of the respective locations they detected. In this case, the environmental information detection module itself may not have a detection function, but may have a data reception function, and the environmental information detection module may receive the outside environment information of other locations than the current location of the automobile, such as the destination of the automobile, or the outside environment information at a plurality of locations on the route from the current location of the automobile to the destination.
In this embodiment, referring to fig. 2, the vehicle-mounted music playing method includes the steps of:
s1, identifying first emotion information of personnel on a vehicle;
s2, acquiring target music according to the first emotion information;
s3, playing target music;
s4, detecting the information of the outside environment of the vehicle;
s5, according to the information of the outside environment of the automobile, adjusting the playing content of the target music.
Steps S1-S7 are performed by the control module. When the control module performs some of the steps, it may call the emotion recognition module of fig. 1 or the like to acquire the required data or output the data to these components.
In this embodiment, steps S1 to S7 will be described with the driver as an example of the person on the vehicle.
In step S1, the control module triggers the emotion recognition module to work, and performs emotion recognition on the driver to obtain first emotion information. The first emotion information indicates the emotion type of the driver, such as calm, anger, low, happy, etc., when the control module performs step S1. The emotion recognition module sends the recognized first emotion information to the control module.
In step S2, the control module searches for corresponding music from a song library locally stored in the storage module shown in fig. 1 or from a cloud server through the communication module according to the first emotion information. The search conditions of the control module are: the music found matches the first mood information, i.e. can have an enhancing effect on the positive mood of the first mood information type the driver has, or can have a relieving effect on the negative mood of the first mood information type the driver has. For example, if the first mood information indicates a happy type of mood, finding music of the happy type can have an enhancing effect on this, and the music of the happy type is matched with the first mood information; if the first mood information indicates a low-lying type of mood, finding a light-fast type of music can have a relieving effect on this, and the light-fast type of music is matched with the first mood information.
In step S2, when the control module finds out the music information matched with the first emotion information from the local song library or cloud, the music information is read or downloaded to the control module, and the target music is obtained. In this embodiment, the target music may be a complete song, such as a popular song with a definite song name and singer, including a pre-song, a main song, a sub-song, a transitional sentence, a popular sentence, and a bridge segment.
In step S3, the control module decodes the target music, thereby obtaining audio waveform information. The control module sends the audio waveform information to the music playing module to trigger the music playing module to play corresponding sound, so that playing of target music is realized.
In step S4, the control module triggers the environmental information detection module to detect the surrounding environment of the current position of the automobile by itself, or downloads the surrounding environment detection data of the current position or other positions of the automobile from the server, thereby obtaining the vehicle external environment information. The environment information detection module sends the detected environment information outside the vehicle to the control module.
In step S5, the control module adjusts the playing content of the target music played in step S3 according to the in-car environment information sent by the environment information detection module. The adjusted target music is played, and after the adjusted target music is heard by the vehicle occupant, the generated hearing effect is different from the hearing effect which is generated by the vehicle occupant assuming that the unadjusted target music is played.
The principle of performing steps S1-S5 is that: the target music played in the steps S1-S3 is matched with the identified first emotion information, so that the emotion represented by the first emotion information of the personnel on the vehicle can be enhanced (positive emotion) or relieved (negative emotion); the executing of the step S4 also affects the emotion of the person in the vehicle (for example, the air temperature and the humidity represented by the in-vehicle environment information can affect the body feeling of the person in the vehicle, the environment type, the road type, the congestion degree and the like represented by the in-vehicle environment information can affect the driving experience of the person in the vehicle), so that the emotion of the person in the vehicle deviates from the emotion type represented by the first emotion information, and therefore, by executing the step S5, the played content of the target music is adjusted according to the in-vehicle environment information, the played hearing effect can be generated based on the target music, and the macroscopic requirement caused by the emotion represented by the first emotion information of the person in the vehicle can be met, and the microscopic requirement caused by the emotion fluctuation generated by the in-vehicle environment information can be met, so that the vehicle-mounted music is more flexible and fine to the emotion of the person in the vehicle, and the situation that the emotion of the person in the vehicle is difficult to match the situation after the change of the person in the vehicle is caused by the music song determined by the first emotion information can be avoided.
In this embodiment, when the control module performs step S4, that is, the step of detecting the vehicle exterior environment information, the following steps may be specifically performed:
S401A, detecting the environment outside the vehicle in real time to obtain the information of the environment outside the vehicle.
Step S401A is a first implementation of step S4.
When the step S401A is executed, the environment information detection module detects the surrounding environment of the automobile in real time to obtain the information of the outside environment of the automobile; under the condition that the environment information detection module downloads data from the server, the environment information detection module can only download the vehicle exterior environment information of the surrounding environment where the vehicle is currently located.
In this embodiment, on the basis of executing step S401A, the control module may specifically execute the following steps when executing step S5, that is, the step of adjusting the playing content of the target music according to the in-vehicle environment information:
S501A, determining second emotion information according to the vehicle exterior environment information and the first emotion information;
S502A, acquiring a part to be played of target music;
S503A, decoding the part to be played to obtain waveform information;
S504A, adjusting the waveform information according to the second emotion information.
Steps S501A-S504A are the first implementation of step S5.
The principle of steps S501A-S504A is shown in fig. 3.
Referring to fig. 3, in step S501A, the control module determines second emotion information according to the vehicle exterior environment information and the first emotion information. Specifically, the control module may locally pre-store a data table, where the form of the data table is shown in table 1. Table 1 can represent that when a person on the vehicle is affected by the outside environment represented by the in-vehicle environment information with the emotion represented by the first emotion information, the emotion of the person on the vehicle fluctuates and becomes the emotion represented by the second emotion information. By querying the data table, the second mood information can be determined given the in-vehicle environment information and the first mood information.
TABLE 1
Vehicle external environment information (Congestion degree) First emotion information Second emotion information
Smooth and smooth Tension is intense Shu Chang
Moderate congestion Tension is intense Tension is intense
Severe congestion Tension is intense Anger
…… …… ……
Referring to fig. 3, in step S502A, first, from the playback time axis of the target music, the position to which playback is performed at the time of step S5, that is, the current playback position is determined. The portion of the target music before the current play position is a played portion, and the portion after the current play position is an unreplayed portion. And (3) starting from the current playing position, cutting out a part from the target music along the time axis for a certain period of time, and obtaining the part to be played.
Referring to fig. 3, in step S503A, the control module decodes the portion to be played using a music decoding algorithm to obtain waveform information before adjustment.
Referring to fig. 3, in step S504A, the control module adjusts the waveform information according to the second emotion information, and generates a control signal according to the adjusted waveform information, so as to control the music playing module to play the adjusted waveform information.
In step S504A, the control module may perform adjustment processing such as variation, pitch, and speed change on the waveform information according to the second emotion information, so as to adjust the hearing effect of the portion to be played, so that the hearing effect generated when the adjusted waveform information is played can satisfy the emotion requirement represented by the second emotion information of the person on the vehicle.
For example, when the second emotion information indicates tension, in step S504A, the control module accelerates the waveform information, and weakens the low frequency component in the waveform information while maintaining the high frequency component in the waveform information unchanged, so that the adjusted waveform information is played to generate an auditory effect, which has a light feeling, is beneficial to relieving tension emotion of the personnel on the vehicle, and meets emotion requirements of the second emotion information representation of the personnel on the vehicle.
By executing steps S501A-S504A, the auditory effect of the target music played can be adjusted in real time according to the latest detected vehicle exterior environment information, so that the vehicle-mounted music is more sensitive to the adjustment of the emotion of the person on the vehicle.
In this embodiment, referring to fig. 3, when step S502A is executed, the duration of the upcoming playing portion that is intercepted by the control module from the target music is T coming . The control module may perform the following steps to intercept the upcoming play section:
s50201, determining similarity between the first emotion information and the second emotion information;
s50202 determining the intercepting time length T according to the similarity coming
S50203, starting from the current playing position in the target music, cutting out a part which is equivalent to the cutting-out duration and is used as a part to be played.
In step S50201, the control module may set a certain score for each type of emotion such as happiness, tension, low level, sadness, etc., for example, a score of positive value indicates that the emotion type is positive, a score of negative value indicates that the emotion type is negative, so that the first emotion information and the second emotion information will have respective scores. And then the control module calculates the absolute value of the difference between the corresponding scores of the first emotion information and the second emotion information, and determines the similarity between the first emotion information and the second emotion information according to the absolute value, wherein the smaller the absolute value is, the larger the similarity is.
In step S50202, the time length T is intercepted coming Is inversely related to the similarity, i.e. the greater the similarity is, the longer the time length T is intercepted coming Smaller, smaller reverse similarity is the intercepting duration T coming The larger.
In this embodiment, the principle of performing steps S50201-S50203 is that: the second emotion information is the emotion type of the personnel on the vehicle under the condition of considering the environment outside the vehicle, so that the similarity between the first emotion information and the second emotion information can represent the emotion variation degree of the personnel on the vehicle under the condition of being influenced by the environment outside the vehicle, and the larger the similarity is, the smaller the emotion variation degree is; when the similarity is smaller, namely the emotion variation degree is larger, the time length T is intercepted coming The bigger, namely intercepting the longer part to be played is adjusted, so that the requirement of the greater emotion variation degree on adjusting emotion of music is easily met.
In this embodiment, when the control module performs step S4, that is, the step of detecting the vehicle exterior environment information, the following steps may be specifically performed:
S401B, acquiring the playing time length of an unreleased part of target music;
S402B, acquiring a navigation task of the automobile;
S403B, determining a future driving road section matched with the playing time length according to the navigation task;
S404B, detecting by taking a future driving road section as a detection target, and obtaining the vehicle exterior environment information.
Steps S401B-S404B are the second implementation of step S4.
The principle of steps S401B-S404B is shown in fig. 4 and 5.
In step S401B, the control module determines the duration from the current playing position to the end by searching the playing time axis of the target music, and obtains the playing duration T of the unreported part not_played
In step S402B, the control module invokes the satellite navigation module in the environmental information detection module to obtain a navigation task of the automobile.
In step S403B, the control module determines a route of the automobile from the current location to the destination according to the navigation task. Starting from the current position in the route, calculating and obtaining the running time length of the automobile and the playing time length T of the unreleased part according to the current running state of the automobile, road conditions and other information not_played In the same caseThe automobile can reach the position along the route represented by the navigation task. The part from the current position to the reachable position in the route represented by the navigation task is the playing time length T not_played Matched future travel sections.
Upon execution of step S404B, the environmental information detection module may download the in-vehicle environmental information from the server. Referring to fig. 4 or 5, the server collects the vehicle exterior environment information detected by the detection points 1 and 2, the vehicle exterior environment information detected by the detection points 2 and … …, the vehicle exterior environment information detected by the detection points 1 and 2, the vehicle exterior environment information 1 and 2 and … …, the vehicle exterior environment information n are formed by the time sequence from the detection points 1 and 2, … … (the detection points may be fixed detection stations or other vehicles running to the positions).
In this embodiment, on the basis of executing steps S401B-S404B, the control module may specifically execute the following steps when executing step S5, that is, the step of adjusting the playing content of the target music according to the in-vehicle environment information:
S501B, obtaining an unreleased part of target music;
S502B, dividing the unplayed part into a plurality of first music pieces;
S503B, establishing a corresponding relation between each first music piece and each detection point;
S504B, for any first music piece, acquiring the in-car environment information of a detection point corresponding to the first music piece, determining second emotion information according to the in-car environment information and the first emotion information, and adjusting the first music piece according to the second emotion information; the adjusted acoustic parameters of the first musical piece are matched with the second emotion information.
Steps S501B-S504B are the second implementation of step S5.
The principle of steps S501B-S504B is shown in fig. 4.
In step S502B, the control module divides the unplayed portion into a plurality of first music pieces. Specifically, the number of the first music pieces may be the same as the number of the detection points, and the play duration of each first music piece may be the same as the piece estimated travel duration of the future travel section corresponding to the corresponding detection point. For example, referring to fig. 4, n detection points are set in total, and n pieces of in-vehicle environment information such as in-vehicle environment information 1, in-vehicle environment information 2 … …, and the like are detected respectively, and then the unplayed portion is divided into n pieces of first music such as first music piece 1, first music piece 2 … …, first music piece n, and the like. The playing duration of the first music piece 1 is the same as the estimated running duration of the automobile from the starting point of the future running road section to the position of the detection point 1 under the road condition of the future running road section and the current running condition of the automobile in fig. 4; the playing duration of the first music piece 2 is the same … … as the expected running duration of the automobile from the position of the detection point 1 to the position of the detection point 2, and the playing duration of the first music piece n is the same as the expected running duration of the automobile from the position of the detection point n to the end point of the future running road section.
In step S504B, referring to fig. 4, taking the first music piece 3 as an example, the in-car environment information 3 detected by the detection point 3 corresponding to the first music piece 3 is acquired, the second emotion information 3 is determined according to the in-car environment information 3 and the first emotion information (the principle is the same as that in step S501A), and the first music piece 3 is adjusted according to the second emotion information 3 so that the acoustic parameters of the adjusted first music piece are matched with the second emotion information (the principle is the same as that in step S504A). The same operation is also performed for any other first music piece.
In this embodiment, the principle of performing steps S501B-S504B is that: by taking the future driving road section as a target, the information of the outside environment of the vehicle at the position where the vehicle does not drive can be detected, and the unplayed part of the target music can be adjusted in advance, so that when the vehicle drives to a specific position of the future driving road section, the unplayed part of the target music is played to the corresponding position, and the hearing effect of the unplayed part of the target music is matched with the emotion of the personnel on the vehicle after the influence of the outside environment of the vehicle; in addition, in the steps S501B-S504B, the adjustment processing such as variation, tone change, speed change is performed on part or all of the segments in the unplayed part, so that the music playing module can always keep playing the target music, and operations such as "cutting song" are not required, and phenomena such as music pause and the like in the process of "cutting song" are avoided, so that a more natural playing effect is achieved, the effect change of music enhancement or emotion relief is achieved, the emotion change of the personnel on the vehicle can be approached, and a good emotion improvement effect is facilitated.
In this embodiment, on the basis of executing steps S401B-S404B, the control module may specifically execute the following steps when executing step S5, that is, the step of adjusting the playing content of the target music according to the in-vehicle environment information:
S501C, dividing the unplayed part into a plurality of first music pieces;
S502C, establishing a corresponding relation between each first music piece and each detection point;
S503C, for any first music piece, acquiring in-car environment information of a detection point corresponding to the first music piece, determining second emotion information according to in-car environment information and the first emotion information, acquiring a second music piece according to the second emotion information, matching the second music piece with the second emotion information, and replacing the first music piece with the second music piece.
Steps S501C-S503C are a third implementation of step S5.
The principle of steps S501C-S503C is shown in fig. 5.
Steps S501C-S502C are identical to steps S501B-S502B.
In step S503C, referring to fig. 5, taking the first music piece 3 as an example, the in-car environment information 3 detected by the detection point 3 corresponding to the first music piece 3 is obtained, the second emotion information 3 is determined according to the in-car environment information 3 and the first emotion information (the principle is the same as that of step S501A), and the second music piece 3 is obtained according to the second emotion information 3; specifically, if the control module finds a plurality of second music pieces matched with the second emotion information 3 from the local or cloud song library, the control module may set a music stitching condition according to a rule of "music string burn", for example, the music stitching condition may specifically include: of the two pieces of music spliced, the last part of the preceding piece of music is similar in tune, song style is similar, or lyrics is rhythmed, etc., to the beginning part of the following piece of music, then a second piece of music satisfying the music splicing condition (for example, a second piece of music selected, the beginning part of which is similar in tune, song style is similar, or lyrics is rhythmed to the beginning part of the first piece of music 2 or the end part of the second piece of music 2, the ending part of which is similar in tune, song style is similar, or lyrics is rhythmed to the beginning part of the first piece of music 4 or the second piece of music 4) is selected as the second piece of music 3 (in the case of selecting a plurality of second pieces of music, one second piece of music may be randomly selected).
In step S503C, taking the first music piece 3 therein as an example, when the first music piece 3 is replaced with the second music piece 3, the second music piece 3 may be spliced together with the first music piece 2 (if the first music piece 2 is not replaced) or the second music piece 2 (if the first music piece 2 is replaced) and the second music piece 3 may be spliced together with the first music piece 4 (if the first music piece 4 is not replaced) or the second music piece 4 (if the first music piece 4 is replaced) by a music splicing (where "splicing" is also sometimes referred to as "mix-splice", "merge", "composite", or the like) technique, thereby forming spliced music, colloquially referred to as "music burn.
In this embodiment, the principle of performing steps S501C-S503C is that: by taking the future driving road section as a target, the information of the outside environment of the vehicle at the position where the vehicle does not drive can be detected, and the unplayed part of the target music can be adjusted in advance, so that when the vehicle drives to a specific position of the future driving road section, the unplayed part of the target music is played to the corresponding position, and the hearing effect of the unplayed part of the target music is matched with the emotion of the personnel on the vehicle after the influence of the outside environment of the vehicle; in addition, in the steps S501C-S503C, part or all of the segments in the unplayed portion are replaced by new music segments (i.e., the second music segments), so that a "music serial burn" is formed, the music playing module can always keep playing the target music without performing operations such as "cutting song", and the like, and the phenomenon of music pause and the like existing in the process of "cutting song" is avoided, so that the music playing device has a more natural playing effect, the effect change of enhancing or soothing emotion of the music can approach to the emotion change of the personnel on the vehicle, and a good emotion improvement effect is facilitated.
The same technical effects as those of the vehicle-mounted music playing method in the embodiment can be achieved by writing a computer program for executing the vehicle-mounted music playing method in the embodiment into a computer device or a storage medium, and executing the vehicle-mounted music playing method in the embodiment when the computer program is read out to run.
It should be noted that, unless otherwise specified, when a feature is referred to as being "fixed" or "connected" to another feature, it may be directly or indirectly fixed or connected to the other feature. Further, the descriptions of the upper, lower, left, right, etc. used in this disclosure are merely with respect to the mutual positional relationship of the various components of this disclosure in the drawings. As used in this disclosure, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. In addition, unless defined otherwise, all technical and scientific terms used in this example have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the description of the embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used in this embodiment includes any combination of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element of the same type from another. For example, a first element could also be termed a second element, and, similarly, a second element could also be termed a first element, without departing from the scope of the present disclosure. The use of any and all examples, or exemplary language (e.g., "such as") provided herein, is intended merely to better illuminate embodiments of the invention and does not pose a limitation on the scope of the invention unless otherwise claimed.
It should be appreciated that embodiments of the invention may be implemented or realized by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer readable storage medium configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, in accordance with the methods and drawings described in the specific embodiments. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Furthermore, the operations of the processes described in the present embodiments may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes (or variations and/or combinations thereof) described in this embodiment may be performed under control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications), by hardware, or combinations thereof, that collectively execute on one or more processors. The computer program includes a plurality of instructions executable by one or more processors.
Further, the method may be implemented in any type of computing platform operatively connected to a suitable computing platform, including, but not limited to, a personal computer, mini-computer, mainframe, workstation, network or distributed computing environment, separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, and so forth. Aspects of the invention may be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and/or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, which when read by a computer, is operable to configure and operate the computer to perform the processes described herein. Further, the machine readable code, or portions thereof, may be transmitted over a wired or wireless network. When such media includes instructions or programs that, in conjunction with a microprocessor or other data processor, implement the above steps, the invention of this embodiment includes these and other different types of non-transitory computer-readable storage media. The invention also includes the computer itself when programmed according to the methods and techniques of the invention.
The computer program can be applied to the input data to perform the functions of the present embodiment, thereby converting the input data to generate output data that is stored to the non-volatile memory. The output information may also be applied to one or more output devices such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects produced on a display.
The present invention is not limited to the above embodiments, but can be modified, equivalent, improved, etc. by the same means to achieve the technical effects of the present invention without departing from the spirit and principle of the present invention. Various modifications and variations are possible in the technical solution and/or in the embodiments within the scope of the invention.

Claims (10)

1. A vehicle-mounted music playing method, characterized in that the vehicle-mounted music playing method comprises:
identifying first emotion information of personnel on the vehicle;
acquiring target music according to the first emotion information; the target music is matched with the first emotion information;
playing the target music;
detecting vehicle exterior environment information;
and adjusting the playing content of the target music according to the information of the outside environment of the vehicle.
2. The vehicle-mounted music playing method according to claim 1, wherein the detecting of the vehicle exterior environment information includes:
and detecting the environment outside the vehicle in real time to obtain the information of the environment outside the vehicle.
3. The method for playing back music according to claim 2, wherein said adjusting the playback content of the target music according to the in-vehicle environment information comprises:
determining second emotion information according to the vehicle exterior environment information and the first emotion information;
acquiring a part to be played of the target music;
decoding the part to be played to obtain waveform information;
and adjusting the waveform information according to the second emotion information.
4. The vehicle-mounted music playing method according to claim 3, wherein the acquiring the upcoming playing section of the target music includes:
determining a similarity between the first mood information and the second mood information;
determining the intercepting duration according to the similarity; the intercepting duration is inversely related to the similarity;
and starting from the current playing position in the target music, cutting out a part corresponding to the cutting-out duration as the part to be played.
5. The vehicle-mounted music playing method according to claim 1, wherein the detecting of the vehicle exterior environment information includes:
acquiring the playing time length of the unreleased part of the target music;
acquiring a navigation task of a car;
determining a future driving road section matched with the playing time length according to the navigation task;
and detecting by taking the future driving road section as a detection target to obtain the vehicle exterior environment information.
6. The method for playing vehicle-mounted music according to claim 5, wherein the detecting with the future travel section as a detection target to obtain the vehicle-external environment information comprises:
setting a plurality of detection points on the future driving road section;
respectively carrying out vehicle exterior environment detection on each detection point to obtain vehicle exterior environment information corresponding to each detection point; and forming a time sequence by the information of the outside environment of the vehicle according to the sequence of the detection points in the future driving road section.
7. The method for playing back music according to claim 6, wherein said adjusting the playback content of the target music based on the in-vehicle environment information comprises:
acquiring an unplayed portion of the target music;
dividing the unplayed portion into a plurality of first musical pieces;
establishing a corresponding relation between each first music piece and each detection point;
for any one of the first music pieces, acquiring the in-vehicle environment information of the detection point corresponding to the first music piece, determining second emotion information according to the in-vehicle environment information and the first emotion information, and adjusting the first music piece according to the second emotion information; and matching the adjusted acoustic parameters of the first music piece with the second emotion information.
8. The method for playing back music according to claim 6, wherein said adjusting the playback content of the target music based on the in-vehicle environment information comprises:
dividing the unplayed portion into a plurality of first musical pieces;
establishing a corresponding relation between each first music piece and each detection point;
and for any one of the first music pieces, acquiring the in-vehicle environment information of the detection point corresponding to the first music piece, determining second emotion information according to the in-vehicle environment information and the first emotion information, acquiring a second music piece according to the second emotion information, matching the second music piece with the second emotion information, and replacing the first music piece with the second music piece.
9. A computer apparatus comprising a memory for storing at least one program and a processor for loading the at least one program to perform the vehicle-mounted music playing method of any one of claims 1 to 8.
10. A computer-readable storage medium in which a processor-executable program is stored, characterized in that the processor-executable program, when executed by a processor, is for performing the in-vehicle music playback method of any one of claims 1 to 8.
CN202311007118.2A 2023-08-10 2023-08-10 Vehicle-mounted music playing method, computer device and storage medium Pending CN117037857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311007118.2A CN117037857A (en) 2023-08-10 2023-08-10 Vehicle-mounted music playing method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311007118.2A CN117037857A (en) 2023-08-10 2023-08-10 Vehicle-mounted music playing method, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN117037857A true CN117037857A (en) 2023-11-10

Family

ID=88601762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311007118.2A Pending CN117037857A (en) 2023-08-10 2023-08-10 Vehicle-mounted music playing method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN117037857A (en)

Similar Documents

Publication Publication Date Title
US10481858B2 (en) Generating personalized audio content based on mood
JP2644376B2 (en) Voice navigation method for vehicles
US8666743B2 (en) Speech recognition method for selecting a combination of list elements via a speech input
JP4260788B2 (en) Voice recognition device controller
US10414411B2 (en) Notification control apparatus and notification control method
JP6376096B2 (en) Dialogue device and dialogue method
CN107886970B (en) Information providing device
US20170262256A1 (en) Environment based entertainment
US11514884B2 (en) Driving sound library, apparatus for generating driving sound library and vehicle comprising driving sound library
JP2017211703A (en) Drive evaluation device and drive evaluation program
CN115316992A (en) Device and method for caring about emotion based on vehicle sound
CN116368353A (en) Content aware navigation instructions
CN107122493B (en) Song playing method and device
CN115079989A (en) Vehicle and control method thereof
CN117037857A (en) Vehicle-mounted music playing method, computer device and storage medium
JP2005049773A (en) Music reproducing device
US11450209B2 (en) Vehicle and method for controlling thereof
JP2023124286A (en) Information provision method and information provision device
CN115376508A (en) Vehicle-mounted voice interaction system and method switched according to emotional state of driver
JP7176383B2 (en) Information processing device and information processing program
CN117037858A (en) Vehicle-mounted music playing method, computer device and storage medium
CN112562668A (en) Semantic information deviation rectifying method and device
CN110843790A (en) Method, device and equipment for cooperative control of hardware in vehicle
JP7061523B2 (en) In-vehicle karaoke equipment
CN113450788A (en) Method and device for controlling sound output

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