CN103177743B - Song playing method and device - Google Patents
Song playing method and device Download PDFInfo
- Publication number
- CN103177743B CN103177743B CN201310037388.8A CN201310037388A CN103177743B CN 103177743 B CN103177743 B CN 103177743B CN 201310037388 A CN201310037388 A CN 201310037388A CN 103177743 B CN103177743 B CN 103177743B
- Authority
- CN
- China
- Prior art keywords
- song
- play parameter
- play
- parameter
- described song
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000008569 process Effects 0.000 claims description 16
- 241000208340 Araliaceae Species 0.000 claims description 9
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 9
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 9
- 235000008434 ginseng Nutrition 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 239000011159 matrix material Substances 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 5
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008407 joint function Effects 0.000 description 1
Landscapes
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The invention is suitable for the technical field of information, and provides a song playing method and a song playing device, wherein the song playing method comprises the following steps: acquiring playing parameters of the songs; associating the song information of the song with the playing parameters and then storing the song information and the playing parameters into a preset database; extracting the playing parameters associated with the song information from the preset database; and playing the song according to the playing parameters. In the invention, the song information of the played song is associated with the playing parameters set for the song, and when the song is played again, the playing parameters of the music player are automatically adjusted to the playing parameters of the song, so that the playing effect of the music player is optimized on the premise of ensuring the convenience of operation, and the auditory experience of a user is improved.
Description
Technical field
The invention belongs to technical field of mobile terminals, particularly relate to a kind of playback of songs method and device.
Background technology
Along with the arriving of cybertimes, digital music is with its easily transmitted characteristic, in the life of people
In occupy considerable status.Meanwhile, along with raising and the movement of mobile terminal software and hardware level
Popularizing rapidly of the Internet, increasing user habit is in being experienced music whenever and wherever possible by mobile terminal
The hearing enjoying brought.
In order to farthest improve hearing enjoying, different music styles and different singers are deduced
Mode, can be by equalizer built-in in mobile terminal music playing program or volume adjuster to broadcasting
Put effect to be adjusted, modify and optimize auditory effect.But, aforesaid way is only needs the complete of broadcasting
Portion's music arranges identical result of broadcast, if music style there occurs change, then needs again to broadcast current
Putting effect to reset, operating process is loaded down with trivial details, reduces the playing efficiency of music player.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of playback of songs method, it is intended to solves existing music and broadcasts
It is loaded down with trivial details that method of putting arranges operating process to result of broadcast, the problem reducing the playing efficiency of music player.
The embodiment of the present invention is achieved in that a kind of playback of songs method, including:
Obtain the play parameter of described song;
It is stored in presetting database after the song information of described song being associated with described play parameter;
Extract from described presetting database and the described play parameter of described song information association;
Described song is play according to described play parameter.
The another object of the embodiment of the present invention is to provide a kind of playback of songs device, including:
Acquiring unit, for obtaining the play parameter of described song;
Associative cell, is stored in default after the song information of described song being associated with described play parameter
Data base;
Extraction unit, broadcasts described in described song information association for extracting from described presetting database
Put parameter;
Broadcast unit, for playing described song according to described play parameter.
In embodiments of the present invention, by by the song information of the song of broadcasting and the broadcasting arranged for this song
Parameter is associated, and when again carrying out the broadcasting of this song, the play parameter of music player is automatically adjusted
For the play parameter of this song, thus on the premise of ensureing operating comfort, optimize music player
Result of broadcast, improves the audio experience of user.
Accompanying drawing explanation
Fig. 1 is the flowchart of the playback of songs method that the embodiment of the present invention provides;
Fig. 2 be the embodiment of the present invention provide playback of songs method step S101 implement flow chart;
Fig. 3 is the flowchart of the playback of songs method that another embodiment of the present invention provides;
Fig. 4 is the structured flowchart of the playback of songs device that the embodiment of the present invention provides.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
In embodiments of the present invention, by by the song information of the song of broadcasting and the broadcasting arranged for this song
Parameter is associated, and when again carrying out the broadcasting of this song, the play parameter of music player is automatically adjusted
For the play parameter of this song, thus on the premise of ensureing operating comfort, optimize music player
Result of broadcast, improves the audio experience of user.
In embodiments of the present invention, carry out playback of songs can be to be built in mobile phone, panel computer, calculating
Music player in the terminal units such as machine, it is preferable that described music player possesses multiple result of broadcast and adjusts
Joint function, the result of broadcast adjusting means such as built-in equalizer, volume adjuster, meanwhile, the song of broadcasting can
Think and be stored in the song that terminal unit is local, it is also possible to broadcast online by connecting network for terminal unit
The song put.
What Fig. 1 showed the playback of songs method that the embodiment of the present invention provides realizes flow process, and details are as follows:
In step S101, obtain the play parameter of described song.
In the present embodiment, described play parameter includes but not limited to that equalizer arranges parameter and volume arranges ginseng
At least one in number, in the playing process of song, it is possible to according to broadcasting effect built-in in music player
Really above-mentioned play parameter is adjusted by adjusting means (such as equalizer or volume adjuster), to adjust
Save out the play parameter of this musical form such as song music, deduction mode applicable.
Wherein, high frequency, intermediate frequency, the low frequency three band frequency signal of telecommunication can be adjusted by equalizer respectively, come
Compensate speaker and the defect of sound field, or compensate and modify sound source.And sound can be believed by volume adjuster
Number magnification level be adjusted, to reach the result of broadcast making human ear comfortable.
Concrete play parameter obtains mode and will be described in detail in subsequent embodiment, does not repeats them here.
In step s 102, it is stored in pre-after the song information of described song being associated with described play parameter
If data base.
In the present embodiment, after the play parameter getting song, mapped or Data-Link by data
The mode such as connect, the song information of this song and the play parameter got are associated, and will be after association
Data are stored in the presetting database that terminal unit is local.Wherein, the song information of song is song files
In itself is entrained, the title including but not limited to song, the artist--name given song recitals or song
Affiliated album name, song information can be by analyzing song files, from the appointment Frame of song files
In extract.
In the present embodiment, when play parameter has multiple, preset data can be stored in the form of array
In storehouse, each element in array all represents a play parameter according to preassigned order, and for counting
Element default settings in group, when the element in array is default value, then it represents that representated by this element
Play parameter can use working as of this play parameter in the system default value of music player or music player
Front value.
In step s 103, extract from described presetting database with described in described song information association
Play parameter.
In step S104, play described song according to described play parameter.
By being stored in preset data after the song information of song being associated with play parameter in step s 102
Storehouse, when terminal unit this locality is played to this song again, can according to the song information in song files,
Directly extract in presetting database and the play parameter of this song information association, and according to broadcasting of extracting
Put parameter, each result of broadcast adjusting means of music player is adjusted, thus automatically regulates out suitable
Result of broadcast together in this song.
By above-mentioned steps, when playing out song switching, for the song play before this, it is not necessary to
All play parameter is adjusted every time, i.e. can be automatically loaded this song style applicable and user listens to
The play parameter of custom, carries out playback of songs, greatly increases the operating efficiency of music player, optimizes
Result of broadcast.
It should be noted that in embodiments of the present invention, if presetting database being not matched to and song
The play parameter that song information is associated, then still play this according to the play parameter that music player is current
Song.
As one embodiment of the present of invention, the acquisition of play parameter can be by receiving the setting from user
Having instructed, Fig. 2 shows that the playback of songs method step S101's that the present embodiment provides implements stream
Journey, as in figure 2 it is shown, step S101 in Fig. 1 embodiment particularly as follows:
Step S201: receive in the playing process of described song and instruction is set, record the described of user setup
The play parameter of song.
Specifically, in the playing process first of song, user can like according to the audition of oneself, Yi Jige
The various factors such as Qu Fengge, singer's singing style arrange the play parameter of this song, therefore, by song
Bent playing process receives instruction is set from user, record the broadcasting ginseng of this song of user setup
Number.
Owing to, in the playing process of a first song, the play parameter of this song may repeatedly be set by user
Put, progressively result of broadcast is adjusted to optimum, therefore, the most in step s 201, according to receive
Instruction, each group of play parameter of record user setup are set.
As a preferred embodiment of the present invention, step S201 can particularly as follows:
After the playing progress rate of described song is more than the first percentage ratio, start to record the broadcasting ginseng of user setup
Number.
Owing to the play parameter of song would generally be made repeatedly adjusting when a song just commences play out by user
Whole, to adjust to the result of broadcast being suitable for this song, therefore, in the present embodiment, in order to avoid because arranging
Instruction uncertainty and frequently record the invalid play parameter of user setup, when the playing progress rate of song is more than
After the first percentage ratio preset, then start to record the play parameter of user setup.
One as the present invention realizes example, and the first percentage ratio can be 20%.When the first percentage ratio is 20%
Time, if the user while playback of songs to entire song 5%, 10% and 15% time respectively play parameter is carried out
Adjust, the most only can record play parameter now when playback of songs to 20%, i.e. user broadcasts in song
Put to the play parameter arranged when 15%, and the ginseng that user is arranged when playback of songs to 5% and 10% before this
Number can't carry out record.And after playback of songs is to 20%, if play parameter is configured by user again,
Then can the play parameter of user setup under real time record.
In step S202, when terminating to play described song, by true for the play parameter recorded for the last time
It is set to the play parameter of described song.
During the play parameter of step S201 record user setup, user often arranges and once plays ginseng
Number, i.e. can replace with the play parameter recorded before this this play parameter, therefore, terminate this song of broadcasting
Song (includes that entire song is play to terminate or terminate to play this song in the midway of playback of songs by command for stopping
Bent) time, the play parameter of record is the play parameter that user is arranged for the last time, i.e. will remember for the last time
The play parameter of record is defined as the play parameter of song.
By the present embodiment, when play parameter is repeatedly adjusted in songs playing process by user, can
To get the optimum play parameter that user is arranged for song.
As a preferred embodiment of the present invention, step S202 can particularly as follows:
After the playing progress rate of described song is more than the second percentage ratio, will be when terminating to play described song
After the play parameter that once records be defined as the play parameter of described song.
After commencing play out when a song, the play parameter of song may made once by user
Or after repeatedly adjusting, it is believed that cannot adjust to suitable result of broadcast, or think that this song is unpleasant,
And terminate to play this song in advance, now, although record the play parameter of this song of user setup,
But the play parameter recorded is invalid, and the preference of not according to user and the play parameter that arranges, therefore,
In the present embodiment, in order to avoid above-mentioned situation occurs, when the playing progress rate of song is more than the 200th preset
After proportion by subtraction, when terminating and playing this song, the play parameter recorded for the last time is defined as broadcasting of this song
Put parameter, to ensure that the play parameter of the song got is that user is preferred to a certain extent.
One as the present invention realizes example, and the second percentage ratio can be 40%.
As another embodiment of the present invention, when terminal unit is in network insertion state, the most right user
In the case of play parameter is adjusted, it is also possible to get the play parameter being best suitable for this song from network.
What Fig. 3 showed the playback of songs method that the present embodiment provides realizes flow process, as it is shown on figure 3, Fig. 1 implements
Step S101 in example particularly as follows:
Step S105: in the playing process of described song, obtains the song with described song from server
The play parameter of information association.
When terminal unit plays song online by network, online playback website can be its service
Song in device mates preferred play parameter, and this preferred play parameter is that this online playback website combines
Popular listens to the play parameter being accustomed to recommending for user;Use in addition it is also possible to received by special server
Family upload for song coupling play parameter, then the play parameter that this is uploaded recommend be unfamiliar with broadcasting ginseng
The user that number is arranged, to reach the result of broadcast of optimum.
Therefore, in the present embodiment, when terminal unit is in network insertion state, for playing
Song, initiates to carry the request of the song information of song by terminal unit to server, by server to end
End equipment returns the play parameter with this song information association, and terminal unit is getting broadcasting of server return
After putting parameter, i.e. song information can be associated with play parameter and is stored in the presetting database of this locality,
When again carrying out playback of songs, it is possible to directly invoke out applicable play parameter, carry out playback of songs.
In embodiments of the present invention, by by the song information of the song of broadcasting and the broadcasting arranged for this song
Parameter is associated, and when again carrying out the broadcasting of this song, the play parameter of music player is automatically adjusted
For the play parameter of this song, thus on the premise of ensureing operating comfort, optimize music player
Result of broadcast, improves the audio experience of user.
Fig. 4 shows the structured flowchart of the playback of songs device that the embodiment of the present invention provides, and this device can position
In the terminal units such as mobile phone, panel computer, computer, it is used for running Fig. 1 to Fig. 3 embodiment of the present invention
Described playback of songs method.For convenience of description, illustrate only part related to the present embodiment.
With reference to Fig. 4, this device includes:
Acquiring unit 41, obtains the play parameter of described song.
Associative cell 42, is stored in present count after the song information of described song being associated with described play parameter
According to storehouse.
Extraction unit 43, extracts and the described broadcasting of described song information association from described presetting database
Parameter.
Broadcast unit 44, plays described song according to described play parameter.
Alternatively, described acquiring unit 51 includes:
Record subelement, receives in the playing process of described song and arranges instruction, the institute of record user setup
State the play parameter of song.
Determine subelement, when terminating to play described song, the play parameter recorded for the last time is defined as
The play parameter of described song.
Alternatively, described record subelement is more than the first percentage ratio specifically for the playing progress rate when described song
Afterwards, start to record the play parameter of user setup.
Alternatively, described determine subelement specifically for the playing progress rate when described song more than the second percentage ratio
Afterwards, when terminating and playing described song, the play parameter recorded for the last time is defined as broadcasting of described song
Put parameter.
Alternatively, described acquiring unit 51 is specifically in the playing process of described song, from server
The play parameter of the song information association of acquisition and described song.
In embodiments of the present invention, by by the song information of the song of broadcasting and the broadcasting arranged for this song
Parameter is associated, and when again carrying out the broadcasting of this song, the play parameter of music player is automatically adjusted
For the play parameter of this song, thus on the premise of ensureing operating comfort, optimize music player
Result of broadcast, improves the audio experience of user.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention
Protection domain within.
Claims (2)
1. a playback of songs method, it is characterised in that including:
Obtain the play parameter of described song, including: receive in the playing process of described song and instruction be set,
The play parameter of the described song of record user setup, when terminating to play described song, will remember for the last time
The play parameter of record is defined as the play parameter of described song, also includes: do not carry out play parameter user
In the case of adjustment, for terminal unit by netcast song in the case of, get from server with
The play parameter of the song information association of described song;
It is stored in presetting database, when described after the song information of described song being associated with described play parameter
When play parameter has multiple, described play parameter is stored in presetting database with the form of array, and institute
State each element in array and all represent a play parameter according to preassigned order;
Extract from described presetting database and the described play parameter of described song information association;
Described song is play according to described play parameter;
Described reception in the playing process of described song arranges instruction, the play parameter bag of record user setup
Include:
After the playing progress rate of described song is more than the first percentage ratio, start to record the broadcasting ginseng of user setup
Number;
Described terminate play described song time the play parameter recorded for the last time is defined as described song
Play parameter includes:
After the playing progress rate of described song is more than the second percentage ratio, will be when terminating to play described song
After the play parameter that once records be defined as the play parameter of described song.
2. a playback of songs device, it is characterised in that including:
Acquiring unit, for obtaining the play parameter of described song, including: play parameter is not entered user
In the case of Row sum-equal matrix, during for terminal unit by netcast song, get from server
Play parameter with the song information association of described song;Described acquiring unit includes: record subelement, uses
Receive in the playing process in described song and instruction is set, the broadcasting ginseng of the described song of record user setup
Number;Determine subelement, for when terminating to play described song, by true for the play parameter recorded for the last time
It is set to the play parameter of described song;
Associative cell, is stored in default after the song information of described song being associated with described play parameter
Data base, when described play parameter has multiple, is stored in default by described play parameter with the form of array
In data base, and each element in described array all represents one according to preassigned order and plays ginseng
Number;
Extraction unit, broadcasts described in described song information association for extracting from described presetting database
Put parameter;
Broadcast unit, for playing described song according to described play parameter;
After described record subelement is specifically for being more than the first percentage ratio when the playing progress rate of described song, open
The play parameter of the record user setup that begins;
Described determine subelement specifically for when the playing progress rate of described song is more than after the second percentage ratio,
When terminating to play described song, the play parameter recorded for the last time is defined as the play parameter of described song.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310037388.8A CN103177743B (en) | 2013-01-30 | 2013-01-30 | Song playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310037388.8A CN103177743B (en) | 2013-01-30 | 2013-01-30 | Song playing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103177743A CN103177743A (en) | 2013-06-26 |
CN103177743B true CN103177743B (en) | 2016-09-21 |
Family
ID=48637544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310037388.8A Active CN103177743B (en) | 2013-01-30 | 2013-01-30 | Song playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103177743B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105488042B (en) * | 2014-09-15 | 2019-07-09 | 小米科技有限责任公司 | The storage method and device of audio-frequency information |
CN104966524B (en) * | 2014-12-31 | 2018-03-27 | 广州酷狗计算机科技有限公司 | Audio-frequency processing method and audio frequency processing system |
CN104951514A (en) * | 2015-05-28 | 2015-09-30 | 努比亚技术有限公司 | Audio playing method and device |
CN105404642B (en) * | 2015-10-23 | 2019-03-15 | Oppo广东移动通信有限公司 | A kind of audio frequency playing method and user terminal |
CN105681821B (en) * | 2016-02-02 | 2019-03-22 | Oppo广东移动通信有限公司 | A kind of playback method of audio, play system and server |
CN107741840A (en) * | 2017-09-18 | 2018-02-27 | 深圳天珑无线科技有限公司 | Music processing method, equipment and computer-readable recording medium |
CN108091351A (en) * | 2017-12-14 | 2018-05-29 | 宁波升维信息技术有限公司 | A kind of playback of songs method and device |
CN110505554B (en) * | 2019-08-22 | 2022-06-17 | 广州番禺巨大汽车音响设备有限公司 | Method and system based on sound box with DSP (digital signal processor) enhanced function |
CN112203181A (en) * | 2020-09-25 | 2021-01-08 | 江苏紫米电子技术有限公司 | Automatic switching method and device of equalizer, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013595A (en) * | 2007-01-19 | 2007-08-08 | 华为技术有限公司 | Media player and media playing method |
CN101667814A (en) * | 2009-09-24 | 2010-03-10 | 深圳华为通信技术有限公司 | Audio playing method and audio player |
CN202134213U (en) * | 2011-06-25 | 2012-02-01 | 北京播思软件技术有限公司 | Movable terminal provided with automatic equilibrium music player |
CN102622999A (en) * | 2011-01-26 | 2012-08-01 | 英华达(南京)科技有限公司 | System for automatically adjusting sound effect and method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080175411A1 (en) * | 2007-01-19 | 2008-07-24 | Greve Jens | Player device with automatic settings |
-
2013
- 2013-01-30 CN CN201310037388.8A patent/CN103177743B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013595A (en) * | 2007-01-19 | 2007-08-08 | 华为技术有限公司 | Media player and media playing method |
CN101667814A (en) * | 2009-09-24 | 2010-03-10 | 深圳华为通信技术有限公司 | Audio playing method and audio player |
CN102622999A (en) * | 2011-01-26 | 2012-08-01 | 英华达(南京)科技有限公司 | System for automatically adjusting sound effect and method thereof |
CN202134213U (en) * | 2011-06-25 | 2012-02-01 | 北京播思软件技术有限公司 | Movable terminal provided with automatic equilibrium music player |
Also Published As
Publication number | Publication date |
---|---|
CN103177743A (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103177743B (en) | Song playing method and device | |
EP3488358B1 (en) | Systems and methods for using seektables to stream media items | |
CN106020765B (en) | A kind of effect adjusting method and device | |
CN111050203B (en) | Video processing method and device, video processing equipment and storage medium | |
CN104301760B (en) | TV programme method for pushing | |
CN106210879A (en) | intelligent volume control system and intelligent volume control method | |
CN106775568A (en) | A kind of effect adjusting method, device and mobile terminal | |
CN106095382A (en) | Method for controlling volume and user terminal | |
CN109407923A (en) | A kind of live streaming connects the method, apparatus and readable storage medium storing program for executing of wheat interaction | |
CN104699696A (en) | File recommendation method and device | |
CN106464960A (en) | Method for reducing pre-fetching of multimedia streaming data with minimal impact on playback user experience | |
CN106412716A (en) | Method and apparatus for adjusting multimedia playing effect, and electronic device | |
KR101924205B1 (en) | Karaoke system and management method thereof | |
CN105812581A (en) | Volume automatic adjustment method and device | |
CN107622101A (en) | Play method and device, the electronic equipment of song | |
CN103606380A (en) | Audio parameter self-adaption matching method and device | |
CN103309670B (en) | The implementation method and device of a kind of skin of music player | |
CN109117110B (en) | Data processing method and device for dynamic voice fusion | |
CN109461429A (en) | A kind of AI K song microphone speaker integrated equipment | |
CN105278684B (en) | A kind of intelligent playing method and device | |
CN103369007A (en) | Method, system and mobile terminal for obtaining associated music information | |
KR20110089172A (en) | System and method of providing interactive advertisements | |
CN101420546A (en) | Digital television set-top box and customized setting method | |
CN104750868B (en) | A kind of multimedia file play list method for building up and device | |
WO2014134998A1 (en) | Application platform-level configuration 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |