Disclosure of Invention
In view of the above disadvantages of the prior art, an object of the present invention is to provide a method, a system, a medium, and a device for music adaptive sound effect, which are applied to a starting process of a motor vehicle, and solve the technical problems of low adjusting operation efficiency and low adjusting precision in the prior art due to the characteristics of manual operation adjustment and mismatching between adjustment and the environment where a user is located in the prior art, and the present invention provides a method, a system, a medium, and a device for music adaptive sound effect, a method for music adaptive sound effect, which is applied to a client, and is characterized by comprising: downloading a built-in sound effect file from a server side; acquiring satellite positioning information and acquiring real-time environment characteristic information according to the satellite positioning information; analyzing the environmental characteristic information to obtain play mode information, circularly matching the play mode information with all sound effect modes in the built-in sound effect file, and obtaining mode self-adaptive adjustment information; and adjusting the corresponding sound effect mode according to the self-adaptive adjustment information.
In one embodiment of the present invention, acquiring the satellite positioning information and acquiring the environment characteristic information according to the satellite positioning information further includes: judging whether a user logs in; if yes, downloading satellite positioning information from the server; acquiring environment information and place name information according to the satellite positioning information; and extracting environment characteristic information according to the environment information and the place name information.
In one embodiment of the present invention, analyzing the environmental characteristic information to obtain the play mode information, circularly matching the play mode information with all the sound effect modes in the built-in sound effect file, and obtaining the mode adaptive adjustment information includes: acquiring environmental characteristic information; acquiring all sound effect modes in the built-in sound effect file; comparing the environmental characteristic information with the sound effect mode, and judging whether the environmental characteristic information is matched with the sound effect mode; if so, increasing the priority of the sound effect mode and storing the priority as mode priority information; if not, a preset default sound effect mode is used.
In an embodiment of the present invention, adjusting the corresponding sound effect mode according to the adaptive adjustment information includes: acquiring mode priority information; converting the mode priority information into mode priority downloading information and adding the mode priority downloading information into a built-in sound effect file; and updating and storing the mode priority downloading information of all the sound effect modes of the built-in sound effect file.
In one embodiment of the present invention, a music adaptive sound effect system applied to a client includes: the system comprises a sound effect downloading module, an environmental characteristic information module, a self-adaptive information module and a sound effect mode self-adaptive module; the sound effect downloading module is used for downloading the built-in sound effect file from the server side; the environment characteristic information module is used for acquiring satellite positioning information and acquiring real-time environment characteristic information according to the satellite positioning information; the self-adaptive information module is used for analyzing the environmental characteristic information to acquire play mode information, circularly matching the play mode information with all sound effect modes in the built-in sound effect file and acquiring mode self-adaptive adjustment information, and is connected with the sound effect downloading module and the environmental characteristic information module; and the sound effect mode self-adaptive module is used for adjusting the corresponding sound effect mode according to the self-adaptive adjustment information, and the sound effect mode self-adaptive module is connected with the self-adaptive information module.
In one embodiment of the present invention, the environment feature information module includes: the system comprises a client login module, a positioning information downloading module, an environment information acquisition module and an environment characteristic extraction module; the client login module is used for judging whether a user logs in by the client; the positioning information downloading module is used for downloading satellite positioning information from the server side when a user logs in at the client side, and the positioning information downloading module is connected with the client login module; the environment information acquisition module is used for acquiring environment information and place name information according to the satellite positioning information and is connected with the positioning information downloading module; and the environmental characteristic extraction module is used for extracting environmental characteristic information according to the environmental information and the place name information, and is connected with the environmental information acquisition module.
In an embodiment of the present invention, the adaptive information module includes: the device comprises a characteristic acquisition module, a sound effect mode acquisition module, a mode matching module, a mode priority adjustment module and a default mode module; the characteristic acquisition module is used for acquiring environmental characteristic information; the sound effect mode acquisition module is used for acquiring all sound effect modes in the built-in sound effect file; the mode matching module is used for comparing the environmental characteristic information with the sound effect mode and judging whether the environmental characteristic information is matched with the sound effect mode or not, the mode matching module is connected with the characteristic acquisition module, and the mode matching module is connected with the sound effect mode acquisition module; the mode priority adjusting module is used for increasing the priority of the sound effect mode and storing the priority as mode priority information when the environmental characteristic information is matched with the sound effect mode, and the mode priority adjusting module is connected with the mode matching module; and the default mode module is used for using a preset default sound effect mode when the environmental characteristic information is not matched with the sound effect mode, and the default mode module is connected with the mode matching module.
In one embodiment of the present invention, the audio mode adaptation module includes: the device comprises a priority information acquisition module, a priority information conversion module and a priority information downloading module; the priority information acquisition module is used for acquiring mode priority information; the priority information conversion module is used for converting the mode priority information into mode priority downloading information and adding the mode priority downloading information into the built-in sound effect file, and the priority information conversion module is connected with the priority information acquisition module; and the priority downloading information module is used for updating and storing mode priority downloading information of all sound effect modes of the built-in sound effect file, and is connected with the priority information conversion module.
In an embodiment of the present invention, a computer-readable storage medium, on which a computer program is stored, the program, when executed by a processor, implementing the music adaptive sound effect method according to any one of claims 1 to 5.
In one embodiment of the present invention, a music adaptive sound effect apparatus includes: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the music adaptive sound effect equipment to execute the music adaptive sound effect method according to any one of claims 1-5.
As described above, the music adaptive sound effect method, system, medium and device provided by the present invention have the following beneficial effects: the utility model provides a music self-adaptive sound effect method, a system, a medium and equipment, which use a server to adjust the playing mode of an audio file on line according to different background sound environments of different geographical positions of a user, because the sound effect file mode is updated and stored in the server in real time, the online audio file adjustment precision is higher, and the defects that the sound effect is poor and the audio file is easily interfered by multiple noises of surrounding environment background sounds in the process of using mobile equipment to listen to the audio music file on line in the traditional technology are avoided, the utility model automatically adjusts the mode adjustment of audio playing according to the different environments of people by acquiring GPS positioning information of the position of the user without depending on manual adjustment of the user, and the server automatically stores sound effect files of different modes for self-adaptive adjustment, thereby improving the experience of listening to the online audio file of the user, the method is simple and convenient to operate, the operations that a user manually searches a mode adjusting function and a mode selection menu in an application interface and manually adjusts the mode by using a screen button when listening to music on a mobile device on line every time are omitted, the audio file adjusted according to the environment information of the geographic position accurately meets the requirement of the user on the playing mode, the defect that the traditional technology depends on manual operation of the user is overcome, the sound effect adjusting precision is improved, and the matching degree of the playing of the audio file and the environment where the user is located is higher.
In conclusion, the utility model solves the problems that the adjustment depends on manual operation and the adjustment is not matched with the environment where the user is located in the prior art, and the technical problems of low adjustment operation efficiency and low adjustment precision exist in the prior art.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a music adaptive sound effect method according to the present invention.
Fig. 2 is a flowchart illustrating step S2 in fig. 1 in an embodiment.
Fig. 3 is a flowchart illustrating step S3 in fig. 1 in an embodiment.
Fig. 4 is a flowchart illustrating step S4 in fig. 1 in an embodiment.
FIG. 5 is a schematic diagram of a music adaptive sound effect system according to the present invention.
Fig. 6 is a block diagram of the environment feature information module 2 shown in fig. 5 according to an embodiment.
Fig. 7 is a block diagram of the adaptive information module 3 shown in fig. 5 according to an embodiment.
Fig. 8 is a block diagram of the audio mode adaptation module 4 in fig. 5 according to an embodiment.
Description of the element reference
1 sound effect downloading module
2 environment characteristic information module
3 adaptive information module
4 sound effect mode self-adaptive module
21 customer login module
22 positioning information downloading module
23 environment information acquisition module
24 environmental feature extraction module
31 feature acquisition module
32 sound effect mode acquisition module
33 pattern matching module
34 mode priority adjustment module
35 default mode module
41 priority information acquisition module
42 priority information conversion module
43 priority information downloading module
Description of step reference numerals
FIGS. 1S 1 to S4
FIGS. 2S 21-S24
FIGS. 3S 31-S35
FIGS. 4S 41 to S43
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be readily apparent to those skilled in the art from the disclosure of the present invention.
Referring to fig. 1 to 8, it should be understood that the structures shown in the drawings are only used for understanding and reading the disclosure, and are not used to limit the practical conditions of the present invention, so that the present invention has no technical significance, and any modifications of the structures, changes of the proportion relation or adjustments of the size are still within the scope of the present invention without affecting the efficacy and the achievable purpose of the present invention. In addition, the terms "upper", "lower", "left", "right", "middle" and "one" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the terms is not to be construed as a scope of the present invention.
Referring to fig. 1, a schematic diagram of steps of a music adaptive sound effect method according to the present invention is shown, and as shown in fig. 1, a method for registering a car with a palm press includes:
s1, downloading built-in sound effect files from the server, and adding sound effect file settings for the data information of each music server, wherein the sound effect files are configured with some common mode files of the song by default;
s2, acquiring satellite positioning information, acquiring real-time environment characteristic information according to the satellite positioning information, acquiring satellite positioning information, and acquiring environment information such as forest, waterside, shopping areas, public transportation facilities and the like of the geographical position corresponding to the positioning information;
s3, analyzing the environmental characteristic information to obtain the play mode information, circularly matching the play mode information with all the sound effect modes in the built-in sound effect file to obtain mode self-adaptive adjustment information, and traversing and matching the obtained environmental information with the play mode information which is stored in the server and corresponds to various environments in sequence;
and S4, adjusting the corresponding sound effect mode according to the self-adaptive adjustment information, updating the sound effect mode in a self-adaptive manner according to the latest environment information in the sound effect mode, and adjusting the sound effect mode adopted by audio playing in a self-adaptive manner.
Referring to fig. 2, which is a detailed flowchart of step S2 in fig. 1, in an embodiment, as shown in fig. 2, the step S2 of obtaining satellite positioning information and obtaining environment characteristic information according to the satellite positioning information further includes:
s21, judging whether a user logs in;
s22, if yes, downloading satellite positioning information from the server, and updating the GPS information corresponding to the geographic position of each mobile client by the server in real time;
s23, acquiring environment information and place name information according to the satellite positioning information, reversely analyzing the mode of the local GPS position, and matching with an effective mode such as a standing mode or a square mode;
and S24, extracting environment characteristic information according to the environment information and the place name information, and converting and extracting the place name data and the environment characteristic information according to the place name information and the environment information.
Referring to fig. 3, fig. 3 is a detailed flowchart of step S3 in fig. 1 in an embodiment, as shown in fig. 3, step S3 is performed to analyze environmental characteristic information to obtain playback mode information, to circularly match the playback mode information with all sound effect modes in a built-in sound effect file, and to obtain mode adaptive adjustment information, including:
s31, acquiring environment characteristic information, namely environment characteristic information corresponding to the sound effect mode;
s32, acquiring all sound effect modes in the built-in sound effect file, and acquiring all kinds of sound effect modes stored in the server from the server;
s33, comparing the environmental characteristic information with the sound effect mode, judging whether the environmental characteristic information is matched with the sound effect mode, and increasing the use times of the corresponding mode in the sound effect file on the server by 1 when the environmental characteristic information is matched with the sound effect mode;
s34, if yes, increasing the priority of the sound effect mode, saving the priority as mode priority information, and correspondingly increasing the frequency of the mode of the sound effect file corresponding to the music on the corresponding server;
and S35, if not, using the default sound effect mode, and selecting the default sound effect mode which uses the most sound effect modes as the default mode, namely using one mode which uses the most sound effect files.
Referring to fig. 4, which is a detailed flowchart of step S4 in fig. 1 according to an embodiment, referring to fig. 4, step S4, adjusting the corresponding sound effect mode according to the adaptive adjustment information includes:
s41, acquiring mode priority information;
s42, converting the mode priority information into mode priority downloading information and adding the downloading information into the built-in sound effect file;
and S43, updating and storing the mode priority downloading information of all the sound effect modes of the built-in sound effect file.
Referring to fig. 5, a schematic diagram of a music adaptive sound effect system module according to the present invention is shown, as shown in fig. 5, the music adaptive sound effect system applied to a client includes: the system comprises a sound effect downloading module 1, an environmental characteristic information module 2, a self-adaptive information module 3 and a sound effect mode self-adaptive module 4; the music downloading module 1 is used for downloading built-in sound files from a server side, newly adding sound file setting to data information of each music server side, and configuring some common mode files of the song by default in the sound files; the environment characteristic information module 2 is used for acquiring satellite positioning information, acquiring real-time environment characteristic information according to the satellite positioning information, acquiring satellite positioning information and acquiring environment information such as forests, watersheds, shopping areas, public transportation facilities and the like of geographic positions corresponding to the positioning information; the self-adaptive information module 3 is used for analyzing the environmental characteristic information to obtain play mode information, circularly matching the play mode information with all sound effect modes in the built-in sound effect file and obtaining mode self-adaptive adjustment information, the self-adaptive information module 3 is connected with the sound effect downloading module 1, the self-adaptive information module 3 is connected with the environmental characteristic information module 2, and the obtained environmental information and the play mode information which is stored in the server and corresponds to various environments are sequentially traversed and matched; and the sound effect mode self-adaptive module 4 is used for adjusting a corresponding sound effect mode according to the self-adaptive adjustment information, the sound effect mode self-adaptive module 4 is connected with the self-adaptive information module 3, the sound effect mode self-adaptively updates the sound effect mode according to the latest environmental information, and the sound effect mode adopted by the audio playing is self-adaptively adjusted.
Referring to fig. 6, a block diagram of the environment feature information module 2 in fig. 5 is shown in detail in an embodiment, as shown in fig. 6, the environment feature information module 2 includes: the system comprises a client login module 21, a positioning information downloading module 22, an environmental information acquisition module 23 and an environmental characteristic extraction module 24; a client login module 21, configured to determine, by a client, whether a user logs in; the positioning information downloading module 22 is used for downloading satellite positioning information from the server when the client has a user to log in, the positioning information downloading module 22 is connected with the client logging module 21, and the server updates GPS information corresponding to the geographic position of each mobile client in real time; the environment information acquisition module 23 is used for acquiring environment information and place name information according to satellite positioning information, the environment information acquisition module 23 is connected with the positioning information downloading module 22, the local GPS position reverse analysis is in what mode, and the mode in the effect is matched with a man-machine mode or a square mode; and the environmental feature extraction module 24 is configured to extract environmental feature information according to the environmental information and the place name information, and the environmental feature extraction module 24 is connected to the environmental information acquisition module 23, and converts and extracts the place name data and the environmental feature information according to the place name information and the environmental information.
Referring to fig. 7, which is a schematic diagram illustrating specific modules of the adaptive information module 3 in fig. 5 in an embodiment, as shown in fig. 7, the adaptive information module 3 includes: the system comprises a feature acquisition module 31, a sound effect mode acquisition module 32, a mode matching module 33, a mode priority adjustment module 34 and a default mode module 35; a feature obtaining module 31, configured to obtain environment feature information, that is, environment feature information corresponding to a sound effect mode; a sound effect mode acquisition module 32, configured to acquire all sound effect modes in the built-in sound effect file, and acquire all kinds of sound effect modes stored in the server from the server; the mode matching module 33 is used for comparing the environmental characteristic information with the sound effect mode and judging whether the environmental characteristic information is matched with the sound effect mode or not, the mode matching module 33 is connected with the characteristic acquisition module 31, the mode matching module 33 is connected with the sound effect mode acquisition module 32, and when a certain mode is matched, the using times of the corresponding mode in the sound effect file on the server are increased by 1; the mode priority adjusting module 34 is configured to increase the priority of the sound effect mode and store the priority as mode priority information when the environmental characteristic information matches the sound effect mode, and the mode priority adjusting module 34 is connected to the mode matching module 33 and correspondingly increases the number of times of the mode of the sound effect file corresponding to the music on the corresponding server; and a default mode module 35, configured to use a preset default sound effect mode when the environmental characteristic information is not matched with the sound effect mode, where the default mode module 35 is connected 33 with the mode matching module, and selects the default sound effect mode that is most used as the default mode, that is, the mode that is most used in the sound effect file.
Referring to fig. 8, which is a block diagram illustrating an embodiment of the audio mode adaptation module 4 in fig. 5, as shown in fig. 8, the audio mode adaptation module 4 includes: a priority information acquisition module 41, a priority information conversion module 42 and a priority information downloading module 43; the priority information acquisition module is used for acquiring mode priority information; a priority information conversion module for converting the mode priority information into mode priority download information and adding the mode priority download information into the built-in sound effect file, wherein the priority information conversion module 42 is connected with the priority information acquisition module 41; a priority information downloading module 43, configured to update and store mode priority downloading information of all sound effect modes of the built-in sound effect file, where the priority information downloading module 43 is connected to the priority information converting module 42.
A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a music adaptive sound effect method, as will be understood by those skilled in the art: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
A music adaptive sound effect device comprising: a processor and a memory; the memory is used for storing a computer program, and the processor is used for executing the computer program stored in the memory, so as to enable the music adaptive sound effect apparatus to execute the music adaptive sound effect method, where the memory may include a Random Access Memory (RAM), and may also include a non-volatile memory (such as at least one disk memory). The processor may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
In summary, the music adaptive sound effect method, system, medium and device provided by the utility model have the following beneficial effects: the utility model provides a music self-adaptive sound effect method, a system, a medium and equipment, which have the following beneficial effects: the utility model provides a music self-adaptive sound effect method, a system, a medium and equipment, which use a server to adjust the playing mode of an audio file on line according to different background sound environments of different geographical positions of a user, and because the sound effect file mode is updated and stored in the server in real time, the adjustment precision of the on-line audio file is higher, thereby avoiding the defects that the sound effect is poor and the audio file is easily interfered by multiple noises of surrounding environment background sounds in the process of using mobile equipment to listen to the audio music file on line in the prior art, the method is simple and convenient to operate, the operations that a user manually searches a mode adjusting function and a mode selection menu in an application interface and manually adjusts the mode by using a screen button when listening to music on a mobile device on line every time are omitted, the audio file adjusted according to the environment information of the geographic position accurately meets the requirement of the user on the playing mode, the defect that the traditional technology depends on manual operation of the user is overcome, the sound effect adjusting precision is improved, and the matching degree of the playing of the audio file and the environment where the user is located is higher.
In conclusion, the utility model solves the problems that the regulation depends on manual operation and the regulation is not matched with the environment where the user is located in the prior art, and the technical problems of low regulation operation efficiency and low regulation precision exist in the prior art, thereby having high commercial value and practicability.