ο ύ 3 月 5 啤 07 t 民 案 請 中 利頁 專正號咖 23書 10明 11説 4匕 8 ^ 年 ri. 妨補 五、發明説明(1 ) 本發明係關於泛用性很高之樂音波形產生方法。 目前有各種各樣實用化之電子樂器,使用在電子樂器 之音源部(樂音產生裝置)也有多種。此等電子樂器中, 有的是使用共同之音源部,但一般之電子樂器係按不同機 型使用不相同之音源部。因此,依各電子樂器之不同機型 採用各種不同之架構或資料形式。 但這種狀況甚爲不方便,因此爲了使多種電子樂器間 之演奏資訊之形式或音色有某種程度之互換性,定有GM (General MIDI )規格。例如,在GM規格規定有對應 音色號碼之音色之排列順序,同時,縱使指定的是本機型 不對應之音色號碼時,亦可選擇類似之音色。 例如,以特定之機型作成之演奏資訊/音色資訊,如 果將該等資訊直接用其他機型來再生,常常是無法圓滿再 生。其原因是,不同機型之音源部之硬體架構不一樣等情 況造成。玆將其內容列舉說明如下。 經濟部中央揉车局員工消費合作杜印製 (a )首先,在音源部採用之習知之樂音產生方式有 ,P CM方式,FM方式,物理模型方式等,而這些之樂 音產生原理全不一樣。 (b )同時,音源部內有的設有音色濾波器,混響電 路,各種音效電路等。因此’不設這些之音源部’則很難 產生同樣之樂音信號。 (c )同時,各種音源部所使用之參數種類或數目均 不一樣》而使用同樣之參數時’有的參數之變化幅度受到 限制,也有完全不使其動作之參數。 本紙張尺度適用中國國家橾隼(CNS ) Α4規格(210Χ297公4 ) A7 300^^3 B7 五、發明説明(2 ) (d )而同樣之參數也因各機型之硬體架構,效果各 異。例如,同樣之數位濾波器,但若方式或空間度數不同 時,截止頻率之作用等也會不同。 (e )同時,控制音源部之控制CPU之程式也依機 型而互異,發音分配之方法,1個音色之發音系列數,控 制時限等有差別。 如以上所述,在傳統之電子樂器,其硬體或軟體架構 所形成之限制很多,缺乏汎用性,互換性。 本發明係有鑑於上述實情而完成者,其第1目的在提 供能夠在一個電子樂器,以甚爲接近其他電子樂器之狀態 再生演奏資訊之樂音波形產生方法。 其第2目的在提供,以一種運算裝置產生與多數機型 分別等效特性之樂音之樂音波形產生方法。 其第3目的在提供,能夠將假設特定機型而作成之演 奏資訊變換成汎用性很高之演奏資訊之樂音波形產生方法 〇 其第4目的在提供,能夠超越機型之限制,將假設特 定機型而作成之演奏資訊加以編輯,產生多彩之樂音波形 之樂音波形產生方法。 其第5目的在提供,爲了以其他機型忠實再生假設特 定機型而作成之演奏資訊,而能夠進行精密度很高之資料 變換之樂音波形產生方法。 爲了解決上述課題,申請專利範圍第1項所述之架構 之特徵爲,該方法含有,將指示應模擬之電子樂器之裝置 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ---HI I —Ml —1 - I I I I--—訂 -----Y、線--_— (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作杜印製 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(3 ) 資訊,與以該電子樂器爲對象作成之演奏資訊組合起來而 記憶在記錄媒體之記憶過程,從上述記錄媒體讀出上述裝 置資訊之裝置資訊讀出過程,從上述記錄媒體讀出上述演 奏資訊之演奏資訊讀出過程,再生此讀出之演奏資訊,產 生指示產生樂音之事件(Event )資訊之事件資訊產生 過程,回應該事件資訊,模擬由讀出之上述裝置資訊所指 示之電子樂器之音源部之動作,而產生樂音波形之樂音波 形產生過程,以及,依據此產生之樂音波形,產生樂音之 發音過程。 而申請專利範圍第2項所述之樂音波形產生方法之特 徵爲,該方法包含有,指示應模擬之電子樂器之電子樂器 指示過程,指示產生樂音之產生指示過程,回應此項產生 樂音之指示,模擬所指示之上述電子樂器之音源部之動作 ,而產生樂音波形之樂音波形產生過程,以及,依據此產 生之樂音波形,產生樂音之發音過程。 而申請專利範圍第3項所述之架構,其申請專利範圍 第1項或第2項所述之樂音波形產生方法之特徵爲,上述 樂音波形產生過程含有,模擬控制所指示之上述電子樂器 之音源部之處理機之控制動作之過程。 而申請專利範圍第4項所述之架構,其申請專利範圍 第1項或第2項所述之樂音波形產生方法之特徵爲,上述 樂音波形產生過程含有,模擬在所指示上述電子樂器之音 源部記憶有多數控制參數之控制暫存器之動作之過程。 而申請專利範圍第5項所述之架構,其申請專利範圍 本紙張尺度適用中國家標準(CNS ) A4規格(210乂297公釐) ^ ^ *- -装 ^"訂I ? 線 (請先閱讀背面之注意事項再填寫本頁) -6 - 經濟部中央標準局員工消費合作社印製 A7 ____ B7 五、發明説明(4 ) 第1項或第2項所述之樂音波形產生方法之特徵爲,上述 樂音波形產生過程含有,模擬所指示之上述電子樂器之音 源部之樂音產生原理之過程。 而申請專利範圍第6項所述之架構,其申請專利範圍 第1項或第2項所述之樂音波形產生方法之特徵爲,上述 樂音波形產生過程係由單一運算器所執行,由該單一運算 器模擬多種電子樂器之音源之動作。 而申請專利範圍第7項所述之架構之特徵爲,該樂音 波形產生方法包含有,指示應模擬之電子樂器之過程,供 給所指示之第1電子樂器之音色資訊之第1音色資訊之過 程,指示產生樂音之過程,依據上述第1電子樂器之音源 部之架構,將上述第1音色資訊變換成一定之基本音源用 之基本音色資訊之過程,回應產生樂音之指示,依據上述 基本音色資訊執行基本音源動作,而產生樂音之過程,以 及,依據產生之樂音波形發出聲音之過程。 而申請專利範圍第8項所述之架構,其申請專利範圍 第7項所述之樂音波形產生方法之特徵爲,含有,將上述 基本音色資訊變換成爲,與所指示之上述第1電子樂器不 相同之第2電子樂器之音色資訊之第2音色資訊之過程。 而申請專利範圍第9項所述之架構,其申請專利範圍 第7項所述之樂音波形產生方法之特徵爲,含有,回應操 作子之操作,變更上述基本音色資訊之數值之過程。 申請專利範圍第1項所述之架構,係組合指示應模擬 之電子樂器之裝置資訊,與以該電子樂器爲對象作成之演 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) ---1---^ — —1' -S------訂一-----4 線 ·- (請先閱讀背面之注意事項再填寫本頁) -7 - 3009^3 a7 _ B7 五、發明説明(5 ) 奏資訊,令其記憶在記錄媒體。接著由此記錄媒體讀出裝 置資訊與演奏資訊,再生此讀出之演奏資訊,產生事件資 訊,以指示發出樂音。然後回應該事件資訊讀出裝置資訊 ,而模擬由此指示之電子樂器之音源部之動作,產生樂音 波形。如此,由於使用裝置資訊產生樂音波形,而得在一 個電子樂器,以非常接近其他電子樂器之狀態再生演奏資 訊。而且,因爲適宜設定裝置資訊,得以一個運算裝置產 生與多數機型分別等效之特性之樂音。 申請專利範圍第2項所述之架構,係指示應模擬之電 子樂器,指示發出樂音,回應此產生樂音之指示,模擬所 指示之電子樂器之音源部之動作,產生樂音波形,同時依 據此樂音波形發出聲音。藉此,與申請專利範圍第1項一 樣,得在一個電子樂器,以非常接近其他電子樂器之狀態 再生演奏資訊。 申請專利範圍第3項所述之架構,係在樂音波形產生 過程,模擬控制被指示之電子樂器之音源部之處理機之控 制動作,因此可對應各種處理機產生樂音波形。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 申請專利範圍第4項所述之架構,係在樂音波形產生 過程,模擬在所指示之電子樂器之音源部記憶多數控制參 數之控制暫存器之動作,因此可由多數電子樂器共同使用 對應控制暫存器之內容之處理過程。 申請專利範圍第5項所述之架構,係在樂音波形產生 過程’模擬被指示之電子樂器之音源部之樂音產生原理, 因此可正確模擬以各種原理動作之電子樂器。 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨0乂297公釐) ' 經濟部中央標準局員工消費合作社印製 A7 __B7 ___ 五、發明説明(6 ) 申請專利範圍第6項所述之架構,其樂音產生過程係 由單一之運算器執行,以該單一之運算器模擬多種電子樂 器之音源部之動作’因此能夠以廉價之架構模擬多數電子 樂器。 申請專利範圍第7項所述之架構,係首先指示應模擬 之電子樂器,供給所指示之第1電子樂器之音色資訊之第 1音色資訊。接著指示產生樂音,而依據第1電子樂器之 音源部之架構,將第1音色資訊變換成一定之基本音源用 之基本音色資訊,回應樂音之產生指示,依據基本音色資 訊執行基本音源動作,產生樂音波形,依據產生之樂音波 形,發出聲音。藉此,可將假設特定機型而作成之演奏資 訊,變換成汎用性很高之演奏資訊。 申請專利範圍第8項所述之架構,因爲是將基本音色 資訊,變換成與所指示之第1電子樂器不一樣之第2電子 樂器之音色資訊之第2音色資訊,因此能夠以其他機型( 第2電子樂器)忠實地重現假設特定機型(第1電子樂器 )作成之演奏資訊。 而申請專利範圍第9項所述之架構,係回應操作子之 操作,變更基本音色資訊之數值,因此可超越機型之限制 將假設特定機型作成之演奏資訊加以編輯,產生多彩之樂 音波形。 玆參照附圖,說明本發明之一實施例如下。 A 實施例之架構 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐> ' ~—' 7 ; 7^ Ί--------訂-----1 線--Γ • < m (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A 7 B7 五、發明説明(7 ) A — 1 實施例之硬體架構 玆參照附圖說明本發明一實施例之樂音再生系統之硬 體架構。再者,本實施例之樂音再生系統,係在汎用個人 電腦上實現之》 在圖上,1條輸入裝置,由鍵盤,滑鼠等所構成。2 係顯示器,可顯示經由匯流排1 2供給之資訊。3係硬碟 機,記憶有作業系統,在其管理下動作之各種軟體,這些 軟體所使用之資料等》 9條C P U,依據後述之控制程式控制其他各種構成 要素。7係MI D I介面,對外部裝置輸入輸出MI D I 信號。而MIDI介面7在由外部輸入MIDI信號時, 對CPU9產生***,8係定時器,輸出時間資訊。10 係ROM,記憶有起動輸入程式,顯示在顯示器2之字元 圖型等。1 1係RAM,可由CPU9自由讀出/寫入。 4係再生部,對C PU 9適宜產生DMA***,讀出 RAMI 1內之一定領域之內容(音樂資料)而輸出。5 係D A變換器,可將再生部4輸出之樂音資料變換成類比 信號(樂音信號)而輸出。6係音響系統,依據此樂音信 號發出樂音。 A — 2 硬體之選項(Option ) 而除了上述構成要素之外,硬體也可以裝設下列選項 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ^ . J. I 裝' 訂 ¢- (請先閱讀背面之注意事項再填寫本頁) 10 Α7 -- Β7 立、發明説明(8 ) ① Μ Μ u 1 3 C P U 9可以裝設能夠以高速進行數值運算之MMU (數值運算處理器)1 3。 請 先 閱 讀 背 之 注 意 事 項 再 % 本 頁 ② D S p板1 4 本實施例可以裝設D S P板1 4,以取代再生部4。 在〇3卩板14配設有,藉管道(pipe iine)處理而 以高速度進行數值運算之D S P ( Digital Signal Processor ) 1 4 a ,記億樂音波形之波形記憶體1 4 b ’及實現混音等之延遲記憶體1 4 c。 A - 3 實施例之層次構造 其次參照第2圖說明本實施例之樂音再生系統之硬體 及軟體之層次構造。 經濟部中央標隼局員工消費合作社印製 在圖中,第1層係由C P U 9等之硬體所構成之物理 層。而第2〜第6層次係分別由使C P U 9等動作之軟體 所構成之邏輯層。第2層係由信號處理模組2 0 ,即由進 行加減乘除或位元移位(bit shift ),延遲等基本信 號處理之子程序群所構成。第3層係由使用此信號處理模 組,藉各種原理產生樂音資料之多數音源模組所構成。 在此先說明音漉模組之內容。目前有各種習知之依各 種原理合成樂音資料之音源,例如下列3種。首先,稱作 「P CM音源」者,係預先在記億體內記億樂音波形之取 本紙張尺度逋用中國國家橾牟(CNS ) Α4規格(210Χ 297公釐) 11 A7 __ B7 五、發明説明(9 ) 樣資料,讀出此取樣資料將其變換成類比信號,藉以輸出 樂音信號。 而稱「FM音源」者,具備有多數操作子(振盪器) ’以其中之某一操作子將另一操作子之信號加以FM調變 ’或將多數操作子之輸出信號相互合成,藉此等處理形成 樂音信號(類比信號)。而稱作「物理模型音源」者,係 藉模倣各種樂器之舉動,以產生數位樂音資料,再將其變 換成樂音信號(類比信號)* 再者,除了上述者以外,尙有高頻波合成方式,構成 成分(Formant )合成方式,環形調變方式等各種樂音 方式。 本實施例配設有可依據此等基本原理產生樂音資料之 音源模組31〜33 (基本運算法),首先,PCM音源 模組3 1係實現附設有濾波器之P CM音源之基本動作( 音源之各種電路方塊之動作)者,其個別處理係叫出第2 層之信號處理模組2 0加以執行。 經濟部+央梯準局負工消費合作社印製 而FM音源模組3 2係實現運算子數「6」之FM音 源模組之基本動作。同時,物理模型音源模組3 3則實現 一定之管樂器之物理模型音源之基本動作。再者,物理模 型音源之運算法因欲模倣之樂器(假想樂器)而異。因此 ,有時對欲模倣之一台物理模型音源,配設有多數物理模 型音源模組3 3。而產生樂音信號之基本原理係如上述有 多種存在,但縱使基本原理相同,實際使用之運算法,係 依使用在欲模倣之機型之音源L S I ,有微妙之差異。 本紙張尺度逋用中國國家櫺芈(CNS ) A4規格(210X 297公釐)1〇 -1 ^ - 3009 y 3 A7 B7 五、發明説明(10 ) 音源模組3 1〜3 3備有’能夠實現各種音源L S I所用 之基本動作之運算法。 其次在第4層設有模倣此等各種音源L S I之擬似音 源4 1〜4 5。擬似音源4 1〜4 5對相對應之音源模組 ,指定基本運算法內所使用各種參數之取捨選擇,組合, 對準單位之定比等,藉此模倣其目標之音源L S I 。而音 源模組或合成器等各種電子樂器所產生樂音信號’不只是 受音源L S I之硬體架構之支配,也因控制音源L S I時 所用之程式,即控制各電子樂器之c P U之程式之構成而 異。 在第5層次設有模倣此等音源,合成器等之音源驅動 器5 1〜5 5。音源驅動器5 1〜5 5可模倣控制相對應 之音源等之音源L S I之C PU之動作,同時,對音源 L S I內部之處理,係叫出對應之擬似音源4 1〜4 5 ’ 藉此模倣音源或整個合成器。再者,對某些音源有時會使 用多數音源L S I ,這時當然要叫出多數擬似音源4 1〜 4 5° 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 在第6層設有順序器,遊戲,編曲軟體等各種應用軟 體6 1〜6 5。對此等軟體係依據後述之運算法選擇音源 驅動器51〜55 ,進行產生樂音處理。 再者,若樂音再生系統使用選項之D S P板1 4時’ 第1〜第3層之處理係在D S P板1 4執行。 A - 4 實施例之資料構造 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) -13 - 經濟部中央標準局員工消費合作社印製 A7 B7 _____ 五、發明説明(11 ) ①演奏資訊之檔案形式 其次再參照第3圖,說明本實施例所用之各種資料形 式。 首先在該圖(a )表示收納在硬碟3等之演奏資訊檔 之形式。 在圖中,101係信頭,設在演奏資訊檔之前頭。在 此信頭1 0 1記憶有,欲模倣之音源之形式’該演奏資訊 相關之曲子所使用音色數及其內容,及音色號碼等資訊。 所謂「音源之形式」係規定下列內容者° (a )應模倣之電子樂器之音源是屬於P CM音源, FM音源,或物理模型音源之那一種(有時相當於其中之 一種以上)。 (b )應模倣之電子樂器之音源所使用之音源L S I 之型式名稱(有時存在有一種以上)。 (c)欲模倣之電子樂器之型名。 其次.,1 0 2係音源參數,按上述之各音色,記錄有 各音色參數。再者,音色用參數之格式一般因不同樂器而 異。本實施例之記憶在音源參數1 0 2之音色用參數之格 式’係對應上述「音源之形式」者,即與欲模倣之電子樂 器之音源參數相同型式。 1 0 3係波形資料部,記錄有實現上述各音色之波形 資料。在此之波形資料,若欲模倣之電子樂器之音源爲 P CM方式時,係上述取樣資料等,物理模型方式時,係 非線式函數表(在各位址記錄取樣值之資料)等。而 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) ----Ί{ —--- 裝------訂-----Γ* 線· (請先閱讀背面之注意事項再填寫本頁) -14 - 經濟部中央標準局員工消費合作社印製 A7 _ B7 五、發明説明(12 ) 1 0 4係順序資料,記錄有上述曲子之事件資訊。再者, 順序資料1 0 4可以使用例如與Μ I D I檔相同之資料形 式。 ② 音源參數及波形資料 其次在該圖(b )表示RAM 1 1內之各種資料構 造。 在圖中,1 2 0係波形資料部,記憶有多數波形資料 WD之取樣結果。1 1 〇係音源參數部,由分割成「1 6 」部分之各部分之音源參數PD 1 、PD 2 ...... PD 1 6 所構成。各音源參數含有實現各個音色之各種參數。本圖 所放大表示之音源參數係欲模倣之電子樂器之音源爲 P CM音源時之例子。此等參數之中,含有指定上述波形 資料中之某一之波形指定資料。此波形指定資料在每一音 域均不相同。因此波形資料之數目爲音源參數之數倍左右 〇 ③ 輸入緩衝器 其次,1 3 0係輸入緩衝器,記憶有從硬碟3讀出之 順序資料1 〇 4之內容,或經由Μ I D I介面7输入之 MIDI資料。在輸入緩衝器13〇之內部,idi , I D 2 · I D 3 ......係事件資料(Event Data ),依時 間系列順序配置之。而輸入緩衝器1 3 0之前頭位址記憶 有現時之事件資料之數目。而各事件資料ID1 ,ID2 本紙張尺度適用中國國家標李(CNS ) Λ4規格(2丨0X 297公聲) 一 -15 - ------:--7—Λ:------7 訂 (請先閱请背而之注盘事項洱填巧本打·') A7 A7 經濟部中央標隼局員工消費合作社印製 B7 五、發明説明(13) ,I D 3 ......分別由各個事件之內容及該事件資料之發生 時刻,所構成。 ④音源暫存器 1 4 0係音源暫存器部,設有^ 3 2」頻道分之音源 暫存器。在本圖放大表示之音源暫存器係應模倣之電子樂 器之音源爲P CM音源時之例子。各音源暫存器收納有, 對應頻道之音符號碼,指定波形資料部1 2 0中之任一波 形資料之波形指定資料,及其他應交給對應之擬似音源之 各種資料。再者,音源暫存器部1 4 0之內容因擬似音源 之種類而異。 B 實施例之動作 B — 1系統之起動與初期設定 其次說明本實施例之動作。首先,本實施例之樂音再 生系統係設定成爲在一定之作業系統及視窗系統上動作。 視窗系統會在顯示器2上顯示各種圖符。當使用者使用滑 鼠敲打表示本實施例之樂音產生程式之圖符時,則在顯示 器2上顯示如第4圖(a )所示之視窗2 0 0。 另一方面’由作業系統之核心部,對本實施例之樂音 再生系統分配有一定之資源(記憶體及時槽)。而在該樂 音再生系統’在被分配之資源範圍內起動第5圖(a )所 示之主程序。在圖中,若執行程式,則首先在步驟S P 1 執行一定之初期設定。在步驟S P 1 ,執行下列處理。 本紙張尺度it用巾關家縣(CNS ) A4規格(210X297公釐) ' -16 - (請先閱讀背面之注意事項再填寫本頁) 装· A7 A7 經濟部中央標隼局員工消費合作社印袋 ___B7 五、發明説明(丨4) ① 讀進原始檔 在硬碟3之一定之索引,記錄有規定本實施例之樂音 再生系統之初期設定內容之原始檔。此原始檔記錄有下列 內容。 (a )有無選項之DSP板1 4,及、有〃時其型名 〇 (b )系統設定之音源驅動器,擬似音源,音源模組 之種類。 (c )系統設定之音源驅動器,擬似音源,音源模組 之各種設定內容。 (d)指定檔案時之系統設定之索引。 ② 系統設定之音源驅動器,擬似音源,音源模組之準備 其次在步驟s P 1 ,依據此原始檔之內容’從硬碟讀 進音源驅動器,擬似音源,音源模組。再者’此等設定在 此後可由使用者操作,或依據演奏資訊加以變更。音源驅 動器,擬似音源,音源模組之設定方法之詳情後述。 ③ 其他之初期設定 除了上述處理以外,在步驟s P 1可執行各種變數之 初期值之設定等之各種初期設定處理。 B — 2 主環(main Loop ) 結束初期設定後,處理便前進到s P 2 °在此參照输 本紙張尺度適用中國國家標準(CNS〉A4規格(2丨〇 乂 297公釐) (請先閱讀背面之注意事項再填寫本頁) U · -- j n .^n m I In !. I - —i T -- - I— ..... - I- I - I I- - - - - HI - I I I -- 17 - A7 A7 經濟部中央標準局員工消費合作社印袋 p-___ B7______ 五、發明説明(15 ) 入緩衝器1 3 0,判定是否從Μ I D I介面7輸入新的 Μ I D I資料。若未輸入,則判定爲「Ν 0」,而前進到 步驟S Ρ 4。當處理前進到步驟S Ρ 4時,則判定是否發 生S W ( Switch )事件。所謂S W事件,係指在視窗 2 0 〇內之滑鼠之事件,及視窗2 0 0呈動態時之鍵盤之 事件等。 無SW事件時,處理便前進到步驟S P 6。在步驟 SP6,判定一定旗標RUN是否爲。旗標RUN 係表示硬碟3內依據演奏資訊之自動演算是否執行中之旗 標。未進行自動演奏時,旗標RUN爲,因此判定 爲「NO」,而前進到步驟SP10。 在步驟S Ρ 1 〇叫出第8圖所示之音源處理副程序。 惟,若未在音源暫存器部1 4 0寫入任何資料時,在音源 處理副程序實質上不會作處理。再者,該副程序之內容後 述。其次,當處理前進到步驟SP11時,則進行其他各 種處理。以後返覆步驟S P 2〜S Ρ 1 1之處理(以下稱 作主環)。 B — 3對MIDI事件之處理 當在Μ I D I介面7接收到事件資料等時,對 CPU9產生***,起動第5圖(b)所示之MI D I收 信***程序。在圖中,當開始執行程序時,處理則進行到 步驟SP 2 1 ,而從MI D I介面7將收信資料取進 RAMI 1之一定區域。 Ί紙張尺度適用中國國家標( CNS ) A4規格(210X297公釐) — -18 - 〈請先閱讀背面之注意事項再填寫本頁) -- S00dd3 A7 經濟部中央標準局員工消費合作社印製 _______B7五、發明説明(i6) 當處理進行到步驟S P 2 2時,從定時器8讀出時刻 資訊。而將上述收信資料與時刻資訊當作事件資料,寫入 輸入緩衝器1 3 〇之末尾。而將輸入緩衝器1 3 0前頭之 「事件資料數」增值「1」。結束以上各步驟後,處理則 回到***前之裎序。 進行這種處理後,在主環,當處理前進到步驟s P 2 時’則在此判定爲「YES」,而前進到步驟SP3。在 步驟SP3 ’依據收信資料,將音符號碼,音符ON,及 其他產生樂音所需之各種資料寫入音源暫存器。以下再參 照第7圖,詳細說明,收信資料爲音符〇 N時之處理情形 〇 在該圖(a),當處理前進到SP61時,變數NN 收納音符號碼,在變數V E L收納速度,音色號碼則收納 在變數t n ( 〃係對應該音色之部分號碼「1」~「 16」)。當處理前進到SP62時,則執行跟現在選擇 之音源驅動器DP ( a )之音符ON有關之處理(第5層 之副程序)。具體上是,例如叫出該圖(b )所示之副程 序。 在該圖(b),當處理前進到步驟SP7 1時,音源 暫存器部1 4 0中空間之暫存器便會被分配給該音符〇 N 事件。若要模倣的音源爲,例如以兩系列音源發出1樂音 之型式者,音源暫存器會分配兩個。當處理前進到步驟 SP72時,對應音符號碼或速度將音源參數PDn ( v n f係部分號碼)加以加工。 (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) 19 - Μ 經濟部中央標準局員工消費合作社印製 _五、發明説明(17) 以下稍作其內容之說明。樂器之聲音高度改變時’ 不僅音調,連音色也會稍爲變化,速度也會使其變化(例 如用力彈鋼琴之鍵時,與輕彈時’音色會不一樣)。因此 ,習用之音源係對應音符號碼或速度’使音源參數做微妙 之變化。本實施例在模倣這些音源’因此藉與對象音源相 同之運算方法,將音源參數加工。 其次,當處理前進到步驟S P 7 3時,將經加工之音 源參數及音符ON之時刻,寫進先前分配之音源暫存器。 再者,將音符ON之時刻寫入音源暫存器係本實施例特徵 之一,傳統之電子樂器並沒有如此。做這種處理之理由後 述。 當處理前進到步驟s P 7 4時,音符ON寫入先前分 配之音源暫存器。以上之處理結束時,處理則經由音符 ON事件處理副程序,回到主環。再者,發生音符〇 F F (Note OFF ),音調變更(pitch bend )等事件時, 也進行與欲模倣之音源同樣之處理’在分配之音源暫存器 寫入各種資料。但不論對那一事件,本實施例將「發生時 刻」寫入音源暫存器這一點與實物(欲模倣之)音源有異 a B — 4音源處理 ①音源處理之原理 如此,當在音源暫存器部1 4 0寫進一些資料之狀態 (換言之,某一音源暫存器被分配給某些發音之狀態)下 本紙張尺度適用中國國家標準(CNS ) A4規格(210乂297公釐"1 ~—'' -20 - ----:--------装------一訂-----II (請先閲讀背面之注意事項序填{Ϊ5本頁) 經濟部中央標準局員工消費合作社印製 A7 _ B7 五、發明説明(is) ’處理前進到S P 1 0時’則在音源處理副程序進行各種 實質上之處理。在說明這些處理之具體內容以前’先參照 第9圖說明本實施例之運算原理。 首先,爲了依據寫進音源暫存器部1 4 0之資料產生 樂音資料,需要進行各種波形運算處理。惟,如果每發生 事件則進行上述處理,有時不甚妥當。即,若在處理中發 生其他事件,則必須平行進行多數事件之處理。在這種狀 態下,運算處理時間會產生長短差,有可能對樂曲有不良 影響。 因此,本實施例係使因運算處理時間造成之延遲均一 化,藉以防患運算處理時間之長短差引起之不良影響。因 此,波形運算處理係每一定時間TP內集中處理。即,在 該圖(b ),係從時刻t 1 ,t 2 ,t 4及t 5起開始波 形運算處理。 波形運算處理所需時間T c因時限而異,但其最大值 定爲T CMAX 。如上述’再生部4對C P U 9適宜產生 DMA***。讀出RAMI 1內之樂音資料,將其變換成 樂音信號而輸出。此項讀出動作依一定之節距進行。藉此 ,收納樂音資料之位址,與樂音信號之發音時限具有對應 關係。因此本實施例之發音時限會延遲一定之延遲時間ο ύ March 5 beer 07 t civil case please Zhongli page special issue number 23 book 10 Ming 11 said 4 dagger 8 ^ year ri. May fill in five, description of the invention (1) This invention is about high versatility Music tone waveform generation method. At present, there are a variety of practical electronic musical instruments, and there are also many types of electronic musical instruments used in the sound source part (tone generating device). Some of these electronic musical instruments use common sound source parts, but general electronic musical instruments use different sound source parts according to different models. Therefore, according to the different models of electronic musical instruments, a variety of different structures or data formats are used. However, this situation is very inconvenient. Therefore, in order to make the form or timbre of performance information among various electronic musical instruments have a certain degree of interchangeability, the GM (General MIDI) specification is set. For example, the GM specification stipulates the arrangement order of the tone colors corresponding to the tone number, and at the same time, even if a tone number that does not correspond to this model is specified, a similar tone can be selected. For example, performance information / timbral information created by a specific model, if this information is directly reproduced by other models, it is often impossible to successfully reproduce. The reason is that the hardware structure of the sound source part of different models is different. The contents are listed and explained as follows. Du Printing by employees of the Central Ministry of Economic Affairs of the Ministry of Economic Affairs (a) First, the conventional musical tone generation methods used in the audio source department are P CM method, FM method, physical model method, etc., and these musical tone generation principles are all different. . (b) At the same time, some sound sources are equipped with timbre filters, reverberation circuits, and various sound effect circuits. Therefore, it is difficult to produce the same musical tone signal without the sound source part. (c) At the same time, the types and number of parameters used by various sound source sections are different. "When using the same parameters, some of the parameters have a limited range of change, and some parameters do not operate at all. This paper scale is applicable to the Chinese National Falcon (CNS) Α4 specification (210Χ297 公 4) A7 300 ^^ 3 B7 5. Description of the invention (2) (d) The same parameters are also due to the hardware architecture of each model. different. For example, the same digital filter, but if the method or spatial degree is different, the effect of the cutoff frequency will also be different. (e) At the same time, the program for controlling the CPU of the sound source part also differs according to the model. The method of pronunciation distribution, the number of pronunciation series of a timbre, and the control time limit are different. As mentioned above, in traditional electronic musical instruments, the restrictions imposed by hardware or software architecture are many, lacking universality and interchangeability. The present invention has been completed in view of the above-mentioned facts, and its first object is to provide a musical tone waveform generation method capable of reproducing performance information in an electronic musical instrument in a state very close to other electronic musical instruments. The second object of the invention is to provide a method for generating a tone waveform using a computing device to generate tone with characteristics equivalent to those of most models. The third purpose is to provide a musical tone waveform generation method that can convert performance information created by assuming a specific model into highly versatile performance information. The fourth objective is to provide a method that can exceed the limitations of the model and assume specific The performance information created by the model can be edited to generate a colorful sound waveform. The fifth purpose is to provide a musical tone waveform generation method capable of performing highly accurate data conversion in order to faithfully reproduce performance information created on the assumption of a specific model with other models. In order to solve the above-mentioned problems, the feature of the structure described in item 1 of the scope of the patent application is that the method contains an instruction to simulate the electronic musical instrument device. This paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm)- --HI I —Ml —1-III I --— order ----- Y, line --_— (please read the precautions on the back before filling this page) Employee consumption cooperation Duin of the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs. 5. Description of the invention (3) Information, combined with performance information made with the electronic musical instrument as the object, and stored in the recording medium in the memory process, read from the above recording medium The device information reading process of the device information, the performance information reading process of reading the performance information from the recording medium, regenerating the read performance information, and generating an event information generation process that indicates event information that generates musical sounds (Event), In response to the event information, the action of the sound source part of the electronic musical instrument indicated by the read-out of the above device information is simulated, and the tone waveform generated by the tone waveform is generated And, based on this tone generation of waveforms, generate tones of pronunciation process. The feature of the musical tone waveform generation method described in item 2 of the patent application scope is that the method includes an electronic musical instrument instruction process indicating an electronic musical instrument to be simulated, an instruction process for instructing musical tone generation, and a response to this instruction , Simulate the movement of the sound source part of the above-mentioned electronic musical instrument, and generate the tone waveform generation process of the tone waveform, and, according to the generated tone waveform, generate the pronunciation process of the tone. The structure described in item 3 of the patent application scope is characterized in that the method for generating a tone waveform described in item 1 or item 2 of the patent application scope is that the tone waveform generation process includes the above-mentioned electronic musical instrument instructed by analog control. The process of the control action of the processor of the sound source. The structure described in item 4 of the patent application scope is characterized in that the method for generating a tone waveform described in item 1 or 2 of the patent application scope is that the process of generating the tone waveform includes, simulating the sound source of the electronic musical instrument indicated The internal memory has the process of controlling the operation of the register with most control parameters. For the structure described in item 5 of the patent application scope, the paper scope of the patent application scope is applicable to the Chinese National Standard (CNS) A4 specification (210 to 297 mm) ^ ^ *--installed ^ " order I? Line (please Read the precautions on the back and then fill out this page) -6-Printed by the Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs A7 ____ B7 V. Description of the invention (4) Features of the musical tone waveform generation method described in item 1 or item 2 Therefore, the above-mentioned musical tone waveform generation process includes a process of simulating the indicated musical tone generation principle of the sound source part of the above-mentioned electronic musical instrument. The structure described in item 6 of the patent application scope is characterized by the method for generating the tone waveform described in item 1 or 2 of the patent application scope is that the above-mentioned tone waveform generation process is performed by a single arithmetic unit, which is The arithmetic unit simulates the movement of the sound source of various electronic musical instruments. The feature of the architecture described in item 7 of the patent application scope is that the musical tone waveform generation method includes a process of indicating the process of the electronic musical instrument to be simulated, and a process of supplying the first timbre information of the indicated timbre information of the first electronic musical instrument , Instructing the process of generating musical tones, according to the structure of the sound source part of the first electronic musical instrument, transforming the first timbre information into basic timbre information for a certain basic sound source, responding to the instructions for generating musical tones, based on the basic timbre information The process of performing basic sound source actions to generate musical sounds, and the process of making sounds based on the generated musical sound waveforms. The structure described in item 8 of the patent application scope is characterized in that the method for generating a tone waveform described in item 7 of the patent application scope includes the conversion of the above-mentioned basic timbre information into that which is different from the indicated first electronic musical instrument. The process of the second tone information of the same tone information of the second electronic musical instrument. For the architecture described in item 9 of the patent application scope, the tone waveform generation method described in item 7 of the patent application scope is characterized by including a process of changing the value of the above basic tone information in response to the operation of the operator. The structure described in item 1 of the scope of the patent application is a combination of information indicating the device of the electronic musical instrument to be simulated and the performance of the electronic musical instrument. The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X 297 mm ) --- 1 --- ^ — —1 '-S ------ Set one ----- 4 line ·-(Please read the precautions on the back before filling this page) -7-3009 ^ 3 a7 _ B7 5. Description of the invention (5) Playing information, so that it is memorized in the recording medium. Then, the device information and performance information are read out from this recording medium, and the read performance information is reproduced, and event information is generated to instruct the sound to be emitted. Then, in response to the event information, the device information is read out, and the action of the sound source part of the electronic musical instrument indicated by this is simulated to generate a musical tone waveform. In this way, due to the use of device information to generate musical tone waveforms, it is necessary to reproduce performance information in an electronic musical instrument in a state very close to other electronic musical instruments. Moreover, because it is appropriate to set the device information, it is possible to generate musical sounds with characteristics equivalent to those of most models with one computing device. The structure described in item 2 of the patent application scope indicates an electronic musical instrument that should be simulated, instructs to emit a musical tone, responds to the instruction for generating a musical tone, simulates the action of the indicated sound source of the electronic musical instrument, generates a musical tone waveform, and based on this musical tone The waveform makes a sound. Therefore, like the first item in the scope of patent application, it is possible to reproduce performance information in an electronic musical instrument in a state very close to other electronic musical instruments. The structure described in item 3 of the patent application scope is in the process of tone waveform generation, which simulates the control action of the processor of the sound source part of the instructed electronic musical instrument, and therefore can correspond to various processors to generate tone waveforms. Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page) The structure described in item 4 of the patent application scope is to simulate the sound source of the electronic musical instrument in the process of musical tone waveform generation The part of the control register that stores most control parameters can be used by most electronic musical instruments to share the process of controlling the contents of the control register. The structure described in item 5 of the patent application scope is to simulate the sound generation principle of the sound source part of the instructed electronic musical instrument during the tone waveform generation process, so that it can correctly simulate electronic musical instruments operating on various principles. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (2, 0, 297 mm) '' Printed by the Consumer Standardization Bureau of the Central Standards Bureau of the Ministry of Economic Affairs A7 __B7 ___ V. Description of invention (6) As stated in item 6 of the patent application scope In the framework, the tone generation process is performed by a single arithmetic unit, and the single arithmetic unit simulates the actions of the sound source part of various electronic musical instruments. Therefore, it is possible to simulate most electronic musical instruments with a cheap architecture. The structure described in item 7 of the patent application scope first indicates the electronic musical instrument to be simulated, and provides the first timbre information of the indicated timbre information of the first electronic musical instrument. Then instruct to generate musical sounds, and according to the structure of the sound source part of the first electronic musical instrument, convert the first timbre information into basic timbre information for a certain basic sound source, respond to the musical tone generation instructions, and perform basic sound source actions based on the basic timbre information to generate The tone waveform is based on the tone waveform generated. In this way, performance information created by assuming a specific model can be converted into performance information of high versatility. The structure described in item 8 of the patent application scope is to convert the basic tone information into the second tone information of the second electronic instrument, which is different from the indicated first electronic instrument, so it can be used with other models. (The second electronic musical instrument) faithfully reproduce the performance information created by assuming a specific model (the first electronic musical instrument). The structure described in item 9 of the patent application scope is to change the value of basic tone information in response to the operation of the operator. Therefore, it can exceed the limitations of the model and edit the performance information made by the specific model to produce a colorful musical waveform . The following describes one embodiment of the present invention with reference to the drawings. A. The structure of the embodiment The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm> '~ —' 7; 7 ^ Ί -------- Subscribe ----- 1 line- Γ • < m (please read the precautions on the back before filling in this page) A 7 B7 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of invention (7) A — 1 The hardware architecture of the embodiment is hereby attached The figure illustrates the hardware architecture of the tone reproduction system according to an embodiment of the present invention. Furthermore, the tone reproduction system of this embodiment is implemented on a general-purpose personal computer. In the figure, an input device consists of a keyboard and a mouse 2 series display, which can display the information supplied via the bus 1 2. 3 series hard drives, memory operating system, various software operating under its management, the data used by these software, etc. 9 CPU , According to the control program described below to control various other components. 7 series MI DI interface, input and output MI DI signal to external devices. And MIDI interface 7 when the external input MIDI signal, insert into CPU9, 8 series timer, output Time information. 10 series ROM, with memory Dynamic input program, character pattern displayed on the display 2, etc. 1 1 is RAM, which can be read / written freely by the CPU 9. 4 is the regenerative part, suitable for DMA insertion to the C PU 9 and reads a certain amount in the RAMI 1 The content of the field (music data) is output. 5 is a DA converter, which can convert the music data output from the reproduction unit 4 into an analog signal (music signal) and output. 6 is an audio system that emits music based on this music signal. A — 2 Option of hardware (Option) In addition to the above constituent elements, the hardware can also be installed with the following options. The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) ^. J. I Install 'Order ¢ -(Please read the precautions on the back before filling this page) 10 Α7-Β7 立 、 发明 说明 (8) ① Μ Μ u 1 3 CPU 9 can be equipped with MMU (numerical arithmetic processor) that can perform numerical operations at high speed ) 1 3. Please read the precautions on the back and then% This page ② DS p board 1 4 In this embodiment, a DSP board 14 can be installed to replace the regeneration section 4. It is equipped with a board 14 on the 〇3, ie, borrowing a pipe (Pipe iine) processing at high speed DSP (Digital Signal Processor) 1 4 a for value calculation, waveform memory 1 4 b ′ for recording 100 million musical sound waveforms, and delay memory 1 4 c for mixing, etc. A-3 The hierarchical structure of the embodiment refers to the second The figure illustrates the hierarchical structure of the hardware and software of the music reproduction system of this embodiment. Printed by the Employee Consumer Cooperative of the Central Standard Falcon Bureau of the Ministry of Economic Affairs In the figure, the first layer is a physical layer composed of hardware such as CP U 9. The 2nd to 6th levels are logical layers made up of software that enables CP U 9 and other operations. The second layer is composed of the signal processing module 20, which is composed of subprogram groups that perform basic signal processing such as addition, subtraction, multiplication and division, bit shift, and delay. The third layer is composed of most sound source modules that use this signal processing module to generate musical data by various principles. Here, the content of the sound module will be explained first. At present, there are various conventional sound sources that synthesize musical data according to various principles, such as the following three types. First of all, the so-called "P CM sound source" is a copy of the paper that records the music waveform of the billion in advance in the memory of the billion. It uses the Chinese National Moumou (CNS) Α4 specification (210Χ 297 mm) 11 A7 __ B7 V. Invention Description (9) Sample data, read this sample data and convert it into an analog signal to output musical signal. It is called "FM sound source", and it has multiple operators (oscillator) 'use one of the operators to FM modulate the signal of the other operator' or synthesize the output signals of the majority of operators to each other. Wait for processing to form a musical signal (analog signal). The so-called "physical model sound source" is to imitate the behavior of various musical instruments to generate digital musical data and then convert it into musical signals (analog signals) * Furthermore, in addition to the above, there is a high-frequency wave synthesis method, Various musical methods such as composition method (Formant) synthesis method, ring modulation method, etc. This embodiment is equipped with sound source modules 31 to 33 (basic arithmetic) that can generate musical data according to these basic principles. First, the PCM sound source module 31 implements the basic action of a P CM sound source with a filter ( For the actions of various circuit blocks of the sound source), their individual processing is called the signal processing module 20 of the second layer to be executed. Printed by the Ministry of Economic Affairs and the Central Ladder Pre-Executive Consumer Cooperative, and the FM sound source module 3 2 is the basic operation of the FM sound source module with the operator number "6". At the same time, the physical model sound source module 33 realizes the basic actions of the physical model sound source of a certain wind instrument. Furthermore, the calculation method of the physical model sound source differs depending on the instrument (imaginary instrument) to be imitated. Therefore, sometimes a physical model sound source to be imitated is equipped with a plurality of physical model sound source modules 33. The basic principles of generating musical tone signals are as described above. However, even if the basic principles are the same, the actual algorithm used depends on the sound source L S I used in the model to be imitated. There are subtle differences. The size of this paper is based on the Chinese National Seal (CNS) A4 specification (210X 297mm) 1〇-1 ^-3009 y 3 A7 B7 5. Description of the invention (10) Sound source module 3 1 ~ 3 Algorithms to realize the basic actions used by various sound source LSIs. Next, on the fourth floor, there are pseudo sound sources 4 1 to 4 5 that imitate these various sound sources L S I. Simulated sound source 4 1 ~ 4 5 pairs of corresponding sound source modules, specifying the choices, combinations, and ratios of various parameters used in the basic algorithm to imitate their target sound source L S I. The sound signals generated by various electronic musical instruments such as sound source modules or synthesizers are not only controlled by the hardware architecture of the sound source LSI, but also because of the program used to control the sound source LSI, that is, the program that controls the c PU of each electronic musical instrument Varies. At the fifth level, there are sound source drivers 5 1 to 5 5 imitating such sound sources and synthesizers. The sound source driver 5 1 ~ 5 5 can imitate and control the operation of the C PU of the sound source LSI corresponding to the corresponding sound source. At the same time, for the internal processing of the sound source LSI, the corresponding pseudo sound source 4 1 ~ 4 5 'is called out to imitate the sound source Or the entire synthesizer. In addition, for some audio sources, most audio source LSIs are sometimes used. Of course, most of the pseudo audio sources should be called out. 4 1 ~ 4 5 ° Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy Page) Various application software such as sequencer, games, arranger software 6 1 ~ 65 are provided on the 6th floor. For these soft systems, the sound source drivers 51 to 55 are selected in accordance with the algorithm described later, and the tone generation process is performed. In addition, if the music reproduction system uses the optional DS board 14, the processing of the first to third layers is performed on the DS board 14. A-4 The data structure of the examples The paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) -13-Printed by the Ministry of Economy Central Standards Bureau Employee Consumer Cooperative A7 B7 _____ V. Invention description (11) ①Performance The file format of the information is followed by reference to FIG. 3 to explain various data formats used in this embodiment. First, the figure (a) shows the format of the performance information file stored in the hard disk 3 or the like. In the figure, the 101 letterhead is placed before the performance information file. In this letterhead 101, there are memorized the form of the sound source to be imitated, the performance information, the number and content of the timbres used by the tune, the timbre number and other information. The so-called "form of sound source" specifies the following: (a) The sound source of the electronic musical instrument to be imitated is one of P CM sound source, FM sound source, or physical model sound source (sometimes equivalent to more than one of them). (b) The type name of the sound source L S I used by the sound source of the electronic musical instrument to be imitated (sometimes more than one type exists). (c) The type name of the electronic musical instrument to be imitated. Secondly, 1 0 2 is a sound source parameter. According to each tone described above, each tone parameter is recorded. In addition, the format of the parameters for timbre generally varies with different instruments. The format of the parameter for timbre memorized in the sound source parameter 102 in this embodiment corresponds to the above "form of sound source", which is the same type as the sound source parameter of the electronic musical instrument to be imitated. 1 0 3 is the waveform data section, which records the waveform data for realizing the above-mentioned tones. The waveform data here is the above-mentioned sampling data if the sound source of the electronic musical instrument to be imitated is the P CM method, and the non-linear function table (data recording the sampling values at each location) in the physical model method. The standard of this paper is applicable to China National Standard (CNS) A4 specification (210 X 297 mm) ---- Ί {----- Packing ------ order ----- Γ * line Read the precautions on the back and fill in this page) -14-A7 _ B7 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs V. Invention Description (12) 1 0 4 is sequence data, which records the event information of the above tune. Furthermore, the sequence data 104 can use the same data format as the MID file, for example. ② Sound source parameters and waveform data Secondly, the figure (b) shows the construction of various data in RAM 11. In the figure, 1 2 0 is the waveform data section, which stores the sampling results of most waveform data WD. 1 1 〇 is a sound source parameter part, which is composed of sound source parameters PD 1, PD 2... PD 1 6 which are divided into "16" parts. Each sound source parameter contains various parameters for realizing each timbre. The sound source parameters enlarged in this figure are examples when the sound source of the electronic musical instrument to be imitated is P CM sound source. These parameters include waveform designation data that specifies one of the above waveform data. The specified data of this waveform is different in each range. Therefore, the number of waveform data is about several times of the sound source parameters. ③ Input buffer is second, 1 3 0 is the input buffer, and the content of the sequential data 1 〇4 read from the hard disk 3 is memorized, or via the M IDI interface 7 Input MIDI data. Inside the input buffer 13o, idi, ID 2 · ID 3 ... are event data (Event Data), which are arranged in order of time series. The input address before the input buffer 1 3 0 stores the current number of event data. For each event data ID1, ID2, the paper standard is applicable to China National Standard (CNS) Λ4 specifications (2 丨 0X 297 public voices). -15-------: --7-Λ: ----- -7 Order (please read the back-to-back notes first), A7 A7 Printed by the Central Standard Falcon Bureau Employee Consumer Cooperative of the Ministry of Economic Affairs B7 V. Invention Instructions (13), ID 3 ... .. consists of the content of each event and the time of occurrence of the event data, respectively. ④Sound source register 1 4 0 is the sound source register section, which is equipped with a ^ 3 2 "channel divided sound source register. The sound source register enlarged in this figure is an example when the sound source of the electronic musical instrument to be imitated is the P CM sound source. Each sound source register contains the sound symbol code of the corresponding channel, the waveform designation data of any waveform data in the specified waveform data section 1 2 0, and other various data that should be handed over to the corresponding analog sound source. Furthermore, the content of the sound source register section 140 varies depending on the type of sound source. B. Operation of the embodiment B-1. System startup and initial setting Next, the operation of this embodiment will be described. First, the tone reproduction system of this embodiment is set to operate on a certain operating system and window system. The window system will display various icons on the display 2. When the user taps on the icon representing the tone generating program of this embodiment with a mouse, the window 2 0 shown in FIG. 4 (a) is displayed on the display 2. On the other hand, the core part of the operating system allocates certain resources (memory and slots) to the music reproduction system of this embodiment. In this music reproduction system, the main program shown in Fig. 5 (a) is started within the allocated resources. In the figure, if the program is executed, a certain initial setting is first executed in step SP1. In step S P 1, the following processing is performed. The size of the paper it is used in Guanjia County (CNS) A4 specification (210X297 mm) '-16-(please read the precautions on the back before filling out this page) Pack · A7 A7 Printed by the Employee Consumer Cooperative of the Central Standard Falcon Bureau of the Ministry of Economic Affairs Bag ___B7 V. Description of the invention (丨 4) ① Read the original file into a certain index on the hard disk 3, and record the original file specifying the initial setting content of the music reproduction system of this embodiment. This source file records the following content. (a) DSP board 14 with or without options, and its type name when available. (b) The sound source driver set by the system, which is similar to the sound source and the type of sound source module. (c) The sound source driver set by the system, which resembles the sound source, and various settings of the sound source module. (d) The index of the system setting when specifying the file. ② Preparation of the sound source driver, pseudo sound source, and sound source module set by the system. Next, in step s P 1, read the hard drive from the hard disk based on the content of this original file, the sound source driver, and the sound source module. Furthermore, these settings can be operated by the user afterwards or changed according to performance information. The details of the setting method of the sound source driver, sound source, and sound source module will be described later. ③ Other initial settings In addition to the above process, various initial setting processes such as setting of initial values of various variables can be performed in step s P 1. B — 2 Main Loop After the initial setting is completed, the processing advances to s P 2 °. Here, refer to the input paper size and apply the Chinese national standard (CNS> A4 specification (2 丨 〇 侂 297mm) (please first Read the notes on the back and fill in this page) U ·-jn. ^ Nm I In!. I-—i T--I— .....-I- I-I I-----HI -III-17-A7 A7 Printed bags of employees ’cooperatives of the Central Bureau of Standards of the Ministry of Economic Affairs p -___ B7______ V. Description of invention (15) Enter the buffer 1 3 0 to determine whether to input new MIDI data from the MIDI interface 7. If it is not input, it is determined as "Ν 0", and the process proceeds to step S 4. When the process proceeds to step S 4, it is determined whether a SW (Switch) event has occurred. The so-called SW event refers to the window 2 0 ○ Mouse events within the keyboard, and keyboard events when window 2 0 is dynamic, etc. When there is no SW event, the process proceeds to step SP 6. At step SP6, it is determined whether a certain flag RUN is. Flag RUN It is the flag indicating whether the automatic calculation based on the performance information in the hard disk 3 is in progress. Therefore, it is judged as "NO", and the process proceeds to step SP10. At step SP10, the sound source processing subroutine shown in Figure 8 is called. However, if no data is written in the sound source temporary storage unit 140 , The subroutine of the sound source processing is not substantially processed. Furthermore, the content of the subroutine will be described later. Secondly, when the processing advances to step SP11, various other processes are performed. Step SP 2 to S pp 1 1 are repeated later Processing (hereinafter referred to as the main ring). B-3 Processing of MIDI events When event data is received at the MIDI interface 7, an insertion is generated to the CPU 9, and MI DI reception shown in FIG. 5 (b) is started Insert the program. In the figure, when the program is started, the process proceeds to step SP 2 1, and the received data is taken into a certain area of RAMI 1 from the MI DI interface 7. The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) — -18-<please read the notes on the back before filling in this page)-S00dd3 A7 Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs _______B7 V. Invention description (i6) When the process is in progress When step SP 2 2 is reached, the slave timer 8 Read the moment information. The above-mentioned reception data and time information are regarded as event data and are written to the end of the input buffer 1 3 0. The "event data number" before the input buffer 1 3 0 is incremented by "1". After finishing the above steps, the processing returns to the sequence before insertion. After such processing is performed, in the main loop, when the processing proceeds to step s P 2 ', it is judged as "YES" here, and the processing proceeds to step SP3. In step SP3 ', based on the received data, the note code, note ON, and other data required to generate musical tones are written into the sound source register. The following will refer to FIG. 7 again to explain in detail the processing situation when the received data is a note. In this figure (a), when the processing advances to SP61, the variable NN stores the note code, and the variable VEL stores the velocity and timbre number. It is stored in the variable tn (〃 is the part number corresponding to the tone "1" ~ "16"). When the processing advances to SP62, the processing related to the ON of the note of the currently selected sound source driver DP (a) is executed (subroutine of layer 5). Specifically, for example, the subroutine shown in (b) of the figure is called. In the figure (b), when the process proceeds to step SP71, the register in the space of the sound source register section 140 will be assigned to the note 〇 N event. The sound source to be imitated is, for example, a type in which two series of sound sources emit one tone, and two sound source registers will be allocated. When the processing advances to step SP72, the sound source parameter PDn (v n f part number) is processed corresponding to the symbol code or speed. (Please read the precautions on the back before filling out this page) This paper scale is applicable to the Chinese National Standard (CNS) Α4 specification (210X297 mm) 19-Μ Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs ) The following is a brief description of its contents. When the sound height of the instrument changes, not only the tone, but also the tone will change slightly, and the speed will also change it (for example, when you play the piano keys hard, the tone will not be the same as when you flick). Therefore, the conventional sound source corresponds to the phonetic symbol code or speed to make subtle changes to the sound source parameters. This embodiment imitates these sound sources', so the sound source parameters are processed by the same calculation method as the target sound source. Next, when the processing advances to step SP 73, the processed sound source parameters and the moment when the note is turned on are written into the previously assigned sound source register. Furthermore, it is one of the characteristics of this embodiment to write the moment when the note is ON to the sound source register, which is not the case with the traditional electronic musical instrument. The reason for this treatment will be described later. When the processing advances to step s P 74, the note ON is written to the previously allocated sound source register. When the above process ends, the process returns to the main loop via the note ON event processing subroutine. Furthermore, when events such as note F F (Note OFF), pitch bend, etc. occur, the same processing as the sound source to be imitated is also performed. Various data are written in the assigned sound source register. But no matter what event, this embodiment writes the "time of occurrence" into the sound source register. This is different from the actual (to be imitated) sound source. A B — 4 sound source processing ① The principle of sound source processing is this, when the sound source is temporarily The status of some data written in the memory section 1 4 0 (in other words, the state where a certain sound source register is assigned to certain pronunciations) This paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210 to 297 mm " 1 ~ — '' -20-----: -------- installed ------ one order ----- II (please read the precautions on the back first and fill in {Ϊ5 Page) A7 _ B7 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of the invention (is) 'Processing advances to SP 1 0', various substantive processes are performed in the sound source processing subroutine. The specifics of these processes Before the content, the operation principle of this embodiment will be described with reference to FIG. 9. First, in order to generate musical sound data based on the data written into the sound source register 1 40, various waveform calculation processes are required. However, if an event occurs, It is sometimes inappropriate to carry out the above treatment. That is, if it occurs during the treatment For other events, the majority of events must be processed in parallel. In this state, the calculation processing time will have a difference in length, which may have an adverse effect on the music. Therefore, this embodiment makes the delay caused by the calculation processing time uniform In order to prevent the adverse effects caused by the difference in the length of the calculation processing time. Therefore, the waveform calculation processing is processed intensively every TP. That is, in the figure (b), it is from the time t 1, t 2, t 4 and The waveform calculation process starts from t 5. The time T c required for the waveform calculation process varies depending on the time limit, but its maximum value is set to T CMAX. As described above, the regeneration unit 4 suitably generates DMA insertion into the CPU 9. Read out the RAMI 1 The music data is converted into a music signal and output. This read operation is performed according to a certain pitch. By this, the address of the music data is stored and has a corresponding relationship with the pronunciation time limit of the music signal. Therefore, the pronunciation of this embodiment The time limit will be delayed by a certain delay time
Td (Td$ 丁 P+T c M A X )。 亦即,將樂音資料寫入對應延遲後之發音時限之位址 。藉此’縱使在時間t 1〜t2期間中發生送出音符事件 ,對此之發音仍在時間t 3以後爲之。再者,延遲時間 本^張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) ~~' -21 - -------^---,丨 装------訂------ Μ (請先閱讀背面之注意事項再填寫本f ) 經濟部中央標準局員工消費合作社印餐 Μ Β7 — ___ _ _ 五、發明説明(l9) TI>設定在「0. 1秒」前後。再者,延遲時間TD會因 如何設定上述一定時間ΤΡ而改變,縮短一定時間τΡ使 延遲時間丁1)爲「〇. 01秒」前後時,則將樂器接在 Μ I D I介面7進行手動演奏,亦不會有唐突感。 惟如先前所說明,本實施例有必要將已加工之音源參 數與發生音符◦ Ν之時間寫進音源暫存器》這是爲了能正 常進行上述音源處理之緣故。即,本實施例爲了在發生事 件之時刻起經過延遲時間T D後開始發音,因此必須先取 得發生事件之時刻。換言之,本實施例之音源暫存器不僅 是要模擬應模倣之音源L S I之音源暫存器之動作,在記 憶時刻資訊這一點上進行本實施例獨自之動作。 ②具體之處理內容 音源處理係對應欲模倣之音源L S I ,叫出第4層之 副程序而開始執行。玆參照第8圖說明其具體例子如下。 在圖中,當處理前進到步驟S Ρ 8 1時,搜查音源暫存器 部1 4 0之內容。其次,當處理前進到步驟S Ρ 8 2時’ 則依據此搜査結果,判定是否在任一音源暫存器寫進新的 資料。 若判定爲「Y E S」,處理則前進到步驟S Ρ 8 3 ’ 叫出擬似音源SP (b)。擬似音源SP (b)將寫在音 源暫存器部1 4 0內之資料變換成音源模組控制用之資料 ,將其結果寫入RAMI 1之一定領域內。當處理前進到 步驟SP84時,叫出音源模組MP(c)。音源模組 本紙張尺度適用中國國家標隼(CNS ) Α4規格(2丨0 X 297公釐) ----:---T--Γ- 装------訂------ί 球 (請先閱讀背面之注意事項再填寫本頁) 22 - 經濟部中央標準局員工消費合作社印裝 A7 B7 五、發明説明(?〇 ) Μ P ( c )係按功能分割成音源副模組μ P ( c ) - 1〜 3 ,在步驟SP84係叫出音源副模組MP (c) -1 。 音源副模組Μ P ( c ) - 1則依變換後之資料,準備 運算所需之各種參數,以備下一次波形運算處理(參照第 9圖(b))之開始。亦即,新寫入之資料係音符ON、 音符0 F F ’音調變更,壓縮等之事件資料,因此在這锺 規定對應此等之波形運算處理之內容。規定之運算內容舄 ,例如,音調變更僅變更音調,壓縮僅壓縮音量。 如此,音源副模組MP ( c ) - 1在模倣應模倣之耷 源L S I內之各種電路方塊之動作,屬於上述之第3層。 再者,上述擬似音源S P ( b )之處理,及音源副模組 MP ( c ) — 1之處理,係僅就對應有寫入之音源暫存器 之發音頻道執行。 其次,在步驟SP85 ,86 ,判定目前之時刻是杏 已到達開始波形運算處理之時限(第9圖之時刻1;1 , t 2 ,t 4或t 5 )。若判定爲「N 0」,處理則回到主 環。然後,在時刻到達上述時限後,處理再度前進到步驟 SP86時,判定爲「YES」,而執行步驟SP87〜 8 9 。 首先在步驟SP87,叫出音源副模組MP (c) — 2。音源副模組Μ P ( c ) — 2則以先前在步驟S P 8 4 規定之內容,準備進行波形運算處理。即,在時間軸上展 開各種資料。接著,當處理前進到S Ρ 8 8時,則叫出音 源副模組MP (c) _3 ,依據展開之資料,算出實際之 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X29?公釐) -----------Τ-草-- (請先閱讀背面之注意事項再填寫本頁) -訂 -23 - 經濟部中央標準局貝工消費合作社印製 3009^3 A7 ___B7 五、發明説明(21 ) 樂音資料。 以上之音源副模組MP (c) — 2及MP (c) _3 之處理,產生一定位準以上之樂音。即,此等處理係對發 音中之所有頻道執行,按各頻道運算,形成上述一定時間 TP分之樂音資料。形成之各頻道之樂音資料在音源副模 組MP (c) — 3中相互累算,而累算結果完成上述一定 時間ΤΡ分之發音用樂音資料。 當處理前進到S Ρ 8 9時,則預約算出之樂音資料之 再生。亦即,對再生部4預約設定,在完成目前再生中之 樂音資料之再生,到達應再生之時刻時,連續再生所算出 之波形資料。而結束以上之處理後,處理則回到主環。如 此,對應各事件之發音,係各延遲時間TD後執行之。 B — 5對SW事件之處理 其次說明,因輸入裝置1之鍵盤或滑鼠而發生SW事 件時之處理。發生SW事件後處理前進到步驟S P 4時, 處理再前進到步驟SP 5,執行對應該SW事件之處理。 玆分開不同場合詳細說明如下。 ①「檔案」鈕2 0 1 在視窗2 0 0由滑鼠敲打「檔案」鈕2 0 1時,在顯 示器2上重疊於視窗2 0 0顯示出檔案選擇視窗(未圖示 )。檔案選擇視窗顯示含在一定索引(初期檔案所指定之 系統設定之索引)內之演奏資訊之檔案名稱。 本紙張尺度適用中國國家標準(CNS ) A4規格(21〇Χ297公釐) ^ 1裝訂 I π (請先閱讀背面之注意事項再填寫本頁) -24 - 經濟部中央標準局員工消費合作社印製 A7 _____B7 五、發明説明(22、 所謂「演奏資訊之檔案」係具有第3圖(a )所示形 式之檔案’賦與特定之擴張子。當使用者令滑鼠游標 2 0 4移動至任一檔案名稱上後敲兩下時,該檔案則成「 被指定」之狀態。然後執行第6圖(a )所示之檔案再生 指示事件處理程序。 在圖中’當處理前進到步驟S P 3 1時,則準備讀出 所指定之檔案。然後’當處理前進到步驟S P 3 2時,則 依據該檔案之信頭1 〇 1 ,音源參數部1 〇 2及波形資料 部103 ’準備音源。玆參照該圖(b)詳細說明如下。 在該圖(b),當處理前進到步驟SP4 1時,規定 在信頭1 0 1之「音源之形式」被收納在變數TGT。然 後在處理前進到步驟S P 4 2時,變數TGT之內容被解 析’藉此特定音源之形式。且在步驟SP42,依據特定 之音源形式決定變數a ,b ,c。在此,變數a係音源驅 動器之號碼,變數b係擬似音源之號碼,變數c係音源模 組之號碼。 接著在處理前進到步驟S P 4 3時,準備由變數a指 定之音源驅動器DP ( a )。亦即,由硬碟3讀出音源驅 動器DP (a),收納在RAMI 1。同樣地,在步驟 SP44 ,45 ,則由硬碟3讀出變數b ,c指定之擬似 音源SP(b),音源模組MP(c)。 接著在處理前進到步驟S P 4 6時,則依據指定檔案 之音源參數1 〇 2,準備RAMI 1上之音源參數(複數 )。即’在音源參數部110 (參照第3圖(b))展開 本紙張尺度逋用中國國家標率(CMS ) A4规格(210X297公釐) --Γ!裝^------訂------r — ' · (請先閲讀背面之注意事項再填寫本頁) -25 - A7 A7 經濟部中央標準局負工消费合作社印製 _____B7_ 五、發明説明(23 ) 必要之音源參數。其次,當處理前進到步驟S P 4 7時, 則在波形資料部1 2 0上展開波形資料部1 0 3指定之各 波形資料。 結束以上之處理後,處理便回到呼叫源之程序(在此 爲檔案再生指示事件副程序)。接著在檔案再生指示事件 處理副程序,當處理前進到步驟S P 3 3時,則進行自動 演所需要之各種準備。例如,預先讀出順序資料1 04中 最初之一定部分。如此進行第6圖(a) ,(b)之處理 後’先前在系統設定時指定之音源驅動器,擬似音源,音 源模組等,將依據新讀出之演奏資訊之信頭1 〇 1〜波形 資料1 0 3改寫。 再者,在步驟S P 1之初期設定,也進行與音源準備 處理程序(第6圖(b))同樣之處理。但在第6圖(b )之步驟S P 4 1 ,信頭1 0 1所規定之音源形式係收納 在變數TGT,而初期設定時之原始檔所規定之「系統設 定之音源形式」係收納在變數TGT。 ②「音色選擇」鈕202 在視窗2 0 0以滑鼠敲打「音色選擇」鈕2 0 2時, 則在顯示器2顯示出如第4圖(b )所示之音色選擇視窗 300。在圖中,302係音色選擇表部,僅設有對應欲 模倣之音源之部分數(圖示之例子係「16」部分)。在 顯示出音色選擇視窗3 0 0之當初,所顯示者爲部分「1 」之音色選擇表部3 0 2。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 7 —* - ^--:-.!装 ------訂,------^ (請先閲讀背面之注意事項再填寫本頁) -26 - A7Td (Td $ Ding P + T c M A X). That is, the music data is written to the address corresponding to the delayed pronunciation time limit. By this, even if a note sending event occurs during the time t 1 to t 2, the pronunciation is still after the time t 3. In addition, the delay time ^ Zhang scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) ~~ '-21-------- ^ ---, 丨 installed ------ ordered ------ Μ (Please read the precautions on the back before filling in this f) Printed Meal of the Employees ’Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs Μ Β7 — ___ _ _ V. Description of Invention (l9) TI> Set at` `0. Around 1 second ". Furthermore, the delay time TD will change according to how to set the above-mentioned fixed time TP, shorten the fixed time τP to make the delay time 1) around "0.01 seconds", then connect the instrument to the M IDI interface 7 for manual performance, There will be no sudden feelings. However, as previously explained, in this embodiment, it is necessary to write the processed sound source parameters and the time at which the note is generated into the sound source register. This is for the reason that the above sound source processing can be performed normally. That is, in this embodiment, in order to start the pronunciation after the delay time T D has elapsed from the time of occurrence of the event, it is necessary to obtain the time of occurrence of the event first. In other words, the sound source register of this embodiment is not only to simulate the operation of the sound source register of the sound source L S I to be imitated, but to perform the independent operation of this embodiment in the point of remembering the time information. ②Specific processing content The sound source processing corresponds to the sound source L S I to be imitated, and the sub-program of the fourth layer is called and executed. The specific example is explained below with reference to FIG. 8. In the figure, when the processing advances to step S 81, the contents of the sound source temporary memory section 140 are searched. Secondly, when the processing advances to step S 8 2 ', based on this search result, it is determined whether new data is written in any sound source register. If it is determined as "Y E S", the process proceeds to step S P 8 3 'to call the pseudo sound source SP (b). The quasi sound source SP (b) converts the data written in the sound source register section 140 into data for the sound source module control, and writes the result into a certain area of RAMI 1. When the process proceeds to step SP84, the sound source module MP (c) is called. The paper standard of the sound source module is applicable to the Chinese National Standard Falcon (CNS) Α4 specification (2 丨 0 X 297 mm) ----: --- T--Γ- installed ------ ordered ---- --ί ball (please read the precautions on the back before filling in this page) 22-A7 B7 printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of invention (? 〇) Μ P (c) is divided into sound sources according to function Submodule μ P (c)-1 ~ 3, in step SP84, the sound source submodule MP (c) -1 is called. The sound source sub-module Μ P (c)-1 will prepare various parameters required for operation according to the converted data, in preparation for the next waveform operation processing (refer to Figure 9 (b)). That is, the newly written data is event data such as note ON, note 0 F F ’tone change, compression, etc. Therefore, the content of waveform calculation processing corresponding to these is specified here. The prescribed operation content is, for example, tone change only changes the tone, and compression only compresses the volume. In this way, the action of the sound source sub-module MP (c)-1 in imitating the various circuit blocks in the source L S I that should be imitated belongs to the third layer above. In addition, the processing of the pseudo sound source S P (b) and the processing of the sound source sub-module MP (c) — 1 are performed only on the pronunciation channel corresponding to the written sound source register. Next, in steps SP85 and 86, it is determined that the current time is the time limit for starting the waveform calculation process (time 1; 1, t 2, t 4 or t 5 in Figure 9). If the judgment is "N 0", the process returns to the main ring. Then, after the time reaches the above time limit, when the process proceeds to step SP86 again, it is judged as "YES", and steps SP87 to 8 9 are executed. First in step SP87, the sound source sub-module MP (c) -2 is called. The sound source sub-module Μ P (c) — 2 is prepared for waveform calculation processing according to the content previously specified in step SP 8 4. That is, various materials are displayed on the time axis. Then, when the processing advances to S Ρ 8 8, the sound source sub-module MP (c) _3 is called, and the actual paper size is calculated according to the Chinese National Standard (CNS) Α4 specification (210X29? Mm) based on the developed data. ) ----------- Τ- 草-(please read the precautions on the back before filling in this page) -Sub-23-Printed by Beigong Consumer Cooperative, Central Bureau of Standards, Ministry of Economic Affairs 3009 ^ 3 A7 ___B7 V. Description of the invention (21) Musical data. The processing of the above sound source sub-modules MP (c) — 2 and MP (c) _3 produces a musical sound with a position above quasi. That is, these processes are performed on all channels in the utterance, and calculation is performed for each channel to form the musical tone data of the above-mentioned fixed time TP minutes. The musical tone data of the formed channels are accumulated with each other in the sound source sub-module MP (c) -3, and the cumulative result completes the above-mentioned musical tone data for a certain time TP. When the processing advances to SP8, the reproduction of the calculated music data is reserved. That is, the reproduction unit 4 is set to make a reservation, and when the reproduction of the music data currently being reproduced is completed and the time to be reproduced is reached, the calculated waveform data is continuously reproduced. After finishing the above processing, the processing returns to the main ring. Therefore, the pronunciation corresponding to each event is executed after each delay time TD. B — 5 Handling of SW events Next, the handling of SW events due to the keyboard or mouse of the input device 1 will be explained. When the process proceeds to step SP 4 after the occurrence of the SW event, the process proceeds to step SP 5 to execute the process corresponding to the SW event. Detailed explanations are given below for different occasions. ① "File" button 2 0 1 When the "File" button 2 0 1 is tapped by the mouse in the window 2 0 0, the file selection window (not shown) is displayed on the display 2 overlapping the window 2 0 0. The file selection window displays the file name of the performance information contained in a certain index (the index of the system setting specified by the initial file). This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (21〇297297 mm) ^ 1 binding I π (please read the precautions on the back before filling in this page) -24-Printed by the Employee Consumer Cooperative of the Central Bureau of Standards A7 _____B7 5. Description of the invention (22. The so-called "playing information file" is a file with the form shown in Figure 3 (a) and is assigned a specific expander. When the user moves the mouse cursor 2 0 4 to any When a file name is tapped twice, the file will be in the "assigned" state. Then execute the file regeneration indication event processing program shown in Figure 6 (a). In the figure, when the process advances to step SP 3 At 1, it is ready to read out the specified file. Then 'when the process advances to step SP 32, the sound source is prepared according to the file header 101, the sound source parameter part 102 and the waveform data part 103'. The detailed description is as follows with reference to the figure (b). In the figure (b), when the process proceeds to step SP41, the "form of sound source" specified in the letterhead 101 is stored in the variable TGT. Then, the process proceeds By step SP 42, the variable TGT The content is parsed to take this specific sound source form. And in step SP42, the variables a, b, and c are determined according to the specific sound source form. Here, the variable a is the number of the sound source driver, and the variable b is the number of the quasi sound source It is the number of the sound source module. Then, when the process advances to step SP 4 3, the sound source driver DP (a) designated by the variable a is prepared. That is, the sound source driver DP (a) is read out from the hard disk 3 and stored in RAMI 1. Similarly, in steps SP44 and 45, the pseudo-sound source SP (b) and the sound source module MP (c) specified by the variables b and c are read from the hard disk 3. Then when the process proceeds to step SP 46, Then, according to the sound source parameters 1 〇2 of the specified file, prepare the sound source parameters (plural) on RAMI 1. That is, expand this paper standard in the sound source parameter part 110 (refer to Figure 3 (b)) to use the Chinese national standard (CMS ) A4 specification (210X297mm) --Γ! 装 ^ ------ book ------ r — '· (please read the precautions on the back before filling this page) -25-A7 A7 Economy Printed by the Consumer Labor Cooperative of the Central Bureau of Standards of the Ministry _____B7_ V. Description of invention (23) The necessary sound source parameters. Second When the processing advances to step SP 47, the waveform data specified by the waveform data section 1 0 3 is expanded on the waveform data section 1 2 0. After finishing the above processing, the processing returns to the call source program (here It is the file reproduction instruction event subroutine). Then, in the file reproduction instruction event processing subroutine, when the processing advances to step SP 3 3, various preparations required for the automatic performance are performed. For example, read the first certain part of sequence data 104 in advance. After performing the processing in Figure 6 (a) and (b) in this way, the sound source driver, pseudo sound source, sound source module, etc. previously specified in the system setting will be based on the newly read performance information letterhead 1 〇1 ~ waveform Information 1 0 3 rewritten. In addition, in the initial setting of step SP1, the same processing as the sound source preparation processing program (Fig. 6 (b)) is also performed. However, in step SP 4 1 of Figure 6 (b), the sound source form specified in the letterhead 101 is stored in the variable TGT, and the "system-set sound source form" specified in the original file at the initial setting is stored in Variable TGT. ② "Voice selection" button 202 When you tap the "Voice selection" button 2 0 2 in the window 2 0 0, the voice selection window 300 shown in Figure 4 (b) is displayed on the display 2. In the figure, 302 is the tone color selection table, and only the number of parts corresponding to the sound source to be imitated (the example shown in the figure is the "16" part). When the tone selection window 3 0 0 is displayed, the part displayed is the tone selection table portion 3 0 2 of the part "1". This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) 7 — *-^-:-.! Packing ------ ordered, ------ ^ (please read the back page first Matters needing attention before filling this page) -26-A7
Oij〇dd3 _ B7 五、發明説明(24 ) 在音色選擇表部3 Ο 2,列舉有可選擇之音色,同時 目前所選擇之音色成反轉方式顯示之。圖示之例子係對部 分「1」選擇「3 Electric Grand Piano」。再者,各 音色名稱前附加之數字稱作音色號碼。這時若敲打顯示其 他音色名稱之部分,該其他音色之部分會被反轉,原來之 部分則回到平常之顯示情形(這種狀態稱作「暫行選擇」 )° 要變更部分「1」以外之音色時,以滑鼠敲打對應索 引部301中所需之部分號碼(「1」〜「16」),則 可在音色選擇視窗3 0 0內顯示所選部分之音色選擇表部 3 0 2。如此在適宜選擇音色後若敲打取消鈕3 0 4,暫 行選擇之內部則全被取消。 另一方面,若以滑鼠敲打確定鈕3 0 3,則按各部分 執行第6圖(C )所示之處理。亦即,各部分之音色號碼 tn( "係「1」〜「16」)則變更爲暫行選擇之 音色號碼。而對應新選擇之音色號碼t η,更新音源參數 部1 10及波形資料部120。結束上述處理後,處理回 到主環。而以後之樂音資料之形成處理,將依據新選擇之 音源參數等執行。 ③開始事件處理 在視窗2 0 0上以滑鼠敲打再生鈕2 0 3時,在旗標 RUN設定於"^1〃後,處理回到主環。其次,在第5圖 ’當處理前進到步驟SP6時,判定爲「YES」,處理 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) -------.--r -------ΪΤ-------^ (請先閱讀背而之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印掣 27 - 經濟部中央標隼局員工消費合作杜印製 A7 B7 五、發明説明(25 ) 前進到步驟S P 7。在此判定是否已到達產生演奏資訊之 順序資料1 0 4內之下一事件之時刻。但對順序資料 1 0 4之前頭之事件,則恒判定爲「Y E S」。 當處理前進到步驟S P 8時,進行前頭事件之事件處 理。再者,此項事件處理之內容與先前說明之步驟S P 3 (對輸入之Μ I D I信號之處理)相同。例如,該前頭事 件爲音符ON時,則進行第7圖(a) , (b)所示之處 理。 其次當處理前進到步驟S P 9時,依據前頭事件後之 期間(duration ),求出使下一事件發生之時限。而處 理則回到主環。以後,每當在主環內進行步驟S P 7之處 理時’判定目前時刻是否已到達先前設定之時限。而當目 前時刻已到達上述時限時,處理則前進到步驟S P 8 ,而 進行該時限之事件處理。 ④停止/暫停/快速前送/快速回捲事件處理 以滑鼠在視窗2 0 0上敲打暫停鈕2 0 5或停止鈕 206時’在旗標RUN設定爲♦〇 〃後,處理回到主環 。因此,以後不會有步驟S P 7〜S P 9之處理,因此停 止依據系統內之演奏資訊之自動演奏,僅進行依據外部之 Μ I D I資料之演奏。同時,若以滑鼠敲打快速前送鈕 2 0 8則快速跳讀順序資料。敲打捲回鈕2 〇 7時,則反 方向跳讀順序資料1 〇 4。 本紙張尺賴用中1111家縣((:]^)44驗(21()\297公羡) ' ~ -28 - ----Γ--,--Τ1养-------訂------- \ (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作杜印製 3009ij3 at B7 五、發明説明(26 ) C實施例之效果 ① 本實施例之演奏資訊不僅設有順序資料1 ο 4,同 時設有特定音源等之信頭1 〇 1 ,規定音色等之音源參數 1 0 2,及規定樂音波形之波形資料部1 0 3。藉此可正 確模倣以各種原理動作之各種音源。 ② 因本實施例在音源暫存器寫有各事件之「發生時刻 」因此可藉此使運算處理時間之延遲均一。 D變形例 本發明不限定如上述實施例,舉例言之,可以有下列 各種變形。 ① 上述實施例之音源驅動器,擬似音源,音源模組等 係在以演奏資訊等指定時,從硬碟3讀進R Α Μ 1 1 。惟 ,其中之使用較頻繁之檔案,可以不論是否被指定,預先 讀進在RAMI 1內。藉此可減少,指定資訊檔案後,將 音源驅動器等之檔案從硬碟3讀進來之多餘時間。 ② 音源模組3 1〜3 3之運算法可以按擬似音源4 1 〜4 5之類別變更之。例如,F Μ音源模組3 2之運算法 數係「6」,但如果欲模倣之音源LSI之運算法數爲「 4」時,也可以將FM音源模組3 2之運算法數縮小爲「 4」。同樣地,若以PCM音源模組31模倣之音源 L S I不具有過濾處理機能時,也可以從音源模組3 1刪 除過濾處理機能。 ③ 上述實施例係在步驟S P 8 3叫出擬似音源S P ( 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)Oij〇dd3 _ B7 V. Description of the invention (24) In the tone selection table section 3 Ο 2, a list of selectable tones is listed, and the currently selected tones are displayed in reverse. The illustrated example selects "3 Electric Grand Piano" for part "1". In addition, the number added to each tone name is called the tone number. At this time, if you hit the part that displays the name of another tone, the part of the other tone will be reversed, and the original part will return to the normal display situation (this state is called "temporary selection") ° To change the part other than "1" When playing a timbre, tap the desired part number (“1” to “16”) in the corresponding index part 301 with the mouse, and the timbre selection table part 3 0 2 of the selected part can be displayed in the timbre selection window 3 0 0. In this way, if the cancel button 3 0 4 is tapped after proper selection of the tone, the interior of the temporary selection will be cancelled. On the other hand, if the OK button 3 0 3 is tapped with a mouse, the processing shown in Fig. 6 (C) is executed for each part. That is, the tone number tn (" system "1" ~ "16") of each part is changed to the tone number temporarily selected. Corresponding to the newly selected tone number t η, the sound source parameter section 110 and the waveform data section 120 are updated. After finishing the above processing, the processing returns to the main ring. In the future, the formation of music data will be performed according to the newly selected sound source parameters. ③Start event processing When you hit the regeneration button 2 0 3 with the mouse on the window 2 0 0, after the flag RUN is set to " ^ 1〃, the process returns to the main ring. Secondly, in Figure 5 'When the processing advances to step SP6, it is judged as "YES", and the processing paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210 X 297 mm) -------.- -r ------- ΪΤ ------- ^ (please read the precautions before filling in this page) Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs Printed 27-Central Standard Falcon Bureau of the Ministry of Economic Affairs Employee consumption cooperation Du printed A7 B7 V. Description of invention (25) Proceed to step SP7. Here, it is judged whether or not the time of the next event within the sequence data 1 0 4 where performance information is generated has been reached. But for the events before the sequence data 104, the constant judgment is "Y E S". When the processing advances to step SP 8, event processing of the preceding event is performed. Furthermore, the content of this event processing is the same as the step S P 3 (processing of the input M I D I signal) previously described. For example, when the preceding event is a note ON, the processing shown in (a) and (b) of Figure 7 is performed. Next, when the process proceeds to step SP9, the time limit for the next event to occur is determined based on the period after the previous event (duration). The processing returns to the main ring. Thereafter, whenever step SP7 processing is performed in the main loop, it is determined whether the present time has reached the previously set time limit. When the current time has reached the above time limit, the process proceeds to step SP8, and event processing of the time limit is performed. ④Stop / Pause / Fast Forward / Fast Rewind event processing: Use mouse to hit the pause button 2 0 5 or stop button 206 on the window 2 0 0 'After the flag RUN is set to ♦ 〇〃, processing returns to the main ring. Therefore, there will be no processing from steps SP 7 to SP 9 in the future, so the automatic performance based on the performance information in the system is stopped, and only the performance based on the external MIDI data is performed. At the same time, if you tap the fast forward button 2 0 8 with your mouse, you will quickly skip the sequential data. When the rewind button 2 0 7 is tapped, the sequence data 1 0 4 is skipped in the opposite direction. 1111 counties ((:) ^) 44 tests (21 () \ 297 public envy) used in this paper ruler '~ -28----- Γ-,-Τ1 养 ------- Order ------- \ (please read the precautions on the back before filling in this page) Employee Consumer Cooperation of the Central Bureau of Standards of the Ministry of Economic Affairs Du Print 3009ij3 at B7 5. Description of the invention (26) Effect of the C embodiment ① This The performance information of the embodiment includes not only sequence data 1 ο 4, but also letterheads 1 〇1 of a specific sound source, etc., a sound source parameter 102 specifying a timbre, etc., and a waveform data section 103 specifying a musical tone waveform. This can accurately imitate various sound sources operating on various principles. ② Since the "time of occurrence" of each event is written in the sound source register in this embodiment, the delay of the calculation processing time can be made uniform by this. D Modification Examples The invention is not limited As in the above embodiment, for example, the following variations are possible: ① The sound source driver, pseudo sound source, sound source module, etc. of the above embodiment are read from the hard disk 3 into R Α Μ 1 1 when specified by performance information, etc. However, the files that are used more frequently can be read into RAMI 1 in advance regardless of whether they are designated or not. This can reduce the extra time required to read files such as the audio source drive from the hard disk 3 after specifying the information file. ② The algorithm of the audio source module 3 1 ~ 3 3 can be changed according to the category of the pseudo audio source 4 1 ~ 4 5 For example, the arithmetic number of the FM sound source module 3 2 is “6”, but if the arithmetic number of the sound source LSI to be imitated is “4”, you can also change the arithmetic number of the FM sound source module 3 2 Reduced to "4." Similarly, if the sound source LSI emulated by the PCM sound source module 31 does not have a filter processing function, the filter processing function can also be deleted from the sound source module 31. ③ The above-mentioned embodiment is at step SP 8 3 Call out the sound-like sound source SP (This paper standard applies to the Chinese National Standard (CNS) A4 specification (210X297mm)
(請先閱讀背面之注意事項再填寫本I 装- 、-=* -29 - 經濟部中央標準局員工消費合作社印製 3⑽以3 A7 _ _B7__ 五、發明説明(27 ) b),音源暫存器部140內之資料被變換成音源模組控 制用之資料。以一般之方式說明之,則,此變換後之資料 係供給第3層之音源模組31〜33,縱使應模倣之電子 樂器或音源之種類不相同,只要音源之方式(P CM方式 ,FM方式等)共同,則具有共同之形式。 因此,音源模組控制用之資料(以下簡稱基本資訊) 將成爲按每一音源方式共用之汎用性很高之資料。因此, 也可以介由此基本資訊變換多數電子樂器之演奏資訊。亦 即,也可以將上述實施例之樂音再生系統當作變換器。玆 舉將某電子樂器(第1電子樂器)之演奏資訊(第1演奏 資訊)變換成其他電子樂器(第2電子樂器)之演奏資訊 (第2演奏資訊)時之情形爲一例,說明如下。 首先,第1演奏資訊具有第3圖(a )所示之檔案形 式,藉與上述實施例同樣之方法變換成基本資訊。其次, 進行與上述實施例相反之處理,將基本資訊變換成第2演 奏資訊。採用這種變換方式時,只要對各電子樂器確立該 電子樂器固有之演奏資訊與基本資訊間之變換方法。藉此 可與其他多數電子樂器之間進行演奏資訊之變換。 ④同時在上述實施例,係將作成之基本資訊直接用來 形成樂音波形,但亦可在這之前,藉輸入裝置1之操作, 適宜編輯基本資訊。藉此可超越原來之(應模倣之)機型 之硬體限制,形成更爲多彩之樂音波形。 如以上所說明,依據申請專利範圍第1項所述之架構 時,因爲使用裝置資訊形成樂音波形,因此可在一個電子 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X297公嫠) -----------γ 装^-------訂-------^ (請先閱讀背面之注意事項再填寫本頁) -30 - 經濟部中央橾準局員工消費合作社印製 A7 B7 五、發明説明(28) 樂器’以非常近似其他電子樂器之狀態再生演奏資訊。而 且’由於適宜設定裝置資訊,能夠以一個運算裝置產生與 多數機型分別等效特性之樂音。 同時,依據申請專利範圍第2項所述之架構時,因爲 是模擬被指示之電子樂器之音源部之動作形成樂音波形, 因此與申請專利範圍第1項一樣,能夠在一個電子樂器, 以非常接近其他電子樂器之狀態,再生演奏資訊。 同時,依據申請專利範圍第3項所述之架構時,因爲 是模擬控制所指示之電子樂器之音源部之處理機之控制動 作,因此可對應各種處理機形成樂音波形。 同時,依據申請專利範圍第4項所述之架構時,因爲 是模擬以所指示之電子樂器之音源部記憶多數控制參數之 控制暫存器之動作,因此多數電子樂器可共同使用處理對 應控制暫存器內容之處理。同時,依據申請專利範圍第5 項之架構時,因爲是模擬所指示之電子樂器之音源部之樂 音形成原理,因此可正確模擬以各種原理動作之電子樂器 。同時,依據申請專利範圍第6項所述之架構時,因爲是 以單一運算器模擬多種電子樂器之音源部之動作,因此能 以廉價之架構模擬多數電子樂器。 同時,依據申請專利範圍第7項所述之架構時,因爲 是依據第1電子樂器之音源部之架構,將第1音色資訊變 換成基本音色資訊,因此可將假定特定機型作成之演奏資 訊變換成汎用性很高之演奏資訊。同時,依據申請專利範 圍第8項所述之架構時,因爲是將基本音色資訊變換成第 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) ----T------(装------訂------- ^ (請先閱讀背面之注意事項再填寫本頁) 31 Α7 300⑽ Β7 五、發明説明(29 ) (請先閱讀背面之注意事項^填寫本頁) 2電子樂器之音色資訊之第2音色資訊,因此能夠以其他 機型忠實再現假定特定機型作成之演奏資訊。而且,依據 申請專利範圍第9項所述之架構時,因爲是變更基本音色 資訊之數值,因此可超越特定機型之限制,形成多彩之樂 音波形。 七 圖式之簡單說明 第1圖係表示本發明實施例之樂音再生系統之架構之 方塊圖。 第2圖係本發明實施例之層次架構圖。 第3圖係表示本發明實施例之資料形式之圖》 第4圖係表示本發明實施例之顯示器2之顯示例子之 圖。 第5圖係本發明實施例之控制程式之流程圖。 第6圖係本發明實施例之控制程式之流程圖。 第7圖係本發明實施例之控制程式之流程圖。 第8圖係本發明實施例之控制程式之流程圖。 經濟部中央標準局員工消費合作社印製 第9圖係本發明實施例之定時圖。 本紙張尺度適用中國國家梯準(CNS ) A4規格(210X297公釐)(Please read the precautions on the back first and then fill out this package.-,-= * -29-Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 3⑽ 3 A7 _ _B7__ 5. Description of the invention (27) b) The data in the device part 140 is converted into data for controlling the sound source module. In a general way, the converted data is supplied to the sound source modules 31 to 33 of the third layer, even if the types of electronic musical instruments or sound sources to be imitated are different, as long as the sound source mode (P CM mode, FM Ways, etc.) in common, they have a common form. Therefore, the data for audio source module control (hereinafter referred to as basic information) will become highly versatile data shared by each audio source. Therefore, the basic information can also be used to transform the performance information of most electronic musical instruments. That is, the tone reproduction system of the above embodiment can also be used as an inverter. Here is an example when the performance information (first performance information) of an electronic musical instrument (first electronic musical instrument) is converted into performance information (second performance information) of another electronic musical instrument (second electronic musical instrument), as described below. First, the first performance information has the file format shown in FIG. 3 (a), and is converted into basic information by the same method as the above embodiment. Next, the reverse processing to the above embodiment is performed to convert the basic information into the second performance information. When this conversion method is adopted, it is only necessary to establish a conversion method between the performance information and the basic information inherent in the electronic musical instrument for each electronic musical instrument. This can be used to transform performance information with most other electronic musical instruments. ④ At the same time, in the above embodiment, the basic information created is used directly to form a musical tone waveform, but it is also possible to edit the basic information by the operation of the input device 1 before then. This can exceed the hardware limitations of the original (should be imitated) models and form a more colorful musical waveform. As explained above, according to the structure described in item 1 of the patent application scope, because the device information is used to form a musical tone waveform, it can be applied to the Chinese National Standard (CNS) A4 specification (210 X297 public daughter) at an electronic copy paper scale- ---------- γ Installed ^ ------- Subscribe ------- ^ (Please read the notes on the back before filling this page) -30-Central Ministry of Economic Affairs A7 B7 printed by the Bureau Staff Consumer Cooperative V. Description of the invention (28) The musical instrument 'reproduces performance information in a state very similar to other electronic musical instruments. And 'due to the appropriate setting of device information, it is possible to use one computing device to generate musical sounds with characteristics equivalent to those of most models. At the same time, according to the structure described in item 2 of the patent application scope, because the movement of the sound source part of the indicated electronic musical instrument is simulated to form a musical tone waveform, it can be used in an electronic musical instrument as Regenerate performance information close to other electronic musical instruments. At the same time, according to the architecture described in item 3 of the patent application scope, since it is the control operation of the processor of the sound source part of the electronic musical instrument indicated by the analog control, it can form a musical tone waveform corresponding to various processors. At the same time, according to the structure described in item 4 of the patent application scope, because it simulates the operation of the control register that memorizes most control parameters with the indicated sound source of the electronic musical instrument, most electronic musical instruments can be used together to process corresponding control Processing of memory contents. At the same time, according to the structure of item 5 of the patent application scope, because it is the principle of the sound formation of the sound source part of the electronic musical instrument indicated by the simulation, it is possible to correctly simulate the electronic musical instrument that operates on various principles. At the same time, according to the architecture described in item 6 of the patent application scope, because a single arithmetic unit simulates the actions of the sound source parts of various electronic musical instruments, it is possible to simulate most electronic musical instruments with an inexpensive architecture. At the same time, according to the structure described in item 7 of the patent application scope, because the structure of the sound source part of the first electronic musical instrument is used to convert the first timbre information into basic timbre information, the performance information made by assuming a specific model Transform into highly versatile performance information. At the same time, according to the structure described in item 8 of the patent application scope, because the basic tone information is converted to the first paper standard, the Chinese National Standard (CNS) A4 specification (210X 297 mm) is applied ---- T --- --- (install ------ order ------- ^ (please read the precautions on the back and then fill in this page) 31 Α7 300⑽ Β7 5. Description of invention (29) (please read the back Note ^ fill in this page) 2 The second tone information of the electronic instrument's tone information, so it can faithfully reproduce the performance information made by a specific model with other models. Moreover, according to the structure described in item 9 of the patent application scope Because the value of the basic timbre information is changed, it can exceed the limitations of specific models and form colorful musical waveforms. Brief description of the seven figures Figure 1 is a block diagram showing the architecture of the musical tone reproduction system according to an embodiment of the present invention. Fig. 2 is a hierarchical structure diagram of an embodiment of the present invention. Fig. 3 is a diagram showing a data form of an embodiment of the present invention. Fig. 4 is a diagram showing a display example of the display 2 of the embodiment of the present invention. Fig. 5 The control program of the embodiment of the present invention Fig. 6 is a flowchart of the control program of the embodiment of the present invention. Fig. 7 is a flowchart of the control program of the embodiment of the present invention. Fig. 8 is a flowchart of the control program of the embodiment of the present invention. Figure 9 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs is a timing chart of an embodiment of the present invention. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm)