TW201531934A - Electronic device and sound source processing method - Google Patents

Electronic device and sound source processing method Download PDF

Info

Publication number
TW201531934A
TW201531934A TW103104852A TW103104852A TW201531934A TW 201531934 A TW201531934 A TW 201531934A TW 103104852 A TW103104852 A TW 103104852A TW 103104852 A TW103104852 A TW 103104852A TW 201531934 A TW201531934 A TW 201531934A
Authority
TW
Taiwan
Prior art keywords
file
sound source
sound
electronic device
processing unit
Prior art date
Application number
TW103104852A
Other languages
Chinese (zh)
Inventor
Chin-Shiang Ma
Original Assignee
Acer 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 Acer Inc filed Critical Acer Inc
Priority to TW103104852A priority Critical patent/TW201531934A/en
Publication of TW201531934A publication Critical patent/TW201531934A/en

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

Electronic device and sound source processing method are disclosed. The sound source processing method includes following steps: reading and processing a sound source file to generate a first playing file; implementing a sound effect for the first playing file to generate a second file; and, storing the second file.

Description

電子裝置及音源檔案處理方法Electronic device and audio source file processing method

本發明係關於一種電子裝置及音源檔案處理方法,特別是在電源管理模式中對音源檔案進行音效處理的電子裝置及音源檔案處理方法。The invention relates to an electronic device and a sound source file processing method, in particular to an electronic device and a sound source file processing method for performing sound effect processing on a sound source file in a power management mode.

由於科技的進步,使用者對於筆記型電腦、智慧型手機、平板電腦等電子裝置的娛樂性要求越來越高,再加上近年來電子產業的不斷開發創新,使電子裝置對於音源檔案音效模擬的運算、以及存取的速度不斷提高,讓目前電子裝置可為使用者提供如親臨現場的立體環繞音效。不過立體環繞音效大多需要中央處理器進行大量的模擬演算,中央處理器需要持續運作,而造成電子裝置無法進入待機狀態,使得電子裝置耗電持續增加。所以如何能讓電子裝置處於待機狀態時,仍能進行音效處理並播放立體環繞音效,實為一值得研究的課題。Due to the advancement of technology, users have more and more entertaining requirements for electronic devices such as notebook computers, smart phones, and tablet computers. Coupled with the continuous development and innovation of the electronics industry in recent years, electronic devices have been simulated for sound source files. The operation and the speed of access are constantly increasing, so that the current electronic device can provide users with stereo surround sound effects such as in person. However, most of the stereo surround sound effects require a large amount of simulation calculations by the central processing unit. The central processing unit needs to continue to operate, and the electronic device cannot enter the standby state, so that the power consumption of the electronic device continues to increase. Therefore, how to make the electronic device in the standby state can still perform the sound effect processing and play the stereo surround sound effect, which is a subject worth studying.

本發明之主要目的係在提供一種在電源管理模式中仍對音源檔案進行音效處理的音源檔案處理方法。The main object of the present invention is to provide a sound source file processing method for performing sound effect processing on a sound source file in a power management mode.

本發明之另一主要目的係在提供一種在電源管理模式中仍對音源檔案進行音效處理的電子裝置。Another main object of the present invention is to provide an electronic device that still performs sound processing on a sound source file in a power management mode.

為達成上述之目的,本發明之電子裝置包括中央處理器、記憶體、及音源處理單元。中央處理器用以讀取並處理音源檔案以產生第一音源播放檔,並且於電源管理模式中,每隔預定時間對第一音源播放檔進行音效處理程序以產生第二音源播放檔。記憶體電性連接中央處理器並儲存第二音源播放檔。音源處理單元電性連接中央處理器及記憶體,音源處理單元讀取並播放第二音源播放檔。To achieve the above objects, an electronic device of the present invention includes a central processing unit, a memory, and a sound source processing unit. The central processor is configured to read and process the sound source file to generate a first sound source play file, and in the power management mode, perform a sound effect processing program on the first sound source play file every predetermined time to generate a second sound source play file. The memory is electrically connected to the central processing unit and stores the second audio source playback file. The sound source processing unit is electrically connected to the central processing unit and the memory, and the sound source processing unit reads and plays the second audio source playing file.

本發明另提供一種音源檔案處理方法,應用於處於電源管理模式之一電子裝置,語音檔案處理方法包括以下步驟:讀取並處理音源檔案以產生第一音源播放檔;於電源管理模式中,每隔一預定時間對第一音源播放檔進行音效處理程序以產生第二音源播放檔;以及,儲存第二音源播放檔。The invention further provides an audio source file processing method, which is applied to an electronic device in a power management mode. The voice file processing method comprises the following steps: reading and processing a sound source file to generate a first sound source play file; in the power management mode, each Performing a sound processing program on the first sound source play file to generate a second sound source play file at a predetermined time; and storing the second sound source play file.

藉由本發明之音源檔案處理方法的設計,可讓電子裝置之中央處理器於電源管理模式中仍進行音效處理,以節省中央處理器的耗電量,增電子裝置之使用時間。By designing the sound source file processing method of the present invention, the central processing unit of the electronic device can still perform sound effect processing in the power management mode, thereby saving power consumption of the central processing unit and increasing the use time of the electronic device.

為能讓貴審查委員能更瞭解本發明之技術內容,特舉較佳具體實施例說明如下。In order to enable the reviewing committee to better understand the technical contents of the present invention, the preferred embodiments are described below.

請先參考圖1係本發明之電子裝置之一實施例之硬體架構圖。本發明之電子裝置1具有一電源管理模式,電子裝置1可以是筆記型電腦、桌上型電腦、智慧型手機、或平板電腦等,且本發明不以此為限,電子裝置1亦可應用於其他具有電源管理模式之裝置上。Please refer to FIG. 1 for a hardware architecture diagram of an embodiment of an electronic device of the present invention. The electronic device 1 of the present invention has a power management mode, and the electronic device 1 can be a notebook computer, a desktop computer, a smart phone, or a tablet computer, and the present invention is not limited thereto, and the electronic device 1 can also be applied. On other devices with power management mode.

在本實施例中,電子裝置1包括中央處理器10、記憶體20、音源處理單元30、數位/類比轉換模組40、及播放單元50。中央處理器10用以讀取並處理音源檔案100以產生第一音源播放檔111,並且在電子裝置1處於電源管理模式中,每隔一預定時間對第一音源播放檔111進行音效處理程序以產生具有環場音效之第二音源播放檔112。而本發明適用之音效處理程序可為任何模擬環場音效之運算程式。本實施例中,電源管理模式為連接待機模式(Connected standby mode),預定時間為8秒,音效處理程序為杜比音效處理程序。In the embodiment, the electronic device 1 includes a central processing unit 10, a memory 20, a sound source processing unit 30, a digital/analog conversion module 40, and a playback unit 50. The central processing unit 10 is configured to read and process the sound source file 100 to generate the first sound source playing file 111, and perform sound processing processing on the first sound source playing file 111 every predetermined time while the electronic device 1 is in the power management mode. A second source play file 112 having a ring field effect is generated. The sound processing program to which the present invention is applicable may be any arithmetic program that simulates a surround sound effect. In this embodiment, the power management mode is Connected standby mode, the predetermined time is 8 seconds, and the sound processing program is a Dolby sound processing program.

因為在連接待機模式中,中央處理器10被設定為每隔8秒被喚醒,以便執行電子裝置1運作時之必要程序,利用此特性,讓中央處理器10在被喚醒的時間進行第一音源播放檔111的杜比音效處理程序,以產生具有杜比音效的第二音源播放檔112。Since in the connection standby mode, the central processing unit 10 is set to wake up every 8 seconds in order to execute the necessary program when the electronic device 1 operates, with this feature, the central processing unit 10 is caused to perform the first sound source at the time of being woken up. The Dolby sound processing program of the file 111 is played to generate a second source playback file 112 having a Dolby effect.

記憶體20電性連接中央處理器10,中央處理器10將已處理完的第二音源播放檔112儲存於記憶體20內。音源處理單元30電性連接中央處理器10及記憶體20,音源處理單元30讀取並處理音效處理程序的第二音源播放檔112。在本實施例中,音源處理單元30是一硬體控制晶片,但本發明不以此為限。數位/類比轉換模組40電性連接音源處理單元30,用以將第二音源播放檔112由數位訊號轉為類比訊號,再把第二音源播放檔112交由播放單元50播放,在本實施例中播放單元50是揚聲器。The memory 20 is electrically connected to the central processing unit 10, and the central processing unit 10 stores the processed second audio source playback file 112 in the memory 20. The sound source processing unit 30 is electrically connected to the central processing unit 10 and the memory 20, and the sound source processing unit 30 reads and processes the second sound source playing file 112 of the sound effect processing program. In this embodiment, the sound source processing unit 30 is a hardware control chip, but the invention is not limited thereto. The digital/analog conversion module 40 is electrically connected to the sound source processing unit 30 for converting the second audio source playback file 112 from the digital signal to the analog signal, and then transferring the second audio source playback file 112 to the playback unit 50 for playing in the present embodiment. In the example, the playback unit 50 is a speaker.

請參考圖2是本發明之音源檔案處理方法之步驟流程圖。須注意的是,以下雖配合圖1所示之電子裝置1為例說明本發明之音源檔案處理方法,但本發明並不以此為限,任何具有類似架構或功能之電子裝置皆可應用本發明之音源檔案處理方法。如圖2所示,本發明之音源檔案處理方法包括步驟S1至步驟S3。以下將詳細說明該方法之各個步驟。Please refer to FIG. 2, which is a flow chart of the steps of the method for processing the sound source file of the present invention. It should be noted that the audio device file processing method of the present invention is described below with reference to the electronic device 1 shown in FIG. 1 . However, the present invention is not limited thereto, and any electronic device having a similar architecture or function can be applied to the present invention. The invention relates to a method for processing audio source files. As shown in FIG. 2, the sound source file processing method of the present invention includes steps S1 to S3. The various steps of the method are described in detail below.

步驟S1:讀取並處理音源檔案以產生第一音源播放檔。Step S1: Reading and processing the sound source file to generate a first sound source play file.

當使用者想要利用電子裝置1聽音樂時,中央處理器10首先讀取音源檔案100(如:mp3檔),並將音源檔案100由原本的音源格式(如:mp3格式)處理為電子裝置1可播放的PCM檔,而形成第一音源播放檔111。需注意的是,本步驟僅僅是進行檔案格式進行檔案格式轉換,並未進行任何模擬環場音效處理。When the user wants to listen to music by using the electronic device 1, the central processing unit 10 first reads the sound source file 100 (eg, mp3 file), and processes the sound source file 100 from the original sound source format (eg, mp3 format) into an electronic device. 1 playable PCM file, and form the first source play file 111. It should be noted that this step is only for the file format conversion file format, and does not perform any analog ring sound processing.

步驟S2:於電源管理模式中,每隔一預定時間對第一音源播放檔進行音效處理程序以產生第二音源播放檔。Step S2: In the power management mode, a sound effect processing program is performed on the first sound source play file every predetermined time to generate a second sound source play file.

在本實施例中,電源管理模式為連接待機模式(Connected standby mode),在此模式下中央處理器10被設定為每隔8秒被喚醒,本發明之音源檔案處理方法利用中央處理器10被喚醒的時間,讓中央處理器10對第一音源播放檔111進行杜比音效處理程序以產生具有杜比環場音效的第二音源播放檔112。藉由此程序,不但可以節省中央處理器10的運轉時間,進一步使電子裝置1電量消耗得以減低。需注意的是,為了避免處理音源檔案時佔用太多隨機存取記憶體(RAM)的空間,所以中央處理器10會分段處理音源檔案100的音訊串流,比如說,一個長度為3分50秒的音訊串流,將被區分為複數音訊串流區段,讓中央處理器10每一次被喚醒時,完成至少一或複數音音訊串流區段的檔案格式轉換以及音效處理程序,一方面可保持電子裝置1連接待機模式(Connected standby mode),一方面也節省中央處理器10的運轉時間。In this embodiment, the power management mode is Connected standby mode, in which the central processing unit 10 is set to wake up every 8 seconds, and the sound source file processing method of the present invention is utilized by the central processing unit 10 At the time of wake-up, the central processor 10 performs a Dolby sound processing procedure on the first source playback file 111 to generate a second source playback file 112 having Dolby surround sound effects. With this procedure, not only can the operation time of the central processing unit 10 be saved, but the power consumption of the electronic device 1 can be further reduced. It should be noted that in order to avoid occupying too much random access memory (RAM) space when processing the audio file, the central processing unit 10 segments the audio stream of the audio file 100, for example, a length of 3 minutes. The 50-second audio stream will be divided into a plurality of audio stream segments, and the central processor 10 will complete the file format conversion and sound processing of at least one or a plurality of audio stream segments each time the CPU 10 wakes up. In this respect, the connected device (Connected standby mode) can be maintained, and on the other hand, the running time of the central processing unit 10 can be saved.

步驟S3:儲存第二音源播放檔。Step S3: storing the second source play file.

完成音效處理程序的第二音源播放檔112(音源區段)將被儲存於記憶體20內,以便音源處理單元30讀取並進行後續處理步驟,如:把具有杜比音效的第二音源播放檔112傳給數位/類比轉換模組40進行數位轉類比的訊號轉換,接著再交由播放單元50播放,以完成音樂播放程序。需注意的是,後續音源處理單元30得處理步驟為習知技術,故不再贅述。The second source play file 112 (sound source section) that completes the sound effect processing program will be stored in the memory 20 so that the sound source processing unit 30 reads and performs subsequent processing steps, such as: playing a second sound source having Dolby sound effects. The file 112 is sent to the digital/analog conversion module 40 for digital conversion analog signal conversion, and then transferred to the playback unit 50 for playback to complete the music playing program. It should be noted that the processing steps of the subsequent sound source processing unit 30 are conventional techniques, and therefore will not be described again.

使用本發明之音源檔案處理方法,讓電子裝置1能於連接待機模式(Connected standby mode)中播放具有杜比音效的音源檔案,讓中央處理器10只在被喚醒的時間內進行運算量較大的音效處理程序,藉此減少電子裝置1電池耗電,同時也增加了電子裝置1之實用性與娛樂性,解決了先前技術存在的問題。By using the sound source file processing method of the present invention, the electronic device 1 can play the sound source file with Dolby sound effect in the Connected standby mode, so that the central processing unit 10 can only perform a large amount of calculation in the time of being awakened. The sound processing program, thereby reducing the power consumption of the electronic device 1 battery, also increases the practicality and entertainment of the electronic device 1, and solves the problems of the prior art.

需注意的是,上述僅為實施例,而非限制於實施例。譬如此不脫離本發明基本架構者,皆應為本專利所主張之權利範圍,而應以專利申請範圍為準。It should be noted that the above is only an embodiment, and is not limited to the embodiment. Therefore, those who do not depart from the basic structure of the present invention should be bound by the scope of the patent, and the scope of the patent application shall prevail.

1‧‧‧電子裝置
10‧‧‧中央處理器
20‧‧‧記憶體
30‧‧‧音源處理單元
40‧‧‧數位/類比轉換模組
50‧‧‧播放單元
100‧‧‧音源檔案
111‧‧‧第一音源播放檔
112‧‧‧第二音源播放檔
1‧‧‧Electronic device
10‧‧‧Central processor
20‧‧‧ memory
30‧‧‧Source processing unit
40‧‧‧Digital/Analog Conversion Module
50‧‧‧Play unit
100‧‧‧ audio source file
111‧‧‧First source playback file
112‧‧‧Second audio source file

圖1係本發明之電子裝置之一實施例之硬體架構圖。 圖2係本發明之音源檔案處理方法之一實施例之步驟流程圖。1 is a hardware architecture diagram of an embodiment of an electronic device of the present invention. 2 is a flow chart showing the steps of an embodiment of the sound source file processing method of the present invention.

步驟S1至步驟S3 Step S1 to step S3

Claims (8)

一種電子裝置,其中該電子裝置具有一電源管理模式,該電子裝置包括: 一中央處理器,用以讀取並處理一音源檔案以產生一第一音源播放檔,並且於該電源管理模式中,每隔一預定時間對該第一音源播放檔進行一音效處理程序以產生一第二音源播放檔; 一記憶體,電性連接該中央處理器,該記憶體儲存該第二音源播放檔;以及 一音源處理單元,電性連接該中央處理器及該記憶體,該音源處理單元讀取並處理該第二音源播放檔。An electronic device, wherein the electronic device has a power management mode, the electronic device includes: a central processing unit for reading and processing a sound source file to generate a first sound source play file, and in the power management mode, Performing a sound processing program on the first sound source playing file to generate a second sound source playing file every predetermined time; a memory is electrically connected to the central processing unit, and the memory stores the second sound source playing file; A sound source processing unit is electrically connected to the central processing unit and the memory, and the sound source processing unit reads and processes the second audio source playing file. 如申請專利範圍第1項所述之電子裝置,其中該電源管理模式為連接待機模式(Connected standby mode)。The electronic device of claim 1, wherein the power management mode is a Connected standby mode. 如申請專利範圍第2項所述之電子裝置,其中該音效處理程序為杜比音效處理程序。The electronic device of claim 2, wherein the sound processing program is a Dolby sound processing program. 如申請專利範圍第4項所述之電子裝置,其中該預定時間為8秒。The electronic device of claim 4, wherein the predetermined time is 8 seconds. 一種音源檔案處理方法,應用於處於一電源管理模式之一電子裝置,該語音檔案處理方法包括以下步驟: 讀取並處理一音源檔案以產生一第一音源播放檔; 於該電源管理模式中,每隔一預定時間對該第一音源播放檔進行一音效處理程序以產生一第二音源播放檔;以及 儲存該第二音源播放檔。A sound source file processing method is applied to an electronic device in a power management mode, the voice file processing method includes the following steps: reading and processing a sound source file to generate a first sound source play file; in the power management mode, Performing a sound effect processing program on the first sound source playing file to generate a second sound source playing file every predetermined time; and storing the second sound source playing file. 如申請專利範圍第6項所述之音源檔案處理方法,其中該電源管理模式為連接待機模式(Connected standby mode)。The audio source file processing method according to claim 6, wherein the power management mode is a Connected standby mode. 如申請專利範圍第7項所述之音源檔案處理方法,其中該音效處理程序為杜比音效處理程序。The audio source file processing method according to claim 7, wherein the sound effect processing program is a Dolby sound processing program. 如申請專利範圍第8項所述之音源檔案處理方法,其中該預定時間為8秒。The method for processing a sound source file according to claim 8, wherein the predetermined time is 8 seconds.
TW103104852A 2014-02-14 2014-02-14 Electronic device and sound source processing method TW201531934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103104852A TW201531934A (en) 2014-02-14 2014-02-14 Electronic device and sound source processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103104852A TW201531934A (en) 2014-02-14 2014-02-14 Electronic device and sound source processing method

Publications (1)

Publication Number Publication Date
TW201531934A true TW201531934A (en) 2015-08-16

Family

ID=54343144

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103104852A TW201531934A (en) 2014-02-14 2014-02-14 Electronic device and sound source processing method

Country Status (1)

Country Link
TW (1) TW201531934A (en)

Similar Documents

Publication Publication Date Title
US10657964B2 (en) Method for controlling smart device, computer device and storage medium
KR101770932B1 (en) Always-on audio control for mobile device
TWI669710B (en) A method of controlling speaker and device,storage medium and electronic devices
US9466300B2 (en) User profile based audio adjustment techniques
US9549273B2 (en) Selective enabling of a component by a microphone circuit
WO2020177190A1 (en) Processing method, apparatus and device
US6968468B2 (en) Digital computer utilizing buffer to store and output data to play real time applications enabling processor to enter deep sleep state while buffer outputs data
TW201638776A (en) Clock switching in always-on component
US10783884B2 (en) Electronic device-awakening method and apparatus, device and computer-readable storage medium
TW201719651A (en) Systems and methods for dynamically adjusting memory state transition timers
US20110099404A1 (en) Electronic device, method of controlling an electronic device, and system-on-chip
CN114416610B (en) PWM signal generation method, chip and electronic equipment
KR20140035845A (en) Continuous data delivery with energy conservation
TW201531934A (en) Electronic device and sound source processing method
CN203181164U (en) A handset
CN107680570A (en) A kind of apparatus and method for of midi data conversions into vibration sense waveform
CN202169788U (en) Sound production invitation card
CN202694620U (en) Portable musical instrument assistant apparatus
TW201437907A (en) Audio broadcasting method and electronic device using the same
TWI498886B (en) An automatic emotion classification system with no sound
TW201531933A (en) Sound source processing method and sysyem thereof
TW202416731A (en) Computer system and processing method thereof of sound signal
CN104703096A (en) Noise removing method and electronic device
CN104952468A (en) Method for playing audio files and electronic equipment
CN104658534A (en) Voice recognition system