CN105516451A - Sound effect adjustment method and device - Google Patents

Sound effect adjustment method and device Download PDF

Info

Publication number
CN105516451A
CN105516451A CN201510813418.9A CN201510813418A CN105516451A CN 105516451 A CN105516451 A CN 105516451A CN 201510813418 A CN201510813418 A CN 201510813418A CN 105516451 A CN105516451 A CN 105516451A
Authority
CN
China
Prior art keywords
music
music file
style attribute
target
target sound
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
CN201510813418.9A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510813418.9A priority Critical patent/CN105516451A/en
Publication of CN105516451A publication Critical patent/CN105516451A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/16Automatic control
    • H03G5/165Equalizers; Volume or gain control in limited frequency bands
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2250/00Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
    • G10H2250/055Filters for musical processing or musical effects; Filter responses, filter architecture, filter coefficients or control parameters therefor

Abstract

The invention provides a sound effect adjustment method and device, and belongs to the technical field of communication. The method comprises the steps: obtaining a target style attribute of a target music file, wherein the target music file is a to-be-played music file or a playing music file; querying whether there is a target music mode corresponding to the target style attribute in a preset first corresponding relation or not, wherein the first corresponding relation is used for recording the corresponding relation between the style attribute the music mode; and playing the target music file according to the target music mode when there is the target music mode in the first corresponding relation. The method solves a problem of more tedious adjustment process of a sound effect, achieves the simplification of the sound effect adjustment process, and is used for adjusting the sound effect.

Description

Effect adjusting method and device
Technical field
The disclosure relates to communication technical field, particularly a kind of effect adjusting method and device.
Background technology
Music application in the terminal such as mobile phone, computer, when playing music, in order to improve audio, is provided with different music patterns for different music files, and this music pattern can be pop music pattern, rock music pattern, classical music pattern etc.Music application is when playing music, and user can be that music file selects suitable music pattern to obtain good audio according to the style attribute of music file.Wherein, music application can be music application or the application of music radio station etc.
A kind of effect adjusting method is had in correlation technique, when in the method, music is applied in playing music, user can realize the switching of music pattern by equalizer, concrete, user can trigger equalizer and regulate button, the multiple music pattern option of the corresponding display of terminal, user selects corresponding music pattern in multiple music pattern option, plays this music file under the music pattern that equalizer is selected user.Wherein, equalizer is a kind of electronic module that can regulate various frequency content signal of telecommunication amplification quantity respectively.
Summary of the invention
In order to solve the problem of correlation technique, present disclose provides a kind of effect adjusting method and device.Described technical scheme is as follows:
According to first aspect of the present disclosure, provide a kind of effect adjusting method, the method comprises:
Obtain the target style attribute of target sound music file, target sound music file is music file that is to be played or that playing;
Whether there is target music pattern corresponding to target style attribute in the first corresponding relation that inquiry is preset, the first corresponding relation is for recording the corresponding relation of style attribute and music pattern;
When there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file.
Optionally, the method also comprises:
When there is not target music pattern in the first corresponding relation, according to the style attribute Offered target music pattern of target sound music file;
According to target music mode playback target sound music file.
Optionally, target sound music file is music file to be played, when target sound music file is Online Music file, obtains the target style attribute of target sound music file, comprising:
The play instruction of receiving target music file;
According to play instruction, obtain the target style attribute of target sound music file from the content file that target sound music file is corresponding, content file is used for the relevant information of record object music file.
Optionally, target sound music file is music file to be played, when target sound music file be download music files time, obtain the target style attribute of target sound music file, comprising:
The play instruction of receiving target music file, play instruction comprises the mark of target sound music file;
According to play instruction, from the target style attribute of mark correspondence of the second corresponding relation query aim music file preset, the second corresponding relation is for the corresponding relation of the mark and the style attribute of download music files that record download music files.
Optionally, the method also comprises:
Obtain at least one style attribute that music servers provides;
The music pattern that each style attribute is corresponding is set;
The first corresponding relation is set up according at least one style attribute and music pattern corresponding to each style attribute.
Optionally, target sound music file is the music file play, and obtains the target style attribute of target sound music file, comprising:
From target sound music file plays the moment, in preset time period, obtain the style attribute of target sound music file.
Optionally, target sound music file is the music file play, and whether there is target music pattern corresponding to target style attribute, comprising in the first corresponding relation that inquiry is preset:
The music pattern whether style attribute of detection target sound music file is current with terminal mates;
When the style attribute of target sound music file is not mated with current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to target style attribute.
According to second aspect of the present disclosure, provide a kind of audio adjusting device, this device comprises:
Target style attribute acquisition module, be configured to the target style attribute obtaining target sound music file, target sound music file is music file that is to be played or that playing;
Target music pattern query module, be configured to inquire about in the first default corresponding relation whether there is target music pattern corresponding to target style attribute, the first corresponding relation is for recording the corresponding relation of style attribute and music pattern;
Music playing module, when being configured to there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file.
Optionally, this device also comprises:
Target music pattern arranges module, when being configured to there is not target music pattern in the first corresponding relation, according to the style attribute Offered target music pattern of target sound music file;
File playing module, is configured to according to target music mode playback target sound music file.
Optionally, target sound music file is music file to be played, and when target sound music file is Online Music file, target style attribute acquisition module, is configured to:
The play instruction of receiving target music file;
According to play instruction, obtain the target style attribute of target sound music file from the content file that target sound music file is corresponding, content file is used for the relevant information of record object music file.
Optionally, target sound music file is music file to be played, when target sound music file be download music files time, target style attribute acquisition module, is configured to:
The play instruction of receiving target music file, play instruction comprises the mark of target sound music file;
According to play instruction, from the target style attribute of mark correspondence of the second corresponding relation query aim music file preset, the second corresponding relation is for the corresponding relation of the mark and the style attribute of download music files that record download music files.
Optionally, this device also comprises:
Style attribute acquisition module, is configured at least one style attribute that acquisition music servers provides;
Music pattern arranges module, is configured to arrange music pattern corresponding to each style attribute;
First corresponding relation building module, is configured to set up the first corresponding relation according at least one style attribute and music pattern corresponding to each style attribute.
Optionally, target sound music file is the music file play, and target style attribute acquisition module, is configured to:
From target sound music file plays the moment, in preset time period, obtain the style attribute of target sound music file.
Optionally, target sound music file is the music file play, and target music pattern query module, is configured to:
The music pattern whether style attribute of detection target sound music file is current with terminal mates;
When the style attribute of target sound music file is not mated with current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to target style attribute.
According to the third aspect of the present disclosure, a kind of audio adjusting device is provided, comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to:
Obtain the target style attribute of target sound music file, target sound music file is music file that is to be played or that playing;
Whether there is target music pattern corresponding to target style attribute in the first corresponding relation that inquiry is preset, the first corresponding relation is for recording the corresponding relation of style attribute and music pattern;
When there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By inquiring about target music pattern corresponding to the target style attribute that whether there is target sound music file in the first corresponding relation, the corresponding relation of this first relation correspondence table for recording style attribute and music pattern, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file, solve user when wanting to adopt different music pattern playing music, need the switching repeatedly carrying out music pattern, the problem that the process that audio regulates is more loaded down with trivial details; Reach the effect simplifying the process that audio regulates.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in disclosure embodiment, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the implementation environment schematic diagram involved by effect adjusting method that each embodiment of the disclosure provides;
Fig. 2 is the flow chart of a kind of effect adjusting method according to an exemplary embodiment;
Fig. 3-1 is the flow chart of the another kind of effect adjusting method according to an exemplary embodiment;
Fig. 3-2 is schematic diagrames of a kind of Graphic equalizer according to correlation technique;
Fig. 3-3 to Fig. 3-5 is the schematic diagrames of the equalizer that 3 music patterns according to correlation technique are corresponding;
Fig. 3-6 is a kind of flow charts obtaining the target style attribute of target sound music file according to an exemplary embodiment;
Fig. 3-7 is flow charts that another kind according to an exemplary embodiment obtains the target style attribute of target sound music file;
Fig. 3-8 is flow charts of a kind of query aim music pattern according to an exemplary embodiment;
Fig. 4-1 is the block diagram of a kind of audio adjusting device according to an exemplary embodiment;
Fig. 4-2 is block diagrams of the another kind of audio adjusting device according to an exemplary embodiment;
Fig. 4-3 is block diagrams of the another kind of audio adjusting device according to an exemplary embodiment;
Fig. 5 is the block diagram of the another kind of audio adjusting device according to an exemplary embodiment.
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure execution mode is described in further detail.
Fig. 1 is the schematic diagram of the implementation environment involved by each embodiment of the disclosure, and this implementation environment can comprise: terminal 11 and music servers 12.
Terminal 11 can be mobile phone, panel computer and pocket computer on knee etc.Terminal 11 is provided with the music application for playing music.
Music servers 12 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.Music servers 13 can be connected by wireless network or cable network with terminal 11.Terminal 11 can obtain at least one style attribute that music servers 13 provides, the music pattern that each style attribute is corresponding is set, then sets up the corresponding relation of style attribute and music pattern according at least one style attribute and music pattern corresponding to each style attribute.
Fig. 2 is the flow chart of a kind of effect adjusting method according to an exemplary embodiment, and the terminal 11 that the present embodiment is applied in implementation environment shown in Fig. 1 with this effect adjusting method illustrates.This effect adjusting method can comprise following several step:
In step 201, obtain the target style attribute of target sound music file, target sound music file is music file that is to be played or that playing.
In step 202., whether there is target music pattern corresponding to target style attribute in the first corresponding relation that inquiry is preset, the first corresponding relation is for recording the corresponding relation of style attribute and music pattern.
In step 203, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file.
In sum, the effect adjusting method that disclosure embodiment provides, by inquiring about target music pattern corresponding to the target style attribute that whether there is target sound music file in the first corresponding relation, the corresponding relation of this first relation correspondence table for recording style attribute and music pattern, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file, solve user when wanting to adopt different music pattern playing music, need the switching repeatedly carrying out music pattern, the problem that the process that audio regulates is more loaded down with trivial details; Reach the effect simplifying the process that audio regulates.
Fig. 3-1 is the flow chart of the another kind of effect adjusting method according to an exemplary embodiment, and the terminal 11 that the present embodiment is applied in implementation environment shown in Fig. 1 with this effect adjusting method illustrates.This effect adjusting method can comprise following several step:
In step 301, at least one style attribute that music servers provides is obtained.
The corresponding style attribute of each music file of the music servers in disclosure embodiment, style attribute is used to indicate the style belonging to music file, each style attribute has a fixing label, as music file A belongs to the music file of popular class, so the style attribute of music file A is Trend of fashion attribute, label is " popular "; Music file B belongs to the music file of rock and roll class, so the style attribute of music file B is rock and roll style attribute, label is " rock and roll ".Terminal by the style attribute of the music file in the synchronous music servers of music application, and arranges music pattern in this locality according to this style attribute.It should be noted that, disclosure embodiment is all that terminal performs effect adjusting method by music application.
In step 302, music pattern corresponding to each style attribute is set.
Optionally, terminal can arrange music pattern corresponding to each style attribute by the equalizer of music application, Fig. 3-2 shows a kind of schematic diagram of Graphic equalizer, equalizer is a kind of electronic equipment that can regulate various frequency content signal of telecommunication amplification quantity respectively, compensated the defect of loud speaker and sound field by the adjustment of the signal of telecommunication to various different frequency, compensate and modify various sound source and other special role.Equalizer can be divided three classes: Graphic equalizer, parametric equalizer and REQ room equalizer, wherein, Graphic equalizer is also known as Graphic equalizer, Graphic equalizer, by the distribution of push-and-pull key on panel, can reflect recalled isostatic compensation curve intuitively, and lifting and the attenuation of each frequency are very clear, it adopts constant frequency technology, each frequency is provided with a push-and-pull potentiometer, and no matter promote or certain frequency that decays, the bandwidth of filter is constant all the time.Conventional professional Graphic equalizer is then the signal of 20Hz (hertz) ~ 20kHz is divided into 10 sections, 15 sections, 27 sections, 31 sections regulate.Such people select the frequency equalizer of different hop count respectively according to different requirements.In general, the Frequency point of 10 sections of equalizers distributes with octave separation, under being used in general occasion.15 sections of equalizers are 2/3 octave equalizers, are used on professional public address.31 sections of equalizers are third-octave equalizers, under majority is used in the occasion of the meticulous compensation of important needs.Graphic equalizer structure is simple, simple and clear, applies widely in Specialty Hi-Fi.Usually, the frequency range of people's ear audition is 20Hz ~ 20kHz, and people are divided into several paragraph the audio range of 20Hz ~ 20kHz, and each frequency band is called a sound interval.The division of sound interval adopts constant bandwidth ratio, namely keeps the upper limiting frequency of frequency band and the ratio of lower frequency limit to be a constant.Example, if make the upper limiting frequency of each frequency band double than lower frequency limit, namely the ratio of frequency is 2, and each sound interval divided like this is 1 octave, is called for short octave; If insert two frequencies between the upper limiting frequency and lower frequency limit of an octave again, make the ratio between 4 frequencies identical, like this octave is divided into 3 sound intervals, is called third-octave.Usually, terminal can be provided with equalizer for the music application of playing music.This equalizer can be that music application carries, and also can be used for user to edit and is used.
When style attribute is Trend of fashion attribute, arranging music pattern corresponding to style attribute is pop music pattern, when style attribute is rock and roll style attribute, arranging music pattern corresponding to style attribute is rock music pattern, when style attribute is classicism attribute, arranging music pattern corresponding to style attribute is classical music pattern.The equalizer setting that different music patterns is corresponding different.Example, Fig. 3-3 shows the schematic diagram of equalizer corresponding to pop music pattern, and Fig. 3-4 shows the schematic diagram of equalizer corresponding to rock music pattern, and Fig. 3-5 shows the schematic diagram of equalizer corresponding to classical music pattern.From Fig. 3-3 to Fig. 3-5, the equalizer setting that different music patterns is corresponding different.It should be added that, music pattern can be the default mode that the music application in terminal provides, and can be the music pattern of network recommendation, also can be the music pattern of network friend recommendation, can also be the music pattern preserved after user oneself editor.Can with reference to correlation technique about the detailed process being arranged music pattern corresponding to each style attribute by equalizer.
In step 303, the first corresponding relation is set up according at least one style attribute and music pattern corresponding to each style attribute.
Example, table 1 shows three kinds of style attribute and music pattern relation table corresponding to each style attribute, as shown in table 1, and when style attribute is Trend of fashion attribute, music pattern corresponding to this style attribute is pop music pattern.
Table 1
Style attribute Music pattern
Popular Popular
Rock and roll Rock and roll
Classic Classic
In step 304, the target style attribute of target sound music file is obtained.
Target sound music file is the music file that current time is to be played or playing.Target sound music file can be the music file being about to play, also can be the music file play, namely disclosure embodiment can obtain the target style attribute of target sound music file before playing target sound music file, thus carry out audio adjustment, also can obtain the style attribute of target sound music file in the process playing target sound music file, thus carry out audio adjustment.Preferably, after the play instruction receiving target sound music file (namely before broadcasting target sound music file), the target style attribute of target sound music file is obtained immediately.
Optionally, target sound music file is music file to be played, and when target sound music file is Online Music file, as seen in figures 3-6, step 304 can comprise following a few sub-steps:
In sub-step 3041a, the play instruction of receiving target music file.
Terminal plays the music file in music servers by music application, completes the playing process to Online Music file.Concrete, after terminal submits the solicited message of target sound music file to music servers, music servers can generate content file corresponding to target sound music file, and this content file is sent to terminal.Before terminal plays this target sound music file by music application, the play instruction of first receiving target music file, this play instruction is that user produces when operating music application.Content file corresponding to target sound music file is used for the relevant information of record object music file, as information such as the musical designation of target sound music file, music artists, the music lyrics, music size and style attribute.
In sub-step 3042b, according to play instruction, from the content file that target sound music file is corresponding, obtain the target style attribute of target sound music file.
Music application in terminal is after the play instruction receiving target sound music file, because content file that target sound music file is corresponding records the style attribute of target sound music file, so terminal can obtain this style attribute and target style attribute immediately by music application from content file corresponding to target sound music file.
Optionally, target sound music file is music file to be played, when target sound music file be download music files time, as shown in fig. 3 to 7, step 304 can comprise following a few sub-steps:
In sub-step 3041A, the play instruction of receiving target music file.
The play instruction of target sound music file comprises the mark of target sound music file.Example, the mark of target sound music file can be the musical designation of target sound music file.Before terminal plays this target sound music file by music application, the play instruction of first receiving target music file, this play instruction is that user produces when operating music application.It should be added that, when user downloads a music file by terminal from music servers, music application in terminal can set up the second corresponding relation according to the style attribute of the mark of download music files and download music files.Example, table 2 shows 3 mark of download music files and the corresponding relations of style attribute thereof, as shown in Table 2, the style attribute being designated the download music files of Q is metallic attribute, and the style attribute being designated the download music files of P is rock and roll style attribute.O, P and Q can be the musical designation of download music files.
Table 2
The mark of download music files The style attribute of download music files
O Play and breathe out
P Rock and roll
Q Metal
In sub-step 3041B, according to play instruction, from the target style attribute of the mark correspondence of the second corresponding relation query aim music file preset.
Music application in terminal is after the play instruction receiving target sound music file, from the target style attribute of the mark correspondence of the second corresponding relation query aim music file, for table 2, suppose that the music application in terminal receives the play instruction of the download music files being designated Q, it is metallic attribute that the music application so in terminal can obtain the target style attribute being designated the download music files of Q corresponding immediately from table 2.
Optionally, target sound music file is the music file play, and step 304 can comprise: from target sound music file plays the moment, obtain the style attribute of target sound music file in preset time period.The time played due to a usual music file is about 4 minutes, so in order to not affect whole target sound music file by the effect of listening, from target sound music file plays the moment, can obtain the style attribute of target sound music file within the less time period.Example, suppose that the music artists of this target sound music file sang first lyrics from the 5th second, so can play the moment from target sound music file, within 0-5 second, obtain the style attribute of target sound music file.It should be added that, target sound music file is the music file play, when target sound music file be Online Music file or download music files time, the detailed process that music application in terminal obtains the target style attribute of target sound music file can refer step 304 be described, and does not repeat them here.
In step 305, whether there is target music pattern corresponding to target style attribute in the first corresponding relation that inquiry is preset.When there is target music pattern in the first corresponding relation, perform step 306; When there is not target music pattern in the first corresponding relation, perform step 307.
First corresponding relation is for recording the corresponding relation of style attribute and music pattern.Suppose that current time terminal adopts pop music mode playback music file V by music application, the style attribute of music file V is Trend of fashion attribute, and the style attribute of next music file W to be played and target sound music file is classical music attribute, then need to inquire about in the first default corresponding relation whether there is classical music pattern corresponding to classicism attribute, so that terminal adopts classical music mode playback music file W by music application, if but the style attribute of music file W is also Trend of fashion attribute, then without the need to inquiring about the first default corresponding relation, when playing music W, adopt the pop music mode playback of current time.
Optionally, as shown in figures 3-8, step 305 can comprise following a few sub-steps:
In sub-step 3051, the music pattern whether style attribute of detection target sound music file is current with terminal mates.
Concrete, whether current with terminal the label that can detect the label of the style attribute of target sound music file music pattern be identical.Example, if the label of the style attribute of target sound music file is popular, the label of the music pattern that terminal is current is also popular, and the music pattern that so style attribute of target sound music file is current with terminal mates; If the label of the style attribute of target sound music file is popular, the label of the music pattern that terminal is current is classic, and the music pattern that so style attribute of target sound music file is current with terminal does not mate.
In sub-step 3052, when the style attribute of target sound music file is not mated with current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to target style attribute.
When the label of the style attribute of target sound music file is not identical with the label of current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to target style attribute.
Within step 306, according to target music mode playback target sound music file.
Target music pattern corresponding to target style attribute whether is there is, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file in the first corresponding relation that inquiry is preset.It should be added that, when target sound music file be download music files time, the second corresponding relation in sub-step 3041A can also comprise the download storing path of download music files, when play download music files time, can according in the second corresponding relation download music files mark and download storing path and play target sound music file.
In step 307, according to the style attribute Offered target music pattern of target sound music file.Perform step 306.
Target music pattern corresponding to target style attribute whether is there is in the first corresponding relation that inquiry is preset.When there is not target music pattern in the first corresponding relation, according to the style attribute Offered target music pattern of target sound music file, and then can according to target music mode playback target sound music file.Concrete setting up procedure can refer step 302.
In correlation technique, the music pattern that user is selected by equalizer cannot change along with the change of music file, and the effect adjusting method that disclosure embodiment provides, music application in terminal can the to be played or style attribute of music file play of active obtaining, the music pattern corresponding according to this style attribute determination style attribute, then according to this music pattern playing music.Music pattern when playing the music file of different-style attribute by switching at runtime, reaches the effect simplifying the process that audio regulates.
It should be noted that; the sequencing of the effect adjusting method step that disclosure embodiment provides can suitably adjust; step also according to circumstances can carry out corresponding increase and decrease; anyly be familiar with those skilled in the art in the technical scope that the disclosure discloses; the method changed can be expected easily; all should be encompassed within protection range of the present disclosure, therefore repeat no more.
In sum, the effect adjusting method that disclosure embodiment provides, by inquiring about target music pattern corresponding to the target style attribute that whether there is target sound music file in the first corresponding relation, the corresponding relation of this first relation correspondence table for recording style attribute and music pattern, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file, solve user when wanting to adopt different music pattern playing music, need the switching repeatedly carrying out music pattern, the problem that the process that audio regulates is more loaded down with trivial details; Reach the effect simplifying the process that audio regulates.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4-1 is the block diagram of a kind of audio adjusting device according to an exemplary embodiment, and this audio adjusting device can realize becoming the some or all of of terminal 11 in implementation environment shown in Fig. 1 by software, hardware or both combinations.This audio adjusting device can comprise:
Target style attribute acquisition module 401, be configured to the target style attribute obtaining target sound music file, target sound music file is music file that is to be played or that playing.
Target music pattern query module 402, be configured to inquire about in the first default corresponding relation whether there is target music pattern corresponding to target style attribute, the first corresponding relation is for recording the corresponding relation of style attribute and music pattern.
Music playing module 403, when being configured to there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file.
In sum, the audio adjusting device that disclosure embodiment provides, by inquiring about target music pattern corresponding to the target style attribute that whether there is target sound music file in the first corresponding relation, the corresponding relation of this first relation correspondence table for recording style attribute and music pattern, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file, solve user when wanting to adopt different music pattern playing music, need the switching repeatedly carrying out music pattern, the problem that the process that audio regulates is more loaded down with trivial details; Reach the effect simplifying the process that audio regulates.
Optionally, as shown in the Fig. 4-2, this audio adjusting device can also comprise:
Target music pattern arranges module 404, when being configured to there is not target music pattern in the first corresponding relation, according to the style attribute Offered target music pattern of target sound music file.
File playing module 405, is configured to according to target music mode playback target sound music file.
Optionally, target sound music file is music file to be played, and when target sound music file is Online Music file, target style attribute acquisition module 401, is configured to: the play instruction of receiving target music file; According to play instruction, obtain the target style attribute of target sound music file from the content file that target sound music file is corresponding, content file is used for the relevant information of record object music file.
Optionally, target sound music file is music file to be played, when target sound music file be download music files time, target style attribute acquisition module 401, be configured to: the play instruction of receiving target music file, play instruction comprises the mark of target sound music file; According to play instruction, from the target style attribute of mark correspondence of the second corresponding relation query aim music file preset, the second corresponding relation is for the corresponding relation of the mark and the style attribute of download music files that record download music files.
As shown in Fig. 4-3, this audio adjusting device can also comprise:
Style attribute acquisition module 406, is configured at least one style attribute that acquisition music servers provides.
Music pattern arranges module 407, is configured to arrange music pattern corresponding to each style attribute.
First corresponding relation building module 408, is configured to set up the first corresponding relation according at least one style attribute and music pattern corresponding to each style attribute.
Optionally, target sound music file is the music file play, and target style attribute acquisition module 401, is configured to: from target sound music file plays the moment, obtain the style attribute of target sound music file in preset time period.
Optionally, target sound music file is the music file play, and target music pattern query module 402, is configured to: the music pattern whether style attribute of detection target sound music file is current with terminal mates; When the style attribute of target sound music file is not mated with current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to target style attribute.
In sum, the audio adjusting device that disclosure embodiment provides, by inquiring about target music pattern corresponding to the target style attribute that whether there is target sound music file in the first corresponding relation, the corresponding relation of this first relation correspondence table for recording style attribute and music pattern, when there is target music pattern in the first corresponding relation, according to target music mode playback target sound music file, solve user when wanting to adopt different music pattern playing music, need the switching repeatedly carrying out music pattern, the problem that the process that audio regulates is more loaded down with trivial details; Reach the effect simplifying the process that audio regulates.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 5 is the block diagram of a kind of device 500 for audio adjustment according to an exemplary embodiment.Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 500 can comprise following one or more assembly: processing components 5002, memory 5004, power supply module 5006, multimedia groupware 5008, audio-frequency assembly 5010, the interface 5012 of I/O (I/0), sensor cluster 5014, and communications component 5016.
The integrated operation of the usual control device 500 of processing components 5002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 5002 can comprise one or more processor 5020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 5002 can comprise one or more module, and what be convenient between processing components 5002 and other assemblies is mutual.Such as, processing components 5002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 5008 and processing components 5002.
Memory 5004 is configured to store various types of data to be supported in the operation of device 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memory 5004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 5006 is device 500 provide electric power.Power supply module 5006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 5008 is included in the screen providing an output interface between described device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 5008 comprises a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 5010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 5010 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 5004 further or be sent via communications component 5016.In certain embodiments, audio-frequency assembly 5010 also comprises a loud speaker, for output audio signal.
I/O interface 5012 is for providing interface between processing components 5002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 5014 comprises one or more transducer, for providing the state estimation of various aspects for device 500.Such as, sensor cluster 5014 can detect the opening/closing state of device 500, the relative positioning of assembly, such as described assembly is display and the keypad of device 500, the position of all right checkout gear 500 of sensor cluster 5014 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500.Sensor cluster 5014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 5014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 5014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 5016 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 5016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 5016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 5004 of instruction, above-mentioned instruction can perform said method by the processor 5020 of device 500.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 500, the connection status reminding method making device 500 can perform each embodiment above-mentioned to provide.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of module, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment done, equivalent replacement, improvement etc., all should be included within protection range of the present disclosure.

Claims (15)

1. an effect adjusting method, is characterized in that, described method comprises:
Obtain the target style attribute of target sound music file, described target sound music file is music file that is to be played or that playing;
Whether there is target music pattern corresponding to described target style attribute in the first corresponding relation that inquiry is preset, described first corresponding relation is for recording the corresponding relation of style attribute and music pattern;
When there is described target music pattern in described first corresponding relation, target sound music file according to described target music mode playback.
2. method according to claim 1, is characterized in that, described method also comprises:
When there is not described target music pattern in described first corresponding relation, described target music pattern is set according to the style attribute of described target sound music file;
Target sound music file according to described target music mode playback.
3. method according to claim 1 and 2, is characterized in that, described target sound music file is music file to be played, and when described target sound music file is Online Music file, the target style attribute of described acquisition target sound music file, comprising:
Receive the play instruction of described target sound music file;
According to described play instruction, obtain the target style attribute of described target sound music file from the content file that described target sound music file is corresponding, described content file is for recording the relevant information of described target sound music file.
4. method according to claim 1 and 2, is characterized in that, described target sound music file is music file to be played, when described target sound music file be download music files time, the target style attribute of described acquisition target sound music file, comprising:
Receive the play instruction of described target sound music file, described play instruction comprises the mark of target sound music file;
According to described play instruction, inquire about the target style attribute of the mark correspondence of described target sound music file from the second corresponding relation preset, described second corresponding relation is for the corresponding relation of the mark and the style attribute of download music files that record download music files.
5. method according to claim 1, is characterized in that, described method also comprises:
Obtain at least one style attribute that music servers provides;
The music pattern that each described style attribute is corresponding is set;
Described first corresponding relation is set up according to described at least one style attribute and music pattern corresponding to each described style attribute.
6. method according to claim 1 and 2, is characterized in that, described target sound music file is the music file play, and the target style attribute of described acquisition target sound music file, comprising:
From described target sound music file plays the moment, in preset time period, obtain the style attribute of described target sound music file.
7. method according to claim 1, is characterized in that, described target sound music file is the music file play, and whether there is target music pattern corresponding to described target style attribute, comprising in the first corresponding relation that described inquiry is preset:
The music pattern whether currently with terminal detecting the style attribute of described target sound music file mates;
When the style attribute of described target sound music file is not mated with described current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to described target style attribute.
8. an audio adjusting device, is characterized in that, described device comprises:
Target style attribute acquisition module, be configured to the target style attribute obtaining target sound music file, described target sound music file is music file that is to be played or that playing;
Target music pattern query module, be configured to inquire about in the first default corresponding relation whether there is target music pattern corresponding to described target style attribute, described first corresponding relation is for recording the corresponding relation of style attribute and music pattern:
Music playing module, when being configured to there is described target music pattern in described first corresponding relation, target sound music file according to described target music mode playback.
9. device according to claim 8, is characterized in that, described device also comprises:
Target music pattern arranges module, when being configured to there is not described target music pattern in described first corresponding relation, arranges described target music pattern according to the style attribute of described target sound music file;
File playing module, is configured to target sound music file according to described target music mode playback.
10. device according to claim 8 or claim 9, it is characterized in that, described target sound music file is music file to be played, and when described target sound music file is Online Music file, described target style attribute acquisition module, is configured to:
Receive the play instruction of described target sound music file;
According to described play instruction, obtain the target style attribute of described target sound music file from the content file that described target sound music file is corresponding, described content file is for recording the relevant information of described target sound music file.
11. devices according to claim 8 or claim 9, it is characterized in that, described target sound music file is music file to be played, when described target sound music file be download music files time, described target style attribute acquisition module, is configured to:
Receive the play instruction of described target sound music file, described play instruction comprises the mark of target sound music file;
According to described play instruction, inquire about the target style attribute of the mark correspondence of described target sound music file from the second corresponding relation preset, described second corresponding relation is for recording the corresponding relation of the mark of download music files and the style attribute of music file.
12. devices according to claim 8, is characterized in that, described device also comprises:
Style attribute acquisition module, is configured at least one style attribute that acquisition music servers provides;
Music pattern arranges module, is configured to arrange music pattern corresponding to each described style attribute;
First corresponding relation building module, is configured to set up described first corresponding relation according to described at least one style attribute and music pattern corresponding to each described style attribute.
13. devices according to claim 8 or claim 9, it is characterized in that, described target sound music file is the music file play, and described target style attribute acquisition module, is configured to:
From described target sound music file plays the moment, in preset time period, obtain the style attribute of described target sound music file.
14. devices according to claim 8, is characterized in that, described target sound music file is the music file play, and described target music pattern query module, is configured to:
The music pattern whether currently with terminal detecting the style attribute of described target sound music file mates;
When the style attribute of described target sound music file is not mated with described current music pattern, in the first corresponding relation that inquiry is preset, whether there is target music pattern corresponding to described target style attribute.
15. 1 kinds of audio adjusting devices, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain the target style attribute of target sound music file, described target sound music file is music file that is to be played or that playing;
Whether there is target music pattern corresponding to described target style attribute in the first corresponding relation that inquiry is preset, described first corresponding relation is for recording the corresponding relation of style attribute and music pattern:
When there is described target music pattern in described first corresponding relation, target sound music file according to described target music mode playback.
CN201510813418.9A 2015-11-23 2015-11-23 Sound effect adjustment method and device Pending CN105516451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510813418.9A CN105516451A (en) 2015-11-23 2015-11-23 Sound effect adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510813418.9A CN105516451A (en) 2015-11-23 2015-11-23 Sound effect adjustment method and device

Publications (1)

Publication Number Publication Date
CN105516451A true CN105516451A (en) 2016-04-20

Family

ID=55724070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510813418.9A Pending CN105516451A (en) 2015-11-23 2015-11-23 Sound effect adjustment method and device

Country Status (1)

Country Link
CN (1) CN105516451A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126166A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN106231484A (en) * 2016-08-29 2016-12-14 北海爱飞数码科技有限公司 Many audios intelligent sound box
CN107832435A (en) * 2017-11-15 2018-03-23 维沃移动通信有限公司 The player method and mobile terminal of song
CN106024034B (en) * 2016-06-16 2018-11-13 广东欧珀移动通信有限公司 A kind of method and terminal of adjustment audio
CN110789471A (en) * 2019-10-18 2020-02-14 中国第一汽车股份有限公司 Vehicle-mounted music adjusting system and vehicle-mounted music adjusting method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188132A (en) * 2006-11-15 2008-05-28 乐金电子(昆山)电脑有限公司 Automatic setting method and device of balancer function of digital audio player
CN101930776A (en) * 2010-08-02 2010-12-29 华为终端有限公司 Music file recognition and playing method and device
CN104485121A (en) * 2014-11-24 2015-04-01 惠州Tcl移动通信有限公司 Method and system for automatically setting sound effect parameters
CN104811864A (en) * 2015-04-20 2015-07-29 深圳市冠旭电子有限公司 Method and system for self-adaptive adjustment of audio effect
US9842605B2 (en) * 2013-03-26 2017-12-12 Dolby Laboratories Licensing Corporation Apparatuses and methods for audio classifying and processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188132A (en) * 2006-11-15 2008-05-28 乐金电子(昆山)电脑有限公司 Automatic setting method and device of balancer function of digital audio player
CN101930776A (en) * 2010-08-02 2010-12-29 华为终端有限公司 Music file recognition and playing method and device
US9842605B2 (en) * 2013-03-26 2017-12-12 Dolby Laboratories Licensing Corporation Apparatuses and methods for audio classifying and processing
CN104485121A (en) * 2014-11-24 2015-04-01 惠州Tcl移动通信有限公司 Method and system for automatically setting sound effect parameters
CN104811864A (en) * 2015-04-20 2015-07-29 深圳市冠旭电子有限公司 Method and system for self-adaptive adjustment of audio effect

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126166A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN106024034B (en) * 2016-06-16 2018-11-13 广东欧珀移动通信有限公司 A kind of method and terminal of adjustment audio
CN106231484A (en) * 2016-08-29 2016-12-14 北海爱飞数码科技有限公司 Many audios intelligent sound box
CN107832435A (en) * 2017-11-15 2018-03-23 维沃移动通信有限公司 The player method and mobile terminal of song
CN110789471A (en) * 2019-10-18 2020-02-14 中国第一汽车股份有限公司 Vehicle-mounted music adjusting system and vehicle-mounted music adjusting method

Similar Documents

Publication Publication Date Title
CN104021148B (en) Method and device for adjusting sound effect
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
US9525942B2 (en) Mobile apparatus and control method thereof
CN105516451A (en) Sound effect adjustment method and device
CN104517621B (en) Equipment configuration method and device
CN104281432A (en) Method and device for regulating sound effect
CN104112459B (en) Method and apparatus for playing audio data
CN105553688A (en) Equipment working state setting method, device and system
CN106445453A (en) Method and device for switching audio output paths
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN107493500A (en) Multimedia resource player method and device
CN106506437B (en) Audio data processing method and device
CN104978200A (en) Application program display method and device
CN104835516A (en) Music playing method and apparatus, and intelligent terminal
CN105468236A (en) Message prompting method and apparatus and terminal
CN103986999A (en) Method, device and terminal equipment for detecting earphone impedance
CN104378715A (en) Device and method for lowering earphone POP sound
CN108845787A (en) Method, apparatus, terminal and the storage medium that audio is adjusted
CN104539871A (en) Multimedia call method and device
CN104682908A (en) Method and device for controlling volume
CN105635916A (en) Audio processing method and apparatus
CN105430469A (en) Method and device for playing audio/video data, terminal and server
CN109729382A (en) Volume processing method, device and server, the electronic equipment of audio, video data
CN105185396A (en) Method and device for playing audio signal
CN106020766A (en) Music playing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160420