TW312776B - - Google Patents

Download PDF

Info

Publication number
TW312776B
TW312776B TW85102189A TW85102189A TW312776B TW 312776 B TW312776 B TW 312776B TW 85102189 A TW85102189 A TW 85102189A TW 85102189 A TW85102189 A TW 85102189A TW 312776 B TW312776 B TW 312776B
Authority
TW
Taiwan
Prior art keywords
tone
data
musical
processing
aforementioned
Prior art date
Application number
TW85102189A
Other languages
Chinese (zh)
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP8024747A external-priority patent/JP2962217B2/en
Application filed by Yamaha Corp filed Critical Yamaha Corp
Application granted granted Critical
Publication of TW312776B publication Critical patent/TW312776B/zh

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

312776 A7 __ _B7_ 五、發明説明(1 ) 〔發明所屬之技術領域〕 本發明係属產生樂音資料的技術領域,尤其是關於可 適用於CPU等泛用之運算處理裝置中進行樂音產生處理的 裝置及方法。 〔習知技術〕 在今日的電子樂器中,廣泛以微處理進行樂音之產生 處理(同時包含在利用樂音產生處理所產生的樂音上附加 之處理時)。而作爲上述的微處理程序一般是採用對應樂 音產生方式(例如波形記憶方式或FM合成方式等)之電路 構成專用硬體(例如音源LSI或DSP (液晶信號程式)等) 的設計。 經濟部中央標準局員工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 但是,近年來隨著CPU運算能力的提昇,在搭載於泛 用電腦或專用之樂音產生裝置的CPU中,進行樂音產生處 理的裝置開始問市。在此以CPU音源或軟體音源來稱呼上 述之樂音產生裝置或樂音產生方法,而相對於此,使用專 用硬體之習知所成的樂音產生裝置或樂音產生方法則稱之 爲硬體音源。 〔發明所欲解決之問題〕 軟體音源中,CPU不僅是樂音產生處理之用且必須平 行進行其他種種的處理。因此,在使用泛用電腦實現軟體 音源時,爲了不爲其他處理影響而確保樂音產生處理的進 行時,除了具有多任務功能之0S (操作系統)(例如 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)· 4 - 經濟部中央標準局貝工消費合作社印製 312776 A7 ___B7_ 五、發明説明(2 ) MICRO公司製之Windows95(商槺)等)以外須可進行樂 音產生處理者。 但是,不具備完全之多任務功能的0S (例如MICRO公 司製之Windows3.1 (商棋)等)廣泛普及,因而迫切存有 在上述0S上也可進行樂音產生處理的需要。惟,在上述0S 上會因爲其他處理的影響而造成樂音產生處理進行上的延 遲,其結果會產生發聲上的障礙。 本發明有鑑於上述問題,提供一種利用不具備完全多 任務功能之0S在進行樂音產生處理時,也不會造成發聲 障礙的軟體音源方式之樂音產生裝置及樂音產生方法者。 〔解決問題的方法〕 本發明之第1樂音產生裝置具備供應演奏資訊之供應 裝置,及在預定時間內可複數次起動前述演-奏資訊之樂音 產生處理的起動裝置,及藉前述起動裝置進行起動樂音產 生裝置之樂音產生裝置,及前述起動裝置僅利用實際起動 前述樂音產生處理的機會中,具備可進行前述樂音產生裝 置所實行之樂音產生處理的調整使其在預定時間內產生一 般預定樣品數置之樂音資料的調整裝置。 又,本發明之第1樂音產生方法是根據所供應之演奏 資訊在泛用之運算處理裝置中進行樂音產生處理的樂音產 生方法,使樂音產生處理在預定時間內複數次起動之第1 步驟,及僅以前述第1步騍中樂音產生處理之實際起動的 機會,爲了在前述預定時間內產生一般預定樣品數置之樂 本紙張尺度適用中國國家標準(CNS)A4規格(210X297公釐)· 5 _ 丨丨------^ _裝------訂-----认球 (請先閲讀背面之注意事項再填寫本頁) 312776 A7 ____B7_ 五、發明説明(3 ) 音資料而進行前述樂音產生處理的調整之第2步蹂,及根 據前述第2步踝的調整進行前述第1步騄起動之樂音產生 處理的第3步驟。 軟體音源中在每一預定時間內產生預定樣品數量之樂 音資料,其可使該預定樣品數置的樂音資料同時再現者。 如上述之軟體音源爲,一般再各個預定的時間內,可僅藉 一次的時間完全起動產生該預定數樣品置的樂音資料之樂 音產生處理。但是,不具備完全多任務功能的0S會由於其 他處理而造成在其時間內未能起動樂音產生處理或延遲起 動等,因此不能在該預定時間內完成樂音資料的產生造成 發聲時的障礙。 相對於此,第1之樂音產生裝置及樂音產生方法係於 上述之軟體音源中,在上述預定時間內複數次設定起動樂 音產生處理的機會,於該等複數次之機會中數次處理未能 起動時,仍可藉由起動處理的機會,在上述預定時間內完 成上述預定數樣品量之樂音資料的產生。而可藉以防止發 聲障礙事態的發生。 經濟部中央標準局貝工消費合作社印聚 (請先閱讀背面之注意事項再填寫本頁) 再者,一旦未起動的處理時間增加時,僅利用實際起 動處理的機會對於分配樂音產生處理的全部發聲頻道不能 在上述預定時間內產生上述預定樣品數量的樂音資料。因 此上述的場合裏,第1樂音產生裝置及樂音產生方法中, 可藉著減少產生樂音資料之發聲頻道數,可確保前述預定 樣品數量之發聲資料的產生。 其次,本發明之第2樂音產生裝置具備將供應演奏資 本紙張尺度適用中國國家標準(CNS)A4规格(210X297公釐)-6 - 312776 A7 B7 五、發明説明(4 ) 訊之供應裝置及根據前述演奏資訊之樂音產生裝置分配在 未使用的發聲頻道時,收納於控制該處理之參數的第1暫 存器,及形成使用中之前述發聲頻道上分配依其他前述演 奏資訊之新的樂音產生處理時可收納控制該處理的參數之 第2暫存器,及在開始前述新的樂音產生處理的時間爲止 ,選擇前述第1暫存器,並在該時間之後選擇前述第2暫 存器來代替前述第1暫存器之選擇裝置,及使用前述選擇 裝置所選擇之暫存器進行前述發聲頻道之樂音資料的產生 之樂音產生裝置爲特徴者。 又,本發明之第2樂音產生方法是根據所供應之演奏 賫訊在泛用之運算處理裝置中進行樂音產生處理的樂音產 生方法中,其特徵爲:包含將樂音產生處理分配於未使用 的發聲頻道中,可使控制該處理的參數收納於第1暫存器 之第1步驟,及形成使用中之前述發聲頻道中重新分配樂 音產生處理,並將控制該處理之參數收納在與前述第.1暫 存器另外設置之第2暫存器上的第2步驟,及開始前述新 的樂音產生處理的時間爲止,選擇前述第1暫存器而在該 時間之後可選擇前述第2暫存器來代替前述第1暫存器之 第3步驟,及使用前述第3步騍選擇選擇之暂存器進行前 述發聲頻道之樂音資料的產生之第4步驟。 在軟體音源中,由於其他處理未能起動樂音產生處理 以f延遲起動時,會使演奏資訊供應以女以致根據其演奏 資訊開始樂音處理的時間增長。因此,分配樂音產生處理 大部份的發聲頻道會在收納控制樂苷產生處理的參數之暫 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐)_ 7 ---------{—裝------訂-----i踩 - (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印製 經濟部中央標準局員工消費合作社印褽 A7 _______B7_ 五、發明説明(5 ) 存器內收納參數的狀態下,或者會發生未開始樂音產生處 理的狀態。在以上的狀態下將新供應的演奏資訊之樂音產 生處理分配於使用中的發聲頻道時,由於該等發聲頻道的 樂音產生處理完成爲止之較長時間,形成不能將控制新的 樂音產生處理之參數收納在暫存器內(即,不能在該等發 聲頻道內準備新的樂音產生處理)。並且,在其間即使起 動樂音產生處理時,仍不能進行該等發聲頻道之新的樂音 產生處理,因此更會造成樂音資料產生的延遲。 相對於此,第2的樂音產生裝e及樂音產生方法爲, 即使在現在使用中的發聲頻道內分配新的樂音產生處理時 ,可確保使用第1暫存器的該等發聲頻道之現在樂音產生 處理的進行,並可在第2暫存器內立即準備該等發聲頻道 之新的樂音產生處理。因此,可防止因樂音產生處理準備 而導致樂音資料產生延遽的發生。 其次,本發明之第3樂音產生裝置之特徵爲:具備提 供演奏資訊之供應裝置;分別寫入樂音資料之複數個输出 緩衝器:先進行樂音產生處理,可預約前述複數個輸出緩 衝器中一部份輸出緩衝器再現的預約裝置;根據前述演奏 資訊產生樂音資料,並可將產生的樂音資料寫入前述複數 個输出緩衝器中剩餘的任一输出緩衝器內預約該输出緩衝 器再現之樂音產生裝置:及,根據再現預約的順序進行前 述输出緩衝器的讀出之再現裝e者。 又,本發明之第3樂音產生方法是根據所供應之演奏 資訊在泛用的運算處理裝置中,包含將分別寫入樂音資料 本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐_)_ 8 _ ~ II------f -裝------訂-----{脒 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 312776 A7 ___B7 五、發明説明(6 ) 之1或者複數個输出緩衝器的再現,較樂音產生處理先進 行而預約的第1步驟:產生樂苷資料,並將產生樂音資料 在前述第1步驟的再現寫入預約之输出緩衝器以外的輸出 緩衢器內,可預約該输出緩衝器的再現之第2步驟;及, 以前述第1步驟及前述第2步騄依再現預約的順序進行讀 出前述緩衝器控制之第3步踝。 軟體音源中,在某預定時間內起動之樂音產生處理因 其他處理的影響而在該預定時間經過後起動時,會發生樂 音再現的延遲,造成發聲障等。 相對於此,第3樂音產生裝e及樂音產生方法即使在 樂音產生處理預定時間內未能起動時,只須在先進行再現 預約之緩衝器的讀出全部完成之前起動該等樂音產生處理 預約输出緩衝器的再現,即可消除樂音再現的聲音中斷。 因此可擴充不會產生聲音中斷的樂音產生處理起動延遲的 容許範圍。 其次,本赛發明之第4樂音產生裝置爲備,提供演奏 資訊之供應裝e;寫入樂音資料之輸出緩衝器:根據前述 演奏資訊產生樂音資料,將產生樂音資料寫入前述輸出緩 衝器內,並預約該輸出緩衝器的再現之樂音產生裝置;依 預約再現之順序進行前述輸出緩衝器讀出之再現裝置;及 ,在育前述預定時間內未將輸出緩衝器的再現預約在前述 再現裝置中之時,可使前述樂音產生裝置現在爲止完成產 生之樂音的產生中斷,並將以後開始產生的樂音資料的產 生重新在前述樂音產生裝置上開始的更新裝置。 本紙張尺度適用中國國家標準(CNS ) A4規格(210'〆297公釐)· g _ ---------ί I裝------訂------ί抓 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印製 A7 _______B7_ 五、發明説明(7 ) 又,本發明之第4樂苷產生方法爲,包含可根據提供 的演奏資訊在泛用之運算處理裝置上進行樂音產生處理的 樂音產生方法,其特徴爲:包含產生樂音資料,將產生的 樂音資料寫入输出緩衝器內並預約該輸出緩衝器的再現之 第1步驟;依前述第1步驟預約再現的順序進行讀出前述 輸出緩衝器的控制之第2步驟;及,在預定時間內未預約 輸出緩衝器的再現時,使現在爲止產生完成之樂音資料的 產生中斷,重新開始以後產生之樂音資料產生的第3步驟 0 根據該第4樂音產生裝®及樂音產生方法,在預定時 間內未能預約輸出緩衝器的再現時,藉著樂音產生處理的 更新,即使爲能即時預約而暫時造成樂音的混亂時,可即 刻恢復簪定之樂音產生動作,而可將噪音抑制在最小限內 Ο 其次,本發明之第5樂音產生裝置,其特徵爲:具備 提供演奏資訊之供應裝置;將根據前述的樂音產生處理可 在預定時間內進行複數次起動之起動裝置;進行前述起動 裝置起動樂音產生處理之樂音產生裝e ;及,前述起動裝 置在前述樂音產生處理起動時,以對應各起動時刻之樣品 數爲目檫値控制使該樂音產生處理所產生的樂音資料樣品 數隨著該目棋値之控制裝制者。 又,本發明之第5樂音產生方法爲根據提供的演奏資 訊在泛用之運算處理裝置上進行樂音產生處理之樂音產生 方法中,其特徴爲:包含在預定時間內可複數次起動樂音 本紙張尺度適用中國國家標準(CNS ) Α4規格(210 X 297公釐)_ J 〇 - ---------{—裝-------訂-----踩 V (請先閲讀背面之注意事項再填寫本頁) A7 312776 _______B7_ 五、發明説明(8 ) 產生處理之第1步驟;以前述第1步驟起動樂音產生處理 時,以對應各起動時刻之樣品數爲目標値,控制使該樂音 產生處理產生的樂音資料資料樣品數隨著該目標値之第2 步驟:及,使前述第1步驟起動之樂音產生處理依據前述 第2步騍的控制進行之第3步驟。 根據上述第5樂音產生裝置及樂音產生方法爲,在每 起動樂音產生處理的機會裏,以對應其起動時刻樣品數爲 目檩値進行產生樂音資料的控制,藉此可僅以起動處理的 機會完成樂音資料的產生。此一目標値亦可設定爲在預定 時間內完成預定樣品數的樂音資料產生而作爲上述第1樂 音產生裝置及樂音產生方法之値,但不僅限定於上述之値 。即,尤其如上述第3樂音產生裝置及樂音產生方法,先 進行樂音產生處理再現預約输出緩衝器時,在預定時間內 即使未完成預定樣品數之樂音資料的產生時仍可將此目檩 値設定爲可在隨後預定時間內補充完成其未產生的樂音賫 料之値。即,在不使聲深中斷之樂音產生處理的起動時間 延遲的容許範圍內設定可完成預定樣品數之樂音資料的產 生値。 再者,該樂音資料產生之控制的具體方法爲,在樂音 產生處理延遲時,將其次起動時產生樣品數延遲量的樂音 資料全部加上而恢復其延遲,或將隨後之各起動時的產生 樣品數分別增加一定數而恢復其延遲,或將隨後之各起動 時的產生樣品數分別增加延遲置之樂音資料的比例量而恢 復其延遢等。 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐X- —I.------ί I裝------訂------{抹 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印製 A7 A7 經濟部中央標準局負工消費合作社印聚 B7 五、發明説明(9 ) 〔發明之實施形態〕 參閱圓式詳細說明本發明之實施形態如下。 圚1係採用本發明之軟髖音源方式之電腦音樂系統之 整雔構成方塊圖。該電腦音樂系統係於個人電腦之CPU3中 進行樂音產生處理。 CPU3係藉由資料及位址匯流排6連接有MIDI之介面1 、定時器 2、R 0 M (R e a d Ο η 1 y M e m 〇 r y ) 4、R A M (R a d 〇 m A c-cess Memory)5、滑鼠7、鍵盤8、顯示器裝置10、及 DMA(Direct Memory Access)控制器 11。 DMA控制器11係將利用樂音產生處理進行產生並寫入 RAM5內之輸出緩衝器的樂音資料與DAC ( Digital/analog 轉換器〉12的再現樣品時間同步而以各個樣品之直接記憶 體存取的方式從输出緩衝器讀出而進行傅输541 DAC 12的處 理(再現處理)。在DAC12類比轉換之樂音資料被送至音 樂系統13而自該系統13發出音響者。 在硬體裝置10內的硬碟中除了 0S (此係使用MICRO公 司製之Wind〇ffs3.1(商檩))或稱爲公用軟體的軟體之外 ,更記錄可實現軟體音源的軟體,及複數種類音色之1或 複數個頻率數的波形資料。 圖2爲表示實現軟體音源之軟體構造之一例示圇。該 軟體是以降低程式之複雜化爲目的,而以獨立的程式最小 單位(模式)複合體呈層次之構成者。最上位層次之「序 列程式」爲作成MID丨信息之模式。具體而言,「序列程式 」係可以採取硬用軟體(例如,序列軟體或遊戲軟體或卡 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐X - --------f -裝------訂-----上抹 (請先閱讀背面之注意事項再填寫本頁) 12776 A7 __B7_ 五、發明説明(10 ) 拉0K軟體等)形態。 SMMIDIoutAP丨係於模式間以進行資訊接收之軟體音源 而準備之介面(應用程式介面)的一種。 下位層次之「SGM-AP」係根據經由「序列程式」SGM MIDI out API的產生而提供MIDI信息之樂音資料的程式。 如圖3所示「SGM-ΑΡ」是藉由「MIDI输出驅動部」與「音 源部(發動部)」等兩模式所構成。「MIDI输出驅動部j 爲驅動「音源部」用模式,其可對應MIDI信息將聲音資料 轉換爲「音源部」控制用控制參數。該控制參數係經由模 式間的介面之SGMenginAPI送至「音源部」。又,當「 MIDI輸出驅動部」在初始化時,將波形資料載入檔內經由 en gineAPI送至「音源部」。「音源部」可根據此一控 制參數利用波形資料產生樂音資料。 回到圇2 ,WAVEoutAPI係使用Window3.1(商標)之 AP I的一種。 經濟部中夬標準局負工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 「輸出裝置」係經由WAVEoutAPI將「SGM-ΑΡ」所提供 之樂音資料傳送至DAC12的模式。如前述,此一重腦音樂 系統係形成DAM控制器11以直接記憶體存取的方式將樂音 資料傳送至DAC12 。因此,「輸出裝置」在CPU3的控制下 ,進行DMA控制器11的中斷處理。 其次,參閱圖4說明圈2所示以軟體進行處理一例之 概要圖。一旦起動「序列程式」時,開始供應MIDI信息。 起動「MIDI输出驅動器」,並對應各MIDI信息使聲音賫料 轉換爲控制參數,將其控制參數等收納於中斷該等MIDI信 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐:L 13 - 經濟部中央橾準局員工消費合作社印製 A7 B7 五、發明説明(11 ) 息的發聲頻道用音源暫存器內。 「音源部」在各個預定時間長度的區間(區段稱之) 起動,並根據各個參數進行其各別前區段內所供應的MIDI 信息之樂音產生處理(例如,圇4所示在時刻T 2至T3爲止 的區段內進行時刻T1至T2爲止區段內所供應MIDI信息的樂 音處理)。樂音處理之一例係於波形記憶體方式之樂音產 生處理中,在分配發聲的各個頻道中依收納於該等發聲頻 道用音源暫存器內控制參數的節距從RAM5讀出波形資料, 根據控制參數在其波形資料上進行音色控制(抽選運算) ,及音量控制(音量波封資料的乘法),及節距、音色或 音量等調變控制,藉此產生各發聲頻道之預定樣品量的樂 音資料。並且,累加各發聲頻道之樂音資料,將累加之樂 音資料(或者,將效果附加在累加的樂音資料內,其樂音 資料)寫入RAM5內之輸出緩衝器。並在「輸出裝置」中預 約其輸出緩衝器的再現。 「輸出裝置」係於各區段內分別在前一區段內藉「音 源部」從再現預約之輸出緩衝器分別讀出1樣品之樂音資 料而傳送至DAC12 (例如,寫入時刻T2至T3區段間所產生 之樂音資料,並在時刻T3與T4區段內從再現預約之输出緩 衝器內讀出樂音資料)。 如上述之軟體中,一但起動「序列程式」時,根據 Ml DI信息供應之「MID丨输出驅動部」的起動是以即時進 行者。又,「輸出裝®」是作爲DMA控制器11的中斷處理 而予以强制起動,因此不會造成時間上的延遲。相對於此312776 A7 __ _B7_ V. Description of the invention (1) [Technical field to which the invention belongs] The present invention belongs to the technical field of generating musical sound data, and in particular relates to a device that can be applied to a general-purpose arithmetic processing device such as a CPU to perform musical sound generating processing and method. [Known Techniques] In today's electronic musical instruments, micro-processing is widely used to perform tone generation processing (including processing added to tone generated by tone generation processing). As the above-mentioned micro-processing program, it is generally designed to use circuits corresponding to the sound generation method (such as waveform memory method or FM synthesis method, etc.) to form dedicated hardware (such as sound source LSI or DSP (liquid crystal signal program), etc.). 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 in this page). However, in recent years, with the improvement of the computing power of the CPU, it has been installed in a CPU installed in a general-purpose computer or a dedicated music generator , The device that performs the tone generation process starts to ask the market. Here, the above-mentioned tone generating device or tone generating method is referred to as a CPU sound source or a software tone source. In contrast, a tone generating device or tone generating method that is formed using a conventional hardware is called a hardware tone source. [Problems to be Solved by the Invention] In the software sound source, the CPU is not only used for tone generation processing but also must perform other various processing in parallel. Therefore, when using a general-purpose computer to realize the software sound source, in order to ensure that the tone generation process is not affected by other processing effects, in addition to the multi-tasking 0S (operating system) (for example, this paper standard is applicable to the Chinese National Standard (CNS)) A4 specification (210X297 mm) · 4-Printed by Beigong Consumer Cooperative of Central Bureau of Standards, Ministry of Economic Affairs 312776 A7 ___B7_ V. Description of invention (2) Windows95 (Shangjie), etc. manufactured by MICRO must be able to produce music . However, 0S (for example, Windows 3.1 (Shangqi) manufactured by MICRO Co., Ltd.) that does not have complete multitasking functions is widely popularized. Therefore, there is an urgent need for tone generation processing on the above 0S. However, due to the influence of other processing, the above-mentioned 0S will cause delay in the process of tone generation processing, and as a result, there will be obstacles in vocalization. In view of the above-mentioned problems, the present invention provides a software sound source type music sound generation device and music sound generation method that does not cause a sound barrier when performing sound generation processing using 0S that does not have a fully multitasking function. [Method for Solving the Problem] The first musical tone generating device of the present invention includes a supply device for supplying performance information, and a starting device that can start the musical tone generating process of the performance-playing information multiple times within a predetermined time, and is performed by the starting device The tone generating device that activates the tone generating device, and the starting device only has an opportunity to actually activate the tone generating process, and has an adjustment that can perform the tone generating process performed by the tone generating device to generate a general predetermined sample within a predetermined time Adjusting device of digital music data. In addition, the first musical tone generating method of the present invention is a musical tone generating method that performs musical tone generating processing in a general-purpose arithmetic processing device based on supplied performance information, and a first step of starting the musical tone generating process a plurality of times within a predetermined time, And the opportunity to actually start only with the sound production process in the first step above, in order to produce a generally predetermined number of samples within the predetermined time, the paper standard of the China National Standard (CNS) A4 (210X297 mm) 5 _ 丨 丨 ------ ^ _Set ----- order ----- recognize the ball (please read the precautions on the back and then fill out this page) 312776 A7 ____B7_ V. Description of the invention (3) The second step of the adjustment of the musical tone generation processing is performed on the sound data, and the third step of the musical tone generation processing of the first step activation is performed according to the adjustment of the ankle of the second step. The software sound source generates music data of a predetermined number of samples in each predetermined time, which can simultaneously reproduce the music data of the predetermined number of samples. As mentioned above, the software sound source is generally such that the music generating process for generating the music data of the predetermined number of samples can be completely started only once in each predetermined time. However, an OS that does not have a fully multi-tasking function may not be able to start the tone generation process or delayed start within the time due to other processing. Therefore, the inability to complete the generation of the tone data within the predetermined time causes an obstacle to sound generation. In contrast to this, the first musical tone generating device and musical tone generating method are in the above-mentioned software sound source, and the opportunities for starting the musical tone generating process are set a plurality of times within the above-mentioned predetermined time. When starting, it is still possible to complete the generation of the musical data of the predetermined number of samples in the predetermined time by the opportunity of the start processing. It can be used to prevent the occurrence of dysphonia. Printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the precautions on the back before filling in this page) Furthermore, once the processing time of the non-activation increases, only the opportunity of actual activation processing will be used for all the processing of the distribution of tone generation The vocal channel cannot produce the above-mentioned predetermined number of musical data within the above-mentioned predetermined time. Therefore, in the above case, in the first tone generating device and tone generating method, by reducing the number of vocalization channels that generate tone data, the generation of vocalization data of the predetermined number of samples can be ensured. Secondly, the second tone generating device of the present invention has a supply device that adapts the performance capital paper standard to the Chinese National Standard (CNS) A4 specification (210X297 mm) -6-312776 A7 B7 V. Invention description (4) When the musical tone generating device of the performance information is allocated to an unused vocal channel, it is stored in the first register that controls the parameters of the process, and a new musical tone generated according to other musical performance information is allocated to the vocal channel in use. During processing, the second register that controls the parameters of the process can be stored, and before the time when the new tone generation process starts, select the first register, and select the second register after that time. Instead of the selection device of the first register, and the tone generating device that uses the register selected by the selection device to generate the tone data of the utterance channel is a special person. In addition, the second tone generation method of the present invention is a tone generation method that performs tone generation processing in a general-purpose arithmetic processing device based on supplied performance information, and is characterized by including distributing tone generation processing to unused In the vocalization channel, the parameters that control the processing can be stored in the first step of the first register, and the tone generation processing can be redistributed in the vocalization channel in use, and the parameters that control the processing can be stored in the first .1 The second step on the second register separately provided by the register and the time when the new tone generation process starts, select the first register and select the second register after that time To replace the third step of the aforementioned first register, and the fourth step of generating the musical tone data of the vocal channel using the register selected by the aforementioned third step. In the software sound source, when the other sound processing fails to start the tone generation processing, when the delay is started with f, the performance information is supplied to the female so that the time for starting the tone processing based on the performance information increases. Therefore, most of the vocalization channels for the distribution of musical tone generation and processing will contain the temporary paper size of the parameters that control the production and processing of glucosides. The Chinese National Standard (CNS) A4 specification (210X297 mm) is applicable _ 7 ------- -{— 装 ------ 定 ----- i step- (Please read the precautions on the back before filling out this page) Ministry of Economic Affairs Central Standards Bureau Bei Gong Consumer Cooperative Printed by the Ministry of Economics Central Standards Bureau employees Consumer Cooperative Printed A7 _______B7_ V. Description of the Invention (5) In the state where the parameters are stored in the memory, the state where the tone generation process has not been started may occur. When the tone generation processing of newly supplied performance information is allocated to the utterance channels in use in the above state, the control of the new tone generation processing cannot be performed due to the long time until the tone generation processing of these utterance channels is completed The parameters are stored in the temporary memory (that is, new tone generation processing cannot be prepared in these utterance channels). In addition, even when the tone generation process is started, the new tone generation process of these uttered channels cannot be performed, which may cause a delay in the generation of tone data. In contrast, the second tone generating device and the tone generating method are such that, even when a new tone generating process is assigned to the currently used utterance channel, the current tone of the utterance channel using the first register can be ensured The generation process is performed, and new tone generation processes for these vocal channels can be prepared immediately in the second register. Therefore, it is possible to prevent the occurrence of delays in the sound data due to preparation for the sound generation processing. Secondly, the third tone generating device of the present invention is characterized by having a supply device that provides performance information; a plurality of output buffers respectively written with tone data: performing tone generating processing first, and one of the plurality of output buffers can be reserved A reservation device for reproducing part of the output buffer; generating musical tone data based on the aforementioned performance information, and writing the generated musical tone data into any of the remaining output buffers in the plurality of output buffers to reserve the musical tone reproduced by the output buffer Generation device: and, a playback device that performs reading of the output buffer according to the order of playback reservation. In addition, the third musical tone generation method of the present invention is based on the supplied performance information in a general-purpose arithmetic processing device, which includes writing the musical tone data separately. The paper standard is applicable to the Chinese National Standard (CNS) A4 standard (210 X 297 public % _) _ 8 _ ~ II ------ f -installed ------ ordered ----- (脒 (please read the precautions on the back before filling out this page) Staff of Central Bureau of Standards, Ministry of Economic Affairs Printed by the consumer cooperative 312776 A7 ___B7 V. Description of invention (6) No. 1 or the reproduction of multiple output buffers, the first step to be reserved prior to the musical tone generation process: generating musical glycoside data, and generating musical tone data in the aforementioned The reproduction of the first step is written in an output buffer other than the output buffer reserved, and the second step of the reproduction of the output buffer can be reserved; and, the first step and the second step according to the reproduction reservation The ankle of the third step of the aforementioned buffer control is sequentially read out. In the software sound source, when the musical sound generation processing started within a predetermined time is started after the predetermined time elapses due to the influence of other processing, a delay in musical sound reproduction may occur, resulting in a sound barrier. On the other hand, even if the third tone generating device and the tone generating method cannot be started within the predetermined time of the tone generating process, it is only necessary to start the tone generating processing reservations before the reading of the buffer for the reproduction reservation is completed. The reproduction of the output buffer can eliminate the sound interruption of music reproduction. Therefore, it is possible to expand the allowable range of the delay in the start of the tone generation process without interruption of the sound. Secondly, the fourth musical tone generating device of the present invention is prepared to provide performance information supply equipment; output buffer for writing musical tone data: generating musical tone data based on the aforementioned musical performance information, and writing the generated musical tone data into the aforementioned output buffer , And reserve the tone generating device for the reproduction of the output buffer; the reproduction device that reads the output buffer in the order of reserved reproduction; and, does not reserve the reproduction of the output buffer in the reproduction device within the predetermined time At this time, it is possible to interrupt the generation of the generated musical sound by the musical tone generating device so far, and to update the generation of musical tone data that will be generated later on the musical tone generating device. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210'〆297mm) · g _ --------- ί I installed ------ ordered ------ ί grab (Please read the precautions on the back and then fill out this page) A7 _______B7_ printed by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs V. Description of the invention (7) Furthermore, the fourth method for producing glycosides of the present invention is, including The performance information of the performance information is processed on the general-purpose arithmetic processing device by the tone generation process. The special feature is: contains the generated tone data, writes the generated tone data into the output buffer and reserves the first Step 1. Perform the second step of reading the output buffer control in the order of the reserved playback in the first step; and, if the playback of the output buffer is not reserved within a predetermined time, make the completed music data so far. Interruption is generated, and the third step of the generation of the tone data generated after the restart is 0. According to the fourth tone generation device and the tone generation method, when the reproduction of the output buffer cannot be reserved within a predetermined time, the tone generation process Updating, even if the music tone is temporarily disrupted in order to be able to make an immediate appointment, the hairpin generating action of the hairpin can be restored immediately, and the noise can be suppressed to a minimum. Secondly, the fifth tone generating device of the present invention is characterized by: A supply device that provides performance information; a starter device that can be started a plurality of times within a predetermined time according to the aforementioned tone generating process; a tone generating device that performs the aforementioned starter device starting tone generating process; and, the aforementioned starting device generates the aforementioned tone When the process is started, the number of samples corresponding to each start time is used as a visual control, so that the number of musical data samples generated by the musical sound generation process is controlled by the control device of the visual value. In addition, the fifth tone generating method of the present invention is a tone generating method that performs tone generating processing on a general-purpose arithmetic processing device based on the provided performance information, and its characteristic is: includes a sheet of music book that can be started multiple times within a predetermined time The standard is applicable to China National Standard (CNS) Α4 specification (210 X 297 mm) _ J 〇- --------- {— 装 ------- 訂 ----- 這話 V (Please (Read the precautions on the back before filling in this page) A7 312776 _______B7_ V. Description of the invention (8) The first step of the generation process; when starting the musical tone generation process with the aforementioned first step, the number of samples corresponding to each starting time is the target value Controlling the number of samples of musical tone data generated by the musical tone generating process with the target value: second step: and, the musical tone generating process of starting the aforementioned first step is performed in accordance with the aforementioned second step control of the third step. According to the fifth tone generating device and tone generating method described above, in each opportunity for starting tone generating processing, the control of generating tone data is performed with the number of samples corresponding to its starting time as a value, whereby only the opportunity of starting processing can be used Complete the generation of music data. This target value can also be set to a value that completes a predetermined number of samples of music data within a predetermined time to serve as the value of the above-mentioned first tone generating device and tone generating method, but it is not limited to the above value. That is, in particular, as described above in the third tone generating device and tone generating method, when the tone generating process is first performed to reproduce the reserved output buffer, even if the generation of the tone data for a predetermined number of samples is not completed within a predetermined time, this item can still be changed. It is set to be able to supplement the music sounds that have not been produced within a predetermined time later. That is, the generation value of the musical sound data that can complete a predetermined number of samples is set within an allowable range that does not delay the start time of the musical sound generation processing that interrupts the sound depth. In addition, the specific method of controlling the generation of the musical sound data is to add all the musical sound data generated by the delay amount of the sample number at the time of the start to recover the delay when the sound generation processing is delayed, or to restore the generation at the subsequent start The number of samples is increased by a certain number to restore the delay, or the number of samples generated at each subsequent start is increased by the proportion of the delayed music data and the delay is restored. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm X-I .------ ί I installed ------ ordered ------ {wipe (please read the back side first Please pay attention to this page and then fill out this page.) A7 printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs A7 A7 Printed B7 printed by the negative work consumer cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs V. Description of the invention (9) [Implementation of invention] The embodiment of the present invention is described as follows. Chi 1 is a block diagram of the structure of a computer music system adopting the soft hip sound source method of the present invention. The computer music system is used in the CPU3 of a personal computer to perform tone generation processing. The CPU3 is used by Data and address bus 6 is connected with MIDI interface 1, timer 2, R 0 M (R ead Ο η 1 y M em 〇ry) 4, RAM (R ad 〇m A c-cess Memory) 5, slide Mouse 7, keyboard 8, display device 10, and DMA (Direct Memory Access) controller 11. The DMA controller 11 will use the tone generation process to generate and write the music data and DAC (Digital / analog converter> 12 The reproduction samples are synchronized in time and straight from each sample It is read from the output buffer by means of memory access, and the processing (reproduction processing) of the DAC 12 is performed. The music data converted analogously in the DAC 12 is sent to the music system 13 and the sounder is emitted from the system 13. The hard disk in the hardware device 10 records software that can realize the software sound source, and plurals in addition to 0S (this is using Wind〇ffs3.1 (Shang purlin) manufactured by MICRO Corporation) or software called public software. Waveform data of 1 or a plurality of frequencies of various timbre. Figure 2 is an example of a software structure showing the realization of a software sound source. The software is for the purpose of reducing the complexity of the program, and the smallest unit (mode) of the independent program The complex is a hierarchical structure. The highest-level "sequence program" is the mode for creating MID 丨 information. Specifically, the "sequence program" can use hard software (for example, sequence software or game software or card paper) The standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm X --------- f-installed ------ ordered ----- applied (please read the precautions on the back first (Fill in this page) 12776 A7 __B7_ 3. Description of invention (10) Pull 0K software, etc.) SMMIDIoutAP is a kind of interface (application program interface) prepared for software sound source for information reception between modes. The lower level "SGM-AP" is based on "Sequence program" is a program that generates SGM MIDI out API and provides music data of MIDI information. As shown in Figure 3, "SGM-AP" is composed of two modes: "MIDI output drive unit" and "sound source unit (driver unit)". "MIDI output drive part j is a mode for driving the" sound source part ", which can convert the sound data into control parameters for the" sound source part "corresponding to the MIDI information. The control parameters are sent to the "sound source" via the SGMenginAPI of the interface between the modes. In addition, when the "MIDI output driver" is initialized, the waveform data is loaded into the file and sent to the "sound source" via en gineAPI. According to this control parameter, "Tone Source" can use waveform data to generate music data. Back to 囵 2, WAVEoutAPI is a kind of AP I using Window3.1 (trademark). Printed by the Negative Labor Bureau of the Ministry of Economic Affairs of the Ministry of Economic Affairs (please read the precautions on the back before filling in this page) "Output Device" is a mode of transferring music data provided by "SGM-ΑΡ" to DAC12 via WAVEoutAPI. As mentioned above, this center-of-brain music system forms the DAM controller 11 to transmit music data to the DAC 12 by direct memory access. Therefore, the "output device" performs interrupt processing of the DMA controller 11 under the control of the CPU 3. Next, referring to FIG. 4, an outline diagram of an example of processing by software shown in circle 2 will be described. Once the "sequence program" is activated, MIDI information is supplied. Activate the "MIDI output driver", and convert the sound data into control parameters corresponding to each MIDI message, and store the control parameters, etc. in the interrupted MIDI letter paper. The standard of the Chinese National Standard (CNS) A4 (210X297 mm: L 13-A7 B7 printed by the Employee Consumer Cooperative of the Central Ministry of Economic Affairs of the Ministry of Economy V. Description of the invention (11) In the sound source register for the vocal channel of the information. The "sound source" is in the interval of each predetermined length of time ) Start, and perform the tone generation process of the MIDI information supplied in the respective previous section according to each parameter (for example, as shown in Fig. 4 in the section from time T2 to T3, the section from time T1 to T2 Tone processing of the MIDI information supplied in the system). One example of the tone processing is the tone generation processing in the waveform memory method, in which the control parameter section stored in the sound source register for the sound channel is allocated to each channel of the sound distribution Read the waveform data from RAM5, perform timbre control on the waveform data according to the control parameters (decimation operation), and volume control (multiplication of volume seal data), And pitch, timbre, or volume modulation control, thereby generating a predetermined sample amount of music data for each vocal channel. Also, accumulate the music data of each vocal channel, and add the accumulated music data (or add the effect to the accumulated In the music data, the music data) is written to the output buffer in RAM5. The output buffer is reserved in the "output device". The "output device" is borrowed in the previous section in each section. The "sound source" reads out 1 sample of music data from the output buffer reserved for reproduction and transfers it to the DAC12 (for example, writing the music data generated between the sections T2 and T3, and within the sections T3 and T4 Read the music data from the output buffer reserved for reproduction.) As in the above software, once the "Sequence Program" is activated, the activation of the "MID Output Driver" supplied based on the MDI information is performed in real time. In addition, "Output Pack®" is forcedly started as an interrupt processing of the DMA controller 11, so there is no time delay.

本紙張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐X 14 I. ...... - 1 - - I I -- I (請先閲讀背面之注意事項再填寫本頁) 、?! A7 312776 B7 五、發明説明(12 ) ,「音源部j的起動係藉由CPU3本身之內部中斷加以進行 ,因此在不具完全多媒體功能之0S上運轉該軟«時,由於 其他處理影響產生「音源部」起動的延遲,以致會產生造 成發聲的障礙。因此,該氰腦音樂系統係採取以下數種對 策藉以防止發聲障礙事態的發生。 〔對策1〕 在各區段內分別使起動「音源部」之內部中斷信號發 生複數次的機會,在各起動中分別產生上述預定數樣品量 (1輸出緩衝量)之樂音資料中部份的樂音資料,藉此在 該等1區段內調整進行產生1輸出緩衝量之樂音資料。 並且,在任何的機會裏由於未能發生內部中斷信號而 未能起動「音源部」,其結果無能產生樂音資料時,可於 該等面段內隨後之內部中斷信號發生的機會裏使其未產生 之樂音資料一併產生,藉此可進行該等區段內確保1輸出 緩衝量之樂音資料產生的調整。 如上述,於各個區段內複數次設置發生起動「音源部 J之內部中斷信號,當此複數次機會中的數次未能發生內 部中斷信號時,仍可在該等區段內利用發生內部中斷信號 的機會裹完成1輸出緩衝S之樂音資料的產生,藉此防止 發聲障礙事態的發生。 圖5及圚6分別表示該〔對策1〕之一例示圖。該等 之例爲在100毫秒長度區段內,以每10毫秒的時間(因此 —區段內共計10次)發生起動「音源部」的內部中斷信號 本紙張尺度適用中國國家標準(CNS)A4規格(2!〇><297公釐I ^ - ; f I#-- (請先閱讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局員工消費合作杜印製 A7 _____ B7 五、發明説明(13 ) ,在各個起動中,可使其分別產生1输出緩衝量之樂音資 料的10之1量的樂音資料。 並且,圖5之例爲,使未發生內部中斷信號時間內未 產生的樂音資料在隨後發生之內部中斷信號的機會裏全部 產生。即,將未發生內部中斷信號之第2次機會(圖之第 10毫秒次)未產生的樂音資料藉隨後發生內部中斷信號之 第3次機會(圖之第20毫秒次),與該等機會之樂苷資料 合併完全產生(圖中是以2、3表示之),而未發生內部中 斷信號之第6、7次機會中未產生樂音資料則是利用隨後發 生內部中斷信號之第8次機會(圇之第7 0毫秒次)與該等 機會的樂音資料一並產生(圖中是以6〜8表示之)。 相對於此,圖6之例是將未發生內部中斷信號的機會 中未產生的樂音資料,在隨後發生內部中斷信號的複數個 機會裏分散產生。即,將未發生內部中斷信號的第3、3次 機會(圇之第10、20毫秒)裏之未產生的樂音資料,利用 隨後發生內部中斷信號處理之第4、5次機會(圇之第30、 經濟部中央標準局貝工消費合作社印裝 (請先閱讀背面之注意事項再填寫本頁) 4 0毫秒)處理,而可與該等機會之樂音資料一併分散產生 (圖中是以2、3及4、5表示之)。但是,最後第10次之機 會中(圖之第90毫秒次),爲了確保該等區段內1输出量 樂音資料的產生,必須使未發生信號的第7、8、9次機會 (圖之第60、70、80毫秒次)之未產生樂音資料全部產生 Ο 圖6中,雖是讓未產生的樂音資料在1次起動的機會 裏分散產生量之樂音賫料,並使其在隨後發生內部中斷信 本紙張尺度適用中國國家標準(〇邶)八4規格(210父297公釐)_16 _ 經濟部中央標準局貝工消费合作社印製 A7 B7 五、發明説明(14 ) 號的機會裹產生,但是不僅限於此,其可將未產生的樂音 資料分散在適量之樂音資料(例如,1次起動機會產生量 的樂音資料,或1次起動機會產生量之1.5倍的樂音資料 ,或1次起動機會產生量一半的樂音資料),而在之後的 機會裏產生。 又,另外之其他例係將未發生內部中斷信號的機會中 未產生的樂音資料逐漸產生以致在該等區段內之最後的機 會爲止(圖5及圖6的第10次機會)。 此外,未發生內部中斷信號的機會增加時,在隨後發 生之內部中斷信號的機會裹,會造成不能完全以分配樂音 產生處理之全部發聲頻道產生樂音資料。因此,在此〔對 策1〕中,如發生上述機會時可藉減少產生樂音資料的發 聲頻道數確保樂音資料的產生。而必須減少產生樂音資料 之發聲頻道數的頻度係如圖5之例所示爲最高,或如圖6 之例,或徐徐產生未產生之樂音資料以致該等區段內的最 後機會爲止時,會形成低於園5之例(但是,從早期進行 未產生樂音資料的產生的觀點,圖5之例爲最適當者)。 〔對策2〕 作爲各個發聲頻道用音源暫存器爲,可設置未使用發 聲頻道時控制分配樂音產生裝置處理之參數遮第1音源暫 存器(表面音源暫存器),及形成該等使用發聲頻道使用 中之收納可控制新的樂音產生處理的參數之第2音源暫存 器(裏面音源暫存器)。並在重新開始的樂音產生處理的 本紙張尺度適用中國國家揉準(CNS)A4規格(210Χ297公釐L 17 - ---------< -裝-----.— 訂------ί 、 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印褽 312776 A7 B7 五、發明説明(15 ) 時間爲止,選擇表面音源暫存器作爲使用該等頻道的音源 暫存器,在此一時間以後,可選擇裏面音源暫存器來代替表 面音源暫存器。 如上述,即使在現在使用中的發聲頻道裏分配新的樂 音產生處裏時,可利用表面音源暫存器的新樂音產生處理 的進行,並可立即將該等發聲頻道的新的樂音產生處理準 備在裹面音源暫存器內。而可防止因樂音產生處理準備延 遲爲原因以致樂音資料產生延遲的發生。 〔對策3〕 在RAM5內設置複數個输出緩衝器的領域,先進行「音 源部j的起動,並將其中一部份輸出緩衝器的再現預約在 「輸出暂存器」中。因此即使因其他處理的影響,在各區 段內應起動之「音源部」不能在該等面段內起動時,可先 進行使再現預約之輸出緩衝器的再現處理全部完成爲止起 動「音源部1」預約输出緩衝器的再現時,不會造成樂音 再現時聲音的中斷。因此可擴充不要成聲音中斷之樂音產 生處理起動時間延遲的容許範圍。 圊7爲表示該〔對策3〕一例圖。此一例是先進行「 音源部」的起動,在「输出裝置j中預約4個输出緩衝器 的再現。並在菡段F1的開始時,由於完成此前一區段1输 出緩衝量的再現處理使得預約數成爲3,但是在區段F1的 途中,因完成1輸出緩衝童之樂音資料的產生而再現預約 输出緩衝器,而使得預約數增加爲4。並且,在區段F1完 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐)_ 18 - ί -裝------1Γ------{練 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印掣 A7 B7_ 五、發明説明(16 ) 成時由於完成其次1输出緩衝置的再現處理而使得預約數 減至3,但是在區段F2的途中,完成其次1输出緩衝量之 樂音資料的產生並再現預約其输出緩衝器使得預約數增加 爲4。 其後,由於「音源部」的延遲而未能產生樂音資料, 因此在區段F4終了時預約數減至1。且於區段F5中讀出( 圖中,爲使該再現預約與讀出的關係更爲明確,在區段F2 的途中是以粗箭頭表示再現預約的發生,並以斜往線表示 區段F5)再現預約之最後的輸出緩衝器(在區段F2途中再 現預約之輸出緩衝器),但是在區段F5的途中,由於完成 1輸出緩衝器量之樂音賫料的產生並再現預約其输出緩衝 器,而使得預約數增家至2。且在隨後對應再現處理的完 成與再現預約的發生而增減預約數。 如上述,即使各區段內應起動之「音源部」未能在該 等區段內起動時,只須先進行使再現預約之4個輸出緩衝 器的再現處理全部完成爲止前起動「音源部」預約輸出緩 衝器的再現,即可消除樂音再現的延遲。 再者,預約數爲4時,在區段的途中完成其次1輸出 緩衝量之樂音資料的產生時,等待該等區段之再現處理完 成後進行輸出緩衝器的預約,藉此可使預約數不大於4。 爲實施此〔對策3〕而預先設置在RAM5內的輸出緩衝 器的數目爲先進行「音源部」的起動再現預約輸出緩衝器 的數目,與寫入在「音源部」完成產生的樂音資料之輸出 緩衝器,與「音源部」產生之樂音資料量超過1输出緩衝 本紙張纽適用中國國家揉^ ( CNS ) A4規格(210X297公董)l 19 _ (請先閲讀背面之注意事項再填寫本頁) 丨裝· 訂 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(17 ) 置時的預備用输出緩衝器的總計(圖7之例爲6個)。尤 其在「音源部」中,當產生之樂音資料量超過1输出緩衝 置時只須停止產生,即可不須要預備的输出緩衝器(因此 ,圖7之例只須5個即已足夠)。 〔對策4〕 在預定時間未能於「输出裝置」中再現預約输出緩衝 器時,在其時間內中斷應產生完成之樂音資料的產生,並 在其時間內從產生開始的樂音資料重新開始該產生動作。 藉此,當未能即時再現預約而致暫時性的造成樂音混亂時 ,可立刻恢復安定之樂音產生動作將噪音抑制於最小限。 例如,前述之〔對策3〕圇7之例中,可先進行使再 現預約於「輸出裝置j之輸出緩衝器的再現處理全部完成 爲止前,可再現預約寫入在「苷源部」產生完成的樂音資 料之输出緩衝器。但是,由於其他處理的影謇造成「音源 部」大幅延遲時,可在先進行再現預約之輸出緩衝器的再 現處理全部完成的區間內,同樣會發生寫入完成「音源部 」產生之樂音資料的輸出緩衝器不能再現預約(預約數爲 〇 )的情形。如上述只須合併實施〔對策3〕及〔對策4 〕,當預約數爲0時可在其時間內中斷應產生完成之樂音 資料的產生,可於「輸出裝置」中再次進行輸出緩衝器的 再現預約後·在其時間內自產生開始之樂音資料重新開始 其產生動作。 其次,參閱圖8以下說明包含以上對策實施之電腦音 本紙張尺度適用中國國家標準(CNS ) A4規格(210X^97公釐)L 2〇 - ~ ~ ---:---------------1T------^ ^ (請先閲讀背面之注意事項再填寫本頁) A7 B7 312776 五、發明説明(18 ) 樂系統的動作例如下。 圖8爲表示CPU3進行用主路徑之流程圖。最初進行「 初始設定j (步驟S1) 。「初始設定」爲如圊9,最初是 清除全部各發聲頻道用音源暫存器(如〔對策2〕之說明 ,設有裏面音源暫存及表面暫存器)內的資料,及RAM5工 作區域(在此工作區域內,如〔對策3〕之說明包含複數 個輸出緩衝器領域)內的資料(步驟S21 )。其次,將記 錄在硬碟裝置10之硬碟內波形資料載入RAM5內(步驟S23 ),且如〔對策3〕之說明,先進行「音源部」的起動, 使清除資料之數個(在此係與圖7之例同爲4個)輸出緩 衝器的再現預約於「輸出裝«」中(步驟S24 )。隨後, 從DAC12發生再現樣品時間而提供至DMA控制器11,藉此 起動「输出緩衝器」的同時,開始發生起動「音源部」內 部之中斷信號的軟體時間(例如,參閱CPU3使構成硬體之 定時器發生內部中斷信號者)(步驟S25)。 軟體定時器係於前述〔對策1〕所說明可在各個區段 內分別利用複數個機會發生此內部中斷信號(此係與圖5 之例相同,在100毫秒長度的區段內可以每10毫秒共計10 次的機會發生)。再者,如前述軟體定時器之內部中斷信 號並不一定會在各起動機會中(即每10毫秒間)發生,或 即使起動機會來到時,CPU3爲0S處理或其他軟體的處理所 占據時,仍不能相對於軟體音源起動內部中斷信號。而如 上述的起動命令發生裝置的構成是例如,以定時器2每計 算對應1次起動機會的預定時間(例如10毫秒)設立1檩 本紙張尺度適用中國國家標準(CNS)A4規格(210Χ297公釐)· 21 - (請先閲讀背面之注意事項再填寫本頁) 丨裝_ ,-ιτ· 經濟部中央標準局貝工消費合作社印裝 經濟部中央標準局負工消費合作社印製 A7 _____B7_ 五、發明説明(19 ) 記,在CPU3可進行軟髏音源的狀態下,檢査該標記之有無 ,如設立未處理之檩記時使之發生內部中斷信號的同時, 可消除其標記。因此,在對應1次起動機會的預定時間( 例如10毫秒)之間,如CPU 3仍具處理軟體音源的餘裕時, 發生1次之內部中斷信號。但是,在對應1次起動機會的 預定時間(例如10毫秒)之間,如CPU3不具處理軟體音源 之餘裕時,不會進行標記檢測,因此不會發生內部中斷信 號,以致經過了預定的時間而處於其次標記的狀態。即不 會發生對應前一檫記之內部中斷信號。如此之內部中斷信 號係如圖5、圖6之例示,在各起動機會裏並不一定會發 生。且根據上述可理解,即使內部中斷信號在複數個各別 起動機會裏連績發生時,其發生時間間隔並不一定是正確 的上述預定時間(例如10毫秒),而可能在10毫秒的前後 適當變動。即,內部中斷信號之微觀的發生時間是與CPU3 的處理狀態(幾時觀測定時器標記)具有相關性者。. 恢復至圖8 —旦完成初始設定時,表示出顯示對應處 理的進行之資訊,或者利用滑鼠输入各種控制資料等的面 板(未圖示)(步騍S2)。另外,先進行「音源部」的起 動將「初始設定」(圖9)的输出緩衝器再現預約於「輸 出裝置」中,「输出裝S」在完成先進行後預約之4個輸 出緩衝器的再現處理後,藉「音源部」進行隨後的再現預 約之输出緩衝器的再現處理。因此,一旦供應MIDI信息以 致樂音再現爲止的時間形成相當於增加先進行預約之输出 緩衡器數目的區段量(圖7之例爲4區段量)長度(延遲 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐I 22 - ---:------------ (請先閱讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局貝工消費合作社印裝 A7 ___B7__ 五、發明説明(2〇 ) )。因此,在顯示器9之面板上進行MIDI信息所提供的顯 示時,可將顯示之時間往後錯開此一區段置爲宜。 隨步驟S2後之步躱S3可檢測下述各起動要因的發生。 起動要因①:從「序列程式」(參閱圖2)提供MIDI 信息。 起動要因②:藉軟體定時器發生起動「音源部」之內 部中斷信號。 起動要因③:檢測從「輸出裝置」的處理要求。 起動要因④:檢測其他的要求(面板的輸入事件,或 鍵盤8之指令輸入事件(除主路徑終了指令之外))。 起動要因⑤:檢測鍵盤8之主路徑終了指令的輸入事 件。 其次,判斷是否發生上述任一之起動要因(步騄S4) 。如爲NO時回到步驟S3,重覆步驟S3及S4之處理以至發生 任一之起動要因爲止。且一旦發生任意的起動要因時步驟 S4爲YES時前進至步驟S5。 步驟S5可判定發生是何起動要因。 發生起動要因①時,進行MIDI信息處理(步驟S6), 在面板上進行(步驟S7)預定之收訊顯示(例如,供應 MIDI頻道之MIDI信息的表示等)。並回到步驟S3進行步驟 S3以下的處理。 在步騄S6進行的MIDI處理中,例如包含根據記錄開始 之記錄終了事件處理,或根據記錄終了之記錄開始事件處 理等。圚10爲表示記錄開始事件處理一例之流程圖。最初 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐X 23 - (請先閲讀背面之注意事項再填寫本頁) -裝· 訂 3 經濟部中央標準局員工消費合作社印聚 B7 五、發明説明(2!) 是將表示输入記錄號碼、速度、接收輸入記錄MIDI頻道的 組件號碼、MIDI信息的输入時刻的時間軸上表示記錄開始 事件發生時刻的資料分別收納在預定的暫存器NN、VEL、P 、TM內(步驟S31 )。其次,進行該等記錄開始的發聲分 配處理,將分配處理之發聲頻道的頻道號碼收納於暫存器 i內(步驟S32 )。隨後,從RAM5讀出對應暫存器p內組 件號碼而選擇之音色聲音資料,並對應暫存器NN、VEL內 的記錄號碼、速度將其聲音資料轉換(參閱圖2 )爲「音 源部」控制用控制參數(包含指定節距之頻率號碼FN) ( 步驟S33 )。 另外,將此一控制參數與記錄開始及暫存器TM內發生 時刻的資料同時收納在暫存器i內之頻道號碼的發.聲頻道 用音源暫存器內,藉此可進行對應該等發生時刻之時間的 記錄開始的預約(步驟S34 )。 將暫存器TM內發生時刻的資料收納於音源暫存器是根 據以下的理由。由於記錄開始事件的發生時刻與根據該等 記錄開始事件使樂音再現的時刻間,具有如前述約4區段 量的時間差(樂音再現的延遲時間)。樂音產生處理(後 述之「音源處理1」)是在其時間差範圍內的任意時間裏 產生對應的樂音資料即可(即,在其範圍內容許的處理延 遲)。因此,在與記錄開始事件的發生時刻不同的任意時 間裏所進行的樂音產生處理如不能在記錄開始事件的發生 時刻裏獲知時,則不能產生對應之樂音資料。 再者,於步驟S34中,如使用該等發聲頻道時,如〔 本紙張尺度適用中國國家標準(CNS ) Α4規格(210Χ297公釐)· 24 - —---------------.玎------ί I (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(22 ) 對策2〕之說明,在該等發聲頻道用裹面音源暫存器與裏 面音源暫存器之中,將控制參數等收納在裏面音源暫存器 內。藉此,可利用表面音源暫存器確保該等發聲頻道的現 在樂音產生處理之持績進行,可將該等發聲頻道之新的樂 音產生處理立即準備在裏面音源暫存器內。又進行上述裹 面音源暫存器的收納時,同樣可在表面音源暫存器內的預 約領域內進行對應暂存器TM內發生時刻之時間內的斷電( 使音量波封急劇減少之處理)的預約。 步驟S34後的步驟S35是根據記錄開始發生時刻延遲的 發聲頻道順序決定進行發聲分配處理時各個發聲頻道間之 運算順序進行樂音產生運算。(即,對應後績記錄開始的 發聲頻道可在產生樂音時優先處理)。並回到前步驟。 圖11係表示記錄終止事件處理時一例之流程圖。最初 是將記錄號碼、接收输入記錄終止之MIDI頻道的組件所選 擇的音色、在表示MIDI信息输入時刻的時間軸上表示發生 記錄終止事件時刻的賫料分別收納在預定的暫存器NN、t 、TM內(步驟S41 )。並且,尋找分配暫存器t內音色 發聲之發聲頻道,將其發聲頻道號碼收納於暫存器i內( 步驟S42 )。又,於暂存器i內頻道號碼之發聲頻道用 表面音源暫存器與裏面音源暫存器之中,在對應暫存器t 內音色之音源暫存器內的預約領域內進行對應暫存器TM內 發生時刻的時間之記錄終止的預約(步驊S43) ◊並回到 前步驟。 恢復至圇8之步驟S5,如發生起動要因②時進行「音 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)_ 25 - ---:------------ΐτ------< i (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消费合作社印^. A7 ______B7_ 五、發明説明(23 ) 源處理1」(步騍S8),在面板上進行(步騄S9)預定狀 態表示(例如,CPU3的運算能力,或產生樂音之音置位準 等表示)。並回到步驟S3,重覆步驟S3以下的處理。 「音源處理1」係形成「音源部」的一部份。此一「 音源處理1」如圖12所示,最初是將表示MIDI信息之输入 時刻的時間軸上的現在時刻GT,減去其時間軸上MIDI信息 输入時刻中根據該等MID丨信息的樂音產生處理完成時最終 的輸入時刻ST設定(步驟S51 )爲產生置SR (以時間長度 表現此次起動時產生之樂音資料的目標樣品數)。 即,步驟S51中,如〔對策1〕之圖5例所示,當任 必的機會內未能發生內部中斷信號而未能起動「音源部」 時,可在其機會內未產生的樂音資料利用隨後發生內部中 斷信號的機會裏全部產生者。藉此即使在1區段內數次未 能發生內部中斷信號時,仍可僅以發生內部中斷信號的機 會中,完成該等區段內1输出緩衝量之樂音的產生,因而 可防止發聲障礙事態的發生。參閱圖5具體表示該產生量 SR爲,第1次機會爲10毫秒,但是在第2次機會未能發生 內部中斷信號時,第3次的機會則爲20毫秒。且如圖5所 示以外,可使未發生內部中斷信號的複數次機會分散產生 ,或使之徐徐產生至該等區段內最後的機會爲止亦可,如 〔對策1〕所述。 其次,在「初始設定」(圚9)再現預約之输出緩衝 器以外剩餘输出緩衝器中1個输出緩衝器上,設定以時刻 ST爲最前之產生置SR置的樂音產生領域(步驟S52 ) °隨 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐)_ 26 - (請先閲讀背面之注意事項再填寫本頁) -裝· 訂 經濟部中央標準局貝工消費合作社印裝 A7 ___B7 五、發明説明(24 ) 後決定產生樂音資料之樂音頻道數(步蹂S53 )。進行此 發聲頻道數的決定如下。首先,根據1個發聲頻道產生產 生量SR置的樂音資料時所須的運算時間,及此次可運算時 間EJ (從其次內部中斷信號發生的預定時刻SJ減去此次內 部中斷信號實際發生時刻的運算時間KJ),算出時刻EJ內 數個發聲頻道可能產生產生置SR量之樂音資料。且算出之 可產生的發聲頻道數在記錄開始事件處理(圖10)進行發 聲分配之發聲頻道數以上時,可決定以進行該等發聲分配 的發聲頻道數作爲產生樂音資料之發聲頻道數。另一方面 ,算出之可產生的發聲頻道數如小於進行發聲分配的發聲 頻道數時,可決定該等可產生之發聲頻道數作爲產生樂音 資料之發聲頻道數(即,如〔對策1〕之說明,藉減少產 生資料的發聲頻道數,可在1區段內確保1输出量之樂苷 資料的產生)。步驟S53後之步蹂S54是將運算順序(記錄 開始事件處理之步驟S3 5所決定者)收納在第1順位之發 聲頻道的頻道號碼i內,以啓始點sp指示時刻ST。隨後, 參閱暫存器i內頻道號碼之發聲頻道用表面音源暫存器的 預約領域,從啓始點sp以至於時刻GT之間,檢測最初的預 約(節距段的預約、記錄終止的預約、斷電的預約等)( 步驟S55)。隨後並判斷是否檢測出預約(步驟S56)。 如爲YES時,針對該等發聲頻道進行該等預約時刻爲 止的樂音產生處理,使該啓使點前進至該等預約的時刻( 步驟S57 )。此一樂音產生處理如前述,是以收納於音源 暫存器控制參數的節距從RAM5讀出波形,於波形資料上根 本紙張尺度適用中國國家樣準(CNS)A4規格( 210X297公釐X 27 - ---.------< -裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 A7 312776 _B7_ 五、發明説明(25 ) (請先閲讀背面之注意事項再填寫本頁) 據控制參數進行音色控制(抽選運算)、音量控制(音量 波封資料的乘算)、節距,音色或者音量等調變控制及效 果之附加等產生樂音資料。 嫂濟部中夹耩準扃員工消費合作社印裝 步騍S5 7後的步騍S5 8係於該等苷源暫存器內收納該等 預約之內容,並進行其預約內容者。因此,一旦檢測出記 錄終止的預約時,將記錄終止寫入該等發聲頻道的表面音 源暫存器內,開始進行音置波封之釋放。又,檢測出斷電 的預約時,斷電進行完成後(即,音量波封的位準形成低 於一定以下値之後),如〔對策2〕所示選擇裏面音源暫 存器代替表面暫存器作爲該等發聲頻道使用之音源暫存器 (尤其是首先以裏面音源暫存器替換表面音源暫存器之後 ,可在表面音源暫存器上進行斷®亦可)。再者,如圖10 的步驟S3 4之說明,將控制參數、開始記錄及暫存器TM內 開始記錄之發生時刻的資料收納於裏面音源暫存器時,在 表面音源暫存器的預約領域內進行對應暫存器TM內發生時 刻之時間內斷電的預約。因此,在樂音產生處理中,一旦 對應此一暫存器TM內發聲時刻的時間來到時,進行斷電之 後,利用裏面之音源暫存器來代替表面音源暫存器開始進 行樂音產生處理。 步驟S58 —旦完成時,回報步驟S55並重覆步踩S55以 下的處理。 另一方面,在步驟S56判斷爲N0時(或者最初判斷爲 YES後經由步驟S57及S58而判斷爲NO時),對於該等發聲 頻道進行自啓始點sp以至時刻GT爲止全部之樂音產生處理 本紙張尺度適用中國國家橾準(CNS)A4規格( 210X297公釐]L 28 - 經濟部中央標準局負工消費合作社印製 312776 A7 B7 五、發明説明(26 ) (步騄S59 )。藉此可對於該等發聲頻道完成經過產生量 SR置的樂音產生領域之樂音資料的產生。 其次,在步踝S53針對決定數目之發聲頻道判斷是否 完成全部樂音產生處理(步騄S60 )。如爲NO時將運算順 序爲其次順位之發聲頻道的號碼收納於暫存器i內,並將 啓始點sp設定於時刻ST (步蹀S61)。且回到步騄S5 5重覆 步騾S55以下的處理。另一方面,在步驟S60判斷爲YES時 (或者最初判斷爲NO後經由重覆步驟S55以下步騾而判斷 爲YES時)終止樂音產生處理前進至步騄S62。藉此可產生 發聲頻道數在未滿進行發聲中斷處理的發聲頻道數時,可 以省略運算順序延遲發聲頻道數之樂音產生處理的形式, 減少同時發聲之頻道數。 步驟S6 2是將累加之各發聲頻道的樂音資料(或者, 在累加之樂音資料中附加效果者)寫入输出緩衝器上的樂 音產生領域內(在步驟S5 2中設定者)。其次,將時刻ST 加上產生量SR長度的時刻設定爲新的時刻ST (步驟S63 ) 。此一新的時刻ST形成其次進行「音源處理1」時的運算 開始位置。隨後判斷是否已完成1輸出緩衝量的樂音資料 (步驟S64 )。如爲NO時回到前步驟,另一方面爲YES時, 利用後述之「音源處理2」將其输出緩衝器自連接於該等 输出緩衝器之其他输出緩衝器上切離,再現預約於「输出 裝置」(步驟S65)。並回到前步驟。 回到圖8中的步驟S5,如發生起動要因③時,進行「 音源處理2」(步驟S10 ),在面板上進行預定之狀態顯 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐;L 29 - —·------< -裝------訂-----人線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央梂準局員工消費合作社印裝 A7 _______B7_ 五、發明説明(27 ) 示(步踩S11 )。並回到步騍S3重覆步驟S3以下的處理。 「音源處理2」同樣形成「音源部」的一部份。該「 音源處理2」是依據發生的要求利用「输出裝置」(即利 用DMA控制器11進行外部中斷處理)的進行來加以進行者 0 圖13爲表示以DMA控制器進行外部中斷處理一例之流 程圖。此外部中斷處理是在DAC 12上使樂音資料分別以1 樣品量傳送的時間(DAC12的再現樣品頻率)使DMA控制器 11加以進行者,利用此一處理可將記憶在输出緩衝器之1 緩衝量的樂音資料,於每一再現樣品頻率裏分別讀出1樣 品量並供應至DAC12內。 最初,利用「初始處理」(圖9)或「苷源處理1」 (圇12)將再現預約於「输出裝置」內的輸出緩衝器中現 在讀出中的输出緩衝器(指標PB所指之输出緩衝器)內現 在讀出中之1樣品量的樂音資料(指標PP所指之樂音資料 )傳送至DAC12(步蹂S71)。其次,使指標PP前進1樣品 量(步驟S72 ),判斷是否已將該等輸出緩衝器內全部的 樂音資料全部傳送至DAC12 (即是否完成該等輸出緩衝器 的再現處理)(步驟S73)。如爲NO時回到前步驟。 另一方面,在步騍S73判斷爲YES時,判斷其次之輸出 緩衝器是否已再現預約(步騾S74 )。由於其他處理的影 響使得「音源部」的起動延遲,即使未能以「音源部」再 現預約寫入完成產生樂音資料之输出緩衝器時,以致於再 現預約之输出緩衡器(先進行「初始設定」(圇9)再現 (請先閲讀背面之注意事項再填寫本頁) —裝· -訂 本紙張尺度適用中國國家標準(CNS ) A4規格(21.0X:297公釐)_ 30 經濟部中央標準局員工消費合作社印製 A7 _B7_ 五、發明説明(28 ) 預約的输出緩衡器,或利用音源處理1進行再現預約之输 出緩衝器)全部完成再現處理爲止,可在步蹂S74判斷爲 YES時前進至步驟S75,讓指檫PB前進至其输出緩衝器上。 藉此如〔對策3〕之說明,其可擴大防止因樂音產生處理 延遲時聲音中斷之樂音產生處理起動時間的容許範園。步 驟S75之後的步驟S76可使再現處理完成後的输出緩衝器發 生退還至「音源處理2」之主路徑的要求。並回到前步驟 0 另一方面,由於「音源部」起動大幅度地延遲,即使 在已再現預約之輸出緩衝器的再現處理全部完成的區間內 ,在寫入「音源部」完成產生樂音資料之输出緩衝器仍未 能再現預約時,在步驟S74判斷爲NO時前進至步驟S77。步 驟S77爲了防止噪音的發生而對於DAC 12输出進行可抑制噪 音者。之後的步驟S 78係相對於「音源處理2」發生重設 之要求(要求樂音產生處理之重設者)。並回到前步騍。 圖14爲表示根據「输出裝置j退回要求(圖13之步驟 S76)—例之流程圖。最初接受(步驟S81)從「输出裝置 」退回之输出緩衝器。其次,將输出緩衝器清除,使「 音源部」已保有的輸出緩衝器之後連接其输出緩衝器(步 驟S82 )。另外,此一連接爲是將输出緩衝器相互間以假 設的順序連接而成較大之1緩衝器加以處理。因此,在 RAM 5內物性上互相鄰接的領域上不須要存在有該等的输 出緩衝器。步驟S82之後的步探S83爲可確認「音源部j與 「輸出裝置」間時刻偏移的有無並予修正「音源部」的動 本紙張尺度適用中國國家標準(CNS ) A4规格(210 X 297公釐)_ 3丄- (請先M讀背面之注意事項再填寫本頁) 裝. 訂 2776 經濟部中央標準局貝工消費合作社印製 A7 B7 五、發明説明(29 ) 作,而可作成顯示「輸出裝置」之退回要求時間的資料。 並回到前步驟者。 圖15係表示根據「输出裝置」重設要求(圖13之步媒 S78 )之「音源處理2」一例的流程圚。最初將各發聲頻 抱用音源暫存器內的資料,及RAM5之输出緩衝器內的資料 全部消除(步驟S91 )。隨後,與「初始設定」(圚9) 之步驟S23以至步驟S25相同,初始設定「输出裝置」(步 騍S92 ),將消除資料的4個输出緩衝器的再現再次預約 於「輸出裝置」中(步驟S93 ),起動「输出裝置」的同 時,開始軟體定時器(步驟S94 )。並回到前步驟。 如上述,根據重設要求之「音源處理」未能將輸出緩 衝器再現預約於「输出裝置」時,如〔對策4〕之說明, 中斷到現在爲止「音源部」所進行的樂音產生處理,將消 除输出緩衝器之再現先行預約再次於「输出裝置」中進行 之後,根據以後供應的MIDI信息起動「音源部」,藉此可 重新開始樂音產生處理。因此,即使未能即時再現預約以 致造成暫時之樂音的混亂時,可立刻恢復安動的樂音產生 動作而可使噪音抑制在最小限。 回到圖8之步驟S5,發生起動要因④時,進行對應其 要求的處理(例如,顯示器9上面板之输入事件處理,或 從鍵盤8的指令輸入事件處理等)(步騾S12 ),並於面 板上進行(步騍S13 )對應的表示。且回到步驟S3重覆進 行步驟S3以下的處理。 另一方面,發生起動要因⑤時,進行完成主路徑的預 本紙張尺度適用中國國家標準(CNS)A4規格(2!〇'乂2.97公釐I 32 - ---.-------^------.-ST------ (請先閲讀背面之注意事項再填寫本頁) A7 ___B7_ 五、發明説明(30 ) 定處理(步驟S14)從顯示器9消除(步驟S15)面板。並 回到前步驟。 再者於步騄S5中,判斷發生起動要因①至⑤中2個以 上起動要因時,依起動要因①、②、③、④、⑤的順序進 行步驟S5以下的處理。又,步驟S3至步髁S5係假設性表示 模擬多任務處理的任務管理,實際上在根據任意起動要因 的發生進行處理的途中,藉由較高優先順位起動要因的發 生時,係可以中斷進行其他處理者(例如,依起動要因② 的發生進行「音源處理1」的途中,可利用起動要因①的 發生藉中斷進行「MIDI處理j等)。 其次說明相對於上述實施形態之變更例如下。 經濟部中央標準局員工消費合作社印裝 (請先閲讀背面之注意事項再填寫本頁) 以上的實施形態在每利用軟體定時器發生內部中斷信 號時,如圚12之「音源處理1」的步踝S51所示,係採用 以現在的時刻GT減去樂音產生處理終了時最終時刻ST的時 間設定爲產生量SR (即,將未發生內部中斷信號的未產生 之樂音資料在其隨後內部中斷信號發生的機會裏全部產生 )的方式。此一方式具有使未產生之樂音資料的產生可在 最早期進行之優點。但是此一方式在內部中斷信號連績數 次未發生的場合,會使隨後發生內部中斷信號機會之樂音 資料的產生量SR增大。而如上述一旦產生量增大時,進行 -次「音源處理1」時CPU3所耗费的時間則回增長,因此 CPU3會因爲「音源處理1」的進行而形成長時間連績獨占 ,因此在其進行中即使較「音源處理1 j優先順位低之「 音源處理2」等處理的起動要因發生時,CPU3則無法進行 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐)· 33 - 經濟部中央橾準局貝工消费合作社印製 A7 _B7_ 五、發明説明(31 ) 該等之處理。又產生量SR—旦增大時,剩餘較少的可運算 時間EJ時,會極端減少可產生樂音資料之發聲頻到數。 因此以下爲具《I說明緩慢產生未產生之樂音資料之變 更例如下。 〔變更例1〕 此變更例係藉軟體定時器每發生內部中斷信號時,在 代替「音源處理1」的進行上,可以發生內部中斷信號( 即產生樂音波形)爲信號資訊(稱波形產生隱含指令(cue ))並對應前發生內部中斷信號經過時間的數目產生RAM5 內預定之緩衝器(稱之爲隱含指令緩衝器)上進行寫入處 理(稱爲醵含指令處理)。並且將波形產生隱含指令寫入 隱含指令處理時,在一定範園內決定樂音資料產生量使樂 音產生處理的時間不致過長,並根據該置產生樂音資料, 使隱含指令緩衝器內的波形產生隱含指令對應其產生量的 數進行消除處理(稱爲「音源處理1’」)。在每將波形 產生隱含指令寫入隱含指令緩衝器內進行上述處理時,可 緩慢產生未產生之樂音資料。根據次一方式可於1區段內 連績複數次未發生內部中斷信號時,雖可增加隱含指令緩 衝器內波形產生隱含指令的數目,但是一次之「音源處理 1’」之樂音資料的產生量被抑制在上述一定範圍內,因 此不致造成「音源處理1’」長時間連績占用等情形。而可 容易確保優先順位較低之處理的進行,且可防止產生樂音 資料之發聲頻道數極端減少。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐I 34 - (請先閲讀背面之注$項再填寫本頁) -裝. 訂 經濟部中央標準局貝工消費合作社印製 A7 B7 五、發明説明(32 ) 其次,參閱圓16至讀20具《說明胲變更例如下。 圖16係表示此一欒更例中CPU3所進行之主路徑的流程 圖。最初步騍S101之「初始設定」施予相同於圓8之步驟 S1的「初始設定」(參閱圖9)之處理,清除RAM5之上述 隱含指令緩充器內的資料。隨後之步騍S10 2是進行與圖8 步驟S2相同的處理。 其次之步踝S103係檢測下述各起動要因的發生。 起動要因①:從「序列程式」(參閱圚2)供應MIDI 信息。 起動要因②:利用軟體定時器發生起動「音源部」之 內部中斷信號。 起動要因③:將波形產生隱含指令寫入隱含指令緩衝 器內。 起動樣因④:檢測出「输出裝置」的處理要求。 起動要因⑤:檢測其他之要求(面板之輸入事件.,或 鍵盤8之指令输入事件(主路徑中了指令除外〉〉 起動要因⑥:檢測鍵盤8之主路徑終了指令的输入事 件0 上述之起動要因中,除了起動要因③以外,與圚8之 步騍S3所檢測之起動要因皆同。 其次之步騍S104與圖8之步驟S4相同,可判斷是否發 生上述任意之起動要因。並當發生任意之起動要因時前進 至步驟S105,判定發生是何起動要因(起動要因複數發生 時的優先順位,①爲最高,以下依②、③、④、⑤的順位 本紙伕尺度適用中國國家輮準(CNS)A4規格( 210X297公釐)L 35 - (請先閱讀背面之注意事項再填寫本頁) •裝· >11 經濟部中央樣準局員工消費合作杜印製 A7 ____B7_ 五、發明説明(33 ) 降低)。 步驟S105判定起動要因①發生之後的處理(步驟S106 之「MIDI處理」及S107的處理)係與圚8之步踝S5判定發 生起動要因①時圚8之步騍S6及S7的處理相同。 另一方面,判定發生起動要因②(軟«定時器之內部 中斷信號)時,前進至步蹂S108之「隱含指令」。(再者 ,於此一變更例中與圖8之例相同,由於CPU3必須進行其 他處理的影響,而會造成內部中斷信號發生的延遲,或未 發生內部中斷信號的情形等。因此,從內部信號的發生以 致其次發生此次內部中斷信號爲止的經過時間不僅限於10 毫秒而可能超過10毫秒者)。 「隱含指令處理」係如圚17所示,自前一內部中斷信 號的發生至此次內部中斷信號的發生爲止的經過時間對應 數倍10毫秒,產生數倍量之波形產生隱含指令(即,經過 時間在10毫秒以上不滿20亳秒時第1個,經過時間爲20毫 秒以上30毫秒未滿時第2個· ··等產生波形產生隱含指 令),寫入產生之波形產生隱含指令(步驟S120)。並回 到前步驟。完成「隱含指令處理」時,進行畫面上之預定 狀態顯示(步驟S109),並回到步踝S103。 藉此「隱含指令」在隱含指令緩衝器內載入波形產生 隱含指令時,形成起動要因③的發生。在步驟S105判定發 生起動要因③時,前進至步騄S110之「苷源處理1’」。 圖18爲表示「音源處理1’」一例之流程圖。最初的步 驟S121是將產生量SR設定爲10毫秒(對應1輸出緩衝量之 本紙張尺度適用中國國家標準(CNS ) A4规格(210X297公釐)· 36 - (請先閲讀背面之注意事項再填寫本頁) 裝· 訂 312776 A7 _B7 _ 五、發明説明(34 ) 樂音資料的10分之1的時間)° 其次之步驟S122與圖12步騄S52相同,在「初始設定 」再現預約之輸出緩衝器以外剩餘的输出緩衝器中的1個 输出緩衝器上設定以時刻ST爲前面之產生置SR的樂音產生 領域。 經濟部中央橾準局負工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) 其後之步驟S123係對應隱含指令緩衝器內波形產生隱 含指令數目決定產生產生量SR之樂音資料的發聲頻道數。 更詳細者爲隱含指令緩衝器內波形產生隱含指令數未滿一 定値時(即未連續發生內部中斷信號的次數不滿上述之一 定數時),決定在記錄開始事件處理(圖10)進行發聲分 配的發聲頻數爲產生樂音資料之發聲頻道的數目。另一方 面,隱含指令緩衝器內波形產生隱含指令數在上述一定値 以上時(未連績發生內部中斷信號之次數達到一定値以上 時)決定少於記錄開始事件處理進行發聲分配的發聲頻數 作爲產生樂音資料之發聲頻道數。如上述減少發聲頻道的 理由爲數次未發生連縯內部中斷信號時,所產生的樂音資 料增加至某程度,因此藉著發聲頻道的減少縮短一次「音 源處理1’」所須的時間,藉此可提早未產生樂音資料的產 生。再者,該步驟S123係與圖12之步驟S53不同,可無須 以可運算時間EJ的關係減少發聲頻道數(原本該變更例並 非是以內部中斷信號的發生而是在隱含指令緩衝器內載入 波形產生隱含指令來起動「音源處理厂」,因此不存在可 運算時間EJ的概念本身),不會造成發聲頻道數極端減少 的事態發生。 本紙張尺度適用中國國家標準(匚奶)八4規格(2丨0父297公釐)>37· 經濟部中央標準局貝工消費合作杜印製 A7 _B7____ 五、發明説明(35 ) 其次之步跺S124至S13 5係進行與ΒΠ2之步驟S54至S65 相同的處理。隨後之步蹂S136爲僅清除1個醸含指令緩衝 器內之·波形產生隱含指令。 如上述,圚18之例中,一次「音源處理l’j之產生量 SR係經長固定在10毫秒(對應1输出緩衝量樂音資料的10 分之1 )。因此,不會因「音源處理1’」對於CPU3造成長 時間連績獨占的情形,因此可容易確保優先順位低於「音 源處理1’」之處理的進行,且可防止「音源處理1’」之發 聲頻道數極端減少的發生。 其次,圖19爲表示「音源處理Γ」其他例之流程圖。 最初之步驟S141係對應隱含指令緩衝器內載入波形產生隱 含指令數,進行決定產生置SR及產生樂音資料的發聲頻道 數。發聲頻道數之決定係與圖1 8之步驟S123同樣進行。 對於產生量SR的決定更詳細敘述如下,隱含指令緩衝器內 之波形產生隱含指令數未滿一定値時(即未連績發生內部 中斷信號數未滿一定値時),決定產生量SR爲10毫秒。另 一方面,當隱含指令緩衝器內的波形產生隱含指令數達到 上述之一定値時(即未連續發生內部中斷信號數達到一定 値時),決定產生置SR爲20毫秒(對應1輸出緩衝量樂音 資料的10分之2的時間)。(具體例爲20次以上連績未發 生內部中斷信號而隱含指令緩衝器內之波形產生隱含指令 數達到20次以上時,圖7所示之預約數從當初的4減少至 2爲止,因此可決定產生置SR爲20毫秒),此外,隱含指 令緩衝器內之波形產生隱含指令數大於上述一定値某一程 本.^張尺度適用中國國家標準((:奶)入4規格(210父297公釐)_38 . (請先閲讀背面之注意事項再填寫本頁)This paper scale is applicable to the Chinese National Standard (CNS) A4 specifications (210 X 297 mm X 14 I. ......-1--II-I (please read the precautions on the back before filling this page), A7 312776 B7 Fifth, the description of the invention (12), "The start of the sound source part j is performed by the internal interrupt of the CPU3 itself, so when the software is run on the 0S without full multimedia function, it is caused by other processing effects. The delay of the activation of the "sound source" will cause an obstacle to sound generation. Therefore, the cyanobacterium music system adopts the following measures to prevent the occurrence of sound disturbance. [Countermeasure 1] Activate "in each section" The internal interruption signal of the "Sound Source" has multiple opportunities to generate the above-mentioned predetermined number of samples (1 output buffer amount) of the music data of each of the music data in each start, thereby adjusting in these 1 sections Proceed to generate 1 output buffer of music data. Also, at any opportunity, the “sound source unit” cannot be activated due to the failure to generate an internal interrupt signal. As a result, the music data cannot be generated. Subsequent internal interrupt signals within the segment will generate the ungenerated tone data at the same time, thereby making it possible to adjust the tone data generated in these zones to ensure an output buffer amount. As mentioned above, in each zone The internal interrupt signal of the sound source part J is set to occur within a plurality of times. When the internal interrupt signal fails to occur for several times in this multiple opportunities, the opportunity to generate an internal interrupt signal in these sections can still be used to complete 1 The sound data of the output buffer S is generated, thereby preventing the occurrence of dysphonia. Figures 5 and 6 respectively show an example of this [Countermeasure 1]. Examples of these are within a 100-ms length section, with each A time of 10 milliseconds (therefore-a total of 10 times within the zone) an internal interrupt signal that activates the "Sound Source" occurs. This paper standard is applicable to the Chinese National Standard (CNS) A4 specification (2! 〇 > < 297mm I ^-; f I #-(please read the precautions on the back before filling out this page) Order the A7 _____ B7 for consumer cooperation of the Central Standards Bureau of the Ministry of Economy V. Invention Instructions (13), In each start-up, it is possible to generate one-tenth of the tonal data of one output buffer of the tonal data. In addition, the example of FIG. 5 is such that all the musical tone data that has not been generated within the time when the internal interrupt signal does not occur are generated at the opportunity of the subsequent internal interrupt signal. That is, the second opportunity (with the 10th millisecond time in the figure) where the internal interrupt signal has not occurred is used for the third opportunity (with the 20th millisecond time in the figure) of the subsequent internal interrupt signal, and these opportunities The merger of glucoside data is completely generated (indicated by 2, 3 in the figure), and the 6th and 7th chances of no internal interruption signal are not generated. The 8th chance of subsequent internal interruption signal is used. (The 70th millisecond of the 囵) Generated together with the musical data of these opportunities (shown as 6 ~ 8 in the figure). On the other hand, the example of FIG. 6 is a case where musical data that is not generated in the opportunities where the internal interrupt signal does not occur are scattered and generated in a plurality of opportunities where the internal interrupt signal occurs subsequently. That is, the ungenerated music data in the 3rd and 3rd opportunities (10th and 20th milliseconds) of the internal interruption signal are not used, and the 4th and 5th opportunities (the first in 30. Printed and printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the precautions on the back before filling in this page) 40 milliseconds), and can be distributed together with the music data of these opportunities (the 2, 3 and 4, 5). However, in the last 10th opportunity (the 90th millisecond time in the figure), in order to ensure the generation of 1 output of tone data in these sections, the 7th, 8th, and 9th chances that no signal has occurred (pictured) The 60th, 70th, and 80th millisecond times) of the ungenerated tone data are all generated. In Figure 6, although the ungenerated tone data is allowed to disperse the generated amount of tone sounds in a single start opportunity, and make it happen later The paper size of the internal interrupt letter applies to the Chinese National Standard (〇 邶) 84 specifications (210 father 297 mm) _16 _ Printed A7 B7 by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs Generated, but not limited to this, it can disperse the ungenerated musical data in an appropriate amount of musical data (for example, the musical data generated by one starting opportunity, or the musical data generated by 1.5 times the starting opportunity, or 1 The second starting opportunity generates half of the music data), and it is generated in the subsequent opportunities. In addition, in another example, the tone data that is not generated in the opportunity where the internal interrupt signal does not occur is gradually generated so that the last opportunity in these sectors is reached (the 10th opportunity in FIGS. 5 and 6). In addition, when the chance of no internal interruption signal increases, the chance of the subsequent internal interruption signal will cause the tone data to be generated from all the utterance channels that cannot be completely processed by the distribution tone generation process. Therefore, in [Strategy 1], if the above-mentioned opportunities occur, the generation of tone data can be ensured by reducing the number of vocalization channels that generate tone data. However, the frequency of the number of vocalization channels that must generate musical data is the highest as shown in the example of FIG. 5, or as shown in the example of FIG. 6, or until the non-produced musical data is slowly generated so that the last chance in these sections is, An example lower than the garden 5 will be formed (however, from the early point of view of the generation of unproduced musical data, the example in Figure 5 is the most appropriate). [Countermeasure 2] As a sound source register for each utterance channel, a parameter that controls the processing of the distribution tone generating device when the utterance channel is not used can be set to cover the first sound source register (surface sound source register), and the use of such The second sound source register (internal sound source register) that stores the parameters that can control the new tone generation processing in the sound channel use. And this paper standard for the new tone generation process is applicable to the Chinese National Standard (CNS) A4 specification (210Χ297mm L 17---------- <-装 -----.— Order ------ ί, (please read the notes on the back before filling out this page) Beigong Consumer Cooperative, Central Standards Bureau, Ministry of Economic Affairs, printed 312776 A7 B7 V. Inventions Note (15) Up to the time, the surface sound source register is selected as the sound source register using these channels. After this time, the internal sound source register can be selected to replace the surface sound source register. As described above, even when a new tone generating place is allocated in the currently used vocal channel, the new tone generating process of the surface sound source register can be performed, and the new tone generating process of the vocal channel can be immediately processed Ready to be placed in the sound register of the masked sound source. It can prevent the delay in the preparation of musical sounds due to delays in the preparation of musical sounds. [Countermeasure 3] In the area where a plurality of output buffers are provided in the RAM 5, first "start the sound source section j," and reserve a part of the output buffer for reproduction in the "output buffer". Therefore, even if the "sound source" that should be activated in each zone cannot be activated in these segments due to the influence of other processing, the "sound source 1" can be activated until the reproduction processing of the output buffer of the reproduction reservation is completed. When the reproduction of the output buffer is reserved, the sound will not be interrupted during the reproduction of the musical sound. Therefore, it is possible to expand the tolerable range of the processing start time delay that does not cause the sound to be interrupted. Bit 7 is a diagram showing an example of this [Countermeasure 3]. In this example, the "sound source" is started first, and the reproduction of four output buffers is reserved in the "output device j." At the beginning of the segment F1, the reproduction process of the output buffer of the previous segment 1 is completed. The number of reservations becomes 3, but on the way to section F1, the reservation output buffer is reproduced due to the completion of the generation of 1 output buffer music data, and the number of reservations is increased to 4. Also, the paper size applies to section F1. China National Standards (CNS) Α4 specifications (210X297mm) _ 18-ί -installation ------ 1Γ ------ {training (please read the precautions on the back before filling in this page) Central Ministry of Economic Affairs Bureau of Standards and Staff Consumer Cooperative A7 B7_ V. Description of invention (16) The number of reservations was reduced to 3 at the time of completion due to the reproduction processing of the next 1 output buffer, but the second output buffer was completed on the way to section F2 The generation and reproduction of music data and the reservation of its output buffer increase the number of reservations to 4. After that, due to the delay of the "sound source", the music data cannot be generated, so the number of reservations is reduced to 1 at the end of section F4. And read in the section F5 (in the figure, in order to make the relationship between the reproduction reservation and the readout more clear, in the middle of the section F2, a thick arrow indicates the occurrence of the reproduction reservation, and a diagonal line indicates the section F5) The last output buffer of the reproduction reservation (the output buffer of the reproduction reservation in the middle of the section F2), but in the middle of the section F5, due to the completion of the generation of 1 output buffer amount of music sound material and the reproduction reservation of its output buffer The number of appointments has increased to 2. Then, the number of reservations is increased or decreased in accordance with the completion of the reproduction process and the occurrence of the reproduction reservation. As mentioned above, even if the "sound source" that should be activated in each zone fails to be activated in these zones, it is only necessary to start the "sound source" reservation before the playback processing of the four output buffers of the reproduction reservation is advanced The reproduction of the output buffer can eliminate the delay of the tone reproduction. Furthermore, when the number of reservations is 4, when the next generation of music data with an output buffer amount is completed in the middle of a zone, the output buffer is reserved after waiting for the reproduction processing of these zones to be completed, thereby making the number of reservations possible No more than 4. The number of output buffers preset in the RAM 5 for the implementation of this [Countermeasure 3] is the number of output buffers for which the “sound source section” is first activated and reproduced, and the number of musical data written in the “sound source section”. Output buffer, and the amount of musical data generated by the "Sound Source" exceeds 1 output buffer. This paper button is suitable for Chinese national kneading ^ (CNS) A4 specification (210X297 company director) l 19 _ (please read the precautions on the back before filling in this Page) 丨 Installation and ordering A7 B7 printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of the invention (17) Total output buffers at the time of placement (6 in the example of Figure 7). Especially in the "sound source", when the amount of musical data generated exceeds 1 output buffer, it is only necessary to stop the generation, so that no output buffer is required (thus, the example of Fig. 7 requires only 5 is sufficient). [Countermeasure 4] When the reserved output buffer cannot be reproduced in the "output device" within the predetermined time, the generation of the musical tone data that should be completed is interrupted within that time, and the musical tone data from the beginning of the generation is restarted within that time. Generate action. In this way, when the reservation is not immediately reproduced and the music is temporarily disrupted, the stable sound generation operation can be restored immediately to minimize noise. For example, in the aforementioned [Countermeasure 3] Example 7, the playback reservation can be exercised in advance until all the playback processing of the output buffer of the output device j is completed. Output buffer for music data. However, when the "sound source" is greatly delayed due to the influence of other processing, the music data generated by the completion of writing the "sound source" can also occur in the interval where the reproduction processing of the output buffer that has made the reservation reservation is completed. Of the output buffer cannot reproduce the reservation (the number of reservations is 0). As mentioned above, it is only necessary to implement [Countermeasure 3] and [Countermeasure 4] in combination. When the number of reservations is 0, the generation of music data that should be completed can be interrupted within its time, and the output buffer can be performed again in the "output device" After the reproduction reservation, the music data from the start of generation within its time restarts its generation operation. Next, referring to Figure 8, the following description includes the computer audiobook paper scale that includes the implementation of the above measures. The Chinese National Standard (CNS) A4 specification (210X ^ 97mm) L 2〇- ~ ~ ---: ------- -------- 1T ------ ^ ^ (Please read the precautions on the back before filling in this page) A7 B7 312776 V. Description of the invention (18) The action example of the music system is as follows. FIG. 8 is a flowchart showing that the CPU 3 performs the main route. Initially, perform "Initial setting j (step S1)." Initial setting "is as shown in Figure 9. Initially, all the sound source registers for each vocal channel are cleared (as described in [Countermeasure 2], with internal sound source temporary storage and surface temporary Data), and data in the working area of RAM5 (in this working area, as described in [Countermeasure 3] contains a plurality of output buffer areas) (step S21). Next, load the waveform data recorded in the hard disk of the hard disk device 10 into the RAM 5 (step S23), and as described in [Countermeasure 3], first start the "sound source" to clear the number of data (in the This is the same as four in the example of FIG. 7) The reproduction of the output buffer is reserved in "Output Pack« "(step S24). Subsequently, the reproduction sample time from the DAC 12 is provided to the DMA controller 11, thereby starting the "output buffer" and the software time at which the interrupt signal inside the "sound source" is started (for example, refer to the CPU 3 to configure the hardware The timer has an internal interrupt signal) (step S25). The software timer is described in the above [Countermeasure 1], and the internal interrupt signal can be generated by multiple opportunities in each segment (this is the same as the example in FIG. 5, and it can be every 10 milliseconds in a 100-ms segment A total of 10 opportunities occur). In addition, the internal interrupt signal of the aforementioned software timer does not necessarily occur in each start opportunity (that is, every 10 milliseconds), or even when the start opportunity comes, when the CPU 3 is occupied by 0S processing or other software processing , Still cannot start the internal interrupt signal relative to the software source. The configuration of the start command generation device as described above is, for example, to set a purlin paper standard with the timer 2 to calculate a predetermined time (for example, 10 milliseconds) corresponding to each start opportunity, and apply the Chinese National Standard (CNS) A4 standard (210Χ297 21) (Please read the precautions on the back before filling out this page) 丨 Installed _,-ιτ · Printed by the Central Standards Bureau of the Ministry of Economic Affairs Beigong Consumer Cooperatives Printed by the Central Standards Bureau of the Ministry of Economy Printed A7 _____B7_ 5 2. Description of the invention (19) Note that in the state where the CPU 3 can perform the soft skull sound source, check the presence or absence of the mark. If an unprocessed purlin is set up so that an internal interrupt signal occurs, the mark can be eliminated. Therefore, within a predetermined time (for example, 10 milliseconds) corresponding to one startup opportunity, such as when the CPU 3 still has the margin to process the software audio source, an internal interrupt signal occurs once. However, between the predetermined time (for example, 10 milliseconds) corresponding to one start opportunity, if the CPU3 does not have the margin to process the software audio source, the mark detection will not be performed, so the internal interrupt signal will not occur, so that the predetermined time passes In the state of the second mark. That is, the internal interrupt signal corresponding to the previous Sassafras will not occur. Such an internal interruption signal is illustrated in Figures 5 and 6, and does not necessarily occur in each starting opportunity. And according to the above, it can be understood that even if the internal interrupt signal continues to occur in multiple individual startup opportunities, the time interval of its occurrence may not be the correct predetermined time (for example, 10 milliseconds), but may be appropriate around 10 milliseconds. change. That is, the micro-occurrence time of the internal interrupt signal is related to the processing state of the CPU 3 (when the timer flag is observed). . Revert to Figure 8-Once the initial settings are completed, a panel (not shown) showing the information of the corresponding processing progress or using the mouse to input various control data (Step S2) is displayed. In addition, first activate the "sound source" and reserve the output buffer reproduction of the "initial setting" (Figure 9) in the "output device". After the "output device S" is completed, the four output buffers that are reserved first After the reproduction process, the reproduction process of the output buffer of the subsequent reproduction reservation is performed by the "sound source unit". Therefore, once the MIDI information is supplied to reproduce the music, the length of the segment equivalent to increasing the number of output cushions that are reserved first (the example in FIG. 7 is the 4-segment quantity) length (delay this paper standard is applicable to the Chinese national standard ( CNS) A4 specification (210X297mm I 22----: ------------ (please read the precautions on the back before filling out this page) Order the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs Printed A7 ___B7__ V. Description of the invention (2〇)) Therefore, when the display provided by the MIDI information is displayed on the panel of the display 9, the display time can be staggered back by this section as appropriate. Follow step S2 The following step S3 can detect the occurrence of each of the following starting factors. Starting factor ①: Provides MIDI information from the “sequence program” (see Figure 2). Starting factor ②: The internal interruption of the “sound source” by the software timer Signal. Starting factor ③: Detect the processing request from the "output device". Starting factor ④: Detect other requirements (input event on the panel, or command input event on the keyboard 8 (except the main path termination command)). Starting factor ⑤: Detect the input event of the end command of the main path of the keyboard 8. Secondly, determine whether any of the above mentioned starting factors (step S4) occur. If it is NO, return to step S3 and repeat the processing of steps S3 and S4 So that any start occurs because of the stop. And if any start cause occurs, step S4 is YES, then proceed to step S5. Step S5 can determine what is the cause of the start. When the start factor ① occurs, MIDI information processing is performed (step S6) ), Perform (step S7) scheduled reception display on the panel (for example, display of MIDI information for supplying MIDI channels, etc.) and return to step S3 to perform the processing below step S3. In the MIDI processing performed at step S6 For example, including end-of-record event processing based on the start of recording, or start-of-record event processing based on the end of recording, etc. 圚 10 is a flow chart showing an example of processing of start-of-recording event. Initially, the paper size is applicable to China National Standard (CNS) A4 specification 210X297mm X 23-(Please read the precautions on the back before filling in this page)-Binding · Order 3 Employee Consumer Cooperative of Central Bureau of Standards, Ministry of Economic Affairs Yinju B7 V. Description of the invention (2!) It is to store the data indicating the recording start event occurrence time on the time axis indicating the input recording number, speed, component number of the input and recording MIDI channel, and the input time of MIDI information in the schedule In the temporary registers NN, VEL, P, and TM (step S31). Secondly, the utterance distribution process of the start of such recording is performed, and the channel number of the utterance channel of the distribution process is stored in the temporary register i (step S32). Then, read out the sound data of the selected timbre corresponding to the component number in the register p from RAM5, and convert the sound data corresponding to the record number and speed in the registers NN and VEL (see Figure 2) into the "sound source" Control parameters for control (including the frequency number FN of the specified pitch) (step S33). In addition, this control parameter and the data at the start of recording and the time of occurrence in the register TM are simultaneously stored in the sound source register of the channel number in the register i. The reservation to start recording at the time of occurrence (step S34). The data at the time of occurrence in the register TM is stored in the sound source register for the following reasons. There is a time difference (delay time for tone reproduction) of about 4 segments as described above between the time when the recording start event occurs and the time when the tone is reproduced based on the recording start event. The tone generation processing (“sound source processing 1” described later) is to generate the corresponding tone data at any time within the time difference range (ie, the processing delay allowed within the range). Therefore, if the tone generation processing performed at an arbitrary time different from the recording start event occurrence time cannot be known at the recording start event occurrence time, the corresponding musical tone data cannot be generated. In addition, in step S34, when using these vocal channels, such as [This paper standard is applicable to China National Standard (CNS) Α4 specification (210Χ297mm) · 24------------- ----. 玎 ------ ί I (Please read the precautions on the back before filling out this page) A7 B7 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of invention (22) Countermeasure 2] It is to be noted that, in the sound source register for the vocal channel and the sound source register inside, the control parameters and the like are stored in the sound source register inside. In this way, the surface sound source register can be used to ensure the performance of the current tone generation processing of the utterance channels, and the new tone generation process of the utterance channels can be immediately prepared in the inside sound source register. In addition, when the above-mentioned surface-mounted sound source register is stored, it is also possible to perform power-off within the time corresponding to the occurrence time in the register TM within the reserved area in the surface sound source register (a process that sharply reduces the volume seal) ) Appointment. Step S35 subsequent to step S34 is to determine the calculation order between the respective utterance channels when performing the utterance assignment process based on the order of the utterance channels whose recording start time is delayed, and perform the tone generation calculation. (That is, the vocalization channel corresponding to the start of the subsequent performance record can be treated preferentially when the tone is produced). And return to the previous step. FIG. 11 is a flowchart showing an example of the event of recording termination event. Initially, the recording number, the sound selected by the component of the MIDI channel that received the input recording is terminated, and the raw materials indicating the time when the recording termination event occurred on the time axis indicating the input time of the MIDI information are stored in the predetermined registers NN, t , Within TM (step S41). Then, it searches for the utterance channel of the tone in the allocation register t, and stores the utterance channel number in the register i (step S42). In addition, in the surface sound source register for the sound channel of the channel number in the register i and the inside sound source register, the corresponding temporary storage is performed in the reservation area in the sound source register corresponding to the tone in the register t Appointment for the recording of the time of occurrence of the time in the device TM (step S43) ◊ and return to the previous step. Revert to step S5 of 囵 8, if the cause of starting ② occurs, "The sound paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm) _ 25----: --------- --- 1τ ------ < i (Please read the precautions on the back before filling in this page) Printed by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs ^. A7 ______B7_ 5. Description of the invention (23) Source processing 1 ”(Step S8), on the panel Perform (step S9) a predetermined state representation (for example, a representation of the computing power of the CPU 3, or a tone setting level for generating musical sounds, etc.). And it returns to step S3, and repeats the process after step S3. "Sound source processing 1" forms a part of the "sound source part". This "sound source processing 1", as shown in FIG. 12, initially subtracts the tones based on the MID 丨 information from the input time of the MIDI information on the time axis at the current time GT on the time axis indicating the input time of the MIDI information The final input time ST setting (step S51) at the completion of the generation process is the generation set SR (the target number of samples representing the musical sound data generated at the start this time). That is, in step S51, as shown in the example of FIG. 5 in [Action 1], when an internal interrupt signal cannot be generated in any opportunity and the "sound source unit" cannot be activated, music data that has not been generated in the opportunity may be generated. Take advantage of all the opportunities in the subsequent occurrence of internal interrupt signals. In this way, even if the internal interrupt signal fails to occur several times in one zone, the generation of the tone of the 1 output buffer in these zones can be completed only by the opportunity of the internal interrupt signal, thus preventing the audible obstacles What happened. Refer to FIG. 5 to specifically indicate that the generated amount SR is that the first chance is 10 milliseconds, but when the second chance fails to generate an internal interrupt signal, the third chance is 20 milliseconds. Besides, as shown in Fig. 5, multiple opportunities without internal interruption signal can be dispersed or generated slowly until the last opportunity in these sectors, as described in [Countermeasure 1]. Next, set the tone generation area with SR at the first output buffer out of the output buffers other than the "Initial setting" (圚 9) output buffer other than the reserved output buffer (step S52) ° The Chinese national standard (CNS) A4 specification (210X297mm) is applicable to the paper size. (Please read the precautions on the back before filling out this page)-Binding · Order A7 printed by Beigong Consumer Cooperative, Central Bureau of Standards, Ministry of Economic Affairs ___B7 Fifth, the description of the invention (24) determines the number of music audio channels to generate music data (step S53). The decision to make this number of vocalization channels is as follows. First, the calculation time required to generate the musical data of the generated amount SR according to one vocal channel, and the current calculable time EJ (subtract the actual time of the internal interrupt signal from the scheduled time SJ of the second internal interrupt signal occurs) Calculate time KJ), calculate the number of vocalization channels in the EJ at that time may produce music data that generates SR. Moreover, when the calculated number of vocalization channels that can be generated is greater than the number of vocalization channels for which vocalization is allocated in the recording start event processing (Figure 10), the number of vocalization channels for which these vocalization allocations are made can be determined as the number of vocalization channels that generate musical tone data. On the other hand, if the calculated number of vocalization channels that can be generated is less than the number of vocalization channels for utterance allocation, the number of vocalization channels that can be generated can be determined as the number of vocalization channels that generate musical tone data (ie, as in [Countermeasure 1] Explain that by reducing the number of vocalization channels that generate data, you can ensure the production of 1 output of glucoside data in 1 section). The step S54 after step S53 is to store the calculation sequence (determined by the recording start event processing step S35) in the channel number i of the first-ranked sound channel, and the time ST is indicated by the starting point sp. Then, referring to the reservation area of the surface sound source register for the sound channel of the channel number in the register i, from the start point sp to the time GT, the initial reservation (pitch section reservation, recording termination reservation) is detected , Appointment for power failure, etc.) (step S55). Then, it is judged whether a reservation is detected (step S56). If it is YES, the tone generation processing for the reserved time is performed for the utterance channels, and the starting point is advanced to the reserved time (step S57). This tone generation process is as described above. The waveform is read from RAM5 at a pitch stored in the control parameters of the sound source register. The basic paper scale on the waveform data is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm X27 ----.------ < -install-- (please read the precautions on the back before filling in this page) Order A7 312776 _B7_ V. Invention description (25) (please read the precautions on the back before filling in this page) according to the control parameters for tone control ( Lottery calculation), volume control (multiplication of volume envelope data), pitch, timbre or volume, etc. Modulation control and effect addition generate musical data. Printed and printed by the Ministry of Economic Affairs and Consumers Cooperative Staff Consumer Cooperatives. The Puma S5 8 and the Pega S5 8 are those who store the contents of these appointments in these glycoside registers and make the appointments. Therefore, once the recording termination reservation is detected, the recording termination is written into the surface sound source registers of the vocal channels, and the release of the sound-set seal is started. In addition, when the power-off reservation is detected, after power-off is completed (that is, after the volume wave seal level is formed below a certain value), as shown in [Action 2], select the internal sound source register instead of the surface temporary storage As the sound source register used by these sound channels (especially after first replacing the surface sound source register with the internal sound source register, you can also turn off the surface sound source register). Furthermore, as described in step S34 of FIG. 10, when the data of the control parameters, the start of recording, and the time of the start of recording in the register TM are stored in the internal sound source register, the reservation area of the surface sound source register Make a reservation within the time period corresponding to the moment of occurrence in the register TM. Therefore, in the tone generation process, once the time corresponding to the utterance time in this register TM comes, after the power is turned off, the sound source register inside is used instead of the surface sound source register to start the tone generation process. Step S58 Once completed, return to step S55 and repeat the steps below step S55. On the other hand, when it is judged as N0 in step S56 (or when it is initially judged as YES and then judged as NO through steps S57 and S58), all sound generation processing from the starting point sp to the time GT is performed on these utterance channels This paper scale is applicable to China National Standard (CNS) A4 specification (210X297mm) L 28-Printed by the Ministry of Economic Affairs Central Standards Bureau Negative Consumer Cooperatives 312776 A7 B7 V. Description of invention (26) (Step S59). For these utterance channels, the generation of tone data in the tone generation area after the generation amount SR can be completed. Secondly, at step ankle S53, it is judged whether all tone generation processing is completed for the determined number of utterance channels (step S60). If NO At the time, store the number of the vocal channel with the next highest order in the register i, and set the starting point sp to the time ST (step S61). And return to step S5 5 Repeat step Mule S55 below On the other hand, when it is determined to be YES in step S60 (or when it is initially determined to be NO and then determined to be YES by repeating step S55 and the following step mules), the musical tone generation process is advanced to step S62. This can generate a sound When the number of sound channels is less than the number of vocalization channels for which the vocalization interruption process is performed, the form of the tone generation processing of delaying the number of vocalization channels in the calculation sequence can be omitted, and the number of channels that simultaneously sound can be reduced. The data (or those who added effects to the accumulated music data) is written into the sound generation area on the output buffer (set in step S52). Secondly, the time at which the length ST is added to the length of the generated amount SR is set to New time ST (step S63). This new time ST forms the starting position of the calculation when the "sound source processing 1" is performed next. Then it is judged whether or not the musical data of 1 output buffer amount has been completed (step S64). If NO Returning to the previous step, if it is YES on the other hand, use "Sound Source Processing 2" described later to separate its output buffer from other output buffers connected to these output buffers, and the reproduction reservation is made in the "output device" ( Step S65). And return to the previous step. Return to step S5 in Fig. 8, if the cause of start ③ occurs, perform "Sound Source Processing 2" (step S10), and proceed on the panel The predetermined state is displayed. The paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X297mm; L 29------ < -installation -------- order ----- person line (please read the precautions on the back before filling in this page) Printed and printed A7 _______B7_ by Employee Consumer Cooperative of the Central Bureau of Economic Affairs of the Ministry of Economy V. Description of invention (27 ) Shows (step S11). And return to step S3 to repeat the processing below step S3. "Sound source processing 2" also forms part of the "sound source part". The "sound source processing 2" is performed according to the generated request by the "output device" (that is, the external interrupt processing using the DMA controller 11). Figure 13 is a flowchart showing an example of the external interrupt processing performed by the DMA controller. Figure. The external interruption process is the time at which the music data is transferred on the DAC 12 in 1 sample volume (the reproduction sample frequency of the DAC 12) for the DMA controller 11 to perform. This process can be stored in the output buffer 1 buffer The amount of music data is read out for each sample frequency and supplied to the DAC12. Initially, use "Initial Processing" (Figure 9) or "Glycoside Processing 1" (囵 12) to reserve the reproduction in the output buffer in the "Output Device" and the output buffer (referred to as PB) (Output buffer) One sample of music data (the music data indicated by the index PP) currently being read out is sent to the DAC12 (step S71). Next, the index PP is advanced by one sample (step S72), and it is determined whether all the musical data in the output buffers have been transferred to the DAC 12 (i.e., whether the reproduction processing of the output buffers has been completed) (step S73). If it is NO, return to the previous step. On the other hand, when step S73 determines YES, it is determined whether the next output buffer has been reserved for playback (step S74). Due to the influence of other processing, the start of the "sound source" is delayed, even if the output buffer of the sound source data is not written with the "sound source" playback reservation completed, the output buffer of the playback reservation (first set the "initial setting" ”(囵 9) Reproduction (please read the precautions on the back and then fill in this page) —Installed--The size of the paper is applicable to the Chinese National Standard (CNS) A4 specification (21.0X: 297mm) _ 30 Central Standard of the Ministry of Economic Affairs A7 _B7_ printed by the Bureau ’s Consumer Cooperative. V. Description of the invention (28) The reserved output balancer, or the output buffer for the reproduction reservation using sound source processing 1) Until all the reproduction processing is completed, you can proceed when step S74 determines YES To step S75, let the finger PB advance to its output buffer. Therefore, as explained in [Countermeasure 3], it is possible to expand the allowable range of the start time of the tone generation processing to prevent the sound from being interrupted when the tone generation processing is delayed. Step S76 after step S75 may cause the output buffer after the reproduction process is completed to be returned to the main path of "sound source processing 2". And return to the previous step 0. On the other hand, since the activation of the "sound source" is greatly delayed, even in the interval where the reproduction processing of the output buffer that has been reserved is completely completed, the writing of the "sound source" is completed to generate musical data If the output buffer still fails to reproduce the reservation, if it is determined to be NO in step S74, the process proceeds to step S77. Step S77 performs noise suppression on the output of the DAC 12 in order to prevent the occurrence of noise. The subsequent step S78 is a request for resetting with respect to "sound source processing 2" (resets requiring musical tone generation processing). And back to the previous step. Fig. 14 is a flowchart showing an example of an "output device j return request (step S76 in Fig. 13). An output buffer returned from the" output device "is initially accepted (step S81). Next, clear the output buffer so that the output buffer already held by the "sound source" is connected to its output buffer (step S82). In this connection, the output buffers are connected to each other in a presumed order to form a larger buffer for processing. Therefore, there is no need for such an output buffer to be physically adjacent to each other in the RAM 5. The step S83 after step S82 is a moving paper sheet that can confirm whether there is a time offset between the "sound source part j and the" output device "and amend the" sound source part ". The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 Mm) _ 3 丄-(please read the notes on the back before filling in this page) Pack. Order 2776 Printed A7 B7 by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Invention description (29) The data of the time required for the return of the "output device" is displayed. And return to the previous step. Fig. 15 is a flowchart showing an example of "sound source processing 2" based on the reset request of the "output device" (step S78 in Fig. 13). Initially, all the data in the audio source register for each audible audio and the data in the output buffer of RAM 5 are completely eliminated (step S91). Subsequently, the same as step S23 to step S25 of "Initial Setting" (圚 9), the initial setting of "Output Device" (Step S92), the reproduction of the 4 output buffers for erasing data is reserved again in "Output Device" (Step S93) When the "output device" is activated, the software timer is started (step S94). And return to the previous step. As described above, when the “sound source processing” of the reset request fails to reserve the output buffer reproduction in the “output device”, as described in [Countermeasure 4], the music generation processing performed by the “sound source section” up to now is interrupted. After the advance reservation for the reproduction to cancel the output buffer is made again in the "output device", the "sound generator" is activated based on the MIDI information supplied later, whereby the tone generation process can be restarted. Therefore, even if the reservation cannot be reproduced in real time, causing temporary confusion of the musical sound, it is possible to immediately restore the sound-generating action of the musical sound and suppress the noise to a minimum. Returning to step S5 of FIG. 8, when the start factor ④ occurs, perform the processing corresponding to its requirements (for example, input event processing on the upper panel of the display 9, or input event processing from the command of the keyboard 8, etc.) (step mule S12), and Perform the corresponding indication on the panel (Step S13). And it returns to step S3 and repeats the process of step S3 and below. On the other hand, when the start factor ⑤ occurs, the pre-prepared paper size of the main path is applied to the Chinese National Standard (CNS) A4 specification (2! 〇 '伂 2.97mm I 32----.------ -^ ------.- ST ------ (Please read the precautions on the back before filling in this page) A7 ___B7_ 5. Description of the invention (30) The fixed processing (step S14) is eliminated from the display 9 ( Step S15) panel. And return to the previous step. Furthermore, in step S5, when it is judged that two or more starting factors ① to ⑤ occur, the steps are in the order of starting factors ①, ②, ③, ④, ⑤ Processing below S5. Steps S3 to S5 are hypothetical representations of task management that simulates multitasking. In fact, in the process of processing according to the occurrence of arbitrary start factors, when the start factor occurs with a higher priority order , Can be interrupted by other processors (for example, in the process of "sound source processing 1" according to the occurrence of the activation factor ②, you can use the interruption of the activation factor ① to perform "MIDI processing j, etc." Next, the description will be made relative to the above embodiment Examples of changes are as follows. Ministry of Economic Affairs Central Standards Printed by the Bureau ’s Consumer Cooperative (please read the precautions on the back before filling in this page). The above implementation form is shown in step S51 of “Sound Source Processing 1” of 圚 12 every time an internal interrupt signal occurs using a software timer. , The current time GT minus the final time ST at the end of the tone generation processing is set to the amount of generation SR (ie, the ungenerated tone data without the internal interrupt signal is generated in the subsequent opportunity of the internal interrupt signal. All generated) method. This method has the advantage that the generation of ungenerated tone data can be carried out at the earliest. However, this method will cause the internal interrupt signal to occur after the internal interrupt signal has not occurred several times in a row. The amount of musical data generated by chance increases SR. As mentioned above, once the amount of generated sound increases, the time spent by CPU3 when performing the "Sound Source Processing 1" one time increases, so the CPU3 will be affected by the "Sound Source Processing 1". Since it has formed a monopoly for a long time, it is necessary to start processing such as "Sound Source Processing 2" with a lower priority than "Sound Source Processing 1 j" At the time of occurrence, CPU3 was unable to carry out this paper standard. The Chinese National Standard (CNS) A4 specification (210X297 mm) was applied. 33-Printed A7 _B7_ by the Central Bureau of Economic Affairs of the Ministry of Economic Affairs Beigong Consumer Cooperative V. Invention description (31) When the generated amount SR is increased, when there is less operable time EJ, it will extremely reduce the vocalization frequency of the musical data that can be generated. Therefore, the following is the "I instructions to slowly generate ungenerated musical data Examples of changes are as follows. [Change example 1] This change example uses the software timer to generate an internal interrupt signal (that is, generates a musical tone waveform) as the signal information in place of "Sound Source Processing 1" whenever an internal interrupt signal occurs. (Referred to as the generated implicit command (cue) of the waveform) and corresponding to the number of elapsed time of the internal interrupt signal before the generation of the write processing (called the implicit command) in a predetermined buffer in RAM5 (called the implicit command buffer) deal with). And when writing the implied instruction of waveform generation into implied instruction processing, the amount of tone data generation is determined within a certain range so that the time of tone generation processing is not too long, and the tone data is generated according to the setting, so that the implied instruction buffer The waveform generation implied instruction performs the elimination process (referred to as "sound source processing 1 '") according to the number of its generated amount. Each time the implied instruction generated by the waveform is written into the implied instruction buffer for the above processing, ungenerated musical tone data can be slowly generated. According to the next method, if the internal interrupt signal does not occur multiple times in a row, although the number of implicit commands generated by the waveform in the implicit command buffer can be increased, the music data of the "sound source processing 1 '" once The amount of generated is suppressed within the above certain range, so it will not cause the situation of "sound source processing 1 '" long-term continuous occupation and so on. And it is easy to ensure that the processing with lower priority is performed, and it is possible to prevent the number of vocal channels that generate musical data from being extremely reduced. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm I 34-(please read the note $ item on the back and then fill in this page)-installed. Order A7 B7 printed by Beigong Consumer Cooperative, Central Bureau of Standards, Ministry of Economic Affairs Fifth, the description of the invention (32) Next, please refer to the round 16 to read 20 "The description of the change example is as follows. Figure 16 is a flow chart showing the main path of the CPU3 in this Luan change example. The most preliminary" S101 " "Setting" is applied to the process of "Initial setting" (see Fig. 9) in step S1 of circle 8 to clear the data in the above-mentioned implied command buffer of RAM5. The subsequent step S10 2 is to proceed with the step of Fig. 8 The same processing as S2. The next step is ankle S103 which detects the occurrence of the following starting factors. Starting factor ①: MIDI information is supplied from the “sequence program” (see Part 2). Starting factor ②: The use of software timer to start the “source” The internal interrupt signal of "Part". Starting factor ③: Write the implicit command generated by the waveform into the implicit command buffer. Starting factor ④: Detect the processing requirements of the "output device". Starting factor ⑤: Detect other requirements (The input event of the panel., Or the command input event of the keyboard 8 (except for the command in the main path)> Start factor ⑥: Detect the input event of the end command of the main path of the keyboard 8 0 Among the above start factors, except the start factor ③ It is the same as the start factor detected by step S3 in Qi 8. The next step S104 is the same as step S4 in Figure 8, and it can determine whether any of the above mentioned start factors occur. And when any of the start factors occur, proceed to the step S105, determine what is the cause of the start (the priority order when the start factor is plural, ① is the highest, the following is based on the order of ②, ③, ④, and ⑤. ) L 35-(please read the precautions on the back before filling in this page) • Install · &11; 11 A7 ____B7_ for consumer cooperation of the Central Prototype Bureau of the Ministry of Economic Affairs V. Invention Description (33) Decrease.) Step S105 The start factor ① The process after the occurrence (step S106 "MIDI processing" and S107 process) is determined with the Qi 8 step ankle S5 to determine the occurrence of the start factor ① The time factor 8 step S6 and S7 The processing is the same. On the other hand, when it is judged that the start factor ② (soft «internal interrupt signal of the timer) occurs, proceed to the" implied instruction "of step S108. In the same example, due to the influence of other processing that the CPU3 must perform, the internal interrupt signal may be delayed, or the internal interrupt signal may not occur, etc. Therefore, from the occurrence of the internal signal to the second occurrence of the internal interrupt signal The time is not limited to 10 milliseconds and may exceed 10 milliseconds.) "Implicit instruction processing" is shown in Figure 17, the elapsed time from the occurrence of the previous internal interrupt signal to the occurrence of this internal interrupt signal corresponds to several times 10 milliseconds, Generate multiple times of waveforms to generate hidden instructions (ie, the first one when the elapsed time is more than 10 milliseconds and less than 20 milliseconds, the second one when the elapsed time is more than 20 milliseconds and 30 milliseconds. Including instructions), write the generated waveform to generate implicit instructions (step S120). And return to the previous step. When the "implicit command processing" is completed, the predetermined status display on the screen is performed (step S109), and the procedure returns to step ankle S103. By this, the "implicit command" loads the waveform in the implicit command buffer to generate an implicit command, which causes the start factor ③ to occur. When it is determined in step S105 that the start factor ③ has occurred, the process proceeds to "Glycoside processing 1 '" in step S110. Fig. 18 is a flowchart showing an example of "sound source processing 1 '". The first step S121 is to set the amount of production SR to 10 milliseconds (this paper standard corresponding to 1 output buffer volume is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) · 36-(please read the precautions on the back before filling in This page) Binding · Order 312776 A7 _B7 _ V. Description of the invention (34) 1/10 of the music data) ° The next step S122 is the same as the step S52 of FIG. 12, reproduce the reserved output buffer in "Initial settings" One of the remaining output buffers other than the device is set to the tone generation area with the time ST as the previous generation and SR. Printed by the Ministry of Economic Affairs, Central Bureau of Accreditation and Consumer Cooperatives (please read the precautions on the back before filling in this page). The subsequent step S123 corresponds to the number of implicit commands generated by the waveform in the implicit command buffer, which determines the amount of generated SR. The number of vocalization channels of music data. More specifically, when the number of implicit commands generated by the waveform in the implicit command buffer is less than a certain value (that is, when the number of internal interrupt signals that do not occur continuously is less than the certain number above), it is decided to perform processing at the start of recording (Figure 10) The number of vocalization frequencies allocated for vocalization is the number of vocalization channels that generate musical data. On the other hand, when the number of implicit commands generated by the waveform in the implicit command buffer is above the certain value (when the number of uninterrupted internal interrupt signals reaches a certain value or more), it is determined that the number of utterances is less than the utterance allocation for recording start event processing The frequency is used as the number of vocal channels that generate musical data. As mentioned above, the reason for reducing the sound channel is that when the internal interruption signal of the continuous performance does not occur several times, the generated tone data increases to a certain degree, so by reducing the sound channel, the time required for "Sound Source Processing 1 '" is shortened by This can cause the generation of music data that has not been generated earlier. In addition, this step S123 is different from step S53 of FIG. 12, and it is not necessary to reduce the number of vocalization channels by the relationship of the operable time EJ (the original modification example was not generated by an internal interrupt signal but in the implicit instruction buffer Loading the waveform generates implicit commands to start the "audio source processing plant", so there is no concept of operable time EJ itself), which will not cause an extremely reduced number of vocal channels. This paper scale is applicable to the Chinese National Standard (匚 奶) 84 specifications (297 mm 2). 37 · The Central Standards Bureau of the Ministry of Economic Affairs, Beigong Consumer Cooperation Du Printed A7 _B7____ V. Invention Description (35) Second Steps S124 to S13 5 perform the same processing as steps S54 to S65 of BΠ2. The subsequent step S136 generates an implicit command for clearing only one waveform in the command buffer. As mentioned above, in the example of 圚 18, the production amount SR of a “sound source processing l'j is fixed at 10 milliseconds (corresponding to 1 out of 10 of the output buffer volume music data). Therefore, it will not be affected by the“ sound source processing 1 '"causes a long-term monopoly on CPU3, so it is easy to ensure that the priority is lower than that of" sound source processing 1' ", and it can prevent the extreme reduction of the number of vocal channels of" sound source processing 1 '" . Next, FIG. 19 is a flowchart showing another example of "sound source processing Γ". The first step S141 is to generate the number of implicit commands corresponding to the waveform loaded in the implicit command buffer, and determine the number of vocalization channels for generating the set SR and generating the tone data. The number of vocalization channels is determined in the same way as step S123 in FIG. The determination of the amount of generated SR is described in more detail as follows. When the number of implied instructions generated by the waveform in the implicit instruction buffer is less than a certain value (that is, when the number of internal interrupt signals that have not occurred consecutively is less than a certain value), the amount of generated SR is determined Is 10 milliseconds. On the other hand, when the number of implied instructions generated by the waveform in the implied instruction buffer reaches the above-mentioned certain value (that is, when the number of internal interrupt signals that have not occurred continuously reaches a certain value), it is decided to set the SR to 20 ms (corresponding to 1 output (2 / 10th of the time of buffering music data). (For a specific example, if the internal interrupt signal has not occurred for more than 20 consecutive times and the number of implied instructions generated by the waveform in the implied instruction buffer has reached more than 20, the number of reservations shown in Figure 7 is reduced from the original 4 to 2. Therefore, it can be decided to set the SR to 20 milliseconds). In addition, the number of implied instructions generated by the waveform in the implied instruction buffer is greater than the above-mentioned certain value. ^ Zhang scale applies to the Chinese national standard ((: Milk) into 4 specifications (210 father 297 mm) _38. (Please read the notes on the back before filling this page)

_B7_·_ 五、發明説明(36 ) 度時,在一次「音源處理1’」所須時間不甚長之一定範圍 內可決定更大之產生量SR。 其次步驟S142中,與圚12之步蹂S52相同,在「初始 設定j再現預約之輸出緩衝器以外剩餘的输出緩衝器中1 個輸出緩衝器上設定以時刻ST (在表示MIDI訊息输入時刻 的時間軸上完成MIDI訊息之樂音產生處理的最終時刻)爲 前面之產生量SR的樂音產生領域。 步驟S143至S154中進行與圖12之步探S54至S6 5相同的 處理。其次之步驟S155係對應步踝S141所決定產生量SR爲 10毫秒的數倍,僅清除該倍數量(產生量SR爲10毫秒時僅 1個,產生量SR爲20毫秒時則爲2個)之隱含指令緩衝器 內之波形產生隱含指令。並回到前步驟。 如上述圖19之例爲,數次連縯未能發生內部中斷信號 時,使一次「音源處理1’」的產生i在一次「音源處理1’ j所須時間不甚長的一定範圍內決定大於10毫秒之長度。 藉此不僅可達成圖18例所表示之效果,同時當未產生之樂 音增多時可使未產生的樂音資料提早產生。 經濟部中央橾準局員工消費合作社印製 (請先閲讀背面之注意事項再填寫本頁) —但完成如上述之「音源處理1’」時,在步驟S111中 進行畫面上預定的狀態顯示,並回到前步驟裏。 在步驟S105判定起動要因④發生之後的處理(步驟 S112之「音源處理2」及步驟SH3的處理)爲除了「輸 出裝置j之重設要求(圖13之步驟S78 )之「音源處理2 j以外,在圖8之步驟S 5進行判定發生起動要因③時之圖 8步驟S10的「音源處理2」及步騄S11相同之處理。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐V 39 - ' 312776 A7 ____B7_ 五、發明説明(37 ) 圖2 0係表示根據「输出裝置」重設要求之「音源處理 2」一例之流程圖。步驟S161中加上音源暫存器及输出緩 衝器,清除設於變更例中全部之隱含指令緩衝器內之波形 產生隱含指令。其次之步騄S162至S164中,進行與圖15之 步驟S92至S94相同的處理。並回到前步騄。 回到圖16判定在步驟S105啓動要因⑤、⑥發生時之後 的處理(步驟S114及S115、步騍S116及SU7)分別是與圖 8之步驟S5判定啓動要因④、啓動要因⑤發生時圖8之步 驟S12及S13、步驟S14及S15進行相同的處理。 〔變更例2〕 經濟部中央橾準局負工消費合作社印袋 (請先閱讀背面之注意事項再填寫本頁) 此一變更例爲,當軟體定時器每發生內部中斷信號時 ,在樂音產生處理所須的時間不致過長的預定範圍內決定 作爲未產生樂音資料量之函數之樂音資料的產生置,進行 該量之樂音資料的產生處理(稱之爲「音源處理1’’」) 。當每發生內部中斷信號信號時進行上述之處理,可藉此 緩慢產生微產生的樂音資料。即,此一方式以內部中斷信 號的發生爲啓動要因進行樂音產生處理一點與圖8之主路 徑相同,但是使未產生之樂音資料未能一次全部產生而僅 是緩慢逐渐產生一點與圖12之「音源處理1」不同,但是 與〔變更例1〕之「音源處理1’」相同。因此,CPU3不致 爲「音源處理I1’」長時間連縯獨占,而可達成與〔變更 例1〕相同的效果。此外,相對於〔變更例1〕中「音源 處理1’」之啓動要因(在隱含指令緩衝器上載入波形產生 本紙張尺度適用中國國家標準(CNS )八4規格(210X297公釐)L - 經濟部中央標準局貝工消費合作社印製 A7 _B7_ 五、發明説明(38 ) 隱含指令)的優先順位必須低於「隱含指令處理」的啓動 要因(內部中斷信號的發生),以此一方式使內部中斷倍 號的發生本身形成『音源處理1’’」之啓動要因,而具有 可更爲容易優先進行樂音產生處理的優點。 其次,參閱圖21至圖25具髗說明此一變更例如下。 在此變更例中進行CPU3之主路徑爲,除了以「音源處 理1’’」代替「音源處理1」進行之點外,與圖8全部相 同。圓21是表示「音源處理1〃」一例之流程圖。最初之 步驟S201中從表示MIDI訊息输入時刻之時間軸上的現在時 刻GT減去其時間軸上根據MIDI訊息输入時刻中該等MIDI訊 息的樂音處理完成時罪終的输入時刻設定爲延遲量OR (以 時間長度表示未產生樂音資料的量)。其次在步驟S202中 決定產生量SR作爲延遲置OR的函數。 圖2 2爲表示該函數特性之一例圖。在該例中延遲量OR 未滿一預定値時,產生置SR爲10毫秒(對應1输出緩衝量 樂音賫料的10分之1的時間),但是延遲量0R達到一預定 値以上時,隨著延遲量0R的增加使產生置SR連績地增加。 並且,產生S SR到達不使樂音產生處理時所須的時間過長 範圍內之預定上限値SRmax時,上限値SRnax例如可以是20 毫秒,或爲其他値亦可。 圖23爲表示此函數特性之其他例圖。該例中延遲量0R 未滿一預定値時,產生置SR爲10毫秒,但是延遲置OR到達 一預定値以上時,隨著延遲量0R的增加使產生量不致連績 增加。並且,產生量SR到達不使樂音產生處理時所須之時 本紙張尺度適用中國國家標準(CNS)A4规格( 210X297公釐X 41 - (請先閲讀背面之注$項再填寫本頁) 装. 訂 2776 Α7 Β7 經濟部中央標準局負工消費合作社印裝 五、發明説明(39 ) 間過長的範圍內一預定値之上限値SRraax時,即使延遲OR 仍持績增加時,產生量SR仍舊維持著上限値SRmax。 此外,如上述決定的產生量SR不僅是以10毫秒爲單位 取其整數倍之値,亦可取具有相對於該單位端數之値者。 因此,一次「音源處理I’1」所產生之樂音資料量不僅是 如圖5或圖6所示1输出緩衝量之樂音資料10分之1量的 整數倍,同時可形成具有相對於該單位端數之量者。圖24 係將此變更例中產生樂音資料量之一例以內部中斷信號的 發生關係表示圖。同圖中,在某一區段裏發生第內部中斷 信號之第1次機會中(圖之0毫秒次),產生該等區段之 1輸出緩衝量樂音資料的10分之1量的樂音資料。並且, 未發生內部中斷信號的第2、3次機會(圚之1〇、20秒次 )之後,在發生內部中斷信號的第4次機會(圖之3 0秒次 )裹,未產生之樂音資料中產生1输出緩衝量樂音資料的 10分之1.6量的樂音資料(因此該機會爲止共計產生該等 區段內1输出緩衝董樂音資料10分之2.6置的樂音資料, 圇中是以2 . 6表示之)。 其次,發生內部中斷信號第5次機會(圖之4〇毫秒次 )裏,產生1输出緩衝量樂音資料的10分之1·5量的樂音 資料(因此該機會爲止共計產生該等區段內1輸出緩衝量 樂音資料10分之4.1量的樂苷資料,圖中是以4.〗表示之) 。發生內部中斷信號第6次機會(圖之50毫秒次)裏,產 生1輸出緩衝置樂音資料10分之1_4置的樂音資料(因此 該機會爲止共計產生該等區段內1输出緩衝董樂音資料1〇 木紙張Μ適用中國國家揉準(CNS ) Α4規格(210X297公羞) 42 - —.------< -^-— (請先Μ讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局貝工消費合作社印製 A7 B7 五、發明説明(40 ) 分之5.5置的樂音資料,圖中是以5.5表示之)。並且,在 未發生內部中斷信號第7、8次機會(圖之60、70毫秒次) 之後,在發生內部中斷信號第9次機會(圖之80毫秒次) 裏,產生1输出緩衝置樂音資料的10分之1.7量的樂音資 料(因此該機會爲止共計產生該等區段內1輸出緩衝置樂 音資料10分之7.2量的樂音資料,圖中是以7.2表示之)。 其次,發生內部中斷信號第10次機會(圖之90毫秒次)裹 ,產生1输出緩衢量樂音資料的1〇分之1.6量的樂音資料 (因此1區段內共計產生該等區段內1输出緩衝置樂音資 料10分之8.8量的樂音資料,圖中是以8.8表示之)。 且於其次的區段中,在發生內部中斷信號的第i次機 會(圇之100毫次秒)裏,產生前面區段中剩餘之未產生 樂音資料之1输出緩衝量樂音資料的10分之1.2量的樂音 資料,及此次區段中1输出緩衝量樂音資料的1〇分之0.3 量的樂音資料(圖中是以10. 3表示之)。其次,在發生內 部中斷信號的第2次機會(圖之110毫次秒)裹,產生此 次區段中1输出緩衝量樂音資料的10分之1.4量的樂音資 料(因此該機會爲止之此次區段內共計產生該區段內1输 出緩衝量樂音賫料10分之1.7量的樂音賫料,圖中是以 1_7表示之),以下同樣在內部中斷信號發生的機會裏產 生上限値SRmax範圍內之樂音資料。 步驟S202之後的步驟S203中,是在「初始設定」再現 預約的输出緩衝器以外剩欲輸出緩衝器中1输出緩衝器上 ,設定以時刻ST爲前面之產生量SR的樂音產生領域。 本紙張尺度適用中國國家標準(CNS)A4規格( 210X297公釐V 43 · (請先閲讀背面之注$項再填寫本頁〕 -訂. ,Γ 312776 A7 B7 五、發明説明(41 ) 其次之步騄S204中可決定產生產生置SR之樂苷資料的 發聲頻道數。 此發聲頻道數可決定其中一例作爲延遲量OR的函數。 圖2 5係表示此一函數特性之一例圖。在胲例中,延遲置OR 不滿一預定値時,在記錄開始事件處理(圖10)進行發聲 分配之發聲頻道數CHmax雖形成可產生樂音資料之發聲頻 道數,但是延遲量OR在一預定値以上時,隨著延遲量OR的 增加產生樂音資料的發聲頻道數則減少至CHinax以下下。 如上述,延遲量OR在一預定値以上時,藉著發聲頻道數的 減少會縮短樂音產生處理所須的時間。 又,其他之例係與圖12之步踝S53相同方式決定此發 聲頻道數。 步驟S204之後的步驟S205至步驟S214中,進行與圖12 之步驟S53至步驟S63相同的處理。隨後之步驟S215中係將 此次記錄終止之發聲頻道的音量波封大小朝著0漸減.。其 次之步驟S216至步驟S217中,進行與圖12之步騄S64至S65 相同得處理。並回到前步驟。 經濟部中央標準局員工消費合作社印袋 (請先閲讀背面之注意事項再填寫本頁) 如上述,該電腦音樂系統即使在不具完全多任務功能 之0S上進行處理時,仍可防止其他處理影響造成「音源部 」啓動延遲爲原因之發聲障礙等事態的發生。 再者,上述之實施形態於〔對策1〕之中,總計在1 區段內產生預定樣品數之樂音資料。但是,此「總計」並 非要求一定在1區段內完成該預定樣品數之樂音資料的產 生。尤其是該等實施形態爲圖7所示,係形成可複數再現 本紙張尺度適用中國國家標準(CNS ) Μ規格(210X2.97公釐)-44 - 經濟部中央標準局負工消費合作社印製 A7 B7 五、發明説明(42 ) 預約寫入樂音資料之輸出緩衝器,因此即使在1區段內未 能完成樂音資料的產生運算時,仍可在隨後的區段進行修 正運算者。如圖6例之說明,圚6中將未發生內部中斷信 號機會之未產生樂音資料可即時在1區段內最後的機會前 產生,但是即使在該最後機會仍未能產生時,仍可將其產 生留待其次之區段亦可(例如,僅10次機會以7、8次的2 次置的樂音資料產生,利用隨後之區段內發生內部中斷信 號的機會產生其餘9、10次2次量之樂音資料來代替如圇 6所示之10次的機會(100亳秒次)產生全部未產生之4 次量的樂音資料)。此外,〔變更例1〕及〔變更例2〕 中如圖16之例示,可將某區段之未產生的樂音資料的產生 留待其次之區段內完成。 又,以上的資施形態爲,在記錄_始事件處理或記錄 終止事件處理等MIDI處理之中,將表示「音源部」控制用 控制參數、記錄開始及事件之發生時刻的資料收納在設於 各發聲頻道的每一音源暫存器內。但是,可在1記憶區內 將表示控制參數等發聲頻道之頻道號碼的資料成組而依序 記入來代替分別將該等控制參數等各個發聲頻道收納在其 他音源暫存器中。此時,根據MIDI信息的供應一旦作成序 列資料時,可根據此一序列賫料進行樂音資料的產生。 又,以上的實施形態爲在「音源處理2」中,將「輸 出裝置」退回之输出緩衝器連結在已保有「音源部」的输 出緩衝器之後,因此在「音源處理1」之中於上述連結之 输出緩衝器上分別產生1输出緩衝量之樂音資料。但是, 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐)L 45 - —--I —ί -裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部中央標準局員工消费合作社印装 A7 _B7_ 五、發明説明(43 ) 也可以個別的输出緩衝器爲單位代替上述之連結输出緩衝 器。 又,以上的實施形態中,先進行「音源部」的起動, 並將4個输出緩衝器的再現預約在「输出裝置j中。但是 先進行「音源部」的起動再現預約在「输出裝置」的输出 緩衝器的數目當然也可以4以外的數目。又,設於RAM5內 的输出緩衝器數同樣較先進行「音源部」起動再現預約於 「输出裝置」之输出緩衝器的數目多1以上之適當數亦可 〇 又,以上之實施形態係實施全部之〔對策1〕、〔對 策2〕、〔對策3〕及〔對策4〕。但是,該等之對策分 別互相獨立實施時,可防止「音源部」起動延遲爲原因造 成發聲時障礙等事態。因此,緊實施其中之一對策,或適 當組合2個或3個對策實施亦可。 又,以上的實施形態是將波形記憶方式之樂音產生處 理運用本發明於CPU進行方式之軟髓音源中,但進行於 CPU方式之軟體音源中亦可將本發明運用於其他適當的樂 音產生方式(例如FM合成方式等)。 又,本發明不僅可運用於藉由電腦(即泛用電腦)之 CPU進行樂音產生處理的軟體音源中,同時可運用具備搭 載於專用樂音產生裝置或其他特殊功能之適當裝置內電腦 的CPU進行樂音產生處理之軟體音源系統中。 〔發明效果〕 本紙張尺度適用中國國家標準(CNS)A4規格(210Χ297公釐46 - (請先閲讀背面之注意事項再填寫本頁) *------ί -裝· 訂_B7_ · _ V. Description of the invention (36) At a degree, within a certain range where the time required for "Sound Source Processing 1 '" is not very long, a larger amount of production SR can be determined. Next, in step S142, the same as step S52 in step 12, set the time ST (in the time that represents the input time of the MIDI message) to one output buffer out of the remaining output buffers other than the output buffer of the initial setting j playback reservation The final time when the tone generation process of the MIDI message is completed on the time axis) is the tone generation area of the previous generation amount SR. The same processing as steps S54 to S65 in FIG. 12 is performed in steps S143 to S154. The second step S155 is Corresponding to the ankle S141 determined that the amount of production SR is a multiple of 10 milliseconds, only clear the number of times (only 1 when the generation SR is 10 milliseconds, and 2 when the generation SR is 20 milliseconds). The waveform in the device generates an implicit command and returns to the previous step. As shown in the example in Figure 19 above, when several consecutive performances fail to generate an internal interrupt signal, the generation of a "sound source processing 1 '" is generated in a "sound source" The length required to process 1 'j is not too long within a certain range to determine the length of more than 10 milliseconds. This not only can achieve the effect shown in the example of Figure 18, but also can make the unproduced musical data earlier when the unproduced musical sound increases Produced. Printed by the Employee Consumer Cooperative of the Central Department of Economic Affairs of the Ministry of Economic Affairs (please read the precautions on the back before filling in this page)-but when the "Sound Source Processing 1 '" as described above is completed, the on-screen reservation status is performed in step S111 Display and return to the previous step. The processing after the determination of the cause of activation ④ in step S105 (the processing of “sound source processing 2” in step S112 and the processing of step SH3) is in addition to the “sound source processing 2 j” of the “reset request of the output device j (step S78 in FIG. 13) At step S5 of FIG. 8, the same processing as the "sound source processing 2" of step S10 of FIG. 8 and the step S11 of step S10 of FIG. 8 when it is determined that the activation factor ③ occurs. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm V 39-312776 A7 ____B7_ V. Description of invention (37)) Figure 2 0 represents an example of "sound source processing 2" resetting requirements according to the "output device" Flow chart. In step S161, a sound source register and an output buffer are added to clear all the waveforms in the implicit command buffer in the modified example to generate an implicit command. The next steps are S162 to S164. The same processing as steps S92 to S94 in FIG. 15. And return to the previous step. Return to FIG. 16 to determine the processing after the start factor ⑤, ⑥ occurs in step S105 (steps S114 and S115, step S116 and SU7) are The same processing is performed as steps S12 and S13, and steps S14 and S15 of Fig. 8 when the activation factor ④ and the activation factor ⑤ are determined at step S5 of Fig. 8. [Modification 2] The Ministry of Economic Affairs Central Bureau of Accreditation Bureau Cooperative Printed Bag (Please read the precautions on the back before filling out this page) This modification example is that when the software timer generates an internal interrupt signal, it is determined within the predetermined range that the time required for the tone generation processing is not too long The tone data is generated as a function of the amount of tone data generated, and the amount of tone data is generated (referred to as "sound source processing 1"). When the internal interrupt signal is generated, the above processing can be performed by This slowly generates slightly generated music data. That is, this method uses the generation of the internal interrupt signal as the starting point because the tone generation process is the same as the main path of FIG. 8, but the ungenerated music data cannot be generated all at once. It is gradually produced a little bit different from the "sound source processing 1" in Fig. 12, but the same as the "sound source processing 1 '" in [Modification 1]. Therefore, the CPU 3 does not monopolize the "sound source processing I1'" for a long period of time, and The same effect as [Modification 1] can be achieved. In addition, relative to the activation factor of "Sound Source Processing 1 '" in [Modification 1] (loading the waveform on the implied command buffer to generate this paper scale applies the Chinese national standard (CNS) Eight 4 specifications (210X297mm) L-A7 _B7_ printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of Invention (38) Implicit Directive) The priority order must be lower than the start factor of "implicit command processing" (the occurrence of an internal interrupt signal). In this way, the occurrence of the internal interrupt multiple itself forms the start factor of "sound source processing 1" " To make it easier to prioritize the advantages of the tone generation process. Next, refer to FIGS. 21 to 25 to illustrate the example of this change. In this change example, the main path of the CPU 3 is, except that “sound source processing 1” is used instead of “ The point where the sound source processing 1 is performed is the same as that of FIG. 8. The circle 21 is a flowchart showing an example of "sound source processing 1". In the first step S201, the current time GT on the time axis indicating the input time of the MIDI message is subtracted On the time axis, the input time at the end of the sin according to the completion of the tone processing of the MIDI messages in the input time of the MIDI message is set to the delay amount OR (the amount of time in which no tone data is generated). Next, in step S202, the amount of production SR is determined as a function of the delayed OR. Fig. 22 is a diagram showing an example of the characteristics of the function. In this example, when the amount of delay OR is less than a predetermined value, the SR is set to 10 milliseconds (corresponding to the time of 1 out of 10 of the output buffer volume music tone), but when the amount of delay 0R reaches a predetermined value or more, the The increase in the delay amount 0R causes the SR to increase continuously. In addition, when S SR is generated to reach a predetermined upper limit value SRmax in a range where the time required for the tone generation processing is not too long, the upper limit value SRnax may be, for example, 20 milliseconds or other values. Fig. 23 is a diagram showing another example of the characteristics of this function. In this example, when the delay amount 0R is less than a predetermined value, the SR is set to 10 milliseconds, but when the delay value OR reaches a predetermined value or more, as the delay amount 0R increases, the generated amount does not increase continuously. In addition, when the amount of production SR reaches the time required to prevent musical sounds from being processed, the paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X297mm X41-(please read the note $ item on the back and fill in this page) . Order 2776 Α7 Β7 Printed by the Consumer Labor Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs. 5. Description of the invention (39) When a predetermined upper limit value SRraax is within a long range, even if the OR continues to increase even after the delay, the amount of production SR The upper limit value SRmax is still maintained. In addition, the generation amount SR determined as described above is not only an integer multiple of 10 milliseconds, but also a value with a number relative to the end of the unit. The amount of musical data generated by '1' is not only an integral multiple of 1/10 of the musical data of 1 output buffer as shown in Fig. 5 or Fig. 6, but also can be formed with an amount relative to the number of units. 24 is an example of the amount of musical data generated in this modified example, which is represented by the occurrence of internal interrupt signals. In the same figure, in the first opportunity of the internal interrupt signal in a certain section (0 milliseconds in the figure) ), Producing this Section 1 outputs the tone data of 1 / 10th of the buffered tone data. Also, after the second and third chances of the internal interrupt signal (10th and 20th of the second), the internal interrupt signal occurs The 4th chance (30 seconds in the picture), the ungenerated tone data generates 1 output buffer amount of the tone data of 1.6 points out of 10 points of the tone data (so the total number of 1 in these sectors is generated up to the opportunity Output buffer music data set at 2.6 out of 10, which is represented by 2.6.) Secondly, in the 5th chance of generating an internal interrupt signal (40 milliseconds in the figure), 1 output buffer is generated The music data of 1/5 of 10 of the music data (therefore the opportunity to generate a total of 4.1 out of 10 pieces of music data of the output buffer music data of these sections, the figure is represented by 4.〗 ) .In the 6th chance of the internal interrupt signal (50 milliseconds in the picture), 1 output buffer set tone data is generated 1_4 out of 10 set tone data (so a total of 1 output buffer manager in these sections is generated up to this opportunity Music data 10 wood paper M is being applied National Standard (CNS) Α4 specification (210X297 public shame) 42-—.------ <-^ -— (please read the precautions on the back and then fill in this page) Order the Central Standards Bureau of the Ministry of Economic Affairs A7 B7 printed by the Industrial and Consumer Cooperatives V. Description of invention (40) Musical data set at 5.5 / 40, which is represented by 5.5 in the figure. And, the 7th and 8th chances of no internal interruption signal (60, 60) After 70 milliseconds), at the 9th chance (80 milliseconds in the figure) of the internal interrupt signal, 1 output buffer tone data of 1.7 / 10th of the tone data is generated (so the total of these areas is generated up to this opportunity 1 in the segment outputs the music data of the amount of 7.2 out of 10 of the buffered music data, which is indicated by 7.2 in the figure). Secondly, the 10th chance (90 milliseconds of the figure) of the internal interrupt signal is generated, which generates 1.6 output of the tone data of 1.6 out of 10 of the tone data (so the total of these zones is generated within 1 zone 1 Output 8.8 pieces of music data of buffered music data, which is represented by 8.8 in the figure). And in the next section, in the i-th chance (100 milliseconds) of the internal interrupt signal, the remaining output of the previous section of the ungenerated tone data is 1 / 10th of the amount of tone data 1.2 volume of music data, and 0.3 volume of music data of 1/10 of the output buffer volume of the sound data in this section (10.3 in the figure). Secondly, the second chance (110 milliseconds in the figure) of the internal interrupt signal is generated, and the tone data of the amount of 1.4 out of 10 of the buffer data of the 1 output in the current section is generated (so the opportunity is so far) A total of 1 output buffer music sound in the sub-zone is generated in the sub-zone, which is 1.7 / 10 of the music tone, which is represented by 1_7 in the figure). Music data within the scope. In step S203 subsequent to step S202, one of the output buffers, among the output buffers remaining other than the output buffer reserved for "initial setting", is set, and the tone generation area with the generation amount SR before time ST is set. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210X297mm V 43 · (please read the $ item on the back and then fill in this page)-order. Γ 312776 A7 B7 V. Description of invention (41) Second In step S204, it is possible to determine the number of vocalization channels to generate glucoside data for SR. The number of vocalization channels can determine one of them as a function of the amount of delay OR. Figure 25 shows an example of the characteristics of this function. In the case where the delay setting OR is less than a predetermined value, the number of vocalization channels CHmax for utterance allocation at the recording start event processing (Figure 10) is formed as the number of vocalization channels that can produce musical data, but when the delay OR is above a predetermined value, As the amount of delay OR increases, the number of vocalization channels that generate musical data decreases to less than CHinax. As mentioned above, when the amount of delay OR is above a predetermined value, the reduction in the number of vocalization channels will shorten the time required for tone generation processing In addition, other examples are to determine the number of vocalization channels in the same way as step ankle S53 in FIG. 12. In step S205 to step S214 after step S204, the same steps as step S53 to step S63 in FIG. 12 are performed. In the subsequent step S215, the volume envelope of the vocalization channel where the recording is terminated is gradually reduced toward 0. Next, in steps S216 to S217, the same processing as the steps S64 to S65 of FIG. 12 is performed. .. and return to the previous step. The printed bag of 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). As mentioned above, the computer music system is processed even on the 0S that does not have full multitasking capabilities. , Can still prevent the occurrence of situations such as vocal disturbances caused by the delay of the start of the "sound source" caused by other processing effects. Furthermore, the above embodiment is in [Countermeasure 1], and a predetermined number of samples are generated in 1 section Music data. However, this "total" does not necessarily require the completion of the generation of the music data of the predetermined number of samples in 1 section. In particular, these embodiments are shown in Figure 7, which form a plurality of reproducible paper standards applicable to China National Standard (CNS) Μ Specification (210X2.97mm) -44-A7 B7 printed by the Consumer Labor Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs V. Description of Invention (42) Appointment to write The output buffer of the music data, so even if the generation of the music data cannot be completed in the 1 section, the operator can still correct the calculation in the subsequent section. As shown in the example of FIG. 6, there will be no internal occurrence in Q6 The ungenerated tone data of the interrupted signal opportunity can be generated immediately before the last opportunity in the 1 section, but even if the last opportunity is still not generated, it can still be generated for the next section (for example, only 10 The second chance is generated by the second and second tone data of the 7th and 8th times, and the remaining 9 and 10 times of the second tone data are generated by the opportunity of the internal interrupt signal in the subsequent section to replace the 10 times as shown in Fig. 6 Chance (100 Boss times) to generate all 4 times of music data not generated). In addition, as shown in the example of [Modification 1] and [Modification 2], the generation of unproduced musical tone data of a certain section can be left in the next section. In addition, in the above-mentioned form of information, in MIDI processing such as recording_start event processing or recording end event processing, data representing control parameters for the control of the "sound source", recording start, and event occurrence time are stored in Each sound source register of each sound channel. However, instead of storing the sound channels of the control parameters and other sound sources in the other sound source registers, the data indicating the channel numbers of the sound channels of the control parameters and the like can be grouped and recorded sequentially. At this time, once the serial data is prepared according to the supply of MIDI information, the musical data can be generated according to this sequence of raw materials. In addition, in the above embodiment, in the "sound source processing 2", the output buffer returned from the "output device" is connected to the output buffer that already holds the "sound source section", so it is in the "sound source processing 1" above One output buffer of music data is generated on the connected output buffers. However, the size of this paper is applicable to the Chinese National Standard (CNS) Α4 specification (210X297mm) L 45--------(please read the precautions on the back before filling in this page). A7 _B7_ printed by the Bureau Staff Consumer Cooperative. V. Invention description (43) Individual output buffers can also be used instead of the above-mentioned connected output buffers. In the above embodiment, the "sound source" is activated first, and the reproduction of the four output buffers is reserved in the "output device j." However, the "sound source" is activated and reserved for the "output device" The number of output buffers can of course also be other than 4. In addition, the number of output buffers provided in the RAM 5 may be an appropriate number more than 1 more than the number of output buffers reserved for the "output device" to start the reproduction of the "sound source" first. The above embodiment is implemented All [Countermeasure 1], [Countermeasure 2], [Countermeasure 3] and [Countermeasure 4]. However, when these countermeasures are implemented independently of each other, it is possible to prevent the delay in the activation of the "sound source" from causing disturbances in the vocalization. Therefore, one of the countermeasures should be implemented tightly, or two or three countermeasures can be combined appropriately. In addition, the above embodiment is to apply the present invention to the sound generation process of the waveform memory method in the soft pulp sound source of the CPU mode, but the software sound source of the CPU mode can also be applied to other suitable tone generation methods. (For example, FM synthesis method, etc.). In addition, the present invention can be applied not only to software sound sources that use the CPU of a computer (that is, a general-purpose computer) for tone generation processing, but can also be implemented by using the CPU of a computer equipped with an appropriate device mounted on a dedicated tone generation device or other special functions Tones in the software sound source system. [Effects of the invention] This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (210Χ297mm46-(please read the precautions on the back before filling out this page) * ------ ί -installed and ordered

A7 __B7__ 五、發明説明(44 ) 如上述,根據本發明第1樂音產生裝置及樂音產生方 法爲,即使在預定時間內數次未能啓動樂音產生處理時, 仍可在該預定的時間內產生預定樣品數之樂音資料。 又,根據本發明第2樂苷產生裝置及樂音產生方法爲 ,即使於現在使用中的發聲頻道中重新分配樂音產生處理 時,仍可立即進行該等發音頻道之新的樂音產生處理的準 備° 此外,並根據本發明第3樂音產生裝置及樂音產生方 法爲可擴充不發生聲音中斷之樂音產生處理的啓動時間延 遲的容許範圍。 又,根據本發明第4樂音產生裝置及樂音產生方法爲 ,即使未能即時再現預約,造成暫時性樂音的混亂時,可 立即恢復安定之樂音產生動作,因此可將噪音抑制在最小 限。 經濟部中央標準局貝工消費合作社印製 (請先閲讀背面之注$項再填寫本頁) 並根據本發明第5樂音產生裝β及樂音產生方法爲, 不發生聲音中斷之樂音產生處理的啓動時間延遲的容許範 圍內僅利用啓動樂音產生處理的機會即可完成樂音資料的 產生。 如上述,該等發明具有可分別防止樂音產生處理延遲 爲原因而造成發聲障礙等事態發生的優異效果。 〔圚式之簡單說明〕 圓1爲採用本發明《腦音樂系統之整體構成方塊圖。 圖2爲資現軟髖音源之軟體構造之一例示圖。 本紙張尺度適用中國國家標準(CNS ) Α4規格(210 X 2.97公釐)_ 47 _ ' A7 B7 五、發明説明(45 ) 圖3係表示構成圖2 「SGM-AP」之一例示圖。 圓4爲藉圓2軟髏處理之一例示圖。 圖5係本發明〔對策1〕之一實施例圖。 圖6爲本發明〔對策1〕之其他實施例圖。 圚7係本發明〔對策3〕之一實施例圇。 圚8爲表示CPU進行之主路徑之一例示流程圖。 圇9係表示CPU進行之初始設定之一例示流程圖。 圖10爲表示CPU進行之記錄開始事件之一例示流程圚 〇 圖11係表示CPU進行之記錄終止事件之一例示流程圖 0 圖12表示CPU進行音源處理1之一例示流程圖。 圖13爲表示DMA控制器進行中斷處理之一例示流程圚 0 圖14係表示根搛DMA控制器之退回要求進行CPU音源處 理2之例示流程圖。 經濟部中央橾準局負工消费合作社印製 (請先聞讀背面之注意事項再填寫本頁) 圖15爲表示根據DMA控制器之重設要求進行CPU音源處 理2之例示流程圖。 圖16係表示CPU進行之主路徑之一例示流程圖。 圓17爲表示CPU進行隱含指令處理之一例示流程圖。 圖18係表示CPU進行音源處理1’之一例示流程圖。 圇19爲表示CPU進行音源處理1 ’之其他例示流程圚。 圖2 0係表示根據DM A控制器之重設要求進行CPU苷源處 理2之其他例示流程圖。 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨Ο X 297公釐L 48 - A7 ________B7__ 五、發明説明(46 ) 圖21爲表示CPU進行音源處理Γ’之一例示流程圖。 圖2 2係表示決定產生董SR作爲延遲量OR函數時的函數 特性之一例示圖。 圓23爲表示決定產生量SR作爲延遲量OR函數時的函數 特性之其他例示圖。 圖24表示內部中斷信號的發生與樂音產生置的關係之 一例示圖。 圖25爲表示決定發聲頻道作爲延遲置〇R的函數時之函 數特性之一例示圖。 〔符號說明〕 (請先閲讀背面之注意事項再填寫本頁) -裝- 經濟部中央橾準局貝工消費合作杜印製 1 MIDI 2 麥克風 3 CPU 4 ROM 5 RAM 6 資料及位址匯流排 7 滑鼠 8 鍵盤 9 顯示器 10 硬碟裝置 11 DMA控制器 12 DAC 13 音響系統 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐)· _ 訂A7 __B7__ V. Description of the invention (44) As described above, according to the first tone generating device and tone generating method of the present invention, even if the tone generating process cannot be started several times within a predetermined time, it can still be generated within the predetermined time The music data of the predetermined number of samples. In addition, according to the second musical glycoside generating device and musical tone generating method of the present invention, even when musical tone generating processing is redistributed in the currently used utterance channel, preparation for new musical tone generating processing of these pronunciation channels can be immediately performed ° In addition, according to the third tone generating device and tone generating method of the present invention, the allowable range of the delay of the start time of the tone generating process without interruption of sound can be expanded. In addition, according to the fourth tone generating device and tone generating method of the present invention, even if the reservation for immediate reproduction is not possible, causing temporary disturbance of the tone, the stable tone generating operation can be immediately restored, so the noise can be suppressed to a minimum. Printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs (please read the $ item on the back and then fill in this page), and according to the fifth tone generating device of the present invention, the β and tone generating method are: tone generating processing without sound interruption Within the allowable range of the start time delay, only the opportunity to start the tone generation processing can complete the generation of the tone data. As described above, these inventions have an excellent effect of preventing the occurrence of disturbances such as vocal disturbances due to delays in the processing of musical sound generation. [Simple description of the formula] Circle 1 is a block diagram of the overall structure of the brain music system using the present invention. FIG. 2 is an example diagram of a software structure of a soft hip sound source. This paper scale is applicable to China National Standard (CNS) Α4 specification (210 X 2.97 mm) _ 47 _ 'A7 B7 V. Description of invention (45) Figure 3 shows an example of the composition of Figure 2 "SGM-AP". Circle 4 is an example of a soft bone treatment by Circle 2. FIG. 5 is a diagram of an embodiment of the present invention [Countermeasure 1]. 6 is a diagram of another embodiment of the present invention [Countermeasure 1]. Qi 7 is an embodiment of the present invention [Countermeasure 3]. Fig. 8 is an exemplary flowchart showing one of the main paths performed by the CPU.囵 9 is an exemplary flowchart showing one of the initial settings performed by the CPU. FIG. 10 is an exemplary flow chart showing one of the recording start events performed by the CPU. FIG. 11 is an exemplary flow chart showing one of the recording termination events performed by the CPU. 0 FIG. 12 is an exemplary flow chart of the CPU performing sound source processing 1. Fig. 13 is an exemplary flow chart showing one of the interrupt processing performed by the DMA controller. Fig. 14 is an exemplary flow chart showing the CPU sound source processing 2 in response to the return request of the DMA controller. Printed by the Minute Consumption Bureau of the Ministry of Economic Affairs (please read the precautions on the back and then fill out this page). Figure 15 is an example flowchart showing CPU sound source processing 2 according to the reset requirements of the DMA controller. FIG. 16 is an exemplary flowchart showing one of main paths performed by the CPU. Circle 17 is an exemplary flowchart showing one of the implicit instruction processing performed by the CPU. Fig. 18 is a flowchart showing an example of the CPU performing sound source processing 1 '. Numeral 19 is another exemplary flow diagram showing that the CPU performs the sound source processing 1 '. Fig. 2 0 is a flowchart showing another example of CPU glycoside processing 2 according to the reset request of the DMA controller. This paper scale is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 X 297 mm L 48-A7 ________B7__ V. Description of the invention (46). FIG. 21 is an exemplary flowchart showing the CPU performing sound source processing Γ ′. FIG. 2 Series 2 shows one example of the function characteristics when the generation of Dong SR is determined as the OR function of the delay amount. Circle 23 is another example of the function characteristics when the determination of the generation SR as the OR function of the delay amount. FIG. 24 shows the internal interrupt signal An example of the relationship between the occurrence and tone generation. Figure 25 is an example of the function characteristics when determining the sound channel as a function of the delay setting. [Symbol Explanation] (Please read the precautions on the back before filling in this Page)-Installation-Central Ministry of Economic Affairs, Ministry of Economic Affairs, Beigong Consumer Co., Ltd. Du Print 1 MIDI 2 Microphone 3 CPU 4 ROM 5 RAM 6 Data and Address Bus 7 Mouse 8 Keyboard 9 Display 10 Hard Disk Device 11 DMA Controller 12 DAC 13 Audio system This paper standard is applicable to China National Standard (CNS) A4 specification (210X297mm) · _ Order

Claims (1)

A8 B8 C8 D8 六、申請專利範圍 1. 一種樂音產生裝置,具備: 提供演奏資訊之供應裝置: 在預定時間內可複數次啓動前述演奏資訊之樂音產生 處理的啓動裝置; 利用前述啓動裝置進行啓動之樂音產生處理的樂音產 生裝置;及, 前述啓動裝置僅利用前述樂音產生處理實際啓動的機 會裏,進行前述樂音產生裝置進行樂音產生處理的調整, 使其在前述預定時間內產生預定樣品數之樂音資料的調節 裝置者。 2. 如申請專利範圍第1.項所記載之樂音產生裝置,其 中前述調節裝置僅於實際啓動樂音產生處理之機會中,分 配樂音產生處理的全部發聲頻道不能產生前述預定樣品數 的樂音產生時,藉減少產生樂音資料的發聲頻道數,可確 保前述預定樣品數之樂音資料的產生。 經濟部中央梂準局男工消費合作社印製 (請先閱讀背面之注意事項再填寫本頁) 3. —種樂音產生方法,係根據所提供之演奏資訊,在 一般運算處理裝置中進行樂音處理的樂音產生方法中,其 特徴爲,包含: 使樂音產生處理可在預定時間內複數次啓動之第1步 驟: 在前述第1步驟中僅在實際啓動樂音產生處理的機會 中在前述預定時間內可進行前述樂音產生處理的調節使其 產生預定樣品數之樂音資料的第2步驟:及, 可根據前述第2步驟的調節進行第χ步驟啓動之樂音 本紙張尺度適用中國國家標準(CNS ) A4規格(210X29*7公瘦) • 50 - 經濟部中央標準局貝工消费合作社印裝 A8 B8 C8 D8 々、申請專利範圍 產生處理的第3步驟。 4 .如申請專利範圍第3 .項所記載之樂音產生方法,其 中前述第3步驟係僅利用實際啓動前述樂音產生處理的機 會,分配樂音產生處理的全部發聲頻道不能產生前述預定 樣品數的樂音產生時,藉減少產生樂音資料的發聲頻道數 ,可確保前述預定樣品數之樂苷資料的產生。 5. —種樂音產生裝置,具備: 提供演奏資訊之供應裝置: 可將前述演奏資訊之樂音產生處理,在分配於未使用 的發聲頻道時,預先收納於控制該處理之第1暫存器; 在形成使用中之前述發聲頻道上分配其他前述演奏資 訊之新的樂音產生處理時,可收納控制該處理之參數的第 2音源暫存器; 在開始前述新的樂音產生處理的時間爲止,選擇前述 第1暫存器,並於此時間以後選擇前述第2暂存器代替前 述第1暫存器的選擇裝置:及, 使用前述選擇裝置所選擇的暫存器進行前述發聲頻道 之樂音資料的產生之樂音產生裝置。 6. —種樂音產生方法,係根據所提供之演奏資訊,在 一般運算處理裝置中進行樂音處理的樂音產生方法中,其 特徽爲,包含: 在未使用之發聲頻道中分配樂音產生處理,將控制該 處理之參數收納於第1暫存器內的第1步驟; 在使用中之前述發聲頻道中分配新的樂音產生處理, 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) I^ 1:裝-- (請先閲讀背面之注意事項再填寫本頁) 訂 51 A8 B8 C8 D8 經濟部中央標準局貝工消费合作社印製 六、申請專利範圍 將控制該處理之參數收納於與前述第1暫存器另外設置之 第2暫存器內的第2步驟: 前述新的樂音產生處理開始之時間前,選擇前述第1 之暫存器,並在此時間以後可選擇前述第2暫存器來代替 前述第1暫存器之第3步騄:及, 使用藉前述第3步驟選擇之暫存器進行前述發聲頻道 之樂音資料的產生。 7. —種樂音產生裝置,具備: 提供演奏資訊之供應裝置; 可分別載入樂音資料之複數個输出緩衝器; 先進行樂音產生處理育後客預約前述複數個輸出緩衝 器中一部份輸出緩衝器的再現之預約裝置; 產生前述演奏資訊之樂音資料,將產生的樂音資料載 入前述複數個输出緩衝器中剩餘的輸出緩衝器內,進行該 输出緩衝器再現的預約之樂音產生裝e;及, 根據預約再現的順序進行前述輸出緩衢器的讀出之再 現裝置。 8. —種樂音產生方法,係根據所提供之演奏資訊,在 一般運算處理裝置中進行樂音處理的樂音產生方法中,其 特徵爲,包含: 將載入分別樂音資料之1或複數個輸出緩衝器的再現 在樂苷產生處理前進行預約之第1步驟: 產生樂音資料,並將產生的樂音資料載入前述第1步 踝預約再現之输出緩衝器以外的输出緩衝器內,預約該输 (請先閲讀背面之注意事項再填寫本頁) •裝- 、1T, 'iv 本紙張尺度適用中國國家揉準(CNS ) A4規格(210X297公釐) -52 - 經濟部中央橾準局工消费合作社印裝 A8 B8 C8 D8 六、申請專利範圍 出緩衝器的再現之第2步踝;及, 根據前述第1步鰾及第2步騄預約再現的順序進行讀 出前述輸出緩衝器的控制之第3步騄。 9. 一種樂音產生裝置,具備: 提供演奏資訊之供應裝置; 載入樂音資料之輸出緩衝器: 產生前述演奏資訊之樂音資料,將產生的樂音資料載 入前述輸出緩衝器中進行該输出緩衝器再現預約之樂音產 生裝置; 根據預約再現的順序進行前述输出緩衝器的讀出之再 現裝置;及, 未將输出緩衝器的再現預約在前述再現裝置之中的場 合,藉前述樂音裝置中斷已完成產生之樂音資料的產生, 並以前述樂苷產生裝置重新開始進行以後產生開始的樂音 資料之更新裝置。 10. —種樂音產生方法,係根據所提供之演奏資訊, 在一般運算處理裝置中進行樂音處理的樂音產生方法中, 其特徵爲,包含: 產生樂音資料,將產生樂苷資料載入輸出緩衝器中, 進行該輸出緩衝器再現的預約之第1步驟; 根據前述第1步騍預約再現的順序進行讀出前述輸出 緩衝器的控制之第2步騍:及, 在預定時間內未能預約输出緩衝器的再現時,中斷現 在完成產生之樂音資料的產生,並重新開始以後應開始產 本紙張尺度適用中國國家橾準(CNS ) A4規格(210X297公釐) I ^ ^^~~ir.iv (請先閱讀背面之注意事項再填寫本頁) -53 - 鎚濟部中夬棟率局貝工消費合作'社印裂 Α8 Β8 C8 D8 、申請專利範圍 生之樂音資料的產生之第3步騍。 11. 一種樂音產生裝®,具備: 在預定時間內可複數次啓動前述演奏資訊之樂音產生 裝置的啓動裝置; 進行利用啓動裝置啓動之樂音產生處理的樂苷產生裝 置:及, 在前述樂音產生處理啓動時,使前述啓動裝置以對應 各啓動時刻之樣品數作爲目檫値,並隨該樂音產生處理所 產生之樂音資料的樣品數爲該目標値之控制裝置。 12. —種樂音產生方法,係根據所提供之演奏資訊, 在一般運算處理裝置中進行樂音處理的樂音產生方法中, 其特徵爲,包含: 在預定時間內可複數次啓動樂音產生處理之第1步驟 在前述第1步驟中啓動樂音產生處理時, 裝置以對應各啓動時刻之樣品數作爲目檩値, 產生處理所產生之樂音資料的樣品數爲該目標 驟:及, 根據前述第2步驟的控制進行前述第1步 音產生處理的第3步驟。 1 3 .如申請專利範園第11 .項所記載之樂音 其中前述啓動裝置在前述啓動裝置啓動前述樂 發生對應各啓動時刻之未產生樂音資料的樣品 料的產生樣品數,控制使該產生樣品數之樂音 私紙張尺度適用中國國家梂準(CNS ) A4規格(210X297公釐〉 使前述啓動 並隨該樂音 値之第2步 驟啓動之樂 產生方法, 音處理時, 數之樂音資 資料在前述 I;--------Ί------、訂------^ (請先閲讀背面之注$項再填寫本頁) -54 - A8 B8 C8 D8 々、申請專利範圍 樂音產生處理中產生者。 14. 如申請專利範園第12.項所記載之樂音產生方法, 其中在前述第2步驟中,藉前述第1步踝啓動前述樂音處 理時,發生對應各啓動時刻之未產生樂音資料的樣品數之 樂音資料的產生樣品數,控制使該產生樣品數之樂音資料 在前述樂音產生處理中產生者。 15. 如申請專利範園第11.項所記載之樂音產生方法, 其中前述啓動裝置在前述啓動裝置啓動前述樂音處理時, 發生根搛各啓動時刻之未產生樂音資料的樣品數之預定上 限値的範圔內所決定之樂音資料的產生樣品數,控制使該 產生樣品數之樂音資料在前述樂音產生處理中產生者。 16. 如申請專利範園第12.項所記載之樂音產生方法, 其中在前述第2步騾中,藉前述第1步騍啓動前述樂音處 理時,發生根據各啓動時刻之未產生樂苷資料的樣品數之 控生 ,產 數中 品理 樣處 生生 ugl I 遵 連 的音 料樂 資述 音前 樂在 之料 定資 決音 所樂 內之 園數 範品 的樣 値生 限產 上該 定使 預制 I.. "^、tr------^.iv (請先閱讀背面之注意事項再填寫本頁) 者 經濟部中央揉準局貝工消費合作社印製 紙 本 準 標 家 國 國 中 用 適 釐 π 9 2A8 B8 C8 D8 VI. Patent application 1. A musical tone generating device, including: a supply device that provides performance information: an activation device that can activate the musical tone generation processing of the aforementioned performance information multiple times within a predetermined time; The tone generating device of the tone generating process; and, the activation device performs adjustment of the tone generating process by the tone generating device only when the tone generating process is actually activated, so that it generates a predetermined number of samples within the predetermined time Adjusting device for music data. 2. The musical tone generating device as described in item 1 of the scope of the patent application, in which the aforementioned adjusting device is only at the opportunity of actually initiating the musical tone generating process, when all the vocalization channels allocated to the musical tone generating process cannot produce the aforementioned predetermined sample number of musical tone generating By reducing the number of vocalization channels that generate music data, the generation of music data of the aforementioned predetermined number of samples can be ensured. Printed by the Male Workers ’Consumer Cooperative of the Central Bureau of Economic Affairs of the Ministry of Economic Affairs (please read the precautions on the back and then fill out this page) 3. A musical tone generation method is to process musical notes in a general arithmetic processing device based on the provided performance information The method of generating a tone of music includes the following: Step 1 of enabling the tone generating process to be started a plurality of times within a predetermined time: In the aforementioned first step, only during the opportunity of actually starting the tone generating process within the predetermined time The second step of the tone generation process can be adjusted to produce a predetermined number of samples of the tone data: and, according to the adjustment of the second step, the paper size of the tone book activated by the step χ can be applied to the Chinese National Standard (CNS) A4 Specifications (210X29 * 7 male thin) • 50-A8 B8 C8 D8 printed by the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 々, the third step of the patent application process. 4. The tone generating method described in item 3 of the patent application scope, wherein the third step is to only use the opportunity to actually start the tone generating process, and all the vocalization channels allocated to the tone generating process cannot generate the tone of the predetermined number of samples When generating, by reducing the number of vocalization channels that generate music data, the generation of music glycoside data of the aforementioned predetermined number of samples can be ensured. 5. A musical tone generating device, comprising: a supply device that provides performance information: the musical tone generating process of the foregoing performance information, when allocated to an unused vocal channel, can be stored in advance in the first register that controls the process; When forming a new tone generation process that allocates other aforementioned performance information on the aforementioned vocalization channel in use, a second sound source register that can control the parameters of the process can be stored; at the time when the aforementioned new tone generation process starts, select The first register, and after this time, select the second register to replace the selection device of the first register: and use the register selected by the selection device to perform the music data of the vocal channel Produced musical sound generating device. 6. A tone generation method, which is a tone generation method that performs tone processing in a general arithmetic processing device based on the provided performance information, and its special emblem is, including: Distributing tone generation processing among unused utterance channels, The first step of storing the parameters that control the processing in the first register; assigning a new tone generation process to the aforementioned sounding channel in use. This paper standard is applicable to the Chinese National Standard (CNS) Α4 specification (210X297 mm ) I ^ 1: Install-(please read the precautions on the back before filling out this page) Order 51 A8 B8 C8 D8 Printed by the Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 6. The scope of the patent application will control the parameters of the process. In the second step in the second register separately provided with the aforementioned first register: before the start time of the new tone generation process, select the aforementioned first register, and select the aforementioned after this time The second register replaces the third step of the first register: and uses the register selected by the third step to generate the tone data of the vocal channel. 7. A musical tone generating device, equipped with: a supply device that provides performance information; a plurality of output buffers that can be loaded with musical tone data separately; first, a musical tone generating process is performed, and then a reservation is made for a part of the aforementioned plurality of output buffers to output A reservation device for the reproduction of the buffer; generates musical data of the aforementioned performance information, loads the generated musical data into the remaining output buffers in the plurality of output buffers, and performs the reserved musical sound generation device for reproducing the output buffer And, a playback device that performs the reading of the output buffer according to the order of scheduled playback. 8. A musical tone generating method, which is a musical tone generating method that performs musical tone processing in a general arithmetic processing device according to the provided performance information, and is characterized in that it includes: 1 or a plurality of output buffers to load respective musical tone data The reproduction of the device is performed in the first step of the reservation before the glucoside generation process: generate music data, and load the generated music data into an output buffer other than the output buffer of the ankle reservation reproduction in the first step, and reserve the input ( Please read the precautions on the back before filling in this page) • Installed-, 1T, 'iv This paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) -52-Central Ministry of Economic Affairs, Industry and Consumer Cooperative Printed A8 B8 C8 D8 Sixth, the patent application out of the second step of the buffer reproduction ankle; and, according to the order of the first step swim bladder and the second step reservation playback of the control of reading the output buffer 3 steps. 9. A musical tone generating device, comprising: a supply device that provides performance information; an output buffer loaded with musical tone data: generating musical tone data of the aforementioned musical performance information, loading the generated musical tone data into the aforementioned output buffer for the output buffer The music generator for reproduction reservation; the reproduction device that reads the output buffer according to the sequence of reserved reproduction; and, if the reproduction of the output buffer is not reserved in the reproduction device, the interruption by the music device has been completed The generated musical tone data is generated, and the aforementioned musical glycogen generating device is restarted to perform the updating of the musical tone data after the generation starts. 10. A musical tone generating method, which is a musical tone generating method that performs musical tone processing in a general arithmetic processing device according to the provided performance information, and is characterized by including: generating musical tone data, loading the generated musical glycoside data into the output buffer In the device, the first step of the reservation of the output buffer reproduction is performed; the second step of the control of reading the output buffer is performed according to the order of the first step of the reservation reservation reproduction; and, the reservation is not made within the predetermined time During the reproduction of the output buffer, interrupt the generation of the music data that is now completed, and start production after restarting. The paper standard is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) I ^ ^^ ~~ ir. iv (please read the precautions on the back before filling in this page) -53-Hajiji Department of the Central Government of the Bureau of Industrial Technology Co., Ltd.'s printing and cracking Α8 Β8 C8 D8, the third in the generation of music data for patent applications Step by step. 11. A musical tone generating device equipped with: a starting device capable of starting the musical tone generating device of the performance information multiple times within a predetermined time; a musical glycoside generating device that performs musical tone generating processing activated by the starting device: and, in the aforementioned musical tone generating When the process is started, the aforementioned starting device uses the number of samples corresponding to each starting time as the target value, and the number of samples of musical tone data generated by the musical tone generation process is the target value of the control device. 12. A musical tone generating method, which is a musical tone generating method that performs musical tone processing in a general arithmetic processing device according to the provided performance information, and is characterized by including: the first Step 1 When the tone generation process is started in the aforementioned first step, the device takes the number of samples corresponding to each activation time as the target value, and the number of samples of the tone data generated by the generation process is the target step: and, according to the aforementioned second step The control performs the third step of the aforementioned first step sound generation process. 1 3. The musical sound as described in item 11 of the patent application park where the activation device activates the musical device to generate the number of samples of the sample material that does not generate musical tone data at each activation time corresponding to the activation of the musical device, and controls the production of the sample The number of private music papers of Shuzhi is applicable to the Chinese National Standard (CNS) A4 (210X297mm). The music production method that enables the aforementioned and starts with the second step of the Yueyin value. I; -------- Ί ------, order ------ ^ (please read the $ item on the back and then fill in this page) -54-A8 B8 C8 D8 々, apply Produced in the tone generation process of the patent scope. 14. The tone generation method as described in item 12. of the patent application park, wherein in the second step, when the aforementioned tone process is started by the ankle in the first step, the corresponding The number of samples of music data that are not generated at the time of start-up is controlled by the number of samples of music data generated during the above-mentioned music generation processing. 15. As described in item 11. Tone production In the method, wherein the activation device generates the number of samples of musical tone data determined within a predetermined upper limit of the number of samples of musical tone data not generated at each activation time when the activation device activates the musical tone processing The tone data of the generated sample number is generated in the aforementioned tone generation process. 16. The tone generation method as described in item 12. of the patent application park, wherein in the aforementioned step 2 mule, it is activated by the aforementioned step 1 mule During the aforementioned musical tone processing, a control based on the number of samples that did not generate glucoside data at each start time occurred, and the production of the sample was generated at the sample management site. Ugl I. The pre-made I .. " ^, tr ------ ^. Iv is required for the sample production limit and production limit of the number model of the garden in Sole (please read the precautions on the back before filling in this page) Ministry of Economic Affairs, Central Bureau of Standardization, Beigong Consumer Cooperative printed paper standard bidder home country junior high school π 9 2
TW85102189A 1996-01-17 1996-02-26 TW312776B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8024747A JP2962217B2 (en) 1995-11-22 1996-01-17 Music generating apparatus and method

Publications (1)

Publication Number Publication Date
TW312776B true TW312776B (en) 1997-08-11

Family

ID=51566517

Family Applications (1)

Application Number Title Priority Date Filing Date
TW85102189A TW312776B (en) 1996-01-17 1996-02-26

Country Status (1)

Country Link
TW (1) TW312776B (en)

Similar Documents

Publication Publication Date Title
EP3462443B1 (en) Singing voice edit assistant method and singing voice edit assistant device
JPH0997064A (en) Automatic musical performance data processor
EP3462442B1 (en) Singing voice edit assistant method and singing voice edit assistant device
CN108630178B (en) Musical tone generating apparatus, musical tone generating method, recording medium, and electronic musical instrument
KR100500077B1 (en) Tone generating method and device
TW312776B (en)
CN110299128A (en) Electronic musical instrument, method, storage medium
JP2962217B2 (en) Music generating apparatus and method
JP6455189B2 (en) Waveform reading apparatus, method, program, and electronic musical instrument
TW316966B (en)
JP3572847B2 (en) Sound source system and method using computer software
US11042380B2 (en) Apparatus, method and computer program for processing instruction
CN102044238B (en) Music reproducing system
Warren Sound Technologies as Agency-Granting Prosthesis to Vocal Body
Comerford Simulating an organ with additive synthesis
JP3139490B2 (en) Music generating apparatus and method
JP3740717B2 (en) Tone generator and musical sound generation method
JPH11167517A (en) Signal processor
JP2001318672A (en) Musical sound generator
JPS6250898A (en) Electronic musical apparatus
JP3085940B2 (en) Sound generator
JPS6020243A (en) Central arithmetic processing circuit application device
CN116416971A (en) Voice wake-up test method, device, equipment and medium
JP2002006844A (en) Musical tone generating method
Warde Change over Time: responsibility and power in the midst of catastrophe