[go: up one dir, main page]

TWI385647B - Audio data processing device and method - Google Patents

Audio data processing device and method Download PDF

Info

Publication number
TWI385647B
TWI385647B TW99102365A TW99102365A TWI385647B TW I385647 B TWI385647 B TW I385647B TW 99102365 A TW99102365 A TW 99102365A TW 99102365 A TW99102365 A TW 99102365A TW I385647 B TWI385647 B TW I385647B
Authority
TW
Taiwan
Prior art keywords
domain curve
domain
module
audio processing
curve
Prior art date
Application number
TW99102365A
Other languages
Chinese (zh)
Other versions
TW201126512A (en
Inventor
Chun Te Wu
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 TW99102365A priority Critical patent/TWI385647B/en
Publication of TW201126512A publication Critical patent/TW201126512A/en
Application granted granted Critical
Publication of TWI385647B publication Critical patent/TWI385647B/en

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Stereophonic System (AREA)

Description

音訊處理裝置及方法 Audio processing device and method

本發明涉及音訊處理,尤其涉及一種音訊處理裝置及方法。 The present invention relates to audio processing, and more particularly to an audio processing apparatus and method.

有損壓縮廣泛應用於語音、圖像和視頻資料的壓縮。有損壓縮是利用了人類對圖像或聲波中的某些頻率成分不敏感的特性,允許壓縮過程中損失一定的資訊,換來更大的壓縮比。 Lossy compression is widely used for compression of voice, image and video material. Lossy compression exploits the inability of humans to be insensitive to certain frequency components in images or sound waves, allowing for the loss of certain information during compression, in exchange for greater compression ratios.

然而,數位音訊被有損壓縮時,高頻部分會缺失,導致數位音訊聽起來非常低沉,音訊品質有所下降。 However, when the digital audio is damaged, the high frequency part will be missing, causing the digital audio to sound very low and the audio quality to be degraded.

有鑒於此,有必要提供一種音訊處理裝置,用於補足高頻的缺失部分,提高音訊品質。 In view of this, it is necessary to provide an audio processing device for complementing the missing portion of the high frequency and improving the audio quality.

此外,還需提供一種音訊處理方法,用於補足高頻的缺失部分,提高音訊品質。 In addition, an audio processing method is needed to complement the missing portion of the high frequency and improve the audio quality.

本發明實施方式中的音訊處理裝置,包括處理器、S域曲線存儲模組、倍率S域曲線存儲模組、S域曲線選擇模組、讀取模組、倍率S域曲線選擇模組、插點模組及輸出模組。S域曲線存儲模組用於存儲各種S域曲線,分別與處理器不同工況下的利用率相對應。倍率S域曲線存儲模組用於存儲各種倍率S域曲線。S域曲線選擇模組,用於根據處理器當前利用率從S域曲線存儲模組中選擇合適的S域曲線。讀取模組用於讀取音訊資料,音訊資料包括採樣頻率與原始點數。倍率S域曲線選擇模組,用於根據所選擇的S域曲線與採樣頻率從倍率S域曲線存儲模組中選擇倍率S域曲線。插點模組用於根據所選擇的倍率S域曲線對原始點數進行插點運算。輸出模組用於輸出插點運算後的音訊資料。 The audio processing device in the embodiment of the present invention includes a processor, an S-domain curve storage module, a multiplying S-domain curve storage module, an S-domain curve selection module, a reading module, a multiplying S-domain curve selection module, and an insertion. Point module and output module. The S-domain curve storage module is used to store various S-domain curves, which respectively correspond to the utilization rates under different operating conditions of the processor. The multiplying S-domain curve storage module is used to store various multiplying S-domain curves. The S-domain curve selection module is configured to select an appropriate S-domain curve from the S-domain curve storage module according to the current utilization rate of the processor. The reading module is used for reading audio data, and the audio data includes sampling frequency and original points. The multiplying S-domain curve selection module is configured to select the multiplying S-domain curve from the multiplying S-domain curve storage module according to the selected S-domain curve and the sampling frequency. The interpolation module is used to interpolate the original points according to the selected magnification S-domain curve. The output module is used to output the audio data after the interpolation operation.

本發明實施方式中的音訊處理方法,包括如下步驟: 提供各種S域曲線,分別與處理器不同工況下的利用率相對應;提供各種倍率S域曲線;讀取固定長度的音訊資料,包括採樣頻率與原始點數;判斷處理器的利用率,並根據利用率選擇對應的S域曲線;根據所選擇的S域曲線與採樣頻率選擇倍率S域曲線;將音訊資料的原始點數根據所選擇的倍率S域曲線進行插點運算;輸出插點運算後的音訊資料。 The audio processing method in the embodiment of the present invention includes the following steps: Provide various S-domain curves, respectively corresponding to the utilization of the processor under different working conditions; provide various multi-rate S-domain curves; read fixed-length audio data, including sampling frequency and original points; determine processor utilization, And selecting the corresponding S-domain curve according to the utilization rate; selecting the multiplicative S-domain curve according to the selected S-domain curve and the sampling frequency; and interpolating the original points of the audio data according to the selected magnification S-domain curve; outputting the interpolation point The audio data after the operation.

藉由以下對具體實施方式詳細的描述並結合附圖,將可輕易地了解上述內容及此項發明之技術效果。 The above and the technical effects of the invention can be easily understood from the following detailed description of the embodiments and the accompanying drawings.

請參閱圖1,所示為本發明實施方式中音訊處理裝置10的模組圖。在本實施方式中,音訊處理裝置10用於對音訊資料進行插點運算,以改善音質。 Please refer to FIG. 1, which is a block diagram of an audio processing device 10 according to an embodiment of the present invention. In the present embodiment, the audio processing device 10 is configured to perform an interpolation operation on the audio data to improve the sound quality.

在本實施方式中,音訊處理裝置10包括處理器101、S域曲線存儲模組102、S域曲線選擇模組103、讀取模組104、倍率S域曲線存儲模組105、倍率S域曲線選擇模組106、倍率S域曲線生成模組107、插點模組108、輸出模組109及判斷模組110。 In the present embodiment, the audio processing device 10 includes a processor 101, an S-domain curve storage module 102, an S-domain curve selection module 103, a reading module 104, a multiplying S-domain curve storage module 105, and a magnification S-domain curve. The module 106, the multiplying S-domain curve generating module 107, the interpolating module 108, the output module 109, and the judging module 110 are selected.

處理器101用於執行音訊處理裝置10的各種任務,包括執行上述模組102-110。 The processor 101 is configured to perform various tasks of the audio processing device 10, including executing the modules 102-110 described above.

S域曲線存儲模組102用於存儲各種S域曲線。在本實施方式中,S域曲線是由不同點數按照頻率變化的百分比排列而成,包括64點、32點、16點、8點、4點S域曲線等。如圖2的S域曲線示例圖所示,圖2(a)是4點S域曲線的示例圖,圖2(b)是64點S域曲線的示例圖,其中,橫坐標是點數,縱坐標是點數間頻率變化的百分比。從圖2(a)與(b)中可以看出,點數越多,頻率變化越清晰。在本實施方式中,各種點數的S域曲線與處理器101不同工況下的利用率適應性相對應。例如,64點S域曲線對應處理器101的利用率在1-20%區間,4點S域曲線對 應處理器101的利用率在80-100%區間。這樣可以合理利用處理器101,提高音訊處理的效率。 The S-domain curve storage module 102 is used to store various S-domain curves. In the present embodiment, the S-domain curve is formed by dividing the number of different points according to the percentage of frequency variation, including 64-point, 32-point, 16-point, 8-point, 4-point S-domain curves, and the like. 2(a) is an example diagram of a 4-point S-domain curve, and FIG. 2(b) is an example diagram of a 64-point S-domain curve, wherein the abscissa is a point number, The ordinate is the percentage change in frequency between points. As can be seen from Figures 2(a) and (b), the more points, the clearer the frequency change. In the present embodiment, the S-domain curves of various points correspond to the utilization suitability of the processor 101 under different operating conditions. For example, the 64-point S-domain curve corresponds to the processor 101 utilization rate in the 1-20% interval, and the 4-point S-domain curve pair The utilization rate of the processor 101 should be in the range of 80-100%. In this way, the processor 101 can be reasonably utilized to improve the efficiency of audio processing.

S域曲線選擇模組103根據處理器101當前的利用率,從S域曲線存儲模組102中選擇對應的S域曲線。其中,對應規則可以預設,例如,當處理器101利用率在1-20%的區間時,選擇64點S域曲線,或當處理器利用率在80-100%的區間時,選擇4點S域曲線。 The S-domain curve selection module 103 selects a corresponding S-domain curve from the S-domain curve storage module 102 according to the current utilization rate of the processor 101. The corresponding rule may be preset. For example, when the processor 101 utilization rate is in the interval of 1-20%, the 64-point S-domain curve is selected, or when the processor utilization is in the interval of 80-100%, 4 points are selected. S domain curve.

讀取模組104用於讀取固定長度的音訊資料。在本實施方式中,音訊資料包括採樣頻率與原始點數。 The reading module 104 is configured to read a fixed length of audio data. In this embodiment, the audio data includes a sampling frequency and an original number of points.

採樣頻率是每一秒鐘所採樣的數目,採樣頻率越高所能描述的聲波頻率就越高,還原的聲音就越真實、自然。採樣頻率一般包括11.025KHz、22.05KHz、44.1KHz等,其中,44.1KHz則是理論上的CD音質界限。參閱圖3的音訊資料示例圖,如圖3(a)所示,為一段採樣頻率為11.025KHz的音訊資料。如圖3(b)所示,為讀取模組104讀取的固定長度的音訊資料,在本實施方式中,音訊資料的採樣頻率為11.025KHz,在固定長度下的原始點數為4點。 The sampling frequency is the number of samples per second. The higher the sampling frequency, the higher the frequency of the sound wave that can be described, and the more realistic and natural the restored sound is. The sampling frequency generally includes 11.025KHz, 22.05KHz, 44.1KHz, etc., wherein 44.1KHz is the theoretical CD sound quality limit. Referring to the audio data example diagram of FIG. 3, as shown in FIG. 3(a), it is a piece of audio data with a sampling frequency of 11.025 kHz. As shown in FIG. 3(b), for the fixed length audio data read by the reading module 104, in the present embodiment, the sampling frequency of the audio data is 11.025 KHz, and the original number of points at a fixed length is 4 points. .

倍率S域曲線存儲模組105中存儲各種倍率S域曲線。參閱圖4,為本實施方式中4點倍率S域曲線的示例圖。 The multiplying S-domain curve storage module 105 stores various multiplying S-domain curves. Referring to FIG. 4, an exemplary diagram of a 4-point magnification S-domain curve in the present embodiment is shown.

倍率S域曲線選擇模組106判斷倍率S域曲線存儲模組105中是否存在與當前採樣頻率及當前S域曲線對應的倍率S域曲線。 The multiplying S-domain curve selection module 106 determines whether there is a multiplying S-domain curve corresponding to the current sampling frequency and the current S-domain curve in the multiplicative S-domain curve storage module 105.

倍率S域曲線生成模組107用於當倍率S域曲線選擇模組106判斷不存在對應的倍率S域曲線時,生成對應的倍率S域曲線。在本實施方式中,倍率S域曲線生成模組107按照標準採樣頻率與當前採樣頻率的比值,對S域曲線進行倍率擴展點數來生成對應的倍率S域曲線。例如,圖3(b)的音訊資料,採樣頻率為11.025KHz,若插點成 為預設標準採樣頻率為44.1KHz,則需要在圖2(a)的每1個點數在原長度範圍內擴展成4個同樣的點,生成如圖4所示的的4點倍率S域曲線的示例圖。 The multiplying S-domain curve generating module 107 is configured to generate a corresponding multiplying S-domain curve when the multiplying S-domain curve selecting module 106 determines that there is no corresponding multiplying S-domain curve. In the present embodiment, the magnification S-domain curve generation module 107 performs a magnification expansion point number on the S-domain curve according to the ratio of the standard sampling frequency to the current sampling frequency to generate a corresponding magnification S-domain curve. For example, the audio data of Figure 3(b) has a sampling frequency of 11.025 kHz. For the preset standard sampling frequency of 44.1KHz, it is necessary to expand into 4 identical points in the original length range for each point in Fig. 2(a), and generate a 4-point multiplication S-domain curve as shown in Fig. 4. Example diagram.

插點模組108將讀取模組104所讀取的音訊資料的原始點數按照倍率S域曲線進行插點運算。在本實施方式中,圖3(b)的音訊資料按照圖4的4點倍率S域曲線進行插點運算後的音訊資料參閱圖3(c)。在本實施方式中,插點模組108是根據所選擇的倍率S域曲線對原始點數進行直線插點運算。在本發明中,音訊處理裝置10藉由插點模組108的插點運算將高頻信號加入原來的音訊資料中,以此來提高低碼率音訊的音質。 The puncturing module 108 interpolates the original points of the audio data read by the reading module 104 according to the multiplying S-domain curve. In the present embodiment, the audio data of the audio data of FIG. 3(b) is subjected to the interpolation operation according to the 4-point magnification S-domain curve of FIG. 4, and FIG. 3(c) is referred to. In the present embodiment, the interpolation module 108 performs a linear interpolation operation on the original number of points according to the selected magnification S-domain curve. In the present invention, the audio processing device 10 adds the high frequency signal to the original audio data by the interpolation operation of the interpolation module 108, thereby improving the sound quality of the low rate audio.

如圖3(c)所示,在i與i+1之間插入的點數是圖4中的16-1=15點。 As shown in Fig. 3(c), the number of points inserted between i and i+1 is 16-1 = 15 points in Fig. 4.

插入的每點頻率是(i+1點的頻率-i點的頻率)*倍率S域曲線的對應j點的百分比。 The frequency of each point inserted is (the frequency of the i+1 point - the frequency of the i point) * the percentage of the corresponding j point of the rate S domain curve.

輸出模組109輸出插點模組108的插點運算後的音訊資料,以便後續解碼。 The output module 109 outputs the audio data after the interpolation operation of the interpolation module 108 for subsequent decoding.

判斷模組110用於判斷是否還存在待處理的音訊資料,並當存在待處理的音訊資料時,通知讀取模組104繼續讀取音訊資料。 The determining module 110 is configured to determine whether there is still audio information to be processed, and when there is audio information to be processed, the reading module 104 is notified to continue reading the audio data.

在本發明中,音訊處理裝置10藉由插點運算將高頻信號加入原來的頻譜中,以此提高低碼率音訊的音質。 In the present invention, the audio processing device 10 adds a high frequency signal to the original frequency spectrum by interpolation, thereby improving the sound quality of the low bit rate audio.

請參閱圖5,所示為本發明音訊處理方法實施方式的流程圖。在本實施方式中,音訊處理方法藉由圖1所示音訊處理裝置10來實現。 Referring to FIG. 5, a flow chart of an embodiment of an audio processing method according to the present invention is shown. In the present embodiment, the audio processing method is implemented by the audio processing device 10 shown in FIG.

在步驟S201中,S域曲線存儲模組102提供各種S域曲線,分別與處理器101不同工況下的利用率相對應。在本實施方式中,S域曲線是由不同點數按照頻率變化的百分比排列而成,不同點數的S域曲線對應不同工況下的處理器101利用率。 In step S201, the S-domain curve storage module 102 provides various S-domain curves, which respectively correspond to the utilization rates of the processor 101 under different operating conditions. In the present embodiment, the S-domain curve is formed by dividing the number of different points according to the percentage change of the frequency, and the S-domain curve of different points corresponds to the utilization rate of the processor 101 under different working conditions.

在步驟S202中,倍率S域曲線存儲模組105提供各種倍率S域曲線。 In step S202, the multiplying S-domain curve storage module 105 provides various multiplying S-domain curves.

在步驟S203中,讀取模組104讀取固定長度的音訊資料。在本實施方式中,音訊資料包括採樣頻率與原始點數。參閱圖3(b)的音訊資料示例圖,在本實施方式中,音訊資料的採樣頻率為11.025KHz,在固定長度下的原始點數為4點。 In step S203, the reading module 104 reads a fixed length of audio material. In this embodiment, the audio data includes a sampling frequency and an original number of points. Referring to the audio data example diagram of FIG. 3(b), in the present embodiment, the sampling frequency of the audio data is 11.025 KHz, and the original number of points at a fixed length is 4 points.

在步驟S204中,S域曲線選擇模組103判斷處理器101的利用率,並根據處理器101的利用率在S域曲線存儲模組102中選擇S域曲線。在本實施方式中,可以靈活選擇不同的S域曲線。當處理器101利用率較高時,選用較低的點數,可以避免給處理器101造成更大的負擔,而當處理器101利用率較低時,選用較高的點數,可以合理利用處理器101的資源。例如,若處理器101的利用率在87%,則選用4點S域曲線,參閱圖2(a)。 In step S204, the S-domain curve selection module 103 determines the utilization rate of the processor 101, and selects the S-domain curve in the S-domain curve storage module 102 according to the utilization rate of the processor 101. In the present embodiment, different S-domain curves can be flexibly selected. When the utilization rate of the processor 101 is high, a lower number of points is selected, which can avoid a greater burden on the processor 101. When the utilization rate of the processor 101 is low, a higher number of points can be used, which can be reasonably utilized. The resources of the processor 101. For example, if the utilization rate of the processor 101 is 87%, a 4-point S-domain curve is selected, see Figure 2(a).

在步驟S205中,倍率S域曲線選擇模組106讀取音訊資料的採樣頻率。如圖3(a)的採樣頻率為11.025KHz。 In step S205, the magnification S-domain curve selection module 106 reads the sampling frequency of the audio material. The sampling frequency as shown in Fig. 3(a) is 11.025 kHz.

在步驟S206中,倍率S域曲線選擇模組106判斷倍率S域曲線存儲模組105中是否存在與當前採樣頻率及當前S域曲線對應的倍率S域曲線。 In step S206, the magnification S-domain curve selection module 106 determines whether there is a magnification S-domain curve corresponding to the current sampling frequency and the current S-domain curve in the magnification S-domain curve storage module 105.

若不存在,則執行步驟S207,倍率S域曲線生成模組107生成與當前採樣頻率及當前S域曲線對應的倍率S域曲線。例如,圖3(b)的音訊資料,採樣頻率為11.025KHz,若插點為預設標準採樣頻率為44.1KHz,需要在圖2(a)的每1個點數在原長度範圍內擴展成4個同樣的點,生成圖4的4點倍率S域曲線的示例圖。 If not, step S207 is executed, and the multiplying S-domain curve generating module 107 generates a multiplying S-domain curve corresponding to the current sampling frequency and the current S-domain curve. For example, the audio data of Figure 3(b) has a sampling frequency of 11.025 kHz. If the interpolation point is a preset standard sampling frequency of 44.1 kHz, it needs to be expanded to 4 in the original length range for each point in Figure 2(a). The same point, an example diagram of the 4-point multiplication S-domain curve of Fig. 4 is generated.

若存在或已經生成倍率S域曲線,則執行步驟S208,插點模組108將讀取模組104中的音訊資料的原始點數按照倍率S域曲線進行插點運算。參閱圖3(c)所示,插點模組108是根據倍率S域曲線對原始點數進行直線插點運 算。在本發明中,音訊處理裝置10藉由插點運算將高頻信號加入原來的音訊資料中,以此提高低碼率音訊的音質。 If the multiplicative S-domain curve exists or has been generated, step S208 is executed, and the interpolation module 108 performs the interpolation operation on the original point number of the audio data in the reading module 104 according to the magnification S-domain curve. Referring to FIG. 3(c), the interpolation module 108 performs linear interpolation on the original points according to the magnification S-domain curve. Count. In the present invention, the audio processing device 10 adds a high frequency signal to the original audio data by interpolation to improve the sound quality of the low bit rate audio.

如圖3(c)所示,在i與i+1之間插入的點數是圖4中的16-1=15點。插入的每點頻率是(i+1點的頻率-i點的頻率)*倍率S域曲線的對應j點的百分比。 As shown in Fig. 3(c), the number of points inserted between i and i+1 is 16-1 = 15 points in Fig. 4. The frequency of each point inserted is (the frequency of the i+1 point - the frequency of the i point) * the percentage of the corresponding j point of the rate S domain curve.

在步驟S209中,輸出模組109輸出插點運算後的音訊資料,以便進行後續的解碼處理。 In step S209, the output module 109 outputs the audio data after the interpolation operation to perform subsequent decoding processing.

在步驟S210中,判斷模組110判斷是否還存在待處理的音訊資料。若有,則返回步驟S203,通知讀取模組104繼續讀取。若無,則結束。 In step S210, the determination module 110 determines whether there is still audio information to be processed. If yes, the process returns to step S203 to notify the reading module 104 to continue reading. If not, it ends.

參閱圖6,所示為圖3(b)未經音訊處理的音訊資料與圖3(c)經音訊處理後的音訊資料的效果對比圖。圖6(a)與圖6(b)分別是未經音訊處理及音訊處理後的音訊資料分貝圖,可以看出聲音的大小並無明顯變化。圖6(c)是未經音訊處理的音訊資料頻率圖,以短時傅裏葉變換(short time fourier transform,STFT)分析,其頻率分佈於0-5KHz之間,聲音非常低沉,圖6(d)是音訊處理後的音訊資料的頻率圖,其頻率分佈於0-15KHz之間,5KHz以上的高頻被補足,聲音更加真實、自然。 Referring to FIG. 6, there is shown a comparison of the effects of the audio data processed by the audio processing in FIG. 3(b) and the audio data processed by the audio processing in FIG. 3(c). Fig. 6(a) and Fig. 6(b) show the decibel map of the audio data without audio processing and audio processing, respectively, and it can be seen that the size of the sound does not change significantly. Figure 6(c) is a frequency diagram of audio data without audio processing, analyzed by short time fourier transform (STFT), whose frequency is distributed between 0-5KHz, and the sound is very low, Figure 6 ( d) is the frequency map of the audio data after audio processing, the frequency is distributed between 0-15KHz, the high frequency above 5KHz is complemented, the sound is more real and natural.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

10‧‧‧音訊處理裝置 10‧‧‧Operation processing device

101‧‧‧處理器 101‧‧‧ processor

102‧‧‧S域曲線存儲模組 102‧‧‧S domain curve storage module

103‧‧‧S域曲線選擇模組 103‧‧‧S domain curve selection module

104‧‧‧讀取模組 104‧‧‧Reading module

105‧‧‧倍率S域曲線存儲模組 105‧‧‧Rated S-domain curve storage module

106‧‧‧倍率S域曲線選擇模組 106‧‧‧Rated S-domain curve selection module

107‧‧‧倍率S域曲線生成模組 107‧‧‧Rated S-domain curve generation module

108‧‧‧插點模組 108‧‧‧Plug module

109‧‧‧輸出模組 109‧‧‧Output module

110‧‧‧判斷模組 110‧‧‧Judgement module

圖1為本發明實施方式中音訊處理裝置之模組圖。 1 is a block diagram of an audio processing device according to an embodiment of the present invention.

圖2為本發明實施方式中S域曲線之示例圖。 2 is a diagram showing an example of an S-domain curve in an embodiment of the present invention.

圖3為本發明實施方式中音訊資料之示例圖。 FIG. 3 is a diagram showing an example of audio data in an embodiment of the present invention.

圖4為本發明實施方式中倍率S域曲線之示例圖。 4 is a diagram showing an example of a magnification S-domain curve in an embodiment of the present invention.

圖5為本發明實施方式中音訊處理方法之流程圖。 FIG. 5 is a flowchart of an audio processing method according to an embodiment of the present invention.

圖6為本發明實施方式中未經處理的音訊資料與處理 後的音訊資料之效果對比圖。 6 is an unprocessed audio data and processing in an embodiment of the present invention; A comparison of the effects of the subsequent audio data.

10‧‧‧音訊處理裝置 10‧‧‧Operation processing device

101‧‧‧處理器 101‧‧‧ processor

102‧‧‧S域曲線存儲模組 102‧‧‧S domain curve storage module

103‧‧‧S域曲線選擇模組 103‧‧‧S domain curve selection module

104‧‧‧讀取模組 104‧‧‧Reading module

105‧‧‧倍率S域曲線存儲模組 105‧‧‧Rated S-domain curve storage module

106‧‧‧倍率S域曲線選擇模組 106‧‧‧Rated S-domain curve selection module

107‧‧‧倍率S域曲線生成模組 107‧‧‧Rated S-domain curve generation module

108‧‧‧插點模組 108‧‧‧Plug module

109‧‧‧輸出模組 109‧‧‧Output module

110‧‧‧判斷模組 110‧‧‧Judgement module

Claims (12)

一種音訊處理裝置,具有處理器,該音訊處理裝置包括:S域曲線存儲模組,用於存儲各種S域曲線,該S域曲線分別與該處理器不同工況下的利用率相對應;倍率S域曲線存儲模組,用於存儲各種倍率S域曲線;S域曲線選擇模組,用於根據該處理器當前利用率從該S域曲線存儲模組中選擇合適的S域曲線;讀取模組,用於讀取音訊資料,該音訊資料包括採樣頻率與原始點數;倍率S域曲線選擇模組,用於根據所選擇的S域曲線與該採樣頻率從該倍率S域曲線存儲模組中選擇倍率S域曲線;插點模組,用於根據所選擇的倍率S域曲線對該原始點數進行插點運算;以及輸出模組,用於輸出該插點運算後的音訊資料。 An audio processing device having a processor, the audio processing device comprising: an S-domain curve storage module for storing various S-domain curves, the S-domain curves respectively corresponding to utilization rates of the processor under different working conditions; The S-domain curve storage module is configured to store various multi-rate S-domain curves; the S-domain curve selection module is configured to select an appropriate S-domain curve from the S-domain curve storage module according to the current utilization rate of the processor; a module for reading audio data, the audio data comprising a sampling frequency and an original point; a magnification S-domain curve selection module, configured to store a mode from the multiplicative S-domain curve according to the selected S-domain curve and the sampling frequency The multiplier S-domain curve is selected in the group; the interpolation module is used for interpolating the original point according to the selected multiplying S-domain curve; and the output module is configured to output the audio data after the interpolation operation. 如申請專利範圍第1項所述之音訊處理裝置,其中該S域曲線由不同點數按照頻率變化的百分比排列而成。 The audio processing device of claim 1, wherein the S-domain curve is arranged by a percentage of different points according to a frequency change. 如申請專利範圍第2項所述之音訊處理裝置,其中該處理器不同工況下的利用率與不同點數的S域曲線相對應。 The audio processing device of claim 2, wherein the utilization rate of the processor under different operating conditions corresponds to an S-domain curve of different points. 如申請專利範圍第1項所述之音訊處理裝置,還包括倍率S域曲線生成模組,用於當該倍率S域曲線選擇模組 從該倍率S域曲線存儲模組中選擇不到對應的倍率S域曲線時,生成對應的倍率S域曲線,並提供給該倍率S域曲線存儲模組進行存儲。 The audio processing device according to claim 1, further comprising a multiplying S-domain curve generating module, configured to use the multiplying S-domain curve selecting module When the corresponding multiplicative S-domain curve is not selected from the multiplying S-domain curve storage module, a corresponding multiplying S-domain curve is generated and provided to the multiplicative S-domain curve storage module for storage. 如申請專利範圍第4項所述之音訊處理裝置,其中該倍率S域曲線生成模組根據所選擇的S域曲線與該採樣頻率生成該倍率S域曲線。 The audio processing device of claim 4, wherein the multiplying S-domain curve generating module generates the multiplicative S-domain curve according to the selected S-domain curve and the sampling frequency. 如申請專利範圍第1項所述之音訊處理裝置,還包括判斷模組,用於判斷是否還存在待處理的音訊資料,並當存在時,通知該讀取模組繼續讀取音訊資料。 The audio processing device of claim 1, further comprising a determining module, configured to determine whether there is still audio information to be processed, and when present, notify the reading module to continue reading the audio data. 如申請專利範圍第1項所述之音訊處理裝置,其中該插點模組根據該倍率S域曲線對該原始點數進行直線插點運算。 The audio processing device according to claim 1, wherein the interpolation module performs a linear interpolation operation on the original point number according to the magnification S-domain curve. 一種音訊處理方法,應用於具有處理器的音訊處理裝置,該音訊處理方法包括:提供各種S域曲線,分別與該處理器不同工況下的利用率相對應;提供各種倍率S域曲線;讀取固定長度的音訊資料,該音訊資料包括採樣頻率與原始點數;判斷該處理器的利用率,並根據該利用率選擇對應的S域曲線;根據所選擇的S域曲線與該採樣頻率選擇倍率S域曲線; 根據所選擇的倍率S域曲線對該原始點數進行插點運算;及輸出該插點運算後的音訊資料。 An audio processing method is applied to an audio processing device having a processor, the audio processing method comprising: providing various S-domain curves, respectively corresponding to utilization rates of the processor under different working conditions; providing various multi-rate S-domain curves; Taking a fixed length of audio data, the audio data includes a sampling frequency and a number of original points; determining the utilization rate of the processor, and selecting a corresponding S-domain curve according to the utilization; selecting according to the selected S-domain curve and the sampling frequency Magnification S domain curve; Interpolating the original number of points according to the selected multiplying S-domain curve; and outputting the audio data after the interpolation operation. 如申請專利範圍第8項所述之音訊處理方法,其中該根據所選擇的S域曲線與該採樣頻率選擇倍率S域曲線的步驟包括:判斷是否存在對應的倍率S域曲線;若存在,則選擇所對應的倍率S域曲線;或若不存在,則生成對應的倍率S域曲線,並存儲。 The audio processing method of claim 8, wherein the step of selecting a multiplying S-domain curve according to the selected S-domain curve and the sampling frequency comprises: determining whether there is a corresponding multiplying S-domain curve; if present, Select the corresponding magnification S-domain curve; or if not, generate a corresponding magnification S-domain curve and store it. 如申請專利範圍第8項所述之音訊處理方法,其中該插點運算是根據倍率S域曲線對該原始點數進行直線插點。 The audio processing method according to claim 8, wherein the interpolation operation is a linear interpolation of the original points according to the multiplication S-domain curve. 如申請專利範圍第8項所述之音訊處理方法,還包括:判斷是否還存在待處理的音訊資料;若存在,則繼續讀取音訊資料;或若不存在,則結束音訊處理。 The audio processing method of claim 8, further comprising: determining whether there is still audio information to be processed; if yes, continuing to read the audio data; or if not, ending the audio processing. 如申請專利範圍第8項所述之音訊處理方法,其中該S域曲線由不同點數按照頻率變化的百分比排列而成。 The audio processing method according to claim 8, wherein the S-domain curve is arranged by a percentage of different points according to a frequency change.
TW99102365A 2010-01-28 2010-01-28 Audio data processing device and method TWI385647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99102365A TWI385647B (en) 2010-01-28 2010-01-28 Audio data processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99102365A TWI385647B (en) 2010-01-28 2010-01-28 Audio data processing device and method

Publications (2)

Publication Number Publication Date
TW201126512A TW201126512A (en) 2011-08-01
TWI385647B true TWI385647B (en) 2013-02-11

Family

ID=45024583

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99102365A TWI385647B (en) 2010-01-28 2010-01-28 Audio data processing device and method

Country Status (1)

Country Link
TW (1) TWI385647B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795740B1 (en) * 2000-03-01 2004-09-21 Apple Computer, Inc. Rectifying overflow and underflow in equalized audio waveforms
TW200816654A (en) * 2006-09-21 2008-04-01 Magima Digital Information Co Ltd An audio decoder and an audio decoding method
US7356186B2 (en) * 2002-08-23 2008-04-08 Kulas Charles J Digital representation of audio waveforms using peak shifting to provide increased dynamic range

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795740B1 (en) * 2000-03-01 2004-09-21 Apple Computer, Inc. Rectifying overflow and underflow in equalized audio waveforms
US7356186B2 (en) * 2002-08-23 2008-04-08 Kulas Charles J Digital representation of audio waveforms using peak shifting to provide increased dynamic range
TW200816654A (en) * 2006-09-21 2008-04-01 Magima Digital Information Co Ltd An audio decoder and an audio decoding method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Stephen Bennett, "Comprehensive automation is one of Logic's most powerful facets, allowing micro-management of all the settings in your mix." Fine-tuning Automation In Logic Workshop, Published in SOS September 2005, http://www.soundonsound.com/sos/sep05/articles/logictech.htm?print=yes *

Also Published As

Publication number Publication date
TW201126512A (en) 2011-08-01

Similar Documents

Publication Publication Date Title
US8473298B2 (en) Pre-resampling to achieve continuously variable analysis time/frequency resolution
US9431987B2 (en) Sound synthesis with fixed partition size convolution of audio signals
TWI292124B (en) Method to perform sampling rate conversion, multirate filter for performing sampling rate conversion, associated signal processing system, and computer readable storage medium recorded with associated instructions
JP3576936B2 (en) Frequency interpolation device, frequency interpolation method, and recording medium
RU2607230C2 (en) Adaptation of weighing analysis or synthesis windows for encoding or decoding by conversion
US8666732B2 (en) High frequency signal interpolating apparatus
CN109545174B (en) Audio processing method, device and equipment
JP2004294712A (en) Reverberation sound generating apparatus and program
KR20210114358A (en) Method and apparatus for processing audio data
TWI385647B (en) Audio data processing device and method
JP4787316B2 (en) Digital signal processing apparatus and overtone generation method
US6915319B1 (en) Method and apparatus for interpolating digital signal
JP3576935B2 (en) Frequency thinning device, frequency thinning method and recording medium
KR100804640B1 (en) Subband Synthesis Filtering Method and Apparatus
US7196642B2 (en) Circuitry and method for sampling audio data
US8386548B2 (en) Audio data processing device and method
JP2007249075A (en) Audio reproduction device and high-frequency interpolation processing method
JP2006330144A (en) Interpolation method and interpolation system of audio data
JP4661667B2 (en) Audio signal processing apparatus, audio signal processing method, program, and storage medium
JP3878601B2 (en) Digital audio broadcast receiving apparatus and operation method thereof
JP6140685B2 (en) Band power calculation device and band power calculation method
JP2006162774A (en) Signal processing device
JP2004328361A (en) Overtone generation method and overtone generation device
KR102721794B1 (en) Signal processing processor and controlling method thereof
JP4410812B2 (en) Window function generation circuit, speech coding apparatus, and speech decoding apparatus

Legal Events

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