JPS6340318B2 - - Google Patents
Info
- Publication number
- JPS6340318B2 JPS6340318B2 JP56035583A JP3558381A JPS6340318B2 JP S6340318 B2 JPS6340318 B2 JP S6340318B2 JP 56035583 A JP56035583 A JP 56035583A JP 3558381 A JP3558381 A JP 3558381A JP S6340318 B2 JPS6340318 B2 JP S6340318B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- musical tone
- tone data
- time
- storage area
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
この発明は電子楽器のキー操作に際して、押下
されたキーに対応して発音すべき楽音の音高に関
する情報と、その音高の楽音の発音継続時間等に
関する情報とを一旦記憶し、かかる記憶された情
報に基づく音高と発音継続時間等を持つ楽音をオ
フライン再生するようにしたシークエンサに係わ
り、特に、一旦記憶された情報に対する編集処理
を高速化するための改良に関するものである。DETAILED DESCRIPTION OF THE INVENTION When a key of an electronic musical instrument is operated, the present invention provides information regarding the pitch of the musical tone to be produced in response to the pressed key, and information regarding the duration of sound generation of the musical tone at that pitch. It relates to a sequencer that is once stored and plays off-line musical tones having pitches, sound durations, etc. based on the stored information, and particularly relates to improvements for speeding up editing processing for the once stored information. It is something.
まず、第1図及び第2図を参照しつつ従前のこ
の種の装置の構成と動作を説明する。 First, the configuration and operation of a conventional device of this type will be explained with reference to FIGS. 1 and 2.
第1図は従前のシークエンサの構成を示すもの
で、キー回路部1からキー電圧S1及びキー信号S2
が供給される。 FIG. 1 shows the configuration of a conventional sequencer, in which a key voltage S 1 and a key signal S 2 are supplied from a key circuit section 1.
is supplied.
第2図はこのようなキー電圧とキー信号に広く
採用されている波形を示すもので横軸は時間軸で
ある。 FIG. 2 shows waveforms widely used for such key voltages and key signals, and the horizontal axis is the time axis.
いま、C1のキーを押すと、キー回路部1では、
同図aに示すように、C1の楽音に対応する振幅
のキー電圧が形成され、更に、同図bに示すよう
に、C1のキーの発音継続時間t1にわたつてC1の楽
音に対するキー信号がオンになる。 Now, when you press the C 1 key, in the key circuit section 1,
As shown in Figure a, a key voltage with an amplitude corresponding to the musical tone of C1 is formed, and as shown in Figure b, the musical tone of C1 is The key signal for is turned on.
C1のキーを離すと、同図cに示すように、キ
ー信号がオフになり、発音停止時間t2が形成され
るが、キー電圧はそのまま保持される。 When the C 1 key is released, the key signal is turned off and a sound generation stop time t 2 is formed, as shown in c in the figure, but the key voltage is maintained as it is.
次に、D1のキーを改めて押すと、同図dに示
すように、D1の楽音に対応する振幅のキー電圧
が形成されるとともに、同図eに示すように、キ
ー信号が再度オンになり、発音継続時間t1′が形
成される。このようにキー電圧が変化する直前に
キー信号がオフになる時間t2が存在することは、
C1の楽音がスタツカートであつたことを意味す
る。 Next, when the D 1 key is pressed again, a key voltage with an amplitude corresponding to the tone D 1 is generated as shown in d of the same figure, and the key signal is turned on again as shown in e of the same figure. , and the sound duration time t 1 ′ is formed. The fact that there is a time t 2 when the key signal turns off just before the key voltage changes means that
This means that the tone of C 1 was statuscato.
続いて、D1のキーを押してD1の楽音を時間
t1′だけ継続して発音させた後、時間t2′だけD1の
キーを離してから再度同じD1のキーを押すと、
同図fに示すように、キー信号がオンになつて
も、同図gに示すように、キー電圧はD1に対応
する振幅に保持される。 Next, press the D 1 key to play the D 1 musical tone.
After making the sound continue for t 1 ′, release the D 1 key for a time t 2 ′, and then press the same D 1 key again.
Even when the key signal is turned on, as shown in f of the same figure, the key voltage is maintained at the amplitude corresponding to D1 , as shown in g of the same figure.
今度は押されたままになつているD1のキーを
離すと同時にE1のキーを押すと、同図hに示す
ように、キー電圧がD1の振幅からE1の振幅に変
化するにもかかわらず、同図iに示すように、キ
ー信号はオンに保持されたままとなる。このよう
に、キー電圧が変化する直前にキー信号がオフに
なる時間が存在しないことは、楽音の変化がレガ
ートであつたことを意味する。 This time, when you release the D 1 key that has been pressed and simultaneously press the E 1 key, the key voltage changes from the amplitude of D 1 to the amplitude of E 1 , as shown in h of the same figure. Nevertheless, as shown in Figure i, the key signal remains on. In this way, the fact that there is no time for the key signal to turn off immediately before the key voltage changes means that the change in musical tone was legato.
さて、第1図にもどつて、キー電圧を受けてキ
ーコード作成部2はこれをその振幅値、即ち、押
下されたキーの音高に対応する2進数で表示され
るキーコードに変換して、楽音データ記憶部3に
供給する。 Now, returning to FIG. 1, upon receiving the key voltage, the key code generation section 2 converts it into a key code displayed in binary number corresponding to its amplitude value, that is, the pitch of the pressed key. , is supplied to the musical tone data storage section 3.
一方、キー信号S2を受けて、タイムコード作成
部4はクロツクパルスをキー信号S2でもつてゲー
トしながら計数することによつて、キー信号S2の
オンオフ状態の継続時間で表わされる発音継続時
間t1、t1′、t1″………と発音停止時間t2、t2′、t2″
…
……をデイジタルコード(以下タイムコードとい
う)に変換し、これを楽音データ記憶部3に供給
する。 On the other hand, upon receiving the key signal S2 , the time code generating section 4 counts the clock pulses while gated with the key signal S2 , thereby determining the duration of sound generation represented by the duration of the on/off state of the key signal S2 . t 1 , t 1 ′, t 1 ″……and the pronunciation stop time t 2 , t 2 ′, t 2 ″
…
. . . is converted into a digital code (hereinafter referred to as a time code), and this is supplied to the musical tone data storage section 3.
状態変化検出部5,6はキー電圧若しくはキー
信号のいずれが変化した場合でも、その変化を検
出して出力信号を楽音データ記憶部3に送る。 The state change detection sections 5 and 6 detect a change in either the key voltage or the key signal and send an output signal to the tone data storage section 3.
即ち、第2図e,dに示すような楽音の変化を
伴うスタツカートの場合には状態変化検出部5及
び6が共に出力信号を送り、また、同図f,gに
示すような楽音の変化を伴わないスタツカートの
場合には状態変化検出部5だけが出力信号を送
り、更に、同図i,hに示すような楽音が連続的
に変化するレガートの場合には状態変化検出部6
だけが出力信号を送る。この出力信号を受けて、
楽音データ記憶部3は、キーコード作成部2から
供給されているキーコード及びタイムコード作成
部4から供給されているタイムコードを書き込
み、これらを書き込んだ順序に従つて読み出すこ
とができるように整理して記憶する。 That is, in the case of staccato with changes in musical tone as shown in FIG. 2e and d, the state change detection units 5 and 6 both send output signals, In the case of statzcato, which is not accompanied by statzato, only the state change detection section 5 sends an output signal, and furthermore, in the case of legato, in which the musical tone changes continuously as shown in i and h of the same figure, the state change detection section 6 sends an output signal.
only sends an output signal. After receiving this output signal,
The musical tone data storage section 3 writes the key code supplied from the key code generation section 2 and the time code supplied from the time code generation section 4, and organizes them so that they can be read out in the order in which they were written. and memorize it.
このようにして、書き込みモードでは、一連の
キー操作において押されたキーによつて発音され
るべき楽音に対応するキーコード及びその楽音の
発音継続時間と発音停止時間を表わすタイムコー
ドが楽音データ記憶部3に記憶される。 In this way, in the write mode, the key code corresponding to the musical tone to be produced by the key pressed in a series of key operations and the time code representing the duration time and stop time of the musical tone are stored as musical tone data. It is stored in section 3.
一方、上記書き込みモードにて記憶されたキー
コードとタイムコードによつて指定された楽音を
再生するための再生モードでは、楽音データ記憶
部3から、書き込まれた順序に従つて、逐次に読
み出されるキーコードとタイムコードがそれぞれ
キー電圧作成部7及びキー信号作成部8に供給さ
れる。 On the other hand, in the reproduction mode for reproducing musical tones specified by the key code and time code stored in the write mode, the musical tones are read out sequentially from the musical tone data storage section 3 in the order in which they were written. The key code and time code are supplied to a key voltage generation section 7 and a key signal generation section 8, respectively.
キー電圧作成部7は、読み出されたキーコード
を受けてこれをキー電圧に変換し、シンセサイザ
モジユール9に供給する。 The key voltage generator 7 receives the read key code, converts it into a key voltage, and supplies the key voltage to the synthesizer module 9.
キー信号作成部8は、読み出されたタイムコー
ドを一旦記憶し、クロツクパルスを減算計数し
て、上記記憶されたタイムコードが零になるまで
に要する時間を継続時間とするパルスを得ること
によつてタイムコードをキー信号に変換し、これ
をシンセサイザモジユール9に供給する。 The key signal generation unit 8 temporarily stores the read time code, subtracts and counts clock pulses, and obtains a pulse whose duration is the time required for the stored time code to become zero. Then, the time code is converted into a key signal and this is supplied to the synthesizer module 9.
シンセサイザモジユール9は前記キー電圧とキ
ー信号を受けて、キーコードで指定される楽音を
キー信号で指定される発音継続時間だけ発音させ
る。 The synthesizer module 9 receives the key voltage and the key signal, and generates the musical tone specified by the key code for the duration of the sound generation specified by the key signal.
このようなシークエンサは、書き込みモードに
おけるキー操作で指定された楽音及びその発音継
続時間を再生モードにおいてそつくり再生するこ
とによつて、電子楽器のオフライン演奏を実現す
るために使用されるものである。 Such a sequencer is used to realize offline performance of an electronic musical instrument by distorting and reproducing the musical tone and its duration time specified by key operations in the write mode in the play mode. .
一般に、かかるシークエンサでは、発音継続時
間及び発音停止時間は演奏に際して大幅に変化
し、例えば、5ミリ秒から数十秒程度にも及ぶの
で、これらの時間を表わすためのタイムコードに
対して、固定的に定められたバイト数を割り当て
ていたのでは、楽音データ記憶部3の利用率が低
下し、不経済なものになつてしまう。 Generally, in such a sequencer, the sound duration time and sound stop time vary greatly during performance, ranging from 5 milliseconds to several tens of seconds, so the time code used to represent these times is fixed. If a predetermined number of bytes were allocated, the usage rate of the musical tone data storage section 3 would decrease, making it uneconomical.
そこで、タイムコードを可変長ワードで表わす
ことについて種々の提案が行われており、例え
ば、特開昭55−83093号公報には、タイムコード
に接続ステータスを付加し、発音継続時間若しく
は発音停止時間が一つのタイムコードで表わすこ
とができる時間を越えた場合には、ステータスに
「1」を割り当てるとともに、前記一つのタイム
コードに対して、その上位桁として接続されるも
う一つのタイムコードを使用して長音などの記憶
を行うように構成したシークエンサが提案されて
いる。 Therefore, various proposals have been made to express time codes as variable-length words. For example, in Japanese Patent Application Laid-open No. 55-83093, connection status is added to time codes, and sound duration time or sound stop time is expressed. If the time exceeds the time that can be represented by one time code, "1" is assigned to the status, and another time code connected to the above one time code is used as its upper digit. A sequencer configured to memorize long sounds and the like has been proposed.
第3図は、このような可変長ワードを用いたシ
ークエンサの楽音記憶部における楽音データの代
表的な記憶形態を示す概念図である。 FIG. 3 is a conceptual diagram showing a typical storage form of musical tone data in a musical tone storage section of a sequencer using such variable length words.
即ち、楽音データを表わす一連のワードW1、
W2、W3………はそれぞれキーコードとそれに続
くタイムコードから成り、更に、タイムコードは
発音継続時間を表わすタイムコードと発音停止時
間を表わすタイムコードでもつて構成されてい
る。 That is, a series of words W 1 representing musical tone data,
W 2 , W 3 . . . each consists of a key code and a time code following it, and the time code is further composed of a time code representing the duration of sound generation and a time code representing the time when sound generation is stopped.
例えば、1ワードの楽音データW1は1バイト
のキーコードC1と、それに続く1バイトの発音
継続時間を表わすタイムコードt1と、更に、それ
に続く1バイトの発音停止時間を表わすタイムコ
ードt2で構成される。 For example, 1 word of musical sound data W 1 consists of 1 byte of key code C 1 , followed by 1 byte of time code t 1 that represents the duration of sound generation, and furthermore, 1 byte of time code t that represents the duration of sound generation. Consists of 2 .
そして、タイムコードは可変長であるので、例
えば、楽音データW2のように、発音継続時間を
表わすタイムコードt1′が2バイトとなるもの、
あるいは、楽音データW4のように、発音継続時
間を表わすタイムコードt1と発音停止時間を表
わすタイムコードt2が共に2バイトとなるもの
等が混在する。 Since the time code has a variable length, for example, when the time code t 1 ' representing the duration of sound generation is 2 bytes, such as musical sound data W 2 ,
Alternatively, such as musical tone data W4 , there is a mixture of data in which the time code t1 representing the duration of sound generation and the time code t2 representing the time at which sound generation stops are both 2 bytes.
これらの可変長ワードが固定長のバイト単位に
区切られて、各バイトが楽音データ記憶部3の特
定の領域を指定する一連のアドレスAi+1,Ai+2,
Ai+3………に割り当てられるようにして記憶さ
れるものである。 These variable-length words are divided into fixed-length byte units, and each byte is a series of addresses Ai +1 , Ai +2 , which designates a specific area of the musical tone data storage section 3 .
Ai +3 ...... is stored in such a way that it is assigned to.
ところが、一般に、この種のシークエンサで
は、編集機能を備えていることが要請されてい
る。 However, this type of sequencer is generally required to have an editing function.
典型的な編集機能としては、書き込みモードに
て、例えば、第2図に示すようなキー操作を行
い、第3図に示すような一連の楽音データを楽音
データ記憶部3に一旦記憶させた後、編集モード
にて、例えば、第4図に示すようなキー操作を行
うことにより、上記楽音データ記憶部3に一旦記
憶された楽音データのうちの特定のデータ群につ
いて、そのタイムコードのみを実時間のキー操作
でもつて書き換えて、第5図Aに示すような楽音
データの記憶を確保することが求められている。 A typical editing function is, for example, in the write mode, by performing key operations as shown in FIG. 2, and after temporarily storing a series of musical tone data as shown in FIG. In the edit mode, for example, by performing a key operation as shown in FIG. It is required to rewrite even the time key operation to ensure the storage of musical tone data as shown in FIG. 5A.
このような編集モードのキー操作では、第5図
Bに示された書き込みモードにて、一旦記憶され
ていた楽音データ群(第3図に示したものと同じ
である)と対比して見れば明らかなように、各々
のタイムコードのバイト数が発音継続時間、ある
いは、発音停止時間の長短に従つて変化するの
で、特定のアドレスに記憶されているタイムコー
ドを編集モードにて書き換えると、書き換え後の
タイムコードのバイト数が増減して、編集開始箇
所のアドレス以後のアドレスに関しては、順送り
にその内容を書き換えなければならないこととな
る。 In such a key operation in the edit mode, if you compare it with the musical tone data group (same as that shown in FIG. 3) that has been stored once in the write mode shown in FIG. 5B, As is obvious, the number of bytes of each time code changes depending on the length of the sound duration or the length of the sound stop time, so if you rewrite the time code stored at a specific address in edit mode, As the number of bytes of the subsequent time code increases or decreases, the contents of addresses after the address of the editing start point must be rewritten in order.
而して、多くの場合、一箇所でも編集すると、
後続するすべてのアドレスについて書き換えを生
ずることになる。 Therefore, in many cases, if you edit even one place,
All subsequent addresses will be rewritten.
そして、このような書き換え処理には、相当の
処理時間が必要であるので、第1図〜第2図に基
づいて説明したように、キー回路部1のキーを操
作することにより、その操作に対応して、タイム
コード作成部4から得られるタイムコードでもつ
て、すでに記憶されている楽音データのタイムコ
ードを実時間処理で書き換える場合には、一つの
キー操作を行つた後、相当の書き換え処理時間が
経過するまでは、次のキー操作を受け付けること
ができないものである。 Since such a rewriting process requires a considerable amount of processing time, the operation can be performed by operating the keys of the key circuit section 1, as explained based on FIGS. Correspondingly, when rewriting the time code of already stored musical sound data using real-time processing using the time code obtained from the time code creation section 4, a considerable amount of rewriting processing is required after performing one key operation. The next key operation cannot be accepted until the time has elapsed.
したがつて、編集モードにおけるキー操作に際
して、キーを押すたびに待ち時間を生ずることと
なり、実時間演奏の感覚でもつて編集作業を行う
ことができないという欠点があつた。 Therefore, when operating keys in the editing mode, there is a waiting time each time a key is pressed, and there is a drawback that editing operations cannot be performed with the feeling of real-time performance.
この発明の目的は、上記従来技術に基づく実時
間編集処理の問題点に鑑み、楽音データ記憶部の
記憶領域を二つに区分し、それぞれの記憶領域内
のアドレスを指定する二つのアドレスカウンタを
設けることにより、前記欠点を除去し、待ち時間
を伴うことなく、高速度で実時間編集処理を実行
できる優れたシークエンサを提供せんとするもの
である。 In view of the problems of the real-time editing process based on the prior art described above, an object of the present invention is to divide the storage area of a musical tone data storage section into two, and to provide two address counters for specifying addresses within each storage area. By providing this, it is an object of the present invention to provide an excellent sequencer that can eliminate the above-mentioned drawbacks and perform real-time editing processing at high speed without any waiting time.
上記目的に沿うこの発明の構成は、編集作業に
際して、一連の楽音データ群のうち、先頭の楽音
データから編集開始箇所直前までの楽音データを
楽音データ記憶部の第一記憶領域に、また、編集
開始箇所の楽音データとそれに後続する楽音デー
タを楽音データ記憶部の第二記憶領域に区分して
記憶し、更に、上記第一記憶領域のアドレスを指
定する第一アドレスカウンタと、上記第二記憶領
域のアドレスを指定する第二アドレスカウンタと
を設け、先ず、第一アドレスカウンタに第一記憶
領域の最終のアドレス、即ち、編集開始箇所直前
の楽音データのアドレスを初期値として設定する
とともに、第二アドレスカウンタに第二記憶領域
の最初のアドレス、即ち、編集開始箇所のアドレ
スを初期値として設定し、次に、第二アドレスカ
ウンタの内容で指定されるアドレスの第二記憶領
域から楽音データを読み出し、これをキー回路部
における編集作業のための実時間キー操作に応答
してタイムコード作成部、あるいは、キーコード
作成部が出力するタイムコード、あるいは、キー
コードに置き換えて、第一アドレスカウンタの内
容で指定される第一記憶領域に書き込み、続い
て、第一、第二両アドレスカウンタの内容を歩進
させることにより、編集処理のための楽音データ
の書き換えが多数の楽音データに波及することを
回避し、一つの楽音データの書き換えを唯一の楽
音データの処理でもつて完了させるようにしたこ
とを特徴とするものである。 The configuration of the present invention in accordance with the above object is such that, during editing work, musical tone data from the first musical tone data to immediately before the editing start point out of a series of musical tone data groups is stored in the first storage area of the musical tone data storage section, and the editing A first address counter for specifying an address of the first storage area; a first address counter for specifying an address of the first storage area; and a first address counter for specifying an address of the first storage area; First, the final address of the first storage area, that is, the address of the musical tone data immediately before the editing start point, is set in the first address counter as an initial value, and the second address counter specifies the address of the area. Set the first address of the second storage area, that is, the address of the editing start point, as the initial value in the second address counter, and then read the musical tone data from the second storage area at the address specified by the contents of the second address counter. This is read out and replaced with the time code or key code output by the time code generation section or the key code generation section in response to real-time key operations for editing work in the key circuit section, and then the first address counter By writing to the first storage area specified by the contents of , and then incrementing the contents of both the first and second address counters, the rewriting of musical tone data for editing processing affects a large number of musical tone data. The present invention is characterized in that the rewriting of one musical tone data is completed by processing only one musical tone data.
第6図〜第7図に基づいて、この発明の実施例
の構成及び動作を説明すれば、以下の通りであ
る。 The configuration and operation of the embodiment of the present invention will be described below based on FIGS. 6 and 7.
第6図はこの発明の一実施例の構成を示すブロ
ツク図である。 FIG. 6 is a block diagram showing the configuration of an embodiment of the present invention.
楽音データ記憶部30には、マイクロプロセツ
サ30aが含まれており、その入力端子はキーコ
ード作成部2、タイムコード作成部4、状態変化
検出部5,6のそれぞれに接続され、その出力端
子は記憶装置30bに接続される。そして、記憶
装置30bの記憶領域は全記憶領域中に可変的に
設けられる第一記憶領域30b1と、同じく、全記
憶領域中に第一記憶領域30b1から分離して可変
的に設けられる第二記憶領域30b2とに区分され
ている。 The musical tone data storage section 30 includes a microprocessor 30a, whose input terminals are connected to the key code generation section 2, time code generation section 4, and state change detection sections 5 and 6, respectively, and whose output terminals is connected to the storage device 30b. The storage area of the storage device 30b includes a first storage area 30b 1 which is variably provided in the entire storage area, and a second storage area variably provided in the entire storage area separately from the first storage area 30b 1 . It is divided into two storage areas 30b2 .
更に、楽音データ記憶部30には、第一及び第
二アドレスカウンタ30c,30dが含まれてお
り、それぞれマイクロプロセツサ30aに接続さ
れている。 Furthermore, the musical tone data storage section 30 includes first and second address counters 30c and 30d, each of which is connected to a microprocessor 30a.
他の構成要素は第1図において同一の符号が示
す構成要素とそれぞれ同一である。 The other components are the same as those indicated by the same reference numerals in FIG.
第7図は第6図における第一及び第二記憶領域
30b1,30b2内の記憶状態と、第一及び第二ア
ドレスカウンタの内容で指定される上記両記憶領
域30b1,30b2のアドレスとの関係を示す概念
図である。 FIG. 7 shows the storage states in the first and second storage areas 30b 1 and 30b 2 in FIG. 6 and the addresses of both storage areas 30b 1 and 30b 2 specified by the contents of the first and second address counters. FIG.
上記のように構成された楽音データ記憶部30
では、編集モードのキー操作に際しては、先ず、
編集開始箇所を設定するために、再生モードで楽
音データを順次に発音させる。 Musical tone data storage unit 30 configured as described above
So, when operating the keys in edit mode, first,
To set the editing start point, musical tone data are played one after another in playback mode.
即ち、第1図〜第2図を参照して説明した従来
例と同様の動作により、書き込みモードにて、第
一記憶領域30b1に記憶された楽音データ群を、
再生モードにて、順次に読み出して、マイクロプ
ロセツサ30aを介してキー電圧作成部7及びキ
ー信号作成部8に転送し、シンセサイザモジユー
ル9に対して発音すべき楽音を表わすキーコード
とキー信号を供給するものである。 That is, by the same operation as the conventional example described with reference to FIGS. 1 and 2, the musical tone data group stored in the first storage area 30b1 is written in the write mode.
In the playback mode, the key codes and key signals representing the musical tones to be generated are read out sequentially and transferred to the key voltage generation section 7 and key signal generation section 8 via the microprocessor 30a to the synthesizer module 9. It is intended to supply
かかる再生モードでは、第一記憶領域30b1か
ら順次に読み出される各楽音データを構成するキ
ーコード、タイムコードの各バイトに対するアド
レスは、例えば、マイクロプロセツサ30a内の
プログラムカウンタ(図示せず)でもつて指定さ
れるものであり、第7図Aにおいてaに示すよう
に、先頭の楽音データの最初のバイトのアドレス
を記憶していたプログラムカウンタP4は再生処
理の進行に伴つて歩進し、同図bに示すように、
発音処理中の楽音データの特定のバイトが記憶さ
れているアドレスを記憶するに至る。そして、こ
のとき、第一アドレスカウンタ30cは書き込み
モードにおける歩進結果として、第一記憶領域3
0b1に記憶された最後の楽音データの最終バイト
のアドレスを記憶している。 In this playback mode, the addresses for each byte of the key code and time code constituting each musical tone data sequentially read out from the first storage area 30b1 can be determined by, for example, a program counter (not shown) in the microprocessor 30a. As indicated by a in FIG. 7A, the program counter P4, which stores the address of the first byte of the first musical tone data, increments as the playback process progresses. As shown in figure b,
The address where the specific byte of musical tone data being processed for sound generation is stored is stored. At this time, the first address counter 30c registers the first storage area 3 as an increment result in the write mode.
The address of the last byte of the last musical tone data stored in 0b1 is stored.
いま、演奏者は、上記発音処理中の楽音を、典
型的には、聴覚でもつて確認してシークエンサを
編集モードに切換えると、最後の楽音データの最
終バイドのアドレスに代えて、プログラムカウン
タP4の内容が第一アドレスカウンタ30cに初
期値として設定される。 Now, when the performer typically auditorily confirms the musical tone being generated, and switches the sequencer to edit mode, the performer writes the address of the program counter P4 instead of the address of the last byte of the last musical tone data. The contents are set in the first address counter 30c as an initial value.
かかる編集モードでは、先ず、第一アドレスカ
ウンタ30cに設定されたアドレスに後続する一
連の第一記憶領域のアドレスに記憶されている楽
音データを後端から順にマイクロプロセツサ30
aを介して、全記憶領域中に第一記憶領域30b1
から分離して設けられた第二記憶領域30b2に転
送する。 In this editing mode, first, the microprocessor 30 sequentially writes musical tone data stored in a series of addresses in the first storage area following the address set in the first address counter 30c from the rear end.
a, the first storage area 30b 1 in all storage areas
The data is transferred to a second storage area 30b2 provided separately from the data storage area 30b2 .
第二記憶領域30b2に関しては、最後に転送さ
れた楽音データ、即ち、編集開始箇所の楽音デー
タの最初のバイトが記憶された第二記憶領域の最
初のアドレスが第二アドレスカウンタ30dに初
期値として設定される。 Regarding the second storage area 30b2 , the first address of the second storage area where the last transferred musical tone data, that is, the first byte of the musical tone data at the editing start point is stored, is set to the initial value in the second address counter 30d. is set as .
この様子を図示すると、第7図Bのようにな
る。なお、同図においてP3は第6図には示され
ていないが、第二記憶領域30b2の最終アドレ
ス、即ち、全記憶領域の最終アドレスを記憶して
おくレジスタである。 This situation is illustrated in FIG. 7B. Although not shown in FIG. 6, P3 is a register for storing the final address of the second storage area 30b2 , that is, the final address of all storage areas.
そこで、第7図を参照しつつ、第二アドレスカ
ウンタ30dの内容P2について検討してみる
と、
(P2B)=(P3)−〔(P1A)−(P4)〕
であることがわかる。 Therefore, when the content P2 of the second address counter 30d is examined with reference to FIG. 7, it is found that (P2 B )=(P3)-[(P1 A )-(P4)].
ここで、P1,P2,P3,P4は、それぞ
れ、第一アドレスカウンタ、第二アドレスカウン
タ、レジスタ、プログラムカウンタの内容を示す
ものであり、更に、P1Aは書き込みモード終了
時における第一アドレスカウンタの内容を、ま
た、P2Bは編集モード移行直後における第二ア
ドレスカウンタの内容を示している。 Here, P1, P2, P3, and P4 indicate the contents of the first address counter, second address counter, register, and program counter, respectively, and further, P1 A indicates the contents of the first address counter at the end of the write mode. , and P2 B indicates the content of the second address counter immediately after transition to the edit mode.
したがつて、換言すれば、編集開始時点におけ
る第二アドレスカウンタ30dに記憶されている
アドレスX2は、後端の楽音データの最終バイト
のアドレスX1と、編集開始箇所直前の楽音デー
タの最終バイトのアドレスX4との差を第二記憶
領域30b2の最終アドレスX3から差し引いたも
のである。 Therefore, in other words, the address X2 stored in the second address counter 30d at the time of starting editing is the address X1 of the last byte of musical tone data at the rear end, and the last byte of musical tone data immediately before the editing start point. The difference from the byte address X4 is subtracted from the final address X3 of the second storage area 30b2 .
さて、編集開始箇所の楽音データと、それに後
続する楽音データ群の第二記憶領域30b2への転
送が完了した後、編集モードのキー操作を行う
と、楽音データ記憶部30は第二アドレスカウン
タ30dの内容で指定される第二記憶領域の最初
のアドレスに記憶された楽音データ、詳しくは、
編集開始箇所の楽音データの最初のバイトから順
に、1バイトずつ逐次読み出して、イクロプロセ
ツサ30aに転送する。マイクロプロセツサ30
aは、第1図〜第2図を参照して説明した従前の
書き込みモードの動作と同様に、キーコード作成
部2、タイムコード作成部4、状態変化検出部
5,6の出力信号に応答して、第二記憶領域30
b2から転送された楽音データの各バイトをバイト
ごとに、編集モードのキー操作で指定されたタイ
ムコード、あるいは、キーコードに書き換えて、
第一記憶領域30b1に転送し、第一アドレスカウ
ンタ30cの内容で指定されるアドレスに記憶さ
せる。 Now, after the musical tone data at the editing start point and the following musical tone data group have been transferred to the second storage area 30b2 , when a key operation in the edit mode is performed, the musical tone data storage section 30 is transferred to the second address counter. The musical tone data stored in the first address of the second storage area specified by the contents of 30d, in detail,
Starting from the first byte of musical tone data at the editing start point, one byte at a time is read out one byte at a time and transferred to the microprocessor 30a. microprocessor 30
a responds to the output signals of the key code generation section 2, time code generation section 4, and state change detection sections 5 and 6, similar to the operation of the previous write mode explained with reference to FIGS. 1 and 2. and the second storage area 30
b Rewrite each byte of musical sound data transferred from 2 to the time code or key code specified by key operation in edit mode,
It is transferred to the first storage area 30b1 and stored at the address specified by the contents of the first address counter 30c.
そして、一つのタイムコード、あるいは、キー
コードの書き換えを完了するたびに、上記第一、
第二両アドレスカウンタ30c,30dを歩進さ
せて、次のタイムコード、あるいは、キーコード
の処理に備えるものである。 Then, each time you complete rewriting one time code or key code,
Both second address counters 30c and 30d are incremented in preparation for processing the next time code or key code.
前述のように、タイムコードのバイト数は、発
音継続時間、あるいは、発音停止時間の長短に応
じて増減するので、一般に、第二記憶領域30b2
から読み出されたタイムコードは書き換えられて
第一記憶領域30b1に書き込まれる際に、そのバ
イト数が変化する結果、第一アドレスカウンタ3
0cと第二アドレスカウンタ30dの歩進速度は
一致しないものである。 As mentioned above, the number of bytes of the time code increases or decreases depending on the duration of the sound generation or the length of the time when the sound stops, so generally the second storage area 30b 2
When the time code read from the first address counter 3 is rewritten and written to the first storage area 30b1 , the number of bytes changes.
0c and the advancing speed of the second address counter 30d do not match.
このようにして、第二記憶領域30b2の楽音デ
ータが書き換えられて第一記憶領域30b1に記憶
されて行く様子を示したものが第7図Cである。 FIG. 7C shows how the musical tone data in the second storage area 30b2 is rewritten and stored in the first storage area 30b1 .
なお、上記実施例では、第二記憶領域30b2か
ら読み出された楽音データのキーコード、あるい
は、タイムコードを編集モードのキー操作にて得
られるキーコード、あるいは、タイムコードでも
つて書き換えて第一記憶領域30b1に記憶する動
作について説明したが、かかる書き換え動作を楽
音データの付加、削除に拡張することは容易であ
る。 In the above embodiment, the key code or time code of the musical tone data read from the second storage area 30b2 is rewritten with the key code or time code obtained by key operation in the edit mode. Although the operation of storing data in one storage area 30b1 has been described, it is easy to extend this rewriting operation to adding and deleting musical tone data.
即ち、第二記憶領域30b2からの読み出しを一
時的に中止させて、編集モードのキー操作にて得
られたキーコード、あるいは、タイムコードを第
一記憶領域30b1に記憶させれば、編集開始箇所
以後に割り込むようにして楽音データが付加され
る。このような付加処理に際しては、第一アドレ
スカウンタ30cのみが歩進することとなる。 That is, if reading from the second storage area 30b2 is temporarily stopped and the key code or time code obtained by key operation in the edit mode is stored in the first storage area 30b1 , editing can be performed. Musical sound data is added in an intervening manner after the start point. During such additional processing, only the first address counter 30c increments.
更に、第一記憶領域30b1への書き込みをを一
時的に中止させて、第二アドレスカウンタ30d
を歩進させれば、編集開始箇所に後続する楽音デ
ータが所望の数だけ削除される。このような削除
処理に際しては第二アドレスカウンタ30dのみ
が歩進することとなる。 Furthermore, writing to the first storage area 30b1 is temporarily stopped, and the second address counter 30d is
By incrementing , a desired number of pieces of musical tone data following the editing start point are deleted. During such deletion processing, only the second address counter 30d increments.
以上のように、この発明は、編集モードのキー
操作に際して、先頭から編集開始箇所直前までの
楽音データと、編集開始箇所以後の楽音データと
を、それぞれ、全記憶領域中に互いに分離して設
けられた第一記憶領域と第二記憶領域とに区分し
て記憶し、更に、第一記憶領域のアドレスを指定
する第一アドレスカウンタと、第二記憶領域のア
ドレスを指定する第二アドレスカウンタとを設け
て、第二記憶領域から編集開始箇所以後の楽音デ
ータのキーコード、あるいは、タイムコードを順
次に読み出して、書き換えた後、これを第一記憶
領域における編集開始箇所直前の楽音データのア
ドレスに後続するアドレスに順次に記憶するよう
に構成されているので、編集モードにおける書き
換え処理に際して、タイムコードのバイト数が増
減しても、それに伴う楽音データの各バイトとア
ドレスに関する波及的変更を一時点で集中的に処
理する必要がなく、書き換えたタイムコードごと
にそのバイト数の増減に伴うアドレスの変更を処
理することができる。 As described above, the present invention provides musical tone data from the beginning to immediately before the editing start point and musical tone data after the editing start point in the entire storage area, separately from each other, when key operations are performed in the edit mode. and a first address counter that specifies the address of the first storage area and a second address counter that specifies the address of the second storage area. After reading out the key code or time code of the musical tone data after the editing start point sequentially from the second storage area and rewriting them, this is set as the address of the musical tone data immediately before the editing start point in the first storage area. Since it is configured so that it is stored sequentially in the addresses that follow the time code, even if the number of time code bytes increases or decreases during rewrite processing in the edit mode, the ripple effects of each byte and address of the musical tone data are not affected at once. There is no need to perform intensive processing at the time, and it is possible to process changes in addresses as the number of bytes increases or decreases for each rewritten time code.
したがつて、編集モードのキー操作に応答させ
て、実時間で編集処理、即ち、キーコード、ある
いは、タイムコードの書き換え処理を行う場合
に、書き換えの処理時間が短縮され、ほとんど待
ち時間がなくなるので、操作者は実時間演奏の感
覚でもつて編集作業を行うことができるという優
れた効果がある。 Therefore, when editing in real time, that is, rewriting a key code or time code, in response to a key operation in edit mode, the rewriting processing time is shortened and there is almost no waiting time. This has the excellent effect of allowing the operator to perform editing work with the feeling of real-time performance.
第1図〜第5図は従前のシークエンサに関する
ものであり、第1図はその構成を示すブロツク
図、第2図はキー回路部の出力波形の一例を示す
波形図、第3図は楽音データの記憶形態を示す概
念図、第4図は編集モードのキー操作によるキー
回路部の出力波形の一例を示す波形図、第5図は
編集前後の楽音データとアドレスの関係を示す概
念図、第6図〜第7図はこの発明の一実施例に関
するものであり、第6図はその構成を示すブロツ
ク図、第7図は第一及び第二記憶領域と第一及び
第二アドレスカウンタの内容との関係を示す概念
図である。
1……キー回路部、2……キーコード作成部、
4……タイムコード作成部、5,6……状態変化
検出部、7……キー電圧作成部、8……キー信号
作成部、9……シンセサイザモジユール、30…
…楽音データ記憶部、30a……マイクロプロセ
ツサ、30b……記憶装置、30b1……第一記憶
領域、30b2……第二記憶領域、30c……第一
アドレスカウンタ、30d……第二アドレスカウ
ンタ。
Figures 1 to 5 relate to a conventional sequencer; Figure 1 is a block diagram showing its configuration, Figure 2 is a waveform diagram showing an example of the output waveform of the key circuit section, and Figure 3 is musical tone data. 4 is a waveform diagram showing an example of the output waveform of the key circuit section due to key operations in edit mode. FIG. 5 is a conceptual diagram showing the relationship between musical tone data and addresses before and after editing. Figures 6 to 7 relate to one embodiment of the present invention, with Figure 6 being a block diagram showing its configuration, and Figure 7 showing the contents of the first and second storage areas and the first and second address counters. FIG. 1...Key circuit section, 2...Key code creation section,
4... Time code creation section, 5, 6... State change detection section, 7... Key voltage creation section, 8... Key signal creation section, 9... Synthesizer module, 30...
...Music data storage unit, 30a...Microprocessor, 30b...Storage device, 30b1 ...First storage area, 30b2 ...Second storage area, 30c...First address counter, 30d...Second address counter.
Claims (1)
て、そのキー電圧に対応するキーコードを生成す
るキーコード生成手段と、発音すべき楽音の発音
継続時間及び発音停止時間を持つキー信号に応答
して、そのキー信号に対応するタイムコードを生
成するタイムコード生成手段と、前記キー電圧及
びキー信号の状態変化を検出して各楽音に対する
発音継続時間及び発音停止時間の開始信号を出力
する状態変化検出手段と、上記開始信号に応答し
て前記キーコードとタイムコードの各々を記憶す
る楽音データ記憶手段と、上記楽音データ記憶手
段から読み出されたキーコードに対応するキー電
圧を生成するキー電圧生成手段と、前記楽音デー
タ記憶手段から読み出されたタイムコードに対応
する発音継続時間及び発音停止時間に等しいパル
ス継続時間を持つキー信号を生成するキー信号生
成手段と、上記キー電圧とキー信号のそれぞれに
応答して、キー電圧で指定される音高の楽音をキ
ー信号で指定される発音継続時間及び発音停止時
間でもつて発音するシンセサイザモジユールとか
ら成るシークエンサにおいて、前記楽音データ記
憶手段は、一連の楽音データ群のうち、先頭の楽
音データから編集開始箇所直前までの楽音データ
を記憶する第一記憶領域と、第一記憶領域の最終
アドレスを初期値として記憶し、編集モードのキ
ー操作に応答して歩進し、上記第一記憶領域のア
ドレスを順次に指定する第一アドレスカウンタ
と、一連の楽音データ群のうち、編集開始箇所の
楽音データとそれに後続する楽音データを記憶す
る第二記憶領域と、上記第二記憶領域の最初のア
ドレスを初期値として記憶し、編集モードのキー
操作に応答して歩進し、上記第二記憶領域のアド
レスを順次に指定する第二アドレスカウンタとを
有することを特徴とするシークエンサ。1. A key code generating means that generates a key code corresponding to the key voltage in response to a key voltage corresponding to a musical tone to be generated, and a key signal that responds to a key signal having the duration time and stop time of the musical tone to be generated. a time code generating means for generating a time code corresponding to the key signal; and a state for detecting changes in the state of the key voltage and key signal and outputting a start signal of a sound duration time and a sound stop time for each musical tone. change detection means; musical tone data storage means for storing each of the key code and time code in response to the start signal; and a key that generates a key voltage corresponding to the key code read from the musical tone data storage means. a voltage generating means; a key signal generating means for generating a key signal having a pulse duration equal to the sound duration time and sound stop time corresponding to the time code read from the musical tone data storage means; and a synthesizer module that generates a musical tone at a pitch specified by a key voltage in response to each of the signals for a duration time and a stop time specified by the key signal, the musical tone data storage means. stores a first storage area that stores musical tone data from the first musical tone data to just before the editing start point in a series of musical tone data groups, and stores the final address of the first storage area as an initial value, and presses the key in the edit mode. a first address counter that increments in response to an operation and sequentially specifies addresses in the first storage area; and a first address counter that stores musical tone data at an editing start point and subsequent musical tone data among a series of musical tone data groups. a second storage area, and a second address that stores the first address of the second storage area as an initial value, advances in response to key operations in edit mode, and sequentially specifies addresses of the second storage area; A sequencer comprising a counter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56035583A JPS57148798A (en) | 1981-03-12 | 1981-03-12 | Sequencer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56035583A JPS57148798A (en) | 1981-03-12 | 1981-03-12 | Sequencer |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1161377A Division JPH02139598A (en) | 1989-06-24 | 1989-06-24 | Musical sound data editing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57148798A JPS57148798A (en) | 1982-09-14 |
| JPS6340318B2 true JPS6340318B2 (en) | 1988-08-10 |
Family
ID=12445783
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56035583A Granted JPS57148798A (en) | 1981-03-12 | 1981-03-12 | Sequencer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57148798A (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6078096U (en) * | 1983-09-30 | 1985-05-31 | カシオ計算機株式会社 | electronic keyboard instrument |
| WO1985003596A1 (en) * | 1984-02-06 | 1985-08-15 | Rogers Corporation | Electrical circuits and components |
| JPS62294288A (en) * | 1986-06-13 | 1987-12-21 | ヤマハ株式会社 | Performance data recorder |
| JPH02139598A (en) * | 1989-06-24 | 1990-05-29 | Roland Corp | Musical sound data editing device |
| JP2570631B2 (en) * | 1994-09-22 | 1997-01-08 | カシオ計算機株式会社 | Automatic performance device |
| JP2570630B2 (en) * | 1994-09-22 | 1997-01-08 | カシオ計算機株式会社 | Automatic performance device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS537317A (en) * | 1976-07-09 | 1978-01-23 | Hitachi Ltd | Electronic musical instrument |
| JPS54130012A (en) * | 1978-03-30 | 1979-10-09 | Roland Corp | Automatic performance controller for electronic musical instrument |
-
1981
- 1981-03-12 JP JP56035583A patent/JPS57148798A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57148798A (en) | 1982-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0149896A2 (en) | Method and apparatus for dynamic reproduction of transient and steady state voices in an electronic musical instrument | |
| JP2896716B2 (en) | Automatic performance device | |
| US4083283A (en) | Electronic musical instrument having legato effect | |
| JPS6340318B2 (en) | ||
| US5321198A (en) | Tone signal generator utilizing ancillary memories for electronic musical instrument | |
| JP2620724B2 (en) | Performance information recording device | |
| US4901616A (en) | Electronic musical instrument with delay trigger function | |
| US6535772B1 (en) | Waveform data generation method and apparatus capable of switching between real-time generation and non-real-time generation | |
| US4487101A (en) | Digital solid state recording of signals characterizing the playing of a musical instrument | |
| JPH01319793A (en) | Interruption processing control part for play information processor | |
| JPH045996B2 (en) | ||
| JPS6116080B2 (en) | ||
| KR100335020B1 (en) | Voice information processing device and method | |
| JPH0125995Y2 (en) | ||
| JPS6158915B2 (en) | ||
| JPS6060693A (en) | Electronic musical instrument | |
| US5160797A (en) | Step-recording apparatus and method for automatic music-performing system | |
| JPH0631977B2 (en) | Electronic musical instrument | |
| JPS6153696A (en) | Electronic musical instrument | |
| JPH0125993Y2 (en) | ||
| JPH0125077B2 (en) | ||
| JP2583377B2 (en) | Automatic performance device | |
| JPH0468638B2 (en) | ||
| JPH0515279B2 (en) | ||
| JPH1165559A (en) | Music display conversion method |