TWI442309B - Method for playing audio file - Google Patents

Method for playing audio file Download PDF

Info

Publication number
TWI442309B
TWI442309B TW97131221A TW97131221A TWI442309B TW I442309 B TWI442309 B TW I442309B TW 97131221 A TW97131221 A TW 97131221A TW 97131221 A TW97131221 A TW 97131221A TW I442309 B TWI442309 B TW I442309B
Authority
TW
Taiwan
Prior art keywords
audio file
audio
current
file
function
Prior art date
Application number
TW97131221A
Other languages
Chinese (zh)
Other versions
TW201007550A (en
Inventor
Zhao Jin
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97131221A priority Critical patent/TWI442309B/en
Publication of TW201007550A publication Critical patent/TW201007550A/en
Application granted granted Critical
Publication of TWI442309B publication Critical patent/TWI442309B/en

Links

Landscapes

  • Telephone Function (AREA)

Description

音頻播放方法 Audio playback method

本本發明涉及多媒體播放技術,特別是一種音頻播放方法。 The present invention relates to multimedia playback technology, and more particularly to an audio playback method.

現在行動電話不再只有簡單的通話功能,其還包括有音視頻播放、遊戲、拍攝等功能。為了體現個性化,行動電話的很多功能都可以由用戶來自定義,如行動電話鈴聲,用戶可以設置自己喜歡的歌曲作為來電提醒鈴聲,而且還可以針對不同來電聯繫人分別設置不同的來電提醒鈴聲,而且這些鈴聲都可以是用戶自己拷貝進去的歌曲。 Now mobile phones no longer have simple call functions, but also include audio and video playback, games, shooting and more. In order to reflect personalization, many functions of mobile phones can be customized by users, such as mobile phone ring tones, users can set their favorite songs as call alert ringtones, and can also set different call alert ringtones for different caller contacts. And these ringtones can be songs that users copy themselves.

然而,用戶拷貝歌曲到行動電話中不僅僅是為了作為鈴聲,休閒的時候還可以聽聽音樂,問題就產生了。當歌曲剛好播放到作為鈴聲的音樂時,用戶由於習慣性思維,通常都會誤認為有電話打來了,而造成錯誤判斷,給用戶帶來了一定的困擾。 However, users copy songs to mobile phones not only for ringtones, but also for listening to music when they are casual. The problem arises. When the song just plays to the music as the ringtone, the user usually mistakes the phone for calling because of the habitual thinking, which causes misjudgment and brings some trouble to the user.

鑒於此,有必要提供一種可避免用戶將播放的音樂誤解成其他提醒功能的音頻播放方法。 In view of this, it is necessary to provide an audio playback method that can prevent the user from misinterpreting the played music into other reminder functions.

一種音頻播放方法,包括如下步驟:響應用戶操作,運行媒體播放程式;獲取待播放的音頻文件列表,並將音頻文件列表中的一個音頻文 件作為當前音頻文件;檢測該當前音頻文件是否被設置作為提醒功能的音樂;若該當前音頻文件有被用作提醒功能,獲取下一個待播放的音頻文件作為當前文件,並返回至該檢測步驟:檢測該當前音頻文件是否被設置作為提醒功能的音樂;若該當前音頻文件未被用作提醒功能,播放該當前音頻文件。 An audio playing method, comprising the steps of: running a media player in response to a user operation; obtaining a list of audio files to be played, and an audio file in the audio file list As the current audio file; detecting whether the current audio file is set as the music of the reminding function; if the current audio file is used as the reminding function, acquiring the next audio file to be played as the current file, and returning to the detecting step : detecting whether the current audio file is set as the music of the reminder function; if the current audio file is not used as the reminder function, playing the current audio file.

利用上述音頻播放方法,用戶在聽歌的時候就不會因為聽到設置為提醒音樂的歌曲而產生誤解,避免了此類事情給用戶帶來的困擾。 By using the above audio playing method, the user does not misunderstand when listening to the song set to remind the music when listening to the song, thereby avoiding the trouble that such a thing brings to the user.

S101~109‧‧‧音頻播放方法步驟流程 S101~109‧‧‧ audio playback method step flow

圖1為一較佳實施方式之音頻播放方法步驟流程圖。 1 is a flow chart showing the steps of an audio playing method according to a preferred embodiment.

請參閱圖1,其為一較佳實施方式的音頻播放方法步驟流程圖,其包括如下步驟: Please refer to FIG. 1 , which is a flowchart of steps of an audio playing method according to a preferred embodiment, which includes the following steps:

步驟S101,響應用戶操作,運行媒體播放程式。如用戶啟動行動電話中的播放器,以播放MP3音樂。 In step S101, the media player is run in response to the user operation. For example, the user activates the player in the mobile phone to play MP3 music.

步驟S103,獲取待播放的音頻文件列表,並將音頻文件列表中的一個音頻文件作為當前音頻文件。獲取的音頻文件列表的順序可以依照用戶選擇操作而產生的播放列表,也可以是播放程式自動按照預設順序生成的播放列表。 Step S103: Obtain a list of audio files to be played, and use one audio file in the audio file list as the current audio file. The order of the obtained audio file list may be a playlist generated according to a user selection operation, or may be a playlist automatically generated by the player in a preset order.

步驟S105,檢測該當前音頻文件是否被設置作為提醒功能的音樂。實現方式可以是當某個音頻文件設置為其他提醒音樂時,如來 電鈴聲,短信提醒音,在該音頻文件資訊上加入對應標記,根據該標記即可判斷該音頻文件是否被用作提醒功能;也可以將用作提醒功能的音頻文件資訊作為一個設置資訊保存,將待播放的音頻文件資訊在該設置資訊中做匹配動作,以判斷該音頻文件是否被用作提醒功能。若該音頻文件有被用作提醒功能,進到步驟S107,若該音頻文件未被用作提醒功能,則進到步驟S109。 Step S105, detecting whether the current audio file is set as the music of the remind function. This can be done when an audio file is set to other reminder music. The electric ringtone and the SMS reminder tone add a corresponding mark on the audio file information, and according to the mark, it can be judged whether the audio file is used as a reminding function; the audio file information used as the reminding function can also be saved as a setting information. The audio file information to be played is matched in the setting information to determine whether the audio file is used as a reminder function. If the audio file is used as the reminder function, the process goes to step S107, and if the audio file is not used as the reminder function, the process goes to step S109.

步驟S107,獲取下一個待播放的音頻文件作為當前文件,然後回到步驟S105,即跳過該音頻文件,重新判斷。 Step S107, acquiring the next audio file to be played as the current file, and then returning to step S105, skipping the audio file and re-judgement.

步驟S109,播放該當前音頻文件。 Step S109, playing the current audio file.

如此,用戶在聽歌的時候就不會因為聽到設置為提醒音樂的歌曲而產生誤解,避免了此類事情給用戶帶來的困擾。 In this way, when the user listens to the song, he will not be misunderstood by hearing the song set to remind the music, thereby avoiding the trouble that such a thing brings to the user.

本技術領域的普通技術人員應當認識到,以上的實施方式僅是用來說明本發明,而並非用作為對本發明的限定,只要在本發明的實質精神範圍之內,對以上實施例所作的適當改變和變化都落在本發明要求保護的範圍之內。 It is to be understood by those skilled in the art that the above embodiments are only intended to illustrate the invention, and are not intended to limit the invention, as long as it is within the spirit of the invention Changes and modifications are intended to fall within the scope of the invention.

S101~109‧‧‧音頻播放方法步驟流程 S101~109‧‧‧ audio playback method step flow

Claims (1)

一種音頻播放方法,包括如下步驟:響應用戶操作,運行媒體播放程式;獲取待播放的音頻文件列表,並將音頻文件列表中的一個音頻文件作為當前音頻文件;檢測該當前音頻文件是否被設置作為提醒功能的音樂,其中檢測該音頻文件是否被設置作為提醒功能的音樂的實現方式包括在某個音頻文件設置為其他提醒音樂時,在該音頻文件資訊上加入對應標記,根據該標記判斷該音頻文件是否被用作提醒功能、將用作提醒功能的音頻文件作為一個設置資訊保存,將待播放的音頻文件資訊在該設置資訊中做匹配動作,以判斷該音頻文件是否被用作提醒功能的至少一種;若該當前音頻文件有被用作提醒功能,獲取下一個待播放的音頻文件作為當前文件,並返回至該檢測步驟:檢測該當前音頻文件是否被設置作為提醒功能的音樂;若該當前音頻文件未被用作提醒功能,播放該當前音頻文件。 An audio playing method includes the steps of: running a media player in response to a user operation; obtaining a list of audio files to be played, and using an audio file in the audio file list as a current audio file; detecting whether the current audio file is set as The music of the reminder function, wherein the method for detecting whether the audio file is set as the reminder function comprises: when an audio file is set as other reminder music, adding a corresponding mark on the audio file information, and determining the audio according to the mark Whether the file is used as a reminder function, the audio file used as the reminder function is saved as a setting information, and the audio file information to be played is matched in the setting information to determine whether the audio file is used as a reminder function. At least one; if the current audio file is used as a reminder function, acquiring the next audio file to be played as the current file, and returning to the detecting step: detecting whether the current audio file is set as the music of the reminding function; The current audio file is not being used Wake up function, the currently playing audio file.
TW97131221A 2008-08-15 2008-08-15 Method for playing audio file TWI442309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97131221A TWI442309B (en) 2008-08-15 2008-08-15 Method for playing audio file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97131221A TWI442309B (en) 2008-08-15 2008-08-15 Method for playing audio file

Publications (2)

Publication Number Publication Date
TW201007550A TW201007550A (en) 2010-02-16
TWI442309B true TWI442309B (en) 2014-06-21

Family

ID=44827116

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97131221A TWI442309B (en) 2008-08-15 2008-08-15 Method for playing audio file

Country Status (1)

Country Link
TW (1) TWI442309B (en)

Also Published As

Publication number Publication date
TW201007550A (en) 2010-02-16

Similar Documents

Publication Publication Date Title
US8452344B2 (en) Method and device for embedding event notification into multimedia content
US7904061B1 (en) Devices and methods for creating a snippet from a media file
KR101130519B1 (en) Media portion selection system and method
CN102420906A (en) Prompt method and user terminal
US20160371050A1 (en) System and method for managing communications on a mobile communication device based upon a user's behavior
CN1878217A (en) Mobile phone ring making method
WO2012089095A1 (en) Mobile terminal ringtone playing method and device
WO2006090211A3 (en) Defined ringing tone segments in an audio source
US7738651B2 (en) Method and apparatus for customizing an audio file in a mobile device
JP2006050563A (en) Bell sound reproducing method of mobile terminal equipment
TWI442309B (en) Method for playing audio file
CN101640052A (en) Audio play method
JP4924282B2 (en) Mobile terminal and alarm sound selection method for the terminal
JP2007219647A (en) Portable terminal
CN103139358A (en) Audio play terminal and method
US20100013652A1 (en) Shake responsive media player
JP2012109769A (en) Sound emission device
WO2008014898A1 (en) Mobile electronic device with telephone and music function and selection function for a ringing tone
JP2015005818A (en) Terminal device, notification output method, and notification output program
CN103957314A (en) Terminal reminding method and terminal
JP2007251288A (en) Mobile communication terminal equipment and call termination notice method
CN110349599B (en) Audio playing method and device
CN102833394A (en) Mobile phone capable of generating ring of the mobile phone, and method for generating ring thereof
WO2016033869A1 (en) Ring-back tone implementation method and apparatus, and computer readable storage medium
JP2007295261A (en) Mobile communication terminal with music reproducing function

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees