CN102999621A - Method and device for setting themes - Google Patents

Method and device for setting themes Download PDF

Info

Publication number
CN102999621A
CN102999621A CN2012105075838A CN201210507583A CN102999621A CN 102999621 A CN102999621 A CN 102999621A CN 2012105075838 A CN2012105075838 A CN 2012105075838A CN 201210507583 A CN201210507583 A CN 201210507583A CN 102999621 A CN102999621 A CN 102999621A
Authority
CN
China
Prior art keywords
audio
outward appearance
appearance theme
theme
audio file
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.)
Granted
Application number
CN2012105075838A
Other languages
Chinese (zh)
Other versions
CN102999621B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201210507583.8A priority Critical patent/CN102999621B/en
Publication of CN102999621A publication Critical patent/CN102999621A/en
Application granted granted Critical
Publication of CN102999621B publication Critical patent/CN102999621B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)

Abstract

The invention is suitable for the field of technical processing of audio files and provides a method and device for setting themes. The method comprises the following steps of: acquiring audio information of the currently played audio file; determining the audio type of the currently played audio file according to the audio information; and setting the themes, wherein the themes are related to the audio type. By the method and the device, different types of themes can be displayed when different types of audio files are played by judging the type of the audio files, so that a user is not required to set the themes manually, the time is saved for the user, and the operation efficiency is improved.

Description

A kind of method to set up of outward appearance theme and device
Technical field
The invention belongs to the Audiotechnica process field, relate in particular to a kind of method to set up and device of outward appearance theme.
Background technology
Since entering digital times from music industry, the characteristic of digital music to be easy to propagate occupied considerable status in people's life.Day by day advanced along with the music technology, the function of equipment is powerful gradually, and the equipment that the user can listoning music is also more and more.And no matter be mobile phone, computer wherein, or other playback equipment, often can the outward appearance theme of player even desktop be arranged.
Yet, need the user that the outward appearance theme manually is set in the prior art, could realize the switching between the different outward appearance themes, its operating process is loaded down with trivial details, causes inefficient operation.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method to set up of outward appearance theme, and being intended to prior art needs the user that the outward appearance theme manually is set, and operating process is loaded down with trivial details, the problem of inefficient operation.
The embodiment of the invention is achieved in that a kind of method to set up of outward appearance theme, comprising:
Obtain the audio-frequency information of the audio file of current broadcast;
Determine the audio categories of the audio file of described current broadcast according to described audio-frequency information;
The outward appearance theme is set, and described outward appearance theme is associated with described audio categories.
Another purpose of the embodiment of the invention is to provide a kind of setting device of outward appearance theme, comprising:
Acquiring unit is for the audio-frequency information of the audio file that obtains current broadcast;
Taxon is for the audio categories of determining the audio file of described current broadcast according to described audio-frequency information;
Setting unit is used for the outward appearance theme is set, and described outward appearance theme is associated with described audio categories.
In embodiments of the present invention, judge by the classification to audio file, when playing different classes of audio file, show thereby need not the user outward appearance theme to be set manually by dissimilar outward appearance themes, saved user's time, improved operating efficiency.
Description of drawings
Fig. 1 is the realization flow figure of the method to set up of the outward appearance theme that provides of the embodiment of the invention;
Fig. 2 is the specific implementation process flow diagram of the method to set up step S101 of the outward appearance theme that provides of the embodiment of the invention;
Fig. 3 is the sample figure of the Query List that provides of the embodiment of the invention;
Fig. 4 is the structured flowchart of the setting device of a kind of outward appearance theme of providing of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, judge by the classification to audio file, when playing different classes of audio file, show thereby need not the user outward appearance theme to be set manually by dissimilar outward appearance themes, saved user's time, improved operating efficiency.
Fig. 1 shows the realization flow figure of the method to set up of the outward appearance theme that the embodiment of the invention provides, and details are as follows:
In step S101, obtain the audio-frequency information of the audio file of current broadcast.
In the present embodiment, when the control of displaying audio file starts, begin to obtain the audio-frequency information of audio file, the acquisition methods of audio-frequency information can obtain audio-frequency information in the Frame by audio file, also can obtain audio-frequency information by various software form.
In the present embodiment, audio-frequency information comprises audio frequency parameter, and audio frequency parameter comprises tone and loudness.
As a preferential embodiment of the present invention, Fig. 2 shows step in the specific implementation flow process of step S101, and details are as follows:
In step S201, the sound signal of the audio file of current broadcast is sampled, generate oscillogram.
In embodiments of the present invention, when the control of displaying audio file starts, begin to obtain the sound signal of current displaying audio file, the acquisition methods of sound signal can obtain sound signal by the hardware device of sound signal, also can obtain sound signal by the music player of various software form.Signal be sampled as known technology, do not do at this and give unnecessary details.
In embodiments of the present invention, generate oscillogram, at first the forms of display waveform figure carried out calibration, according to the default sampling time, transverse axis to forms carries out calibration, carry out calibration according to presetting the vertical pivot of maximum amplitude to forms, according to default sampling time and default sampling interval, sound signal is sampled, obtain the sampled value of sound signal, multiply by maximum amplitude, through the conversion of scaleover, draw the horizontal ordinate corresponding with sampled value and ordinate.Ordinate and horizontal ordinate according to sampled value are created on oscillogram in forms.
In step S202, obtain the audio frequency parameter of the audio file of current broadcast according to oscillogram.
In the present embodiment, audio frequency parameter comprises tone and loudness.
In the present embodiment, the frequency of waveform size represents the height of tone, and in Preset Time, oscillogram medium wave figurate number amount is more, and the frequency of expression waveform is larger, and namely tone is higher.The height of the amplitude size expression loudness of waveform, the peak of amplitude and the gap between the minimum point are larger in the oscillogram one-period, and expression loudness is higher.
In embodiments of the present invention, with frequency as a variable, this variable can represent with one functional form, this function is directly proportional with the quantity of waveform in the Preset Time, includes but not limited to exponential function, logarithmic function, power function, function of functions, inverse proportion function etc., determine the quantity of waveform according to Preset Time, thereby draw the value of frequency, be convenient to the height that follow-up value according to frequency is judged tone.
In embodiments of the present invention, as a variable, this amplitude can draw in an i amplitude component addition with amplitude, and i is the integer more than or equal to 1.This amplitude component can represent with one functional form, this function is directly proportional with the amplitude difference of minimum point with interior peak of cycle, include but not limited to exponential function, logarithmic function, power function, function of functions, inverse proportion function etc., thereby draw the value of amplitude component in each cycle, again the value of amplitude component is carried out addition, thereby obtain the amplitude of the oscillogram in the Preset Time.
As a preferred embodiment of the present invention, before the audio-frequency information of the audio file that obtains current broadcast, also comprise: the incidence relation of setting up outward appearance theme and audio categories.
In the present embodiment, set up the incidence relation of outward appearance theme and audio categories, particularly, as index, set up linking of audio categories and outward appearance theme with audio categories, the corresponding relation of audio categories and outward appearance theme is one-to-many.
In the present embodiment, the rhythm of sad audio file is slow, and sound is also more overcast, and relatively, happy audio file rhythm is than very fast, and sound is also higher.Preferably, audio categories can be divided into sad classification, peaceful classification, happy classification etc.Alternatively, can be divided into popular classification, light music classification, rural classification, rock and roll classification etc., concrete dividing mode does not limit at this yet.
In step S102, determine the audio categories of the audio file of current broadcast according to audio-frequency information.
In the present embodiment, determine the audio categories of the audio file of current broadcast according to audio-frequency information, specifically can determine audio categories according to the frequency in the audio-frequency information and amplitude-frequency.
In the present embodiment, set up a Query List by comprehensive all-environment result, Query List has comprised a plurality of frequency ranges and amplitude range, the corresponding class label of each scope.In Preset Time, according to the value of frequency and the value of loudness, search corresponding scope, to get access to class label corresponding to scope, class label is carried out addition, when class label is not more than predetermined threshold value A, audio attribute is categorized as sad classification, when class label is that audio attribute is categorized as peaceful classification, when class label is categorized as cheerful and light-hearted classification greater than predetermined threshold value B audio attribute when being not more than predetermined threshold value B greater than predetermined threshold value A.
In the present embodiment, for ease of explanation, take practical application as example, be a Query List such as Fig. 3, C to D, E to F, G to F, I to J represent respectively each frequency range, and K to L, M to N, O to P, Q to R represent respectively each amplitude range, when the value that gets access to tone and loudness is respectively x 1And x 2The time, tabling look-up to get x 1Belong in the scope of C to D, corresponding class label is y 1, x 2Belong in the scope of E to F, corresponding class label is z 1, with class label y 1And z 1Carry out addition and obtain s, if s is not more than predetermined threshold value A, then the audio attribute of audio file is categorized as sad classification.
Alternatively, when audio file is divided into t classification, should set up t predetermined threshold value, so that audio file is carried out the music attribute classification, t is the integer more than or equal to 1.
In addition, also can only adopt frequency or amplitude in the audio-frequency information that audio file is carried out the music attribute classification, but concrete corresponding modify predetermined threshold value, so that audio file is carried out the music attribute classification, the acquisition process of frequency and amplitude has explanation at above-described embodiment, does not do at this and gives unnecessary details.
At step S103, the outward appearance theme is set, this outward appearance theme is associated with audio categories.
In the present embodiment, as index, quote the outward appearance theme that be associated according to audio categories with audio categories, in the outward appearance theme that is associated, select an outward appearance theme to arrange.The outward appearance theme comprises mobile phone theme and player theme.The display mode of outward appearance theme includes but not limited to skin, picture, character, perhaps the combination of skin, picture, character.
In the present embodiment, for ease of explanation, take practical application as example, when the result of audio file music attribute classification is happy classification, quote the outward appearance theme that is associated according to happy classification, such as the gate, park of the aerial pavement of colorful glass, the happy square that gleams of light are reflecting on waves in the river, fashion fashion, green shade woods slowly etc., select at random therein an outward appearance theme to arrange.
As a preferred embodiment of the present invention, audio-frequency information comprises classification logotype, and this classification sign is for the audio categories of the audio file that indicates current broadcast.
In the present embodiment, to determining the configuration class indication of the audio file of audio categories, class indication represents the audio categories be used to the audio file that indicates current broadcast.So that when this audio file being play next time, can obtain according to the class indication symbol audio categories of audio file, directly switch the outward appearance theme, reduce the operand of system, raise the efficiency.
As a preferred embodiment of the present invention, the outward appearance theme that judge to arrange is with whether front outward appearance theme is set identical; When the outward appearance theme that arranges with arrange before outward appearance theme when identical, the outward appearance theme of setting is switched to another outward appearance theme that is associated with audio categories.
In embodiments of the present invention, during to a subject identification of each outward appearance theme configuration, according to subject identification, whether the outward appearance theme before judging this outward appearance theme that arranges and arranging is identical, if identical, then the outward appearance theme that arranges is switched to another outward appearance theme that is associated with audio categories, particularly, can in the outward appearance theme that audio categories is associated, reject the last outward appearance theme that arranges according to subject identification, in remaining outward appearance theme, select an outward appearance theme to switch, if different, then keep the outward appearance theme that this time arranges, thereby avoided the double same outward appearance theme that arranges.
As a preferred embodiment of the present invention, the renewal time limit of reading system time and outward appearance theme; Judging whether this renewal time limit arrive, is connection server then, the outward appearance theme of updated stored.
In embodiments of the present invention, the update instruction of outward appearance theme can be that the renewal startup command that the user initiatively inputs triggers, and also can be that system is according to the renewal time limit of configuration, in the then automatically triggering of renewal time limit.
As one embodiment of the present of invention, the user can pre-configured outward appearance theme the renewal time limit, for example be configured to every day, weekly or upgraded one inferior in per 10 days, system monitoring upgrades the time limit, upgrading the time limit then, automatically connection server is initiated the renewal process of outward appearance theme, thereby is got access to more outward appearance theme.
Fig. 4 shows the structured flowchart that the embodiment of the invention provides a kind of setting device of outward appearance theme, this device can run on the various terminals that possess AF playing function, mobile phone for example, pocket computing machine (Pocket Personal Computer, PPC), palm PC, computing machine, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), the 3rd layer of (Moving PictureExperts Group Audio Layer III of audio frequency dynamic compression, MP3) etc., it can be the software unit that runs in these network communication terminals, the unit that hardware cell or software and hardware combine, also can be used as independently, suspension member is integrated in these network communication terminals or runs in the application system of these network communication terminals, for convenience of explanation, only show the part relevant with the embodiment of the invention.
Acquiring unit 41 obtains the audio-frequency information of the audio file of current broadcast.
Taxon 42 is determined the audio categories of the audio file of current broadcast according to audio-frequency information.
Setting unit 43 arranges the outward appearance theme, and this outward appearance theme is associated with audio categories.
Further, in this device, also comprise:
Set up unit 44, set up the incidence relation of outward appearance theme and audio categories.
Particularly, in this device, this acquiring unit 41 comprises:
Sampling subelement 411 is sampled to the sound signal of the audio file of current broadcast, generates oscillogram.
Obtain subelement 412, obtain the audio frequency parameter of the audio file of current broadcast according to oscillogram.
Further, in this device, audio-frequency information also comprises classification logotype, and this classification sign is for the audio categories of the audio file that indicates current broadcast.
Alternatively, in this device, this setting unit 43 comprises:
Judgment sub-unit 431: the outward appearance theme that be used for to judge arranges is with whether front outward appearance theme is set identical.
Subelement 432 is set: be used for when the outward appearance theme that arranges with front outward appearance theme is set when identical, the outward appearance theme of setting is switched to another outward appearance theme that is associated with audio categories.
In embodiments of the present invention, judge by the classification to audio file, when playing different classes of audio file, show thereby need not the user outward appearance theme to be set manually by dissimilar outward appearance themes, saved user's time, improved operating efficiency.
Below only be preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method to set up of an outward appearance theme is characterized in that, comprising:
Obtain the audio-frequency information of the audio file of current broadcast;
Determine the audio categories of the audio file of described current broadcast according to described audio-frequency information;
The outward appearance theme is set, and described outward appearance theme is associated with described audio categories.
2. the method for claim 1 is characterized in that, before the audio-frequency information of the described audio file that obtains current broadcast, described method also comprises:
Set up the incidence relation of described outward appearance theme and described audio categories.
3. method as claimed in claim 1 or 2 is characterized in that, described audio-frequency information comprises audio frequency parameter, and the described audio-frequency information that obtains the audio file of current broadcast comprises:
Sound signal to the audio file of described current broadcast is sampled, and generates oscillogram;
Obtain the described audio frequency parameter of the audio file of described current broadcast according to described oscillogram.
4. method as claimed in claim 1 or 2 is characterized in that, described audio-frequency information comprises classification logotype, and described classification logotype is for the audio categories of the audio file that indicates described current broadcast.
5. the method for claim 1 is characterized in that, the described outward appearance theme that arranges comprises:
The described outward appearance theme that judge to arrange is with whether front outward appearance theme is set identical;
When the described outward appearance theme of described setting with arrange before outward appearance theme when identical, the described outward appearance theme of described setting is switched to another outward appearance theme that is associated with described audio categories.
6. the setting device of an outward appearance theme is characterized in that, comprising:
Acquiring unit is for the audio-frequency information of the audio file that obtains current broadcast;
Taxon is for the audio categories of determining the audio file of described current broadcast according to described audio-frequency information;
Setting unit is used for the outward appearance theme is set, and described outward appearance theme is associated with described audio categories.
7. device as claimed in claim 6 is characterized in that, also comprises:
Set up the unit, be used for setting up the incidence relation of described outward appearance theme and described audio categories.
8. such as claim 6 or 7 described devices, it is characterized in that described acquiring unit comprises:
The sampling subelement is used for the sound signal of the audio file of described current broadcast is sampled, and generates oscillogram;
Obtain subelement, be used for obtaining according to described oscillogram the described audio frequency parameter of the audio file of described current broadcast.
9. such as claim 6 or 7 described devices, it is characterized in that described audio-frequency information also comprises classification logotype, described classification logotype is for the audio categories of the audio file that indicates described current broadcast.
10. device as claimed in claim 6 is characterized in that, described setting unit comprises
Judgment sub-unit, the described outward appearance theme that be used for to judge arranges is with whether front outward appearance theme is set identical;
Subelement is set, be used for when the described outward appearance theme of described setting with front outward appearance theme is set when identical, the described outward appearance theme of described setting is switched to another outward appearance theme that is associated with described audio categories.
CN201210507583.8A 2012-11-29 2012-11-29 A kind of method to set up of outward appearance theme and device Expired - Fee Related CN102999621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210507583.8A CN102999621B (en) 2012-11-29 2012-11-29 A kind of method to set up of outward appearance theme and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210507583.8A CN102999621B (en) 2012-11-29 2012-11-29 A kind of method to set up of outward appearance theme and device

Publications (2)

Publication Number Publication Date
CN102999621A true CN102999621A (en) 2013-03-27
CN102999621B CN102999621B (en) 2016-01-27

Family

ID=47928189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210507583.8A Expired - Fee Related CN102999621B (en) 2012-11-29 2012-11-29 A kind of method to set up of outward appearance theme and device

Country Status (1)

Country Link
CN (1) CN102999621B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106384601A (en) * 2016-08-31 2017-02-08 天脉聚源(北京)科技有限公司 Method and device for displaying audio information
CN110913242A (en) * 2018-09-18 2020-03-24 阿基米德(上海)传媒有限公司 Automatic generation method of broadcast audio label

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101053252A (en) * 2004-08-10 2007-10-10 索尼株式会社 Information signal processing method, information signal processing device, and computer program product
CN101083126A (en) * 2006-05-30 2007-12-05 株式会社音特技术 Microphone type music accompaniment playing system with background image selecting function
JP2010002973A (en) * 2008-06-18 2010-01-07 Oki Electric Ind Co Ltd Voice data subject estimation device, and call center using the same
CN102098374A (en) * 2009-12-10 2011-06-15 上海晨兴希姆通电子科技有限公司 Method for configuring mobile phone theme by utilizing multimedia resources
CN102256030A (en) * 2010-05-20 2011-11-23 Tcl集团股份有限公司 Photo album showing system capable of matching background music and background matching method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101053252A (en) * 2004-08-10 2007-10-10 索尼株式会社 Information signal processing method, information signal processing device, and computer program product
CN101083126A (en) * 2006-05-30 2007-12-05 株式会社音特技术 Microphone type music accompaniment playing system with background image selecting function
JP2010002973A (en) * 2008-06-18 2010-01-07 Oki Electric Ind Co Ltd Voice data subject estimation device, and call center using the same
CN102098374A (en) * 2009-12-10 2011-06-15 上海晨兴希姆通电子科技有限公司 Method for configuring mobile phone theme by utilizing multimedia resources
CN102256030A (en) * 2010-05-20 2011-11-23 Tcl集团股份有限公司 Photo album showing system capable of matching background music and background matching method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106384601A (en) * 2016-08-31 2017-02-08 天脉聚源(北京)科技有限公司 Method and device for displaying audio information
CN110913242A (en) * 2018-09-18 2020-03-24 阿基米德(上海)传媒有限公司 Automatic generation method of broadcast audio label
CN110913242B (en) * 2018-09-18 2021-12-10 阿基米德(上海)传媒有限公司 Automatic generation method of broadcast audio label

Also Published As

Publication number Publication date
CN102999621B (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN105872253B (en) Live broadcast sound processing method and mobile terminal
CN106775637B (en) Page display method and device for application program
KR101681618B1 (en) Method and device for automatically displaying application component on desktop
CN101770399B (en) Electronic equipment, method and device for switching operating system desktop
WO2015079331A1 (en) Application activation method and apparatus and electronic equipment
CN105677313A (en) Display method, device and terminal equipment for notification messages
CN106776036A (en) A kind of resource allocation methods and device
CN106126175A (en) The control method of a kind of sound effect parameters and mobile terminal
CN102081501A (en) Method and device for providing shortcut operation application programs for user and mobile terminal
CN103294158A (en) Information processing method and electronic equipment
CN105404161A (en) Intelligent voice interaction method and device
CN106126160B (en) A kind of effect adjusting method and user terminal
CN101853120A (en) Method and system for presenting control menu of application program and mobile terminal
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
KR20150055600A (en) Method, terminal and electronic device for processing e-book document
CN105094620A (en) Information browsing method and mobile terminal
CN104679581A (en) Method and device for running program in background
CN104898821A (en) Information processing method and electronic equipment
CN104103279A (en) True quality judging method and system for music
EP3159895A1 (en) Method and apparatus for editing audio files
CN105550316B (en) The method for pushing and device of audio list
CN104636233B (en) Mobile terminal power consumption condition control method and system
CN108052356A (en) A kind of method and terminal device for starting calculator
CN103412707B (en) Method, device and equipment that a kind of display box is shown

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160127