TWI684477B - Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game - Google Patents
Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game Download PDFInfo
- Publication number
- TWI684477B TWI684477B TW107116811A TW107116811A TWI684477B TW I684477 B TWI684477 B TW I684477B TW 107116811 A TW107116811 A TW 107116811A TW 107116811 A TW107116811 A TW 107116811A TW I684477 B TWI684477 B TW I684477B
- Authority
- TW
- Taiwan
- Prior art keywords
- user
- customized operation
- spectrum
- music game
- customized
- Prior art date
Links
Images
Abstract
Description
本發明係涉及一種電腦遊戲操作之處理方法、非暫態電腦可讀取媒體、電腦程式產品及遊戲系統,尤指涉及一種音樂遊戲客製化操作之處理方法、非暫態電腦可讀取媒體、電腦程式產品及音樂遊戲系統。 The present invention relates to a processing method for computer game operation, non-transitory computer readable media, computer program products and game systems, in particular to a processing method for customized operation of music games, non-transitory computer readable media , Computer program products and music game systems.
建置在大型遊戲機台、電視遊戲主機、電腦遊戲、手持電子影音裝置或行動電話的節拍型或打擊型音樂遊戲,目前仍相當受歡迎。但是,這類音樂遊戲所使用的節拍譜面與操作介面,往往是由遊戲開發商預先設定、配置,因此除了無法客製化、自動、即時偵測或生成節拍或音樂遊戲,導致缺少人機互動與減少遊戲樂趣之外,遊戲開發商為了增加這類音樂遊戲承載裝置或系統的可攜性,在選擇輕量化或小型化設計的同時,往往也限制了使用者操作介面可操作區的尺寸與操作位置,進而影響了使用者對於預設操作介面或按鈕等輸入模組的操控精準度、使用者感受及遊 戲意願。 Beat-type or percussive music games built on large game consoles, video game consoles, computer games, handheld electronic audio-visual devices or mobile phones are still very popular. However, the beat spectrum and operation interface used by such music games are often pre-set and configured by the game developer, so in addition to the inability to customize, automatically, and instantly detect or generate beats or music games, resulting in a lack of human-computer interaction In addition to reducing the fun of the game, in order to increase the portability of such music game carrying devices or systems, game developers often choose a lightweight or miniaturized design, which often limits the size and operability of the user interface. The operating position, which in turn affects the user's accuracy of control of the preset operating interface or buttons and other input modules, user experience and gameplay Willingness to play.
進一步言,在音訊資料處理上,非頻域或音框型(frame-based)的音訊資料,其節拍偵測相關運算較複雜、無法即時(real-time)完成,且對於具有背景音樂或聲音的音訊,配置減噪程序以分離且輸出無噪聲音訊,亦有助於節拍辨識及操作精準度。然而,並不是所有應用程式類型、遊戲設計與處理,都有考慮到基於提高運算速度、加速遊戲反應時間及減少手持電子影音裝置或行動電話耗電量等原因,將部分模組及運算工作集中或分散處理的問題與解決方案。有鑑於此,有必要提供可滿足使用者在任意表面或物品上所產生的客製化操作、音訊來源之轉換或映對的技術方案,即有必要提供可由使用者自定義的音訊來源、輸入方式、自動判斷所屬聲響類型而實現生成節拍譜面或音樂遊戲的相關技術發明。 Furthermore, in the processing of audio data, non-frequency-domain or frame-based audio data has complex calculations related to beat detection and cannot be completed in real-time. For background music or sound Audio, configure noise reduction procedures to separate and output noise-free audio, but also help beat recognition and operation accuracy. However, not all application types, game design and processing have taken into account that some modules and computing work are concentrated based on reasons such as increasing computing speed, accelerating game response time, and reducing power consumption of handheld electronic audio-visual devices or mobile phones. Or decentralized problems and solutions. In view of this, it is necessary to provide a technical solution that can satisfy the user's customized operation, conversion or mapping of audio sources on any surface or object, that is, it is necessary to provide user-defined audio sources and input Ways, automatic judgment of the type of sounds to achieve the related technical inventions to generate beat spectrum or music games.
本發明之一主要目的係在於,提供一種音樂遊戲客製化操作之處理方法,以有效改善無法客製化、自動、即時偵測或生成節拍或音樂遊戲所導致的缺少人機互動與減少遊戲樂趣等問題。 One of the main objectives of the present invention is to provide a processing method for customized operation of music games, to effectively improve the lack of human-computer interaction and reduce games caused by the inability to customize, automatically, and instantly detect or generate beats or music games Fun and other issues.
本發明之另一主要目的係在於,提供一種內儲程式之非暫態電腦可讀取記憶媒體,以有效改善無法客製化、自動、即時偵測或生成節拍或音樂遊戲所導致的缺少人機互動與減少遊戲樂趣等問題。 Another main object of the present invention is to provide a non-transitory computer-readable memory medium with a stored program, so as to effectively improve the lack of people caused by the inability to customize, automatically, or detect or generate beats or music games. Problems such as machine interaction and reducing game fun.
本發明之另一主要目的係在於,提供一種內儲程式之電腦程式產品,以有效改善無法客製化、自動、即時偵測或生成節拍或音樂遊戲所導致的缺少人機互動與減少遊戲樂趣等問題。 Another main object of the present invention is to provide a computer program product with built-in programs to effectively improve the lack of human-computer interaction and reduce the fun of games caused by the inability to customize, automatically, detect or generate beats or music games. And other issues.
本發明之另一主要目的係在於,提供一種音樂遊戲系統,以有效改善無法客製化、自動、即時偵測或生成節拍或音樂遊戲所導致的缺少人機互動與減少遊戲樂趣等問題。 Another main object of the present invention is to provide a music game system to effectively improve the problems of lack of human-computer interaction and reduction of game fun caused by the inability to customize, automatically, real-time detect or generate beats or music games.
為達以上之目的,本發明所提供之音樂遊戲客製化操作之處理方法,係用以自動辨識使用者客製化操作以模擬或歸類為音樂遊戲之預設操作,包含以複數使用者預錄音訊相對應之複數頻譜所決定之複數顯著頻率,以及使用者客製化操作相對應之複數待測頻譜,進行一頻譜能量加總程序以產生複數頻譜型特徵值之步驟,其中使用者預錄音訊具有複數類型之節拍或打擊聲音,且包含以頻譜型特徵值進行辨識程序,以模擬或歸類使用者客製化操作為預設操作之步驟。 In order to achieve the above purpose, the processing method of the customized operation of the music game provided by the present invention is used to automatically identify the customized operation of the user to simulate or categorize it as the default operation of the music game, including multiple users The complex significant frequency determined by the complex spectrum corresponding to the pre-recorded signal, and the complex to-be-measured spectrum corresponding to the user's customized operation, a step of summing the spectrum energy to generate a complex spectrum type eigenvalue, in which the user The pre-recorded signal has a plurality of types of beat or percussion sounds, and includes a recognition process based on spectrum-type characteristic values, and simulates or classifies the user's customized operation as the default operation step.
於本發明一實施例中,所述音樂遊戲客製化操作之處理方法,其顯著頻率係高於相對應類型節拍或打擊聲音的所有頻譜能量一預設比例之頻率。此外,於本發明另一實施例中,以頻譜型特徵值進行辨識程序步驟更包含:以頻譜型特徵值將待測頻譜相對應之音框或待測頻譜中具有發聲起點(Onset)之待測頻譜相對應音框,逐音框區分或歸類為其中一類型之節拍或打擊聲音,以及捨棄或歸類無法分類之待測頻譜相對應之音框至這些類型以外之第一其他類型,或歸類待測頻譜中不具有發聲起點之待測頻譜相對應之音框至這些類型以外之第二其他類型,或以頻譜型特徵值及顯著頻率所決定之複數頻譜型門檻值進行辨識程序,且以各頻譜型特徵值與相對應之各頻譜型門檻值之邏輯關係,逐音框決定使用者客製化操作為一類型之節拍或打擊聲音。若邏輯關係為頻譜型特徵值之第一頻譜型特徵值及第二頻譜型特徵值,分別同時大於相對應之頻譜型門檻值之第一頻譜 型門檻值及第二頻譜型門檻值,且第一頻譜型特徵值大於第二頻譜型特徵值時,則決定使用者客製化操作為這些類型之第一種類之該節拍或打擊聲音。若第一頻譜型特徵值小於第二頻譜型特徵值時,則決定使用者客製化操作為這些類型之第二種類之節拍或打擊聲音。若邏輯關係為僅第一頻譜型特徵值大於第一頻譜型門檻值時,則決定使用者客製化操作為第一種類之節拍或打擊聲音。若邏輯關係為僅第二頻譜型特徵值大於第二頻譜型門檻值時,則決定使用者客製化操作為第二種類之節拍或打擊聲音。若邏輯關係為第一頻譜型特徵值及第二頻譜型特徵值,分別同時小於相對應之第一頻譜型門檻值及第二頻譜型門檻值時,則決定使用者客製化操作為這些類型之第三種類之節拍或打擊聲音、未動作或非節拍或打擊之聲音。 In an embodiment of the invention, the processing method of the customized operation of the music game has a significant frequency higher than a frequency of a predetermined ratio of all spectrum energy of the corresponding type of beat or percussion sound. In addition, in another embodiment of the present invention, the step of identifying a spectrum-type characteristic value further includes: using the spectrum-type characteristic value to match the sound box corresponding to the spectrum to be measured or the spectrum to be measured with an onset The sound frame corresponding to the measured spectrum, the sound frame is divided or classified into one type of beat or percussion sound, and the sound frame corresponding to the spectrum to be measured that cannot be classified is discarded or classified to the first other type than these types, Or classify the sound frame corresponding to the spectrum under test without the starting point of the utterance into the second type other than these types, or the identification process based on the complex spectrum threshold determined by the spectrum type characteristic value and the significant frequency And, based on the logical relationship between each spectrum-type feature value and the corresponding spectrum-type threshold value, the tone-by-tone frame determines the user's customized operation as a type of beat or percussion sound. If the logical relationship is the first spectral type eigenvalue and the second spectral type eigenvalue of the spectral type eigenvalue, respectively, the first spectrum that is greater than the corresponding spectral type threshold value at the same time Type threshold and second spectrum type threshold, and when the first spectrum type characteristic value is greater than the second spectrum type characteristic value, it is determined that the user-customized operation is the first type of these types of beats or percussion sounds. If the first spectral type characteristic value is less than the second spectral type characteristic value, it is determined that the user-customized operation is the second type of beat or percussion sound of these types. If the logical relationship is that only the first spectral type characteristic value is greater than the first spectral type threshold value, then it is determined that the user-customized operation is the first type of beat or percussion sound. If the logical relationship is that only the second spectral type characteristic value is greater than the second spectral type threshold value, it is determined that the user-customized operation is the second type of beat or percussion sound. If the logical relationship is the first spectral type characteristic value and the second spectral type characteristic value, which are respectively less than the corresponding first spectral type threshold value and the second spectral type threshold value, it is determined that the user-customized operations are these types The third type of beat or percussion sound, no action or non-beat or percussion sound.
於本發明另一實施例中,若使用者客製化操作、使用者預錄音訊或待測頻譜具有背景音樂或聲音時,更包含:對使用者客製化操作及使用者預錄音訊分別進行減噪程序,以產生且輸出減除背景音樂或聲音後之無噪聲音訊,且其中對使用者客製化操作及使用者預錄音訊進行減噪程序之步驟,係對使用者預錄音訊或使用者客製化操作個別之前段內容,以轉換函數模型程序產生轉換函數,且以使用者預錄音訊或使用者客製化操作、轉換函數及對應之使用者預錄音訊或使用者客製化操作個別扣除前段內容之剩餘部分內容,進行背景音樂或聲音之減除而取得無噪聲音訊,個別作為使用者預錄音訊及使用者客製化操作。 In another embodiment of the present invention, if the user customized operation, the user pre-recorded message or the spectrum to be measured has background music or sound, it further includes: the user customized operation and the user pre-recorded message respectively Perform a noise reduction process to generate and output noise-free audio after background music or sound is subtracted, and the steps of performing a noise reduction process on user customized operations and user pre-recorded messages are pre-recorded messages on the user Or the user's customized operation of the individual previous content, the conversion function model program generates the conversion function, and the user pre-recorded message or user customized operation, conversion function and the corresponding user pre-recorded message or user guest The control operation individually deducts the remaining part of the previous content, performs background music or sound subtraction to obtain noise-free audio, and is used as a user pre-recorded message and user customized operation.
於本發明其他實施例中,使用者預錄音訊相對應之頻譜及使用者客製化操作相對應之待測頻譜,係由使用者預錄音訊及使用者客製化操作逐音框分別進行頻域轉換程序而生成。使用者客製化操作係使用者以 物件於遊戲設定與操作介面所產生,且客製化操作係被收錄後暫存於行動電話及/或具有網路通訊能力之近端、遠端或雲端電腦系統及其組合之檔案存取位置,遊戲設定與操作介面更可供使用者選取或操作被顯示之音樂遊戲之節拍譜面。 In other embodiments of the present invention, the frequency spectrum corresponding to the user pre-recorded message and the spectrum to be measured corresponding to the user customized operation are performed by the user pre-recorded message and the user customized operation frame by frame Generated by the frequency domain conversion program. User customized operation Objects are generated in the game settings and operation interface, and customized operations are included and temporarily stored in the mobile phone and/or the file access location of the near-end, remote or cloud computer system with network communication capabilities and their combination The game setting and operation interface are also available for users to select or operate the beat spectrum of the displayed music game.
為達以上之目的,本發明所提供之內儲程式之非暫態電腦可讀取記憶媒體,當電腦載入該程式並執行後,可完成前述之音樂遊戲客製化操作之處理方法。 To achieve the above purpose, the non-transitory computer with a stored program provided by the present invention can read a memory medium, and when the computer loads the program and executes it, it can complete the aforementioned processing method of the customized operation of the music game.
為達以上之目的,本發明所提供之內儲程式之電腦程式產品,當電腦載入該程式並執行後,可完成前述之音樂遊戲客製化操作之處理方法。 In order to achieve the above purpose, the computer program product with built-in program provided by the present invention can complete the aforementioned processing method of the customized operation of the music game after the computer loads the program and executes it.
為達以上之目的,本發明所提供之音樂遊戲系統,可自動辨識使用者客製化操作以模擬或歸類為音樂遊戲之預設操作,至少包含一音訊處理程式模組,係用以接收或存取複數使用者預錄音訊及使用者客製化操作,且以使用者預錄音訊相對應之複數頻譜所決定之複數顯著頻率,以及使用者客製化操作相對應之複數待測頻譜,進行頻譜能量加總程序以產生複數頻譜型特徵值,且以頻譜型特徵值進行辨識程序,以模擬或歸類使用者客製化操作為預設操作。 In order to achieve the above purpose, the music game system provided by the present invention can automatically recognize the user's customized operation to simulate or categorize it as the default operation of the music game, and at least includes an audio processing program module for receiving Or access to multiple user pre-recorded messages and user-customized operations, and the complex significant frequency determined by the complex frequency spectrum corresponding to the user pre-recorded signals, and the complex to-be-measured spectrum corresponding to user customized operations , Perform a spectrum energy summation procedure to generate a complex spectrum-type feature value, and use the spectrum-type feature value to perform an identification procedure, and simulate or classify a user-customized operation as the default operation.
於本發明一實施例中,音訊處理程式模組更以頻譜型特徵值及顯著頻率所決定之複數頻譜型門檻值,進行該辨識程序。於本發明另一實施例中,若使用者預錄音訊或使用者客製化操作具有背景音樂或聲音時,音訊處理程式模組更包含減噪程式模組,且該減噪程式模組係用以對使用者客製化操作及使用者預錄音訊分別進行減噪程序,以產生且輸出減 除背景音樂或聲音後之複數無噪聲音訊。其中,減噪程序係對使用者預錄音訊或使用者客製化操作個別之前段內容,以轉換函數模型程序產生轉換函數,且以使用者預錄音訊或使用者客製化操作、轉換函數及對應之使用者預錄音訊或使用者客製化操作個別扣除前段內容之剩餘部分內容,進行背景音樂或聲音之減除而取得無噪聲音訊,個別作為使用者預錄音訊及使用者客製化操作。 In an embodiment of the present invention, the audio processing program module further performs the identification process using a complex spectral threshold value determined by the spectral characteristic value and the significant frequency. In another embodiment of the present invention, if the user pre-recorded message or the user's customized operation has background music or sound, the audio processing program module further includes a noise reduction program module, and the noise reduction program module is It is used to perform noise reduction procedures on user customized operation and user pre-recorded signals to generate and output reduction No noise audio except for background music or sound. Among them, the noise reduction program is to pre-record the user's pre-recorded message or the user's customized operation, the conversion function model program generates the conversion function, and the user's pre-recorded message or the user's customized operation and conversion function And the corresponding user pre-recorded message or user customized operation separately deducts the remaining part of the previous content, and performs background music or sound subtraction to obtain noise-free audio, which is individually used as user pre-recorded message and user customized化操作。 Chemical operation.
於本發明其他實施例中,所述音樂遊戲系統,更包含:遊戲設定與顯示介面,係用以供使用者以物件操作,以產生使用者客製化操作;音訊儲存模組,係用以儲存且提供音訊處理模組存取使用者客製化操作、使用者預錄音訊或無噪聲音訊,且音訊儲存模組係配置於行動電話及/或具有網路通訊能力之近端、遠端或雲端電腦系統及其組合;以及視訊處理程式模組,用以於音樂遊戲被執行時至少顯示節拍譜面於遊戲設定與顯示介面。 In other embodiments of the present invention, the music game system further includes: a game setting and display interface for users to operate with objects to generate user-customized operations; and an audio storage module for Store and provide audio processing modules to access user-customized operations, user pre-recorded messages or noise-free audio, and audio storage modules are configured on mobile phones and/or near-end and remote-end with network communication capabilities Or a cloud computer system and its combination; and a video processing program module, which is used to display at least the beat spectrum in the game setting and display interface when the music game is executed.
綜上所述,本發明所提供之音樂遊戲客製化操作之處理方法、非暫態電腦可讀取媒體、電腦程式產品及音樂遊戲系統,能有效改善無法客製化、自動、即時偵測或生成節拍或音樂遊戲導致缺少人機互動與減少遊戲樂趣等問題。 In summary, the processing method of music game customization operation provided by the present invention, non-transitory computer readable media, computer program products and music game system can effectively improve the non-customization, automatic and real-time detection Or generating beats or music games leads to problems such as lack of human-computer interaction and reduced game fun.
S11~S13、S21~S25‧‧‧步驟 S11~S13, S21~S25‧Steps
U‧‧‧使用者 U‧‧‧ user
3‧‧‧音樂遊戲系統 3‧‧‧Music game system
31‧‧‧遊戲設定與顯示介面 31‧‧‧Game settings and display interface
311‧‧‧上傳音訊之操作選項 311‧‧‧Operation options for uploading audio
32‧‧‧音訊儲存模組 32‧‧‧Audio storage module
33‧‧‧音訊處理模組 33‧‧‧Audio processing module
34‧‧‧視訊處理模組 34‧‧‧Video processing module
331‧‧‧頻域轉換程序 331‧‧‧ Frequency domain conversion program
332‧‧‧顯著頻率決定程序 332‧‧‧ Significant frequency determination procedure
333‧‧‧頻譜能量加總程序 333‧‧‧Spectrum energy summation procedure
334‧‧‧門檻決定程序 334‧‧‧ threshold decision procedure
335‧‧‧辨識程序 335‧‧‧Identification procedure
336‧‧‧減噪程式模組 336‧‧‧ Noise reduction program module
41‧‧‧轉換函數模型程序 41‧‧‧ Transfer function model program
42‧‧‧減噪程序 42‧‧‧Noise reduction program
S‧‧‧使用者客製化操作 S‧‧‧Customized operation
TF‧‧‧待測頻譜 TF‧‧‧ spectrum to be tested
RA、RB‧‧‧使用者預錄音訊 RA, RB‧‧‧User pre-recorded messages
SA、SB‧‧‧頻譜 SA, SB‧‧‧ Spectrum
SFA、SFB‧‧‧顯著頻率 SFA, SFB‧‧‧Significant frequency
FA、FB‧‧‧頻譜型特徵值 FA, FB‧‧‧Spectral characteristic value
TA、TB‧‧‧頻譜型門檻值 TA, TB‧‧‧ Spectrum threshold
TR‧‧‧轉換函數 TR‧‧‧Conversion function
S1A、S1B‧‧‧第1秒的使用者預錄音訊內容 S1A, S1B‧‧‧‧Pre-recorded message content of user in 1st second
RS1A、RS1B‧‧‧剩餘的使用者預錄音訊內容 RS1A, RS1B ‧‧‧ remaining user pre-recorded message content
NS、NCA、NCB‧‧‧無噪聲音訊 NS, NCA, NCB‧‧‧no noise audio
R‧‧‧客製化操作處理結果 R‧‧‧Customized operation processing results
圖1為根據本發明音樂遊戲客製化操作之處理方法一實施例之流程圖。 FIG. 1 is a flowchart of an embodiment of a processing method for a customized operation of a music game according to the present invention.
圖2為根據本發明音樂遊戲客製化操作之處理方法之辨識程序一實施例之流程圖。 FIG. 2 is a flowchart of an embodiment of a recognition procedure of a processing method of a customized operation of a music game according to the present invention.
圖3為為根據本發明音樂遊戲系統一實施例之系統架構方塊圖。 3 is a block diagram of a system architecture according to an embodiment of a music game system of the present invention.
圖4為根據本發明音樂遊戲系統另一實施例之系統架構方塊圖。 4 is a block diagram of a system architecture according to another embodiment of the music game system of the present invention.
請參閱圖1,其係根據本發明音樂遊戲客製化操作之處理方法一實施例之流程圖。如圖1所示,在此實施例中,於步驟S11,以進行減噪程序後使用者預錄音訊頻譜所決定顯著頻率及使用者客製化操作相對應之待測頻譜,進行頻譜能量加總程序以產生頻譜型特徵值。其中,為了提高辨識與比對精確度與廣度,使用者預錄音訊具有兩種以上類型的節拍或打擊聲音,使用者預錄音訊及例如使用者直接或預錄的在任意物體表面以手指、筆或其他物品敲擊或產生的音訊,可逐音框(frame by frame)分別以例如快速傅立葉轉換(FFT)程序進行頻域轉換程序而分別生成其頻譜及待測評譜,使用者預錄音訊各音框所成頻譜可以進一步從中決定出顯著頻率,所述顯著頻率可以選擇例如高於相對應類型節拍或打擊聲音所有頻譜能量一預設比例之頻率來決定。 Please refer to FIG. 1, which is a flowchart of an embodiment of a processing method for a customized operation of a music game according to the present invention. As shown in FIG. 1, in this embodiment, in step S11, the significant frequency determined by the user's pre-recorded signal spectrum after the noise reduction process and the spectrum to be measured corresponding to the user's customized operation are performed. The overall procedure to generate spectral-type eigenvalues. Among them, in order to improve the accuracy and breadth of recognition and comparison, the user pre-recorded messages have more than two types of beats or percussion sounds. The user pre-recorded messages and, for example, the user directly or pre-recorded on the surface of any object with fingers, The audio generated by the pen or other objects being knocked or generated can be frame-by-frame (frame-by-frame), for example, a fast Fourier transform (FFT) program to perform the frequency domain conversion process to generate its spectrum and the spectrum to be tested respectively, and the user pre-records the message The frequency spectrum formed by each sound frame can further determine a significant frequency from which, for example, the frequency can be determined by selecting a frequency higher than a predetermined ratio of all spectrum energy of the corresponding type of beat or percussion sound.
承上實施例,若使用者客製化操作、使用者預錄音訊或待測頻譜具有背景音樂或聲音時,為了進行後續辨識程序且提高精確度,可進行減噪程序,以產生且輸出減除背景音樂或聲音後的無噪聲音訊,相關步驟例如:對使用者預錄音訊或使用者客製化操作個別之前段內容,例如具有60秒的音訊的一開始第1秒內的音訊內容,以轉換函數模型程序產生轉換函數,且以使用者預錄音訊或使用者客製化操作、轉換函數及對應的使用 者預錄音訊或使用者客製化操作個別扣除一開始第1秒內內容之剩餘59秒的音訊內容,一起進行背景音樂或聲音減除而取得無噪聲音訊,據以作為使用者預錄音訊及使用者客製化操作,且可進一步提供於步驟S11中以其頻譜所決定顯著頻率及使用者客製化操作相對應待測頻譜,進行頻譜能量加總程序而產生頻譜型特徵值。 According to the above embodiment, if the user customizes the operation, the user pre-recorded message or the spectrum to be measured has background music or sound, in order to carry out the subsequent identification process and improve the accuracy, a noise reduction process may be performed to generate and output a reduction In addition to the noise-free audio after the background music or sound, the relevant steps are: pre-recording the user or customizing the individual previous content of the user, such as the audio content within the first second of the beginning with 60 seconds of audio, The conversion function is generated by the conversion function model program, and the user pre-recorded message or the user's customized operation, conversion function and corresponding use The pre-recorded message or user-customized operation individually deducts the remaining 59 seconds of audio content from the first 1 second of the content, and performs background music or sound subtraction together to obtain noise-free audio, which is used as a user pre-recorded message And the user-customized operation, and may further provide the significant frequency determined by its spectrum in step S11 and the user-customized operation corresponding to the spectrum to be measured, and perform a spectrum energy summation procedure to generate a spectrum-type characteristic value.
再次承上實施例,於步驟S12,以頻譜型特徵值將每一個具有發聲起點的待測頻譜,逐一區分或歸類為一種類型的節拍或打擊聲音,且於步驟S13捨棄或歸類無法分類的或不具有發聲起點的待測頻譜相對應的音框為第一或第二其他類型的節拍或打擊聲音。 Again, according to the embodiment, in step S12, each spectrum to be measured with a vocalization starting point is classified or classified into a type of beat or percussion sound by spectrum-type feature values, and discarded or classified in step S13 cannot be classified The sound frame corresponding to the spectrum to be measured with or without a sound origin is the first or second other type of beat or percussion sound.
在此一提,在另一實施例中,前述步驟S12也可以是以頻譜型特徵值及顯著頻率所決定之頻譜型門檻值進行辨識程序,且以各頻譜型特徵值與相對應之各頻譜型門檻值之邏輯關係,逐音框決定使用者客製化操作為某一種類型之節拍或打擊聲音。前述邏輯關係數量取決於使用者預錄音訊類型的數目,如果是兩種,將會是大於或小於的二元關係與類型數目的函數,例如為同時大於、其中一為大於、其中一為小於及同時為小於,且依據區間或邊界(boundary)條件,還可以進行其他與既有邏輯關係具有聯集關係(即“AND”運算)的判斷。因此,使用者客製化操作可被自動辨識、模擬、歸類或對應為音樂遊戲開發商之預設操作,實現人工智慧或機器學習之技術概念與效果。 It is mentioned here that in another embodiment, the aforementioned step S12 may also be performed by a spectral type threshold value determined by a spectral type characteristic value and a significant frequency, and each spectral type characteristic value and corresponding spectrum The logical relationship of the type thresholds, the tone-by-tone box determines whether the user's customized operation is a certain type of beat or percussion sound. The number of the aforementioned logical relationships depends on the number of types of user pre-recorded messages. If there are two types, it will be a function of the binary relationship greater than or less than the number of types, such as simultaneously greater than, one of which is greater than, and one of which is less than At the same time, it is less than, and according to the interval or boundary conditions, other judgments that have a union relationship with the existing logical relationship (ie, "AND" operation) can also be performed. Therefore, user-customized operations can be automatically identified, simulated, categorized, or corresponded to as preset operations by music game developers, realizing the technical concepts and effects of artificial intelligence or machine learning.
於其他實施例,使用者客製化操作係使用者以物件於遊戲設定與操作介面所產生,且客製化操作係被收錄後暫存於行動電話及/或具有網路通訊能力之近端、遠端或雲端電腦系統及其組合之檔案存取位置供後 續存取、上傳與處理,且遊戲設定與操作介面更可供使用者選取或操作被顯示之該音樂遊戲之節拍譜面。如前所述,物件可以例如是使用者的手指、筆或其他物品。因此,遊戲設定與操作介面被顯示的音樂遊戲節拍譜面在音樂遊戲被執行時,可由使用者的手指、筆或其他物品在非遊戲設定與操作介面之操作而被參照遊玩,其效果如同使用者實際操作遊戲開發商預設於遊戲設定與操作介面之按鍵或操作選項。換言之,由使用者客製化操作被自動辨識而模擬或歸類為具有節拍譜面的音樂遊戲的預設操作,使用者在非遊戲設定與操作介面的操作得以具體映對、被解析為在遊戲設定與操作介面的預設操作,因此使用者或遊玩者可以不受到操作介面與操作方式等限制。 In other embodiments, user-customized operations are generated by users using objects in game settings and operation interfaces, and customized operations are temporarily stored in mobile phones and/or near-ends with network communication capabilities after being included , Remote or cloud computer systems and their combined file access locations for later Continue to access, upload and process, and the game settings and operation interface can also be used for users to select or operate the beat spectrum of the displayed music game. As mentioned above, the object may be, for example, a user's finger, pen, or other object. Therefore, the music game beat spectrum displayed in the game setting and operation interface can be referred to by the user's finger, pen or other objects in the non-game setting and operation interface when the music game is executed. The effect is similar to that of the user. The actual operation game developer presets the buttons or operation options in the game settings and operation interface. In other words, the user-customized operation is automatically recognized and simulated or classified as the default operation of the music game with the beat spectrum. The user's operation in the non-game setting and operation interface is specifically mapped and interpreted as the game. The preset operation of the setting and operation interface, so the user or gamer can be free from the limitation of the operation interface and operation mode.
因此,根據本發明之音樂遊戲客製化操作之處理方法之實施例可知,本發明主要是對於使用者客製化操作每個音框相對應的頻譜,以使用者預錄音訊來進行自動辨識,以模擬或歸類為音樂遊戲之預設操作,除了可以達成客製化、自動、即時偵測或生成節拍或音樂遊戲,也可以增加人機互動與遊戲樂趣,使用者或遊戲者可不受限於例如行動電話等音樂遊戲承載裝置或系統較小的使用者操作介面可操作區及預設的操作位置所衍生的操控精準度困擾,且能藉由在頻域進行待測音訊之處理,其節拍偵測相關運算較不複雜且能即時完成、加速遊戲反應時間,同時,將部分模組及運算工作集中或分散處理,可減少手持電子影音裝置或行動電話耗電量。 Therefore, according to the embodiment of the processing method of the customized operation of the music game of the present invention, the present invention is mainly to automatically identify the frequency spectrum corresponding to each sound frame of the user's customized operation with the user pre-recorded message for automatic identification , By simulation or classified as the default operation of music games, in addition to customized, automatic, real-time detection or generation of beats or music games, it can also increase human-computer interaction and game fun, users or gamers can not be It is limited to the control accuracy derived from the operable area of the user interface of the music game such as a mobile phone or the smaller user interface of the system and the default operation position, and can be processed by the audio to be measured in the frequency domain. The operations related to beat detection are less complicated and can be completed in real time to speed up the game reaction time. At the same time, some modules and computing work can be centralized or distributed to reduce the power consumption of handheld electronic audio-visual devices or mobile phones.
請一併參閱圖1、圖2,圖2係根據本發明音樂遊戲客製化操作之處理方法之辨識程序另一實施例之流程圖。如圖2所示,在此實施例 中,於步驟S21,以頻譜型特徵值及顯著頻率所決定頻譜型門檻值的邏輯關係進行辨識程序,逐音框決定使用者客製化操作為多種類型中某一特定種類的節拍或打擊聲音。於步驟S22~25,前述以各頻譜型特徵值與相對應之各頻譜型門檻值之邏輯關係,逐音框決定使用者客製化操作為一類型之節拍或打擊聲音,可以包含以下具體步驟:於步驟S22,若邏輯關係為頻譜型特徵值之第一頻譜型特徵值及第二頻譜型特徵值,分別同時大於相對應之頻譜型門檻值之第一頻譜型門檻值及第二頻譜型門檻值,且第一頻譜型特徵值大於第二頻譜型特徵值時,則決定使用者客製化操作為所述類型之第一種類之節拍或打擊聲音,且若第一頻譜型特徵值小於第二頻譜型特徵值時,則決定使用者客製化操作為所述類型之第二種類之該節拍或打擊聲音。如前述邏輯關係不具備,於步驟S23進一步判斷:若邏輯關係為僅第一頻譜型特徵值大於第一頻譜型門檻值時,則決定使用者客製化操作為第一種類之節拍或打擊聲音,或是於步驟S24進一步判斷:若邏輯關係為僅第二頻譜型特徵值大於第二頻譜型門檻值時,則決定使用者客製化操作為第二種類之節拍或打擊聲音。若邏輯關係為第一頻譜型特徵值及第二頻譜型特徵值分別同時小於相對應之第一頻譜型門檻值及第二頻譜型門檻值時,則決定使用者客製化操作為所述多種類型中的第三種類之節拍或打擊聲音、未動作或非節拍或打擊之聲音。或者,如前述邏輯關係都不具備,則於步驟S25進一步判斷:若邏輯關係為第一及第二頻譜型特徵值都分別小於第一及第二頻譜型門檻值時,例如遊戲者或使用者的使用者客製化操作在此音框所對應的不屬於前述第一或第二種類的節拍或打擊聲音,或在此音框沒有任何動作、沒有節拍或打擊聲音或產生的是歌聲而不是屬於在某種平面 或物體表面產生的節拍或打擊的聲音,針對此種例外情況的處理,則是決定使用者客製化操作為第三種類的節拍或打擊聲音、未動作或屬於非節拍或打擊的聲音。 Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a flowchart of another embodiment of the identification procedure of the processing method of the customized operation of the music game according to the present invention. As shown in Figure 2, in this embodiment In step S21, the identification process is performed based on the logical relationship between the spectral type characteristic value and the spectral type threshold value determined by the significant frequency, and the frame-by-sound frame determines the user's customized operation as a specific type of beat or percussion sound among various types . In steps S22~25, the aforementioned logical relationship between each spectrum-type feature value and the corresponding spectrum-type threshold value determines the user-customized operation as a type of beat or percussion sound, and the following specific steps may be included : In step S22, if the logical relationship is the first spectrum type characteristic value and the second spectrum type characteristic value of the spectrum type characteristic value, respectively, the first spectrum type threshold value and the second spectrum type value that are greater than the corresponding spectrum type threshold value respectively Threshold value, and the first spectral type characteristic value is greater than the second spectral type characteristic value, it is determined that the user-customized operation is the first type of beat or percussion sound of the type, and if the first spectral type characteristic value is less than When the second spectrum type eigenvalue is determined, the user's customized operation is the second type of beat or percussion sound of the type. If the aforementioned logical relationship is not available, it is further determined in step S23: if the logical relationship is that only the first spectral type characteristic value is greater than the first spectral type threshold value, it is determined that the user-customized operation is the first type of beat or percussion sound Or, it is further determined in step S24: if the logical relationship is that only the second spectral type characteristic value is greater than the second spectral type threshold value, it is determined that the user-customized operation is the second type of beat or percussion sound. If the logical relationship is that the first spectral type characteristic value and the second spectral type characteristic value are respectively less than the corresponding first spectral type threshold value and the second spectral type threshold value, it is determined that the user customized operation is the multiple The third type of beat or percussion sound in the category, non-action or non-beat or percussion sound. Or, if none of the aforementioned logical relationships are available, it is further determined in step S25: If the logical relationship is that the first and second spectral-type feature values are less than the first and second spectral-type thresholds, for example, a player or user The user's customized operation corresponds to the beat or percussion sound in this sound frame that does not belong to the aforementioned first or second category, or there is no movement, no beat or percussion sound in the sound frame, or a singing sound instead of Belongs to a certain plane The beat or striking sound generated on the surface of the object, the treatment of such exceptions is to determine the user's customized operation as a third type of beat or striking sound, no action or non-beat or striking sound.
請參閱圖3,其係根據本發明音樂遊戲系統實施例之系統架構方塊圖。在此實施例中,所述音樂遊戲系統3包含:遊戲設定與顯示介面31、音訊儲存模組32、音訊處理程式模組33及視訊處理程式模組34。其中,音訊處理程式模組33,係用以接收或存取使用者客製化操作S,例如使用者U操作上傳音訊之操作選項311後或使用者U以手指敲擊任意桌面後所產生、暫存在音訊儲存模組32,經存取且經頻域轉換程序331轉換後取得的待測頻譜TF,其與兩個使用者預錄音訊RA、RB皆分別經過例如頻域轉換程序331,兩個使用者預錄音訊RA、RB產生相對應的頻譜(spectum)SA、SB於顯著頻率決定程序332所決定的顯著頻率(salient frequency)SFA、SFB,以及使用者客製化操作所產生的待測頻譜TF,進行頻譜能量加總程序333以產生頻譜型特徵值(spectrum based feature)FA、FB,且以頻譜型特徵值FA、FB及顯著頻率SFA、SFB於門檻決定程序334所決定的頻譜型門檻值TA、TB進行辨識程序335,以模擬或歸類使用者客製化操作為預設操作,產生客製化操作處理結果R。預設操作例如由遊戲開發商預設在使用者實際操作遊戲設定與操作介面上,可供使用者或玩家在遊戲時選取、敲擊或其他操作音樂遊戲節拍譜面的實體或虛擬介面或按鍵。
Please refer to FIG. 3, which is a block diagram of a system architecture according to an embodiment of a music game system of the present invention. In this embodiment, the
承上實施例中,音訊處理程式模組33還包含減噪程式模組336,對使用者客製化操作S、使用者預錄音訊RA、RB進行減噪程序以產生背景音樂或聲音之減除後之無噪聲音訊NS、NCA、NCB作為使用者客製化
操作S、使用者預錄音訊RA、RB。另外,在此提,音訊儲存模組32可配置於行動電話及/或具有網路通訊能力之近端、遠端或雲端電腦系統及其組合中,因此,客製化操作S、使用者預錄音訊RA、RB可被收錄後暫存於行動電話及/或具有網路通訊能力之近端、遠端或雲端電腦系統及其組合之檔案存取位置中。
In the above embodiment, the audio
請併參閱圖3、4,圖4係根據本發明音樂遊戲系統另一實施例之系統架構方塊圖。在此實施例中,圖3所載音樂遊戲系統3的音訊處理程式模組33,其所包含減噪程式模組336所進行的減噪流程,就使用者預錄音訊RA、RB而言,可以是以例如對全長60秒的使用者預錄音訊RA、RB之前段內容,例如第1秒的使用者預錄音訊內容S1A、S1B,以轉換函數模型程序41產生轉換函數(transfer function)TR,且以使用者預錄音訊RA、RB、轉換函數TR及使用者預錄音訊扣除第1秒內容的剩餘的使用者預錄音訊內容RS1A、RS1B(在此實施例中,即第2秒起算的至第59秒),於減噪程序42進行背景音樂或聲音減除,輸出無噪聲音訊NCA、NCB,作為使用者預錄音訊RA、RB。
Please also refer to FIGS. 3 and 4, which is a block diagram of a system architecture according to another embodiment of the music game system of the present invention. In this embodiment, the audio
以上所述實施例僅為舉例,並非以此限制本發明實施之範圍;舉凡在不脫離本發明精神與範圍下所作之簡單或等效變化與修飾,皆應仍屬涵蓋於本發明專利之範圍。 The above-mentioned embodiments are only examples, and are not intended to limit the scope of implementation of the present invention; any simple or equivalent changes and modifications made without departing from the spirit and scope of the present invention shall still fall within the scope of the patent of the present invention. .
S11~S13‧‧‧步驟 S11~S13‧‧‧Step
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107116811A TWI684477B (en) | 2018-05-17 | 2018-05-17 | Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107116811A TWI684477B (en) | 2018-05-17 | 2018-05-17 | Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201946680A TW201946680A (en) | 2019-12-16 |
TWI684477B true TWI684477B (en) | 2020-02-11 |
Family
ID=69582945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107116811A TWI684477B (en) | 2018-05-17 | 2018-05-17 | Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI684477B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571985A (en) * | 2001-10-20 | 2005-01-26 | 哈尔·C·索尔特 | Interactive game providing instruction in musical notation and in learning an instrument |
TW201336565A (en) * | 2012-03-06 | 2013-09-16 | Main Technology Co Ltd | Applied to the accompaniment of the rhythm of the game system and its devices |
CN104346147A (en) * | 2013-07-29 | 2015-02-11 | 人人游戏网络科技发展(上海)有限公司 | Method and device for editing rhythm points of music games |
-
2018
- 2018-05-17 TW TW107116811A patent/TWI684477B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1571985A (en) * | 2001-10-20 | 2005-01-26 | 哈尔·C·索尔特 | Interactive game providing instruction in musical notation and in learning an instrument |
TW201336565A (en) * | 2012-03-06 | 2013-09-16 | Main Technology Co Ltd | Applied to the accompaniment of the rhythm of the game system and its devices |
CN104346147A (en) * | 2013-07-29 | 2015-02-11 | 人人游戏网络科技发展(上海)有限公司 | Method and device for editing rhythm points of music games |
Also Published As
Publication number | Publication date |
---|---|
TW201946680A (en) | 2019-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109087669B (en) | Audio similarity detection method and device, storage medium and computer equipment | |
CN109166593A (en) | audio data processing method, device and storage medium | |
US10286320B2 (en) | Apparatus and method for enhancing sound produced by a gaming application | |
CN110602624B (en) | Audio testing method and device, storage medium and electronic equipment | |
CN109785820A (en) | A kind of processing method, device and equipment | |
EP2985379B1 (en) | Music washing machine and control method thereof | |
CN105850154A (en) | Adapting audio based upon detected environmental acoustics | |
JP7086521B2 (en) | Information processing method and information processing equipment | |
US20220047954A1 (en) | Game playing method and system based on a multimedia file | |
CN109346061A (en) | Audio-frequency detection, device and storage medium | |
CN109218535A (en) | Intelligence adjusts method, apparatus, storage medium and the terminal of volume | |
WO2014179096A1 (en) | Detection of and response to extra-device touch events | |
TWI703515B (en) | Training reorganization level evaluation model, method and device for evaluating reorganization level | |
CN109271129A (en) | Audio method of adjustment, device, electronic equipment and storage medium | |
CN110503954A (en) | Voice technical ability starts method, apparatus, equipment and storage medium | |
JP2021101252A (en) | Information processing method, information processing apparatus, and program | |
WO2009155145A2 (en) | Game data generation based on user provided song | |
CN108525285A (en) | A kind of mahjong calculates board device and method automatically | |
CN109410972B (en) | Method, device and storage medium for generating sound effect parameters | |
TWI684477B (en) | Method for processing customized operation of music game, non-transitory computer readable medium, computer program product and system of music game | |
CN108418982A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
TWI683691B (en) | Method for generating customized hit-timing list of music game automatically, non-transitory computer readable medium, computer program product and system of music game | |
CN111090369B (en) | Music playing method, device and storage medium | |
WO2010084830A1 (en) | Voice processing device, chat system, voice processing method, information storage medium, and program | |
WO2020102943A1 (en) | Method and apparatus for generating gesture recognition model, storage medium, and electronic device |