JPH0325497A - Electronic musical instrument - Google Patents
Electronic musical instrumentInfo
- Publication number
- JPH0325497A JPH0325497A JP1160344A JP16034489A JPH0325497A JP H0325497 A JPH0325497 A JP H0325497A JP 1160344 A JP1160344 A JP 1160344A JP 16034489 A JP16034489 A JP 16034489A JP H0325497 A JPH0325497 A JP H0325497A
- Authority
- JP
- Japan
- Prior art keywords
- mode
- process moves
- data
- register
- seq
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims description 11
- 230000029058 respiratory gaseous exchange Effects 0.000 abstract description 6
- 230000005236 sound signal Effects 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 198
- 230000008569 process Effects 0.000 description 195
- 230000007704 transition Effects 0.000 description 56
- 230000008859 change Effects 0.000 description 52
- 230000033764 rhythmic process Effects 0.000 description 20
- 230000017105 transposition Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 239000011295 pitch Substances 0.000 description 9
- 230000004044 response Effects 0.000 description 7
- 239000012528 membrane Substances 0.000 description 5
- 230000003247 decreasing effect Effects 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000012508 change request Methods 0.000 description 2
- 230000003434 inspiratory effect Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000007664 blowing Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000013013 elastic material Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000001020 rhythmical effect Effects 0.000 description 1
Landscapes
- Measuring Fluid Pressure (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、キー人力とともにプレス入力を楽音制御等
に用いた電子楽器に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic musical instrument that uses manual key input as well as press input for musical tone control and the like.
リコーダやフルート等の管楽器を模した電子楽器では、
管楽器と同様のキーを備え、限られたキー数で多数の音
高の指定を行い、プレス入力によって発音を行うように
構成されている。Electronic musical instruments that imitate wind instruments such as recorders and flutes,
It is equipped with keys similar to those of wind instruments, and is configured so that a large number of pitches can be specified using a limited number of keys, and sounds can be produced by press input.
ところで、このような電子楽器では、管楽器と同様に複
数のキーを組み合わせて音高の指定を行うため、管楽器
特有の演奏技術が必要であるが、管楽器の奏法を習得し
ている演奏者がこのような電子楽器を用いて他の楽器を
模擬しようとしても、プレス人力とキー人力との特殊性
から他の楽器の奏法を模擬できないおそれがある。例え
ば、メロディの演奏に対し伴奏を行う場合、その伴奏の
制御に対する操作がし難いという欠点がある。By the way, with these electronic instruments, the pitch is specified by combining multiple keys, just like with wind instruments, so playing techniques unique to wind instruments are required, but players who have learned how to play wind instruments can Even if an attempt is made to simulate other musical instruments using such an electronic musical instrument, there is a risk that it will not be possible to simulate the playing method of the other instrument due to the unique nature of the pressing force and key force. For example, when accompaniment is provided to a melody performance, there is a drawback that it is difficult to control the accompaniment.
そこで、この発明は、プレス入力について呼気圧だけで
なく、吸気圧を楽音制御の入力に用いて演奏の自由度を
高めた電子楽器の提供を目的とする。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an electronic musical instrument that uses not only exhalation pressure but also inhalation pressure as an input for musical tone control with respect to press input, thereby increasing the degree of freedom in performance.
〔課題を解決するための手段]
即ち、この発明の電子楽器は、音高を指定する操作子(
キー401〜409)と、呼気圧及び吸気圧を検出する
患圧検出手段(ブレスセンサ28)と、前記操作子の音
高の指定とともに、前記息圧検出手段によって検出され
た前記呼気圧又は前記吸気圧に応じて楽音の発生を制御
する楽音発生制御手段(CPUIO)とを備えたもので
ある。[Means for Solving the Problems] That is, the electronic musical instrument of the present invention has an operator (
keys 401 to 409), patient pressure detection means (breath sensor 28) that detects expiratory pressure and inspiratory pressure, and the exhalation pressure detected by the breath pressure detection means or the It is equipped with a musical tone generation control means (CPUIO) that controls the generation of musical tone according to the intake pressure.
〔作 用]
この発明の電子楽器では、音高を指定する操作子ととも
に息圧検出手段を備え、息圧検出手段を通じて演奏者の
呼気圧又は吸気圧の検出を行う。[Function] The electronic musical instrument of the present invention includes an operator for specifying pitch and a breath pressure detection means, and detects the player's exhalation pressure or inhalation pressure through the breath pressure detection means.
そして、楽音発生制御手段では、操作子による音高指定
に基づく楽音信号の発生を、例えば呼気圧に基づいて行
い、吸気圧では伴奏の開始等、他の楽音制御に用いる。The musical tone generation control means generates a musical tone signal based on the pitch specified by the operator, for example, based on the exhalation pressure, and uses the inhalation pressure for other musical tone control such as starting an accompaniment.
したがって、この発明の電子楽器では、操作子及び息圧
検出手段の呼気圧に加えて吸気圧を楽音制御人力に利用
しており、操作入力を拡大し、演奏の自由度が高められ
、例えば管楽器を模した電子楽器によって管楽器以外の
楽器演奏が実現される。Therefore, in the electronic musical instrument of the present invention, in addition to the exhalation pressure of the operator and the breath pressure detection means, the inhalation pressure is used for musical sound control, expanding the operational input and increasing the degree of freedom of performance. Musical instruments other than wind instruments can be performed using electronic musical instruments that imitate .
以下、この発明を図面に示したー実施例を参照して詳細
に説明する。Hereinafter, the present invention will be explained in detail with reference to embodiments shown in the drawings.
第1図ないし第24図は、この発明の電子楽器の一実施
例を示し、次に、この実施例における構或及び動作を項
目別に示す。1 to 24 show an embodiment of the electronic musical instrument of the present invention, and then the structure and operation of this embodiment will be shown item by item.
A.機能回路部(第1図) 6頁B.楽器本
体(第2図)12頁
C.ブレスセンサ(第10図) 14頁D.電
子楽器の動作
(a) 動作モードの概要
i.ノーマル(NML)モード 17頁i(.オート
ベースコード(ABC)モード17頁
・RUN)モ
l8頁
ラン(ABC・
18頁
(SEQ・R
l9頁
(SEQ・R
20頁
(SEQ−P
21頁
iii .ノーマル・ラン(NML
一ド
iv.オートベースコード・
RUN)モード
■.シーケンサ・記録・待機
EC−WAIT)モード
■.シーケンサ・記録・ラン
EC−RUN)モード
橢,シーケンサ・再生・待機
LAY−WATT)モード
傭.シーケンサ・再生・ラン(SEQ−PLAY −
RUN)モード 21頁(b) 初期設定モー
ド処理 22頁(C)NMLモード処理
23頁(d)ABCモード処理
28頁(e) NML−RUNモード処理 3
2頁(f) A B C − R U Nモード処理
36頁(の SEQ−REC−WAITモード処
理40頁
(h) SEQ・REC・RUNモード処理44頁
(i) S EQ−P LAY−WA I Tモード
処理4B頁
(j) SEQ−PLAY−RUNモード処理52頁
(9)クロック割込み(CLK−IRQ)処理56頁
(ホ) シーケンサ読出し(SEQ−REAtl)モー
ド処理 63頁(n) シーケ
ンサスタート(SEQ− ST) モ−ド処理
66頁以下、各項目別に説明する。A. Functional circuit section (Fig. 1) Page 6 B. Instrument body (Fig. 2) Page 12 C. Breath sensor (Figure 10) Page 14 D. Operation of the electronic musical instrument (a) Overview of operation modes i. Normal (NML) mode 17 pages i (.Auto base code (ABC) mode 17 pages/RUN) Mol 8 pages run (ABC/18 pages (SEQ/R) 19 pages (SEQ/R 20 pages (SEQ-P 21 pages iii) .Normal run (NML iv. Auto base code/RUN) mode ■.Sequencer/record/standby EC-WAIT) mode ■.Sequencer/record/run EC-RUN) mode WATT) Mode Sequencer/Play/Run (SEQ-PLAY-
RUN) mode Page 21 (b) Initial setting mode processing Page 22 (C) NML mode processing
Page 23 (d) ABC mode processing
Page 28 (e) NML-RUN mode processing 3
Page 2 (f) ABC-RUN mode processing Page 36 (SEQ-REC-WAIT mode processing Page 40 (h) SEQ/REC/RUN mode processing Page 44 (i) SEQ-P LAY-WA I T mode processing page 4B (j) SEQ-PLAY-RUN mode processing page 52 (9) Clock interrupt (CLK-IRQ) processing page 56 (e) Sequencer read (SEQ-REAtl) mode processing page 63 (n) Sequencer start ( SEQ-ST) Mode processing
Each item will be explained on page 66 and below.
A.機能回路部
第1図は、この発明の電子楽器の一実施例における機能
回路部を示す。A. Functional Circuit Section FIG. 1 shows a functional circuit section in one embodiment of the electronic musical instrument of the present invention.
この機能回路部2は、楽器機能を電気的に実現する手段
であって、呼気圧及び吸気圧に応じて楽音の発生を制御
する楽音発生制御機能を備えている.そこで、この機能
回路部2には、管型楽器としてのデータ演算処理を行う
演算処理手段として設置され、呼気圧及び吸気圧に応じ
て楽音の発生を制御する楽音発生制御を行う中央処理装
置(CPU)10が設置されている。このCPUIOに
は、プログラムメモリl2、レジスタ群14、パターン
メモリl6、テーブル18、シーケンサメモリ20、テ
ンポ発生器22、キー回路24、スイッチ群26、ブレ
スセンサ28及びトーンジエネレータ30が双方向性バ
ス32を以て連繋されている。The functional circuit section 2 is a means for electrically realizing musical instrument functions, and has a musical tone generation control function that controls the generation of musical tones according to exhalation pressure and inspiration pressure. Therefore, this functional circuit section 2 is equipped with a central processing unit (central processing unit) that is installed as an arithmetic processing means that performs data arithmetic processing as a wind instrument, and that performs musical tone generation control that controls the generation of musical tones according to exhalation pressure and inhalation pressure. CPU) 10 is installed. This CPUIO includes a program memory l2, a register group 14, a pattern memory l6, a table 18, a sequencer memory 20, a tempo generator 22, a key circuit 24, a switch group 26, a breath sensor 28, and a tone generator 30 on a bidirectional bus. 32.
プログラムメモリl2は、例えば、読出し専用メモリ(
ROM)で構成され、管楽器としての演奏処理を行うた
めに必要な楽音制御、移調制御等の各種の制御プログラ
ムが記憶されている。The program memory l2 is, for example, a read-only memory (
It is composed of a ROM (ROM), and stores various control programs such as musical tone control and transposition control necessary for performing performance processing as a wind instrument.
レジスタ群14には、CPUIOが制御プログラムを実
行する際に発生する各種のデータ、例えば、和音データ
、リズムデータ、トランスポーズデータ等が一次的に記
憶され、例えば、随時読出し書込み可能なメモリ(RA
M)に設定された任意の領域を以て構戒される。The register group 14 temporarily stores various data generated when the CPUIO executes a control program, such as chord data, rhythm data, transpose data, etc.
The arbitrary area set in M) is monitored.
パターンメモリ16は、ROM又はRAMで構威され、
リズムパターン等が記憶されている。The pattern memory 16 is composed of ROM or RAM,
Rhythm patterns etc. are stored.
テーブル18は、読出し専用メモリによって構成された
楽音等の記憶手段であって、例えば、第3図に示すよう
に、2つのテーブルTA,、T A tで構威される.
テーブルTA.にはキーコードKC、また、テーブルT
A.には和音データCHDが記憶され、キー状態がテー
ブルTA.でキーコードKC,又は、テーブルT A
zで和音データCHDに変換される.即ち、テーブルT
A,では、鍵情報に対応したキーコードKCが得られる
。The table 18 is a storage means for musical tones and the like constituted by a read-only memory, and is composed of two tables TA, TA, etc., as shown in FIG. 3, for example.
Table TA. has key code KC, and table T.
A. chord data CHD is stored in table TA. key code KC or table T A
z is converted to chord data CHD. That is, table T
At A, a key code KC corresponding to the key information is obtained.
ところで、和音データCHDは、第4図に示すように、
根音の12音を表すルート(R○OT)とともに和音の
種類を表すタイプ(TYPE)を以て8ビットで構威さ
れる。和音データCHDにおけるROOT及びTYPE
を第1表に示す。By the way, the chord data CHD is as shown in FIG.
It is composed of 8 bits including the root (R○OT), which represents the 12 root notes, and the type (TYPE), which represents the type of chord. ROOT and TYPE in chord data CHD
are shown in Table 1.
第 1 表
また、第5図に示すように、キー及びキーコードKCが
対応している。Table 1 Also, as shown in FIG. 5, keys and key codes KC correspond.
そして、シーケンサメモリ20は、自動伴奏を行うため
の和音とともに、その演奏順序を記憶する記憶手段であ
って、例えば、第6図に示すように、2系統のシーケン
サ1、■(以下単にSEQ■、■という)で構戒されて
いる。SEQIには、例えば3組のシーケンサSEQ1
、SEQ2、SEQ3 (以下単にS E Q+ 、
S E Q! 、S E Qsという)が設置され、S
EQIIには、各シーケンサSEQ.,SEQt,SE
Q.に記憶されているデータの読出し順序が記憶される
。例えば、第6図に示すように、SEQnに、SEQ,
、SEQ. 、SEQ.の読出し順序が書き込まれて
いるとすると、第7図に示すように、その読出し順序に
応じてSEQ.からS E Q 3 、S E Q :
lからSE Q zにアクセスされる。The sequencer memory 20 is a storage means for storing chords for performing automatic accompaniment as well as their playing order. For example, as shown in FIG. , ■). SEQI includes, for example, three sets of sequencers SEQ1
, SEQ2, SEQ3 (hereinafter simply S E Q+ ,
S E Q! , S E Qs) is installed, and S
EQII includes each sequencer SEQ. ,SEQt,SE
Q. The reading order of data stored in is stored. For example, as shown in FIG.
, SEQ. , SEQ. Assuming that the reading order of SEQ. is written, as shown in FIG. From S E Q 3, S E Q:
SE Q z is accessed from l.
ところで、SEQIにおいて、CHDは選択された和音
、デュレーションデータDURは和音間における時間情
報、FFhは終了コードを表すデータを示す。また、デ
ュレーションデータDURは、第8図に示すように、4
ビットのCH及び4ビットの拍数(BT)からなる8ビ
ット構成である。Incidentally, in SEQI, CHD indicates a selected chord, duration data DUR indicates time information between chords, and FFh indicates data representing an end code. In addition, the duration data DUR is 4 as shown in FIG.
It has an 8-bit configuration consisting of a CH bit and a beat number (BT) of 4 bits.
そして、テンポ発生器22は、発振器と分周器とを組み
合わせた発振回路、又は可変周波数発振器等で横戒され
、必要なテンポを表すクロックパルスを発生し、例えば
、ABC (オートベースコード〉モード処理のための
割込み処理に用いられる。The tempo generator 22 is controlled by an oscillation circuit that combines an oscillator and a frequency divider, or a variable frequency oscillator, etc., and generates clock pulses representing the necessary tempo. Used for interrupt processing.
キー回路24は、音高指定手段としての操作子を通じて
入力される鍵情報の人力手段として設置され、第2図に
示す楽器本体4に設置された複数のキーによって操作さ
れるキースイッチで構成されており、選択されたキーの
押鍵操作に応し、その押鍵、離鍵の検出とともに、操作
された鍵名を表すデータを発生する。The key circuit 24 is installed as a manual means for inputting key information through an operator as a pitch specifying means, and is composed of key switches operated by a plurality of keys installed on the musical instrument main body 4 shown in FIG. In response to the key press operation of the selected key, the key press and key release are detected and data representing the name of the operated key is generated.
スイッチ群26は、楽器本体4に設置された複数の機能
スイッチを表し、キースイッチ以外のものである。この
スイッチ群26には、SEQlにおけるS E Qr
、S E Qz 、S E Qlを選択するためのシー
ケンサ選択スイッチ( (SEQ+ sw、SEQz
SW,SEQUI SW)orsEQt SW)25
1、252、253、選択されたSEQ,、S E Q
t 、S E Q sに対するデータの書込みを指定
する記録スイッチ(REC SW)2 5 4、リズ
ム切換えスイ・ンチ255、256、テンポスピード変
更スイッチ257、258、スタート/ストップ(ST
/ST)スイッチ259、260、音色切換えスイッチ
261、262、トランスボーズTRSを増加するトラ
ンスポーズ切換えスイッチ263、トランスポーズTR
Sを減少させるトランスポーズ切換えスイッチ264、
ABCスイッチ265、オクターブを切り換えるオクタ
ーブスイッチ266、267、オクターブダウンスイッ
チ(OCT DWN sw)268等が含まれている。The switch group 26 represents a plurality of functional switches installed on the musical instrument main body 4, and is other than key switches. This switch group 26 includes S E Qr in SEQl.
, S E Qz , S E Ql (SEQ+ sw, SEQz
SW, SEQUI SW) orsEQt SW) 25
1, 252, 253, selected SEQ,, S E Q
t, recording switch (REC SW) 254, which specifies writing of data to S E Q s, rhythm change switch 255, 256, tempo speed change switch 257, 258, start/stop (ST
/ST) switches 259, 260, tone changeover switches 261, 262, transpose changeover switch 263 for increasing transpose TRS, transpose TR
a transpose changeover switch 264 for decreasing S;
It includes an ABC switch 265, octave switches 266 and 267 for switching octaves, an octave down switch (OCT DWN sw) 268, and the like.
トランスポーズ切換えスイッチ263、264は、任意
の移調量を設定するための移調設定手段として設置され
たものである。The transpose changeover switches 263 and 264 are provided as transposition setting means for setting an arbitrary amount of transposition.
次に、ブレスセンサ28は、呼気圧及び吸気圧を検出す
る患圧検出手段として設置されたものであって、管楽器
の要素であるマウスピース6に設置されており、演奏者
がマウスピース6に加える息圧を電気的に検出し、ブレ
スデータを発生する。Next, the breath sensor 28 is installed as a patient pressure detection means for detecting exhalation pressure and inhalation pressure, and is installed in the mouthpiece 6 which is an element of a wind instrument. It electrically detects the applied breath pressure and generates breath data.
次に、トーンジヱネレータ30には、メロディ、伴奏及
びリズムの発音に対応し、メロディ用トーンジエネレー
タTG.,伴奏用トーンジェネレータTGc及びリズム
用トーンジェネレータTG,が設けられており、CPU
IOからの押鍵、離鍵、音色及び音高等のデータに応じ
て楽音信号が形威される。Next, the tone generator 30 includes a melody tone generator TG. , an accompaniment tone generator TGc and a rhythm tone generator TG are provided, and the CPU
A musical sound signal is generated according to data on key presses, key releases, timbre, and pitch from the IO.
そして、このトーンジエネレータ30には、増幅器やス
ビーカ等で構威される楽音再生手段としてサウンドシス
テム34が接続され、トーンジエネレータ30で形威さ
れた楽音信号がサウンドシステム34を通じて楽音とし
て発音される。A sound system 34 is connected to the tone generator 30 as a musical sound reproduction means composed of an amplifier, a subwoofer, etc., and the musical sound signal formed by the tone generator 30 is produced as a musical sound through the sound system 34. Ru.
B.楽器本体
第2図の(A)、(B)及び(C)は、この発明の電子
楽器の一実施例における楽器本体を示す。B. Musical instrument body (A), (B), and (C) of FIG. 2 show the musical instrument body in one embodiment of the electronic musical instrument of the present invention.
この電子楽器には、機能回路部2を内蔵するとともに、
演奏者が必要な演奏情報を入力するデータ人力部として
の機械的操作部及び楽音の発音手段を備えた機械的な構
或として楽器本体4が設けられている。This electronic musical instrument has a built-in functional circuit section 2, and
The main body 4 of the musical instrument is provided as a mechanical structure including a mechanical operation section serving as a data manual section for inputting performance information required by the performer, and a means for producing musical tones.
第2図の(A)及び(B)に示すように、管楽器の形態
を威す楽器本体4には、その一端部に演奏者が唇にくわ
え、発音の開始のために息を吹き込むマウスピース6が
取り付けられ、また、その他端部側には、開口42が設
けられているとともにその内部に、楽音を音声として再
生するサウンドシステム34におけるスピーカ44が内
蔵されている。As shown in FIGS. 2(A) and 2(B), the instrument body 4, which has the shape of a wind instrument, has a mouthpiece at one end that the performer holds in his lips and into which he blows in to initiate sound production. 6 is attached, and an opening 42 is provided on the other end side, and a speaker 44 of a sound system 34 for reproducing musical tones as audio is built inside the opening 42.
そして、楽器本体4の上面部には、シーケンサSEQ,
、SEQz 、SEChを選択するスイッチ251、
252、253、記録スイッチ254が設置され、この
記録スイッチ254の下方には、音高を指定する音高指
定手段を威す操作子として複数のキー401、402、
403、404、405、406、407、408、4
09が設置されている。また、楽器本体4の一方の側面
部には、リズム切換えスイッチ255、256、テンポ
スピード変更スイッチ257、258、演奏のスタート
・ストップを切り換えるスイッチ259、リズムのスタ
ート・ストップを切り換えるスイッチ260が設置され
、その他方の側面部には、音色切換えスイッチ261、
262、トランスポーズ切換えスイッチ263、264
が設置されている。A sequencer SEQ,
, SEQz, a switch 251 for selecting SECh;
252, 253, and a recording switch 254 are installed, and below this recording switch 254, a plurality of keys 401, 402,
403, 404, 405, 406, 407, 408, 4
09 is installed. Furthermore, on one side of the instrument body 4, there are installed rhythm change switches 255, 256, tempo speed change switches 257, 258, a switch 259 for starting and stopping the performance, and a switch 260 for starting and stopping the rhythm. , on the other side, a tone selection switch 261,
262, transpose selector switch 263, 264
is installed.
さらに、第2図の(C)に示すように、楽器本体4の背
面部には、ABCスイッチ265、オクターブスイッチ
266、267、オクターブダウンスイッチ268が設
置されている。Further, as shown in FIG. 2C, an ABC switch 265, octave switches 266, 267, and an octave down switch 268 are installed on the back side of the musical instrument body 4.
そして、この楽器本体4におけるキー4’01、402
、403、404、405、406、407、408、
409に対する運指と音階の関係を第9図に示す。黒丸
部はキーの選択操作によって閉状態、白丸は開状態を表
す。Keys 4'01 and 402 in this instrument body 4
, 403, 404, 405, 406, 407, 408,
The relationship between fingering and scale for 409 is shown in FIG. A black circle indicates a closed state when a key is selected, and a white circle indicates an open state.
C.ブレスセンサ
第10図は、第2図に示した楽器本体4に設置されたマ
ウスピース6で呼気圧及び吸気圧を検出するブレスセン
サの一実施例を示す。C. Breath sensor FIG. 10 shows an embodiment of a breath sensor that detects exhalation pressure and intake pressure with the mouthpiece 6 installed in the musical instrument main body 4 shown in FIG.
マウスピース6には、演奏者が唇にくわえて息の吹込み
又は吸込みを行う通気口61が設けられ、マウスピース
6の内部には通気口61から息圧を作用させる空気室6
2が設けられている。この空気室62には、通気口6・
lとの間に呼吸作用を行うため、通気口61と離れた壁
部に外気に通じた空気通路63が形成されている。また
、このマ゜ウスピース6の本体部64には、空気室62
の下面側に、演奏者の吹込みによる呼気圧、又は、吸込
みによる吸気圧を電気的に検出するブレスセンサ28が
設置されている。このブレスセンサ28には、例えば、
実公昭62−3827号「電子管楽器用息圧センサ」を
用いることもできる。The mouthpiece 6 is provided with a vent 61 through which the player holds the mouth between his lips to blow or inhale, and inside the mouthpiece 6 is an air chamber 6 to which breath pressure is applied from the vent 61.
2 is provided. This air chamber 62 has a vent 6,
An air passage 63 communicating with the outside air is formed in a wall portion apart from the vent 61 in order to perform a breathing action between the air vent 61 and the air vent 61. The main body 64 of the mouthpiece 6 also has an air chamber 62.
A breath sensor 28 is installed on the bottom side of the instrument to electrically detect the exhalation pressure caused by the player's breathing or the inhalation pressure caused by the inhalation. This breath sensor 28 includes, for example,
Utility Model Publication No. 62-3827 ``Breath Pressure Sensor for Electronic Wind Instruments'' may also be used.
そして、このブレスセンサ28には、患圧によって伸縮
するゴム等の弾性体材料によって形威された弾性膜28
1が設置され、この弾性膜281の背面部には、弾性膜
281の変位を電気信号に変換する変換部として、発光
ダイオード283と、受光素子としてのフォトトランジ
スタ284とが設置されている。即ち、弾性膜281の
背面側は光反射面282が形或さ.れ、この光反射面2
82に光を照射する光源としての発光ダイオード283
が設置されており、作用する息圧によって移動する弾性
膜281の光反射面282からの反射光がフォトトラン
ジスタ284で患圧を表すレベル信号として取り出され
る.このレベル信号は、息の吹込みによる息圧で弾性膜
281の下降、また、息の吸込みによる息圧で弾性膜2
81の上昇による弾性膜281の上下動位置に応した反
射光がフォトトランジスタ284に入るので、反射光の
受光光景を表す。例えば、第11図に示すように、患圧
に応じた弾性膜281の変位に対し、フォトトランジス
タ284の受光量が変化し、息圧を表すレベル信号がフ
ォトトランジスタ284を通じて得られる。このレベル
信号において、レベルL0を息圧Oの平衡点とすると、
レベルL1をキーオフ、吹込みによって生じたレベルL
2をキーオンとし、また、吸込みによって生じたレベル
L,を吸引検出点とし、さらに、キーオンを表すレベル
L!を超えるレベルをアフタータッチATによる発音制
御等に用いることができる。The breath sensor 28 includes an elastic membrane 28 made of an elastic material such as rubber that expands and contracts depending on the patient's pressure.
1 is installed, and on the back side of this elastic film 281, a light emitting diode 283 as a converter that converts the displacement of the elastic film 281 into an electric signal, and a phototransistor 284 as a light receiving element are installed. That is, on the back side of the elastic film 281, a light reflecting surface 282 is formed. This light reflecting surface 2
Light emitting diode 283 as a light source that irradiates light to 82
is installed, and the reflected light from the light reflecting surface 282 of the elastic membrane 281 that moves due to the applied breath pressure is extracted by a phototransistor 284 as a level signal representing the affected pressure. This level signal is caused by the lowering of the elastic membrane 281 due to the breath pressure caused by breathing in, and the lowering of the elastic membrane 281 by the breath pressure caused by breathing in.
Since the reflected light corresponding to the vertical movement position of the elastic film 281 due to the rise of the elastic film 81 enters the phototransistor 284, a scene of receiving the reflected light is shown. For example, as shown in FIG. 11, the amount of light received by the phototransistor 284 changes in response to the displacement of the elastic membrane 281 according to the patient's pressure, and a level signal representing the breathing pressure is obtained through the phototransistor 284. In this level signal, if level L0 is the equilibrium point of breath pressure O, then
Level L1 is keyed off and level L is generated by blowing.
2 is set as the key-on, level L, generated by suction is set as the suction detection point, and level L! representing key-on is set as the suction detection point. It is possible to use a level exceeding the above for sound generation control by aftertouch AT.
D.電子楽器の動作
以下、動作モードの概要を述べた上、各動作モードの処
理をフローチャートを参照して説明する。D. Operation of the Electronic Musical Instrument Below, an overview of the operation modes will be given, and the processing of each operation mode will be explained with reference to flowcharts.
(a) 動作モードの概要
第12図は、第1図及び第2図に示した電子楽器の動作
モードの状態遷移を表す。(a) Overview of Operation Modes FIG. 12 shows state transitions of the operation modes of the electronic musical instrument shown in FIGS. 1 and 2.
i.NMLモード
このモードは、リズムや伴奏等の自動演奏を停止した状
態で、第9図に示した運指表に基づいたキー操作による
音高の指定とともに、指定された音高を持つ楽音をプレ
ス操作に応じて発音させるモードである。i. NML Mode In this mode, with automatic performance such as rhythm and accompaniment stopped, pitch is specified by key operation based on the fingering chart shown in Figure 9, and a musical tone with the specified pitch is pressed. This mode generates sounds according to operations.
このNMLモードとABCモードとはABCスイッチ2
65によって相互に切り換えられるとともに、スタート
/ストップ(ST/ST)スイッチ260の操作でNM
L − RUNモードと相互に切り換えられ、また、N
MLモードとSEQ−PLAY−WAITモードとは、
ABCスイッチ265がABCモードを解除していると
き、スタート/ストップスイッチ260の操作によって
SEQ・PLAY−WAITモードからNMLモードに
遷移し、シーケンサ選択スイッチ251〜253の操作
によってNMLモードからSEQ・PLAY−WA■T
モードに遷移する。This NML mode and ABC mode are ABC switch 2
65, and NM by operating the start/stop (ST/ST) switch 260.
Can be switched between L-RUN mode and N
What is ML mode and SEQ-PLAY-WAIT mode?
When the ABC switch 265 cancels the ABC mode, the operation of the start/stop switch 260 causes a transition from the SEQ/PLAY-WAIT mode to the NML mode, and the operation of the sequencer selection switches 251 to 253 causes a transition from the NML mode to the SEQ/PLAY-WAIT mode. WA■T
Transition to mode.
ii.ABCモード
このモードは、オートベースコード(ABC)の繰返し
再生が行われるモードである。ii. ABC Mode This mode is a mode in which auto base chords (ABC) are repeatedly played.
このABCモードとNMLモードとはABCスイッチ2
65の操作によって遷移するとともに、スタート/スト
ップスイッチ260の操作によってABC−RUNモー
ドに遷移し、シーケンサ選択スイッチ251〜253の
操作でSEQ−PLAY−WAITモードに遷移する。The ABC mode and NML mode are ABC switch 2
65, the start/stop switch 260 causes a transition to the ABC-RUN mode, and the operation of the sequencer selection switches 251 to 253 causes a transition to the SEQ-PLAY-WAIT mode.
また、このモードは、シーケンサ選択スイッチ251〜
253と記録スイッチ254の同時押しによってSEQ
−REC−WAITモードに遷移する。In addition, this mode is the sequencer selection switch 251~
253 and record switch 254 at the same time
- Transition to REC-WAIT mode.
iii.NML−RUNモード
このモードは、伴奏の自動演奏を行わないが、リズムに
よる伴奏を行うとともにキーオン及びプレス操作によっ
て楽音を発生するモードである。iii. NML-RUN mode In this mode, automatic accompaniment is not performed, but rhythmic accompaniment is performed and musical tones are generated by key-on and press operations.
このモードは、スタート/ストップスイッチ260でN
MLモードに遷移し、また、ABCスイッチ265の操
作によってABC − RUNモードに遷移する。This mode is set to N with the start/stop switch 260.
It changes to ML mode, and also changes to ABC-RUN mode by operating the ABC switch 265.
iv.ABC−RUNモード
このモードは、プレス操作に応じて自動伴奏動作を行う
ためのモードである。iv. ABC-RUN mode This mode is a mode for performing automatic accompaniment operations in response to press operations.
このモードにおいて、スタート/ストップスイッチ26
0の操作によってABCモードに遷移するとともに、A
BCスイッチ265の操作によってNML − RUN
モードに遷移する。In this mode, start/stop switch 26
0 operation causes a transition to ABC mode, and A
NML-RUN by operating the BC switch 265
Transition to mode.
v,SEQ−REC−WAITモード
このモードは、SEQ,〜SE(;hに対する和音の記
録待機状態を表すモードである。v, SEQ-REC-WAIT mode This mode represents a chord recording standby state for SEQ, ~SE(;h.
このモードにおいて、ABCスイッチ265を操作して
ABCモードを解除した場合に、スタート/ストップス
イッチ260を操作すると、直接NMLモードに遷移す
る。In this mode, if the ABC switch 265 is operated to cancel the ABC mode, then the start/stop switch 260 is operated to directly transition to the NML mode.
また、このモードで、ABC動作時にスタート/ストッ
プスイッチ260を操作すると、ABCモードに遷移す
る。即ち、ABCモードからSEQ−REC−WAIT
モードに遷移している場合(ABCスイッチ265がオ
ン(ABC=1)}には、スタート/ストップスイッチ
260の操作によってABCモードに遷移し、また、N
MLモ一ドからSEQ−REC−WAITモードに遷移
している場合(ABCスイッチ265がオフ(ABC=
O))には、スタート/ストップスイッチ260の操作
によってNMLモードに遷移する。Further, in this mode, if the start/stop switch 260 is operated during ABC operation, a transition is made to the ABC mode. That is, from ABC mode to SEQ-REC-WAIT
mode (ABC switch 265 is on (ABC=1)}, the operation of the start/stop switch 260 causes the transition to the ABC mode, and the N
When transitioning from ML mode to SEQ-REC-WAIT mode (ABC switch 265 is off (ABC=
O)) By operating the start/stop switch 260, a transition is made to the NML mode.
そして、このモードにおいて、ブレスオンイベントが生
じると、SEQ−REC−RUNモードへ遷移すること
になる。When a breath-on event occurs in this mode, a transition is made to the SEQ-REC-RUN mode.
vi.SEQ−REC−RUNモード
このモードは、ABCスイッチ265及び記録スイッチ
254の操作によってSBQIにおけるSEQI 、s
E(h 、SEQ3に和音の記録及びSEQIIにSE
Q+ 、SE(;h 、SEQ3の読出し順序の記録を
行うモードである。vi. SEQ-REC-RUN mode In this mode, the SEQI, s
E (h, record the chord in SEQ3 and SE in SEQII
This is a mode for recording the reading order of Q+, SE(;h, SEQ3.
そして、ABCモードからSEQ−REC−WAITモ
ードを介してSEQ− REC − RUNモードに遷
移している場合{ABCスイッチ265がオン(ABC
=1))には、スタート/ストップスイッチ260の操
作によってABCモードに遷移し、また、NMLモード
からSEQ−REC・WAITモードを介してSEQ−
REC−RUNモードに遷移している場合{ABCスイ
ッチ265がオフ(ABC=O))には・、スタート/
ストップスイッチ260の操作によってNMLモードに
遷移する。When the ABC mode is transiting to the SEQ-REC-RUN mode via the SEQ-REC-WAIT mode {ABC switch 265 is on (ABC
=1)), the start/stop switch 260 is operated to transition to ABC mode, and the SEQ-REC/WAIT mode is changed from NML mode to SEQ-REC/WAIT mode.
When transitioning to REC-RUN mode {ABC switch 265 is off (ABC=O)), start/
By operating the stop switch 260, a transition is made to the NML mode.
vi.SEQ−PLAY−WAITモードこのモードは
、SEQnを動作させ、キー操作及びプレス操作によっ
て和音の再生に遷移する待機状態を表すモードである。vi. SEQ-PLAY-WAIT mode This mode is a mode representing a standby state in which SEQn is operated and transitions to chord playback by key and press operations.
このモードから、2小節が経過すると、SEQ・PLA
Y − RUNモードに遷移し、また、ABC動作時に
スタート/ストップスイッチ260によってABCモー
ドに遷移し、さらに、ABCモードからシーケンサ選択
スイッチ251、252、253の操作によってSEQ
−PLAY−WAITモードに遷移する。After 2 measures have passed from this mode, SEQ/PLA
Transition to Y-RUN mode, transition to ABC mode by the start/stop switch 260 during ABC operation, and further change to SEQ by operating the sequencer selection switches 251, 252, 253 from the ABC mode.
- Transition to PLAY-WAIT mode.
幅.SEQ−PLAY−RUNモード
SEQIIに記憶されている続出し順序に従ってSEQ
+ ..SEQ2 、SEQtをアクセスし、キー操作
及びプレス操作によって和音の再生を行うモードである
。width. SEQ-PLAY-RUN mode SEQ according to the succession order stored in SEQII
+. .. In this mode, SEQ2 and SEQt are accessed and chords are played back by key and press operations.
このモードにおいて、ABCスイッチ265がオンして
いる場合(ABC−=1)には、スタート/ストップス
イッチ260の操作でABCモードに遷移し、また、A
BCスイッチ265がオフしている場合(ABC=O)
には、スタート/ストップスイッチ260の操作でNM
Lモードに遷移する。In this mode, if the ABC switch 265 is on (ABC-=1), the start/stop switch 260 is operated to transition to the ABC mode, and the
When BC switch 265 is off (ABC=O)
NM by operating the start/stop switch 260.
Transition to L mode.
したがって、この電子楽器では、以上の状態遷移を以て
、鍵情報による発音、SEQIにおけるSEQ.,SE
Q! 、SEQaに対する和音の記録、SEQnに対す
るS EQ+ 、S EQg 、S EQ,の読出し順
序の指定、自動伴奏、リズムの発音等を行うことができ
る。Therefore, in this electronic musical instrument, the above-mentioned state transitions allow for sound generation based on key information, SEQ. , S.E.
Q! , SEQa, the reading order of SEQ+, SEQg, SEQ, SEQn, automatic accompaniment, rhythm pronunciation, etc. can be performed.
(b) 初期設定モード処理
第13図は、初期設定モード処理のフローチャートを示
す。(b) Initial setting mode processing FIG. 13 shows a flowchart of initial setting mode processing.
電源スイッチが投入されると、CPUIOがプログラム
メモリ12に記憶されている制御プログラムを読み出し
、そのプログラムに従って動作を開始する。この場合、
給電と同時に初期設定モー?に移行し、ステップSOO
Iではイニシャライズルーチンが動作してレジスタ群1
4における各種のレジスタが初期状態にされた後、NM
Lモードへ遷移する。When the power switch is turned on, the CPUIO reads the control program stored in the program memory 12 and starts operating according to the program. in this case,
Initial setting mode at the same time as power supply? and step SOO
In I, the initialization routine operates and register group 1
After the various registers in 4 are initialized, NM
Transition to L mode.
(c)NMLモード処理
第14図は、NMLモード処理のフローチャートを示す
。(c) NML mode processing FIG. 14 shows a flowchart of NML mode processing.
NMLモードにおいて、ステップS101では、レジス
タ群l4におけるモードレジスタMDにNMLモードを
表すデータ「0」が格納され、スタート/ストップスイ
ッチ260に対応したRUNレジスタにはデータ「0」
、ABCスイッチ265に対応したABCレジスタには
データr■,が格納される。In the NML mode, in step S101, data "0" representing the NML mode is stored in the mode register MD in the register group l4, and data "0" is stored in the RUN register corresponding to the start/stop switch 260.
, data r■, are stored in the ABC register corresponding to the ABC switch 265.
次に、ステップS102では、スタート/ストップスイ
ッチ(ST/ST SW)2 6 0のオンイベント
の有無が判断され、スタート/ストップスイッチ260
にオンイベントが生じている場合には、NMLモードが
解除されてNML − RUNモード(第16図)に遷
移し、また、スタート/ストップスイッチ260にオン
イベントが生じていない場合には、ステップ3103に
移行する。Next, in step S102, it is determined whether there is an on event of the start/stop switch (ST/ST SW) 260, and the start/stop switch 260 is turned on.
If an on-event has occurred in the start/stop switch 260, the NML mode is canceled and a transition is made to the NML-RUN mode (FIG. 16), and if an on-event has not occurred in the start/stop switch 260, the process proceeds to step 3103. to move to.
ステップ3103では、ABCスイッチ265のオンイ
ベントの有無が判断され、ABCスイッチ265にオン
イベントが生じている場合にはNMLモードが解除され
てABCモード(第15図)に遷移し、また、ABCス
イッチ265にオンイベントが生じていない場合にはス
テップS104に手多行する。In step 3103, it is determined whether there is an on-event in the ABC switch 265, and if an on-event has occurred in the ABC switch 265, the NML mode is canceled and the transition is made to the ABC mode (FIG. 15). If no on event has occurred in step S104, the process returns to step S104.
ステップS104では、シーケンサ選択スイッチ(S
EQ1SW, S EQz SW..S EQ3SW)
251、252、253にオンイベントが生じているか
否かが判断され、シーケンサ選択スイッチ251〜25
3の何れかにオンイベントが生じている場合にはステッ
プS105に移行する。ステップS105では、シーケ
ンサ選択スイッチ251〜253と記録スイッチ(RE
C SW)254の同時押しが有ったか否かが判断さ
れ、シーケンサ選択スイッチ251〜253の何れかと
記録スイッチ254の同時押しが有った場合には、NM
LモードからSEQ−REC−WAITモード(第18
図)へ遷移し、また、シーケンサ選択スイッチ251〜
253の何れかと記録スイッチ254の同時押しが無か
った場合にはNMLモードからSEQ−PLAY−WA
ITモード(第20図)へ遷移する。In step S104, the sequencer selection switch (S
EQ1SW, S EQz SW. .. SEQ3SW)
251, 252, 253 is determined whether or not an on event has occurred, and the sequencer selection switches 251 to 25
If an on-event has occurred in any one of 3, the process moves to step S105. In step S105, the sequencer selection switches 251 to 253 and the recording switch (RE
It is determined whether or not the CSW) 254 are pressed simultaneously, and if any of the sequencer selection switches 251 to 253 and the recording switch 254 are pressed simultaneously, the NM
From L mode to SEQ-REC-WAIT mode (18th
), and the sequencer selection switch 251 to
253 and the record switch 254 are not pressed at the same time, the SEQ-PLAY-WA is changed from NML mode.
Transition to IT mode (Figure 20).
また、ステップSl04において、シーケンサ選択スイ
ッチ251〜253の何れにもオンイベントが生じてい
ない場合にはステップ3106に移行し、ステップ31
06では、キー状態の変更が有るか否かが判断され、キ
ー状態の変更が生じていない場合にはステップS107
に移行し、また、キー状態の変更が生じている場合には
ステップ3108に移行する。Further, in step Sl04, if an on event has not occurred in any of the sequencer selection switches 251 to 253, the process moves to step 3106, and step 31
In step S106, it is determined whether or not there is a change in the key state, and if there is no change in the key state, the process proceeds to step S107.
If the key state has changed, the process moves to step 3108.
ステップS107では、ブレスセンサ28を通じて呼気
圧の検出により、プレスイベントが有るか否かが判断さ
れ、プレスイベントが生じている場合にはステップS1
09に移行し、また、プレスイベントが生じていない場
合にはステップSiloに移行する。In step S107, it is determined whether or not there is a press event by detecting exhalation pressure through the breath sensor 28, and if a press event has occurred, step S1
The process moves to step 09, and if no press event has occurred, the process moves to step Silo.
ステップS109では、そのオン/オフイベントに応じ
て現キーコードKCに対し、移調記憶手段としてのレジ
スタに記憶されている移調を表すトランスポーズデータ
TRSを加え、その出力に基づきトーンジエネレータT
G.でキーオン/オフ処理を行わせる。鍵情報に基づく
音高に移調が施される。In step S109, transpose data TRS representing the transposition stored in a register as transposition storage means is added to the current key code KC in accordance with the on/off event, and based on the output, the tone generator T
G. to perform key on/off processing. Transposition is applied to the pitch based on the key information.
また、ステップ3108では、現在のキー状態をテーブ
ルTA.に加えてキーコードKCに変換した後、ステッ
プSll1に移行する。ステップSillでは、ブレス
オン中か否かが判断され、ブレスオン中でない場合には
ステップ31 10に移行し、また、ブレスオン中の場
合にはステップS112に移行する。ステップS112
では、トーンジェネレータ30のトーンジェネレータT
G.におけるキーコードKCを現キーコードKCにトラ
ンスポーズを表すTRS値が加えられたデータ(KC十
TRS)に変更した後、ステップS110に移行する。Further, in step 3108, the current key state is stored in table TA. After converting the key code into the key code KC, the process moves to step Sll1. In step Sill, it is determined whether or not the breath is on. If the breath is not on, the process moves to step 3110, and if the breath is on, the process moves to step S112. Step S112
Now, the tone generator T of the tone generator 30
G. After the key code KC in is changed to data (KC+TRS) in which a TRS value representing transposition is added to the current key code KC, the process moves to step S110.
ステップ3110では、トランスポーズスイッチ263
、264の操作が有ったか否か、即ち、トランスポーズ
の変更が有るか否かが検出され、トランスポーズ変更が
有る場合にはステップS113に移行し、また、トラン
スポーズ変更が無い場合にはステップS114に移行す
る。ステップS113では、トランスポーズスイッチ2
63によるTRS値の増加、トランスポーズスイッチ2
64によるTRS値の減少によって得られているTRS
値「±1」の制御が行われた後、ステップ5114に移
行する。この場合、「l」一100セントを単位として
半音ずつのトランスポーズの増減が行われる。In step 3110, transpose switch 263
, 264, that is, whether or not there is a transpose change, is detected. If there is a transpose change, the process moves to step S113, and if there is no transpose change, it is detected. The process moves to step S114. In step S113, transpose switch 2
Increase in TRS value by 63, transpose switch 2
TRS obtained by decreasing the TRS value by 64
After the control of the value "±1" is performed, the process moves to step 5114. In this case, the transposition is increased or decreased by semitones in increments of 100 cents per "l".
そして、ステップ3114では、ブレスセンサ28の吸
気圧の検出により、プレス吸引イベントが有るか否かが
判断され、プレス吸引イベントが有った場合にはステッ
プS115に移行し、また、プレス吸引イベントが無か
った場合にはステップS116に移行する。ステップS
115では、プレスイベントに応じて音色変更が行われ
、現音色番号をインクリメントr+IJLた後、ステッ
プ8116に移行する。また、ステップS116では、
テンポ変更、リズムセレクト、音色セレクト等の処理が
行われた後、ステップS102に戻る。Then, in step 3114, it is determined whether or not there is a press suction event by detecting the intake pressure of the breath sensor 28. If there is a press suction event, the process moves to step S115, and if there is a press suction event. If there is no such information, the process moves to step S116. Step S
At step 115, the tone color is changed in response to the press event, and after the current tone color number is incremented by r+IJL, the process moves to step 8116. Furthermore, in step S116,
After processing such as tempo change, rhythm selection, tone color selection, etc., the process returns to step S102.
(d)ABCモード処理
第15図は、ABCモード処理のフローチャートを示す
。(d) ABC mode processing FIG. 15 shows a flowchart of ABC mode processing.
ABCモードにおいて、ステップS201では、モード
レジスタMDにABCモードを表すデータ「l」が格納
され、スタート/ストップスイッチ260に対応したR
UNレジスタにデータ「0」、ABCレジスタにデータ
「1」が格納される。In the ABC mode, in step S201, data "l" representing the ABC mode is stored in the mode register MD, and R corresponding to the start/stop switch 260 is stored.
Data "0" is stored in the UN register and data "1" is stored in the ABC register.
ステップS202では、スタート/ストップスイッチ2
60のオンイベントの有無が判断され、スタート/スト
ップスイッチ260の操作でオンイベントが生じている
場合には、ABCモードからABC−RUNモード(第
17図)に遷移し、また、スタート/ストップスイッチ
260にオンイベントが生じていない場合には、ステッ
プS203に移行する。In step S202, the start/stop switch 2
60 is judged, and if an on event occurs by operating the start/stop switch 260, a transition is made from the ABC mode to the ABC-RUN mode (Fig. 17), and the start/stop switch 260 is turned on. If no on event occurs in step S260, the process moves to step S203.
ステップS203では、ABCスイッチ265のオンイ
ベントの有無が判断され、ABCスイッチ265にオン
イベントが生じた場合にはABCモードからNMLモー
ド(第14図)に遷移し、また、ABCスイッチ265
にオンイベントが生じていない場合にはステップS20
4に移行する。In step S203, it is determined whether there is an on-event of the ABC switch 265, and if an on-event occurs in the ABC switch 265, a transition is made from the ABC mode to the NML mode (FIG. 14).
If no on event has occurred in step S20
Move to 4.
ステップS204では、シーケンサ選択スイッチ251
〜253にオンイベントが生じているか否かを検出し、
シーケンサ選択スイッチ251〜253の何れかにオン
イベントが生じている場合にはステップ3205に移行
し、また、シーケンサ選択スイッチ251〜253の何
れにもオンイベントが生じていない場合にはステップS
206に移行する。In step S204, the sequencer selection switch 251
Detecting whether an on event has occurred at ~253,
If an on-event has occurred in any of the sequencer selection switches 251-253, the process moves to step 3205, and if no on-event has occurred in any of the sequencer selection switches 251-253, the process moves to step S.
The process moves to 206.
ステップS205では、記録スイッチ254の同時押し
が有ったか否かが検出され、記録スイッチ254の同時
押しが有った場合には、ABCモードからSEQ−RE
C−WAITモード(第18図)へ遷移し、また、記録
スイッチ254の同時押しが無かった場合にはABCモ
ードからSEQ−PLAY−WAITモード(第20図
)へ遷移する。In step S205, it is detected whether or not the recording switches 254 are pressed simultaneously, and if the recording switches 254 are pressed simultaneously, the SEQ-RE is changed from the ABC mode.
A transition is made to the C-WAIT mode (FIG. 18), and if the recording switch 254 is not pressed simultaneously, a transition is made from the ABC mode to the SEQ-PLAY-WAIT mode (FIG. 20).
ステップS206では、キー操作によるキー状態の変更
が有るか否かが判断され、キー状態の変更が生じていな
い場合にはステップS207に移行する。In step S206, it is determined whether or not there is a change in the key state due to the key operation, and if there is no change in the key state, the process moves to step S207.
ステップS207では、プレスイベントが有るか否かが
検出され、プレスイベントが生じている場合にはステッ
プS209に移行し、また、プレスイベントが生じてい
ない場合にはステップS210に移行する。ステップS
209では、CHDレジスタに和音データTCHDを格
納し、ステップSS2llに移行する。ステップS21
1では、オン/オフイベントに応じてCHDレジスタの
内容に基づく構戒音にトランスポーズデータTRSを加
算してトーンジエネレータTG,にキーオン/オフの処
理を行わせ、ステップS210に移行する。In step S207, it is detected whether or not there is a press event. If a press event has occurred, the process moves to step S209, and if no press event has occurred, the process moves to step S210. Step S
At step 209, the chord data TCHD is stored in the CHD register, and the process moves to step SS2ll. Step S21
In step S1, the transpose data TRS is added to the tone based on the contents of the CHD register in response to the on/off event, causing the tone generator TG to perform key on/off processing, and the process proceeds to step S210.
また、ステップS206でキー状態の変更が生じている
場合にはステップS208に移行し、ステップ3208
では、現在のキー状態をテーブルT A tに加えて和
音データTCHDに変換し、ステップS212に移行す
る。Further, if the key state has changed in step S206, the process moves to step S208, and step 3208
Then, the current key state is added to the table T A t and converted into chord data TCHD, and the process moves to step S212.
ステップS212では、プレスオン中か否かが検出され
、ブレスオン中の場合にはステップS213に移行し、
また、ブレスオン中でない場合にはステップS210に
移行する。In step S212, it is detected whether or not the press-on is being performed, and if the press-on is being performed, the process moves to step S213,
If the breath is not on, the process moves to step S210.
ステップS213では、CHDレジスタに和音データT
CHDを格納し、ステップS214に移行する。ステッ
プS214では、トーンジエネレータTGcをCHDレ
ジスタの内容に基づく構戒音にてトランスポーズデータ
TRSを加算してキーコード変更を行い、ステップS2
10に移行する。In step S213, chord data T is stored in the CHD register.
The CHD is stored and the process moves to step S214. In step S214, the key code is changed by adding transpose data TRS to the tone generator TGc in a tone based on the contents of the CHD register, and in step S2
10.
ステップS210では、トランスポーズの変更が有るか
否かが判断され、トランスポーズ変更が有る場合にはス
テップS215に移行し、また、トランスポーズ変更が
無い場合にはステップ3116に移行する。ステップS
215では、TRS値「±l」の増減に応じた制御が行
われた後、ステップ3216に移行する。In step S210, it is determined whether or not there is a transpose change. If there is a transpose change, the process moves to step S215, and if there is no transpose change, the process moves to step S3116. Step S
In step 215, control is performed according to the increase or decrease in the TRS value "±l", and then the process moves to step 3216.
ステップS216では、テンポ変更、リズムセレクト、
音色セレクト等の処理が行われた後、ステップS202
に戻る。In step S216, tempo change, rhythm selection,
After processing such as tone selection is performed, step S202
Return to
(e) NML−RUNモード処理
第16図は、NML − RUNモード処理のフローチ
ャートを示す。(e) NML-RUN mode processing FIG. 16 shows a flowchart of NML-RUN mode processing.
NML−RUNモードにおいて、ステップ3301では
、レジスタ群14におけるモードレジスタMDにNML
− RUNモードを表すデータ「2」が格納されると
ともに、RUNレジスタに「1」が格納され、テンポク
ロツタレジスタCLKがクリアされ、また、ABCレジ
スタにデータ「O」が格納される。In the NML-RUN mode, in step 3301, NML is set in the mode register MD in the register group 14.
- Data "2" representing the RUN mode is stored, "1" is stored in the RUN register, the tempo clock register CLK is cleared, and data "O" is stored in the ABC register.
ステップ3302では、スタート/ストップスイッチ2
60に対するオンイベントの有無が判断され、スタート
/ストップスイッチ260の操作でオンイベントが生じ
ている場合には、NML・RUNモードが解除されてN
MLモード(第14図)に遷移し、また、スタート/ス
トップスイッチ260にオンイベントが生じていない場
合には、ステップS303に移行する。In step 3302, start/stop switch 2
The presence or absence of an on event for 60 is determined, and if an on event occurs by operating the start/stop switch 260, the NML/RUN mode is canceled and the NML/RUN mode is released.
If the mode is changed to the ML mode (FIG. 14) and no on event has occurred in the start/stop switch 260, the process moves to step S303.
ステップS303では、ABCスイッチ265のオンイ
ベントの有無が判断され、ABCスイッチ265にオン
イベントが生している場合には、NML − RUNモ
ードが解除されてABC−RUNモード(第l7図)に
遷移し、また、ABCスイッチ265にオンイベントが
生じていない場合にはステップS304に移行する。In step S303, it is determined whether there is an on-event on the ABC switch 265, and if there is an on-event on the ABC switch 265, the NML-RUN mode is canceled and the transition is made to the ABC-RUN mode (Fig. 17). However, if no on event has occurred in the ABC switch 265, the process moves to step S304.
ステップS304では、シーケンサ選択スイッチ251
〜253にオンイベントが生しているか否かが判断され
、シーケンサ選択スイッチ251〜253の何れかにオ
ンイベントが生じている場合には、NML・RUNモー
ドからSEQ−PLAY−RUNモード(第21図)に
遷移し、また、シーケンサ選択スイッチ251〜253
の何れにもオンイベントが生じでいない場合にはステッ
プS305に移行する。このNML − RUNモード
からSEQ・PLAY−RUNモードへの遷移は、第1
2図の状態遷移図には特に示していない。In step S304, the sequencer selection switch 251
It is determined whether or not an on event occurs in any of the sequencer selection switches 251 to 253, and if an on event occurs in any of the sequencer selection switches 251 to 253, the mode is changed from the NML/RUN mode to the SEQ-PLAY-RUN mode (the 21st ), and the sequencer selection switches 251 to 253
If no on event occurs in any of the above, the process moves to step S305. This transition from NML-RUN mode to SEQ/PLAY-RUN mode is the first
This is not particularly shown in the state transition diagram of FIG.
ステップS305では、キー状態の変更が有るか否かが
検出され、キー状態の変更が生じていない場合にはステ
ップS306に移行し、また、キー状態の変更が生じて
いる場合にはステップS307に移行する。ステップS
307では、現キー状態をテーブルTA.にてキーコー
ドKCに変換し、ステップ53.08に移行する。In step S305, it is detected whether or not there is a change in the key state. If the key state has not changed, the process moves to step S306, and if the key state has changed, the process moves to step S307. Transition. Step S
At 307, the current key state is stored in table TA. It is converted into a key code KC at step 53.08.
ステップ3308では、ブレスオン中か否かが判断され
、ブレスオン中の場合にはステップ3309に移行し、
また、ブレスオン中でない場合にはステップ3306に
移行する。In step 3308, it is determined whether or not the breath is on, and if the breath is on, the process moves to step 3309.
If the breath is not on, the process moves to step 3306.
ステップS309では、トーンジェネレータTG.のキ
ーコードKCを、現キーコードKcにTRS値を加えた
データ(KC十TRS)に変更してステップS306に
移行する。In step S309, tone generator TG. The key code KC is changed to data (KC + TRS) obtained by adding the TRS value to the current key code Kc, and the process moves to step S306.
ステップS306では、プレスイベントが有るか否かが
判断され、プレスイベントが有る場合にはステップS3
10に移行し、また、プレスイヘントが無い場合にはス
テップS311に移行する。In step S306, it is determined whether or not there is a press event, and if there is a press event, step S3
The process moves to step S310, and if there is no press event, the process moves to step S311.
ステップS310では、オン/オフイベントに応して現
キーコードKCにTRS値を加えて(KC+TRS)に
変更し、トーンジェネレータTG.のキーオン/オフ処
理が行われた後、ステップS311に移行する。In step S310, the TRS value is added to the current key code KC in response to the on/off event to change it to (KC+TRS), and the tone generator TG. After the key on/off process is performed, the process moves to step S311.
ステップS311では、トランスポーズの変更が有るか
否かが判断され、トランスポーズ変更が有る場合にはス
テップS312に移行し、また、トランスポーズ変更が
無い場合にはステップS313に移行する。ステップS
312では、そのTRS値の増減±1に応じた移調制御
が行われた後、ステップS313に移行する。In step S311, it is determined whether or not there is a transpose change. If there is a transpose change, the process moves to step S312, and if there is no transpose change, the process moves to step S313. Step S
In step S312, transposition control is performed according to the increase or decrease of ±1 in the TRS value, and then the process moves to step S313.
ステップS313では、ブレスセンサ28の吸気圧の検
出により、プレス吸引イベントが有るか否かが判断され
、プレス吸引イベントが有る場合にはステップS314
に移行し、また、プレス吸引イベントが無い場合にはス
テップS315に移行する。ステップS314では、リ
ズムのフイノレイン制御を行うために、FILレジスタ
にそのデータ「1」が格納され、ステップS315に移
行する。フィルインスイッチは、通常のパターンからフ
ィルインパターンに移行するためのものである。In step S313, it is determined whether or not there is a press suction event by detecting the intake pressure of the breath sensor 28, and if there is a press suction event, step S314
If there is no press suction event, the process moves to step S315. In step S314, the data "1" is stored in the FIL register in order to perform rhythm control, and the process moves to step S315. The fill-in switch is for transitioning from a normal pattern to a fill-in pattern.
ステップS315では、テンポ変更、リズムセレクト、
音色セレクト等の処理が行われた後、ステップS302
に戻る。In step S315, tempo change, rhythm selection,
After processing such as tone selection is performed, step S302
Return to
なお、このモードでのリズム音の発音は後述するCLK
− IRQ処理で行われる。Note that the rhythm sounds in this mode are produced using CLK, which will be described later.
- done in IRQ processing.
(f) A B C − R U Nモード処理第1
7図は、ABC−RUNモード処理のフローチャートを
示す。(f) ABC-RUN mode processing first
FIG. 7 shows a flowchart of ABC-RUN mode processing.
ABC−RUNモードにおいて、ステップ3401では
、モードレジスタMDにABC−RUNモードを表すデ
ータ「3」が格納されるとともに、スタート/ストップ
スイッチ260に対応したRUNレジスタに「1」が格
納され、また、テンポクロックレジスタCLKをクリア
し、ABCスイッチ265の操作でABCレジスタにデ
ータ「1」が格納される。In the ABC-RUN mode, in step 3401, data "3" representing the ABC-RUN mode is stored in the mode register MD, and "1" is stored in the RUN register corresponding to the start/stop switch 260. The tempo clock register CLK is cleared and data "1" is stored in the ABC register by operating the ABC switch 265.
ステップS402では、スタート/ストップスイッチ2
60に対するオンイベントの有無が判断され、スタート
/ストップスイッチ260の操作でオンイベントが生じ
ている場合には、ABC・RtJNモードからABCモ
ード(第15図)に遷移し、また、スタート/ストップ
スイッチ260にオンイベントが生じていない場合には
ステップS403に移行する。In step S402, start/stop switch 2
It is determined whether there is an on-event for 60, and if an on-event has occurred by operating the start/stop switch 260, a transition is made from the ABC/RtJN mode to the ABC mode (Fig. 15), and the start/stop switch 260 is turned on. If no on event has occurred in step S403, the process moves to step S403.
ステップS403では、ABCスイッチ265のオンイ
ベントの有無が判断され、ABCスイッチ265にオン
イベントが生じている場合には、ABC − RUNモ
ードからNML − RUNモード(第16図)に遷移
し、また、ABCスイッチ265にオンイベントが生じ
ていない場合にはステップS404に移行する。In step S403, it is determined whether there is an on-event of the ABC switch 265, and if an on-event has occurred in the ABC switch 265, a transition is made from the ABC-RUN mode to the NML-RUN mode (FIG. 16), and If no on event has occurred in the ABC switch 265, the process moves to step S404.
ステップS404では、シーケンサ選択スイッチ251
〜253にオンイベントが生じているか否かが判断され
、シーケンサ選択スイッチ251〜253の何れかにオ
ンイベントが生じている場合には、ABC−RUNモー
ドからSEQ−PLAY−RUNモード(第21図)に
遷移し、また、シーケンサ選択スイッチ251〜253
の何れにもオンイベントが生じていない場合にはステッ
プ$405に移行する。In step S404, the sequencer selection switch 251
It is determined whether or not an on event has occurred in any of the sequencer selection switches 251 to 253, and if an on event has occurred in any of the sequencer selection switches 251 to 253, the mode is changed from ABC-RUN mode to SEQ-PLAY-RUN mode (Fig. 21). ), and the sequencer selection switches 251 to 253
If an on-event has not occurred in any of the steps, the process moves to step $405.
なお、このABC − RUNモードからSEQ・PL
AY−RUNモードへの遷移も第12図の状態遷移図に
は特に示していない。In addition, from this ABC-RUN mode, SEQ/PL
The transition to the AY-RUN mode is also not particularly shown in the state transition diagram of FIG.
ステップ3405では、キー状態の変更が有るか否かが
検出され、キー状態の変更が生じていない場合にはステ
ップ3406に移行し、また、キー状態の変更が生じて
いる場合にはステップ3407に移行する。In step 3405, it is detected whether or not there is a change in the key state. If the key state has not changed, the process moves to step 3406, and if the key state has changed, the process moves to step 3407. Transition.
ステップS407では、現キー状態をテーブルT A
tにて和音データTCHDに変換し、ステップ8408
に移行する。ステップ3408では、プレスオン中か否
かが判断され、ブレスオン中の場合にはステップS40
9に移行し、また、ブレスオン中でない場合にはステッ
プS406に移行する。In step S407, the current key state is stored in table T A
Convert to chord data TCHD at step 8408
to move to. In step 3408, it is determined whether or not press-on is in progress, and if breath-on is in progress, step S40
The process moves to step S406, and if the breath-on is not in progress, the process moves to step S406.
ステップS409では、CHDレジスタに対しステップ
S407で得られた和音データTCHDを格納し、ステ
ップ3406に移行する。In step S409, the chord data TCHD obtained in step S407 is stored in the CHD register, and the process proceeds to step S3406.
ステップ3406では、プレスイベントが有るか否かが
検出され、プレスイベントが有る場合にはステップS4
10に移行し、また、プレスイベントが無い場合にはス
テップS411に移行する。In step 3406, it is detected whether or not there is a press event, and if there is a press event, step S4
If there is no press event, the process moves to step S411.
ステップS410では、CHDレジスタに対してテーブ
ルTA.で得られた和音データTCHDを格納し、ステ
ップS411に移行する。In step S410, table TA. The chord data TCHD obtained in step S411 is stored.
ステップS411では、トランスポーズの変更が有るか
否かが判断され、トランスポーズ変更が有る場合にはス
テップ5412に移行し、また、トランスポーズ変更が
無い場合にはステップS413に移行する。ステップS
412では、そのTRS値の増減士に応じてトランスポ
ーズ制御が行われた後、ステップ3413に移行する。In step S411, it is determined whether or not there is a transpose change. If there is a transpose change, the process moves to step 5412, and if there is no transpose change, the process moves to step S413. Step S
At step 412, transpose control is performed according to the increase/decrease of the TRS value, and then the process moves to step 3413.
ステップS413では、ブレスセンサ28の吸気圧の検
出により、プレス吸引イベントが有るか否かが判断され
、プレス吸引イベントが有る場合にはステップ3414
に移行し、また、プレス吸引イベントが無い場合にはス
テップS415に移行する。ステップS414では、A
BC音のフィルイン制御を行うために、FILレジスタ
にそのデータ「1」が格納され、ステップS415に移
行する。In step S413, it is determined whether or not there is a press suction event by detecting the intake pressure of the breath sensor 28, and if there is a press suction event, step S414
If there is no press suction event, the process moves to step S415. In step S414, A
In order to perform BC sound fill-in control, the data "1" is stored in the FIL register, and the process moves to step S415.
ステップ5415では、テンポ変更、リズムセレクト、
音色セレクト等の処理が行われた後、ステップS402
に戻る。In step 5415, tempo change, rhythm selection,
After processing such as tone selection is performed, step S402
Return to
なお、このモードでのABC音の発音も後述するCLK
・IRQの処理で行われる。Note that the pronunciation of ABC sounds in this mode is also CLK, which will be described later.
- Performed by IRQ processing.
(g) SEQ−REC−WAITモード処理第18
図は、SEQ−REC−WAITモード処理のフローチ
ャートを示す。(g) SEQ-REC-WAIT mode processing No. 18
The figure shows a flowchart of SEQ-REC-WAIT mode processing.
SEQ−REC−WAITモードにおいて、ステップS
501では、モードレジスタMDにSEQ−REC−W
AITモードを表すデータ「4」が格納されるとともに
、RUNレジスタにデータ「−1」が格納され、シーケ
ンサ選択スイッチ251〜253の何れが選択されてい
るかがSEQNOレジスタに格納される。In the SEQ-REC-WAIT mode, step S
501, SEQ-REC-W is set in mode register MD.
Data "4" representing the AIT mode is stored, data "-1" is stored in the RUN register, and which of the sequencer selection switches 251 to 253 is selected is stored in the SEQNO register.
ステップS502では、スタート/ストップスイッチ2
60のオンイベントの有無が判断され、スタート/スト
ップスイッチ260にオンイベントが生じている場合に
はステップS503に移行し、また、スタート/ストッ
プスイッチ260にオンイベントが生じていない場合に
はステップS504に移行する。In step S502, the start/stop switch 2
60 is judged, and if an on event has occurred in the start/stop switch 260, the process moves to step S503, and if an on event has not occurred in the start/stop switch 260, the process moves to step S504. to move to.
ステップS503では、ABCレジスタの内容により、
そのデータがrlJのときにはSEQ・REC−WAI
TモードからABCモード(第15図)に遷移し、また
、そのデータが「0」のときにはSEQ・REC−WA
ITモードからNMLモード(第l4図)に遷移する。In step S503, depending on the contents of the ABC register,
When the data is rlJ, SEQ・REC-WAI
When there is a transition from T mode to ABC mode (Figure 15) and the data is "0", SEQ/REC-WA
Transition from IT mode to NML mode (Figure 14).
ステップS504では、シーケンサ選択スイッチ251
〜253にオンイベントが生じているか否かを検出し、
シーケンサ選択スイッチ251〜253の何れかにオン
イベントが生じている場合にはステップS505に移行
し、また、シーケンサ選択スイッチ251〜253の何
れにもオンイベントが生じていない場合にはステップ3
506に移行する。In step S504, the sequencer selection switch 251
Detecting whether an on event has occurred at ~253,
If an on event has occurred in any of the sequencer selection switches 251 to 253, the process moves to step S505, and if an on event has not occurred in any of the sequencer selection switches 251 to 253, the process moves to step S505.
506.
ステップS505では、シーケンサ選択スイッチ251
〜253で選択されたSEQI中のSEQ+ ,SEQ
* ,SEQ*を表す番号が指定されてSEQNOレジ
スタに格納され、ステップS506に移行する。In step S505, the sequencer selection switch 251
SEQ+, SEQ in SEQI selected at ~253
*, the number representing SEQ* is specified and stored in the SEQNO register, and the process moves to step S506.
ステップ3506では、キー状態の変更が有るか否かが
検出され、キー状態の変更が生じている場合にはステッ
プS507に移行し、また、キー状態の変更が生じてい
ない場合にはステップ3508に移行する。ステップS
507では、現キー状態がテーブルTAtで和音データ
TCHDに変更され、ステップ3508に移行する。In step 3506, it is detected whether or not there is a change in the key state. If the key state has changed, the process moves to step S507, and if the key state has not changed, the process moves to step S508. Transition. Step S
In step 507, the current key state is changed to chord data TCHD in table TAt, and the process moves to step 3508.
ステップ350Bでは、プレスイベントが有るか否かが
検出され、プレスイベントが生じている場合にはステッ
プS509に移行し、また、プレスイベントが生じてい
ない場合にはステップS510に移行する。In step 350B, it is detected whether or not there is a press event. If a press event has occurred, the process moves to step S509, and if no press event has occurred, the process moves to step S510.
ステップS509では、CHDレジスタに対してテーブ
ルTA.で得られた和音データTCHDを格納し、ステ
ップS511に移行する。ステップ5511では、SE
QIのSEQNOレジスタに対応したSEQi (i=
1.2or3)に移調量を表すトランスポーズデータT
RS、リズムデータRHY、和音データCHDを格納す
る。In step S509, table TA. The chord data TCHD obtained in step S511 is then stored. In step 5511, SE
SEQi (i=
Transpose data T representing the amount of transposition to 1.2 or 3)
Stores RS, rhythm data RHY, and chord data CHD.
ステップS512に移行する。ステップS512では、
DURレジスタの上位4ビットに所定値CHを格納し、
ステップ3513に移行する。DURレジスタの上位4
ビットにCHを格納するのは、和音データCHDの上位
4ビットが00〜BHの根音データで構威されているの
で、それと識別するためである。The process moves to step S512. In step S512,
Store a predetermined value CH in the upper 4 bits of the DUR register,
The process moves to step 3513. Top 4 DUR registers
The reason why CH is stored in the bit is to identify the upper 4 bits of the chord data CHD as root note data from 00 to BH.
ステップS513では、ポインタPNTにデータ「3」
を格納し、BTレジスタにデータ「0」を格納した後、
SEQ−REC−WAITモードからSEQ− REC
・RUNモード(第19図)に遷移する。In step S513, data "3" is placed in the pointer PNT.
After storing data “0” in the BT register,
SEQ-REC from SEQ-REC-WAIT mode
- Transition to RUN mode (Figure 19).
よって、SEQ・REC−RLINモードでは、SEQ
i (3)以降の番地から記憶が行われる。Therefore, in SEQ/REC-RLIN mode, SEQ
Storage starts from addresses after i (3).
また、ステップS510では、トランスポーズの変更が
有るか否かが検出され、トランスポーズ変更が有る場合
にはステップS514に移行し、また、トランスポーズ
変更が無い場合にはステップS515に移行する。ステ
ップS’514では、そのTRS値の増減士に応じたト
ランスポーズ制御が行われた後、ステップS515に移
行する。Further, in step S510, it is detected whether or not there is a transpose change. If there is a transpose change, the process moves to step S514, and if there is no transpose change, the process moves to step S515. In step S'514, transpose control is performed according to the increase/decrease in the TRS value, and then the process moves to step S515.
そして、ステップS515では、テンポ変更、リズムセ
レクト、音色セレクト等の処理が行われた後、ステップ
S502に戻る。Then, in step S515, processes such as tempo change, rhythm selection, tone color selection, etc. are performed, and then the process returns to step S502.
(h) SEQ−REC−RUNモード処理第19図
は、SEQ−REC・RUNモード処理のフローチャー
トを示す。(h) SEQ-REC-RUN mode processing FIG. 19 shows a flowchart of SEQ-REC-RUN mode processing.
SEQ−REC−RUNモードにおいて、ステップS6
01では、モードレジスタMDにSEQ・REC −
RUNモードを表すデータ「5」が格納されるとともに
、RUNレジスタにデータ「1」が格納され、テンポク
ロツタレジスタCLKがクリアされる。In the SEQ-REC-RUN mode, step S6
In 01, SEQ・REC − is set in mode register MD.
Data "5" representing the RUN mode is stored, data "1" is stored in the RUN register, and the tempo clock register CLK is cleared.
ステップS602では、スタート/ストップスイッチ2
60のオンイベントの有無が検出され、スタート/スト
ップスイッチ260の操作でオンイベントが生じている
場合にはステ・ンプ3603に移行し、また、スタート
/ストップスイッチ260にオンイベントが生じていな
い場合にはステップS604に移行する。In step S602, the start/stop switch 2
60 is detected, and if an on event occurs due to the operation of the start/stop switch 260, the process moves to step 3603, and if no on event occurs at the start/stop switch 260, the process moves to step 3603. Then, the process moves to step S604.
ステップ5603では、ポインタPNTで指定されたシ
ーケンサSEQi (PNT)に(CH+BT)が格
納され、ステップS605に移行する。In step 5603, (CH+BT) is stored in the sequencer SEQi (PNT) specified by the pointer PNT, and the process moves to step S605.
ステップS605では、SEQi (PNT+1)に
シーケンス終了データFFエを格納し、ステップS60
6に移行する。ステップ8606では、ABCレジスタ
の内容により、そのデータが「1」である場合には、S
EQ− REC − RUNモードからABCモード(
第15図)に遷移し、また、そのデータが「l」でない
場合には、SEQ−REC − RUNモードからNM
Lモード(第14図)に遷移する。In step S605, sequence end data FF is stored in SEQi (PNT+1), and in step S60
Move to 6. In step 8606, according to the contents of the ABC register, if the data is "1", S
From EQ-REC-RUN mode to ABC mode (
(Fig. 15), and if the data is not “l”, the SEQ-REC-RUN mode is changed to NM
Transition to L mode (Fig. 14).
ステップS604では、キー状態の変更が有るか否かが
検出され、キー状態の変更が有る場合にはステ・ンプS
607に移行し、また、キー状態の変更が無い場合には
ステップ3608に移行する。In step S604, it is detected whether or not there is a change in the key state, and if there is a change in the key state, the step S604
The process moves to step 607, and if there is no change in the key state, the process moves to step 3608.
ステップ3607では、現キー状態をテーブルT A
2で和音データTCHDに変換した後、ステップS60
9に移行する。In step 3607, the current key state is stored in table T A
After converting into chord data TCHD in step S60
Move to 9.
ステップS609では、ブレスオン中か否かが検出され
、ブレスオン中である場合にはステップS610に移行
し、また、ブレスオン中でない場合にはステップ360
8に移行する。In step S609, it is detected whether or not the breath is on. If the breath is on, the process moves to step S610. If the breath is not on, the process moves to step S610.
Move to 8.
ステップ3608では、プレスイベントが有るか否かが
検出され、プレスイベントが生じている場合にはステッ
プS610に移行し、また、プレスイベントが生じてい
ない場合にはステップS611に移行する。ステップS
610では、CHDレジスタに対してテーブルTA2で
得られた和音データTCHDを格納し、ステップS61
2に移行する。In step 3608, it is detected whether or not there is a press event. If a press event has occurred, the process moves to step S610, and if no press event has occurred, the process moves to step S611. Step S
In step S610, the chord data TCHD obtained in table TA2 is stored in the CHD register, and in step S61
Move to 2.
ステップS611では、テンポ変更、リズムセレクト、
音色セレクト等、その他の処理が行われた後、ステップ
3602に戻る。In step S611, tempo change, rhythm selection,
After other processing such as tone color selection is performed, the process returns to step 3602.
ステップS612では、BTレジスタが「O」であるか
否かが検出され、「0」である場合にはステップS61
3に移行し、また、「0」でない場合にはステップ36
14に移行する。In step S612, it is detected whether the BT register is "O", and if it is "0", step S61
3, and if it is not “0”, step 36
14.
ステップS613では、ポインタPNTで指定されたS
EQi (PNT−1)にCHDレジスタのデータを
格納してステップ3611に移行する.ステップS61
3の処理は、鍵操作を行ってすぐに操作を誤ったことに
気付き変更した場合に、変更前の鍵操作を無効にするた
めのものである。In step S613, the S
The data of the CHD register is stored in EQi (PNT-1) and the process moves to step 3611. Step S61
The process No. 3 is for invalidating the key operation before the change, when the user immediately realizes that he or she made a mistake in the key operation and changes the key operation.
そして、ステップS614では、BTレジスタとDUR
レジスタとの一敗関係が検出され、両者が一敗している
場合にはステップS615に移行し、両者が一致してな
い場合にはステップ8616に移行する。Then, in step S614, the BT register and DUR
A one-loss relationship with the register is detected, and if both have one loss, the process moves to step S615, and if the two do not match, the process moves to step S8616.
本実施例では、DLJRレジスタとBTレジスタとが等
しいとき、即ち、前回記憶された時間間隔データと今回
の時間間隔データとが等しいときには、時間間隔データ
即ちDURレジスタの値をシーケンサに記憶しない。In this embodiment, when the DLJR register and the BT register are equal, that is, when the previously stored time interval data and the current time interval data are equal, the time interval data, that is, the value of the DUR register, is not stored in the sequencer.
ステップS616では、DURレジスタの下位゜4ビッ
トにBTレジスタのデータを格納した後、ステップS6
17に移行し、ステップS617ではポインタPNTで
指定されたSEQi (PNT)にDURレジスタのデ
ータを格納し、ステップ3618に移行する。ステップ
3618では、ポインタPNTのデータをインクリメン
トし、ステップS615に移行する。In step S616, the data of the BT register is stored in the lower 4 bits of the DUR register, and then in step S6
In step S617, the data of the DUR register is stored in SEQi (PNT) specified by the pointer PNT, and the process moves to step S3618. In step 3618, the data of pointer PNT is incremented, and the process moves to step S615.
ステップS615では、SEQ,(PNT)にCHDレ
ジスタのデータを格納し、ステップ5619に移行する
。ステップS619では、ポインタPNTのデータをイ
ンクリメントし、ステップS620に移行し、BTレジ
スタを「0」にし、ステップS611に移行する。In step S615, the data of the CHD register is stored in SEQ, (PNT), and the process moves to step S619. In step S619, the data of the pointer PNT is incremented, the process moves to step S620, the BT register is set to "0", and the process moves to step S611.
なお、このモードでのABC音の発音も後述するCLK
− IRQの処理で行われる。Note that the pronunciation of ABC sounds in this mode is also CLK, which will be described later.
- Performed in IRQ processing.
ri) SEQ−PLAY−WAITモード処理第2
0図は、SEQ−PLAY−WAITモード処理のフロ
ーチャートを示す。ri) SEQ-PLAY-WAIT mode processing second
FIG. 0 shows a flowchart of SEQ-PLAY-WAIT mode processing.
SEQ・PLAY−WA■Tモードにおいて、ステップ
S701では、レジスタ群14におけるモードレジスタ
MDにSEQ−PLAY−WAITモードを表すデータ
「6」を格納するとともに、RtJNレジスタにデータ
「−l」を格納し、シーケンサ選択スイッチ251〜2
53の操作に応じてSEQI中のSEQ+ 、SEQ!
、SEQaを指定し、レジスタSEQPNT及びテン
ポクロックレジスタCLKをクリアした後、ステップS
702に移行する。In the SEQ/PLAY-WAIT mode, in step S701, data "6" representing the SEQ-PLAY-WAIT mode is stored in the mode register MD in the register group 14, and data "-l" is stored in the RtJN register. , sequencer selection switch 251-2
SEQ+, SEQ! in SEQI according to the operation of 53.
, SEQa and clearing register SEQPNT and tempo clock register CLK, step S
The process moves to step 702.
ステップS702では、スタート/ストップスイッチ2
60のオンイベントの有無が判断され、スタート/スト
ップスイッチ260にオンイベントが生じている場合に
はステップS703に移行し、また、スタート/ストッ
プスイッチ260にオンイベントが生じていない場合に
はステップS704に移行する。In step S702, start/stop switch 2
60 is judged, and if an on event has occurred in the start/stop switch 260, the process moves to step S703, and if no on event has occurred in the start/stop switch 260, the process moves to step S704. to move to.
ステップS703では、ABCレジスタの内容により、
そのデータが「l」である場合には、SEQ−PLAY
−WAITモードからABCモード(第15図)に遷移
し、また、ABCスイッチ265にオンイベントが生じ
ていない場合にはSEQ−PLAY−WAITモードか
らNMLモード(第14図)に遷移する。In step S703, depending on the contents of the ABC register,
If the data is "l", SEQ-PLAY
-A transition is made from the WAIT mode to an ABC mode (FIG. 15), and if an on event has not occurred in the ABC switch 265, a transition is made from the SEQ-PLAY-WAIT mode to an NML mode (FIG. 14).
ステップ3704では、シーケンサ選択スイッチ251
〜253にオンイベントが生じているか否かを検出し、
シーケンサ選択スイッチ251〜253の何れかにオン
イベントが生している場合にはステップS705に移行
し、また、シーケンサ選択スイッチ251〜253の何
れにもオンイベントが生じていない場合にはステップS
706に移行する。In step 3704, the sequencer selection switch 251
Detecting whether an on event has occurred at ~253,
If an on-event has occurred in any of the sequencer selection switches 251 to 253, the process moves to step S705, and if no on-event has occurred in any of the sequencer selection switches 251 to 253, the process moves to step S705.
The process moves to step 706.
ステップS705では、ポインタSEQPNTのデータ
にデータ「1」を加え、ステップS707に移行する。In step S705, data "1" is added to the data of pointer SEQPNT, and the process moves to step S707.
ステップ3707では、SEQnのポインタPNTで指
定されているエリアにイベントSEQの番号を格納し、
ステップ3706に移行する。後述するが、テンポクロ
ツタレジスタCLKは、CLK− IRQ処理の度にカ
ウントアップされ、CLK=98になったときにクリア
されて自動的にSEQ−PLAY−RutNモードに遷
移する。ステップS704〜S707の処理は、その間
に再生順序を設定する操作に対応している。In step 3707, the number of the event SEQ is stored in the area specified by the pointer PNT of SEQn,
The process moves to step 3706. As will be described later, the tempo clock register CLK is counted up every time CLK-IRQ processing is performed, and when CLK=98, it is cleared and automatically transitions to the SEQ-PLAY-RutN mode. The processing in steps S704 to S707 corresponds to an operation for setting the playback order during that time.
ステップS706では、キー状態の変更が有るか否かが
検出され、キー状態の変更が生じている場合にはステッ
プS708に移行し、また、キー状態の変更が生じてい
ない場合にはステップS709に移行する。In step S706, it is detected whether or not there is a change in the key state. If the key state has changed, the process moves to step S708, and if the key state has not changed, the process moves to step S709. Transition.
ステップS708では、現キー状態がテーブルTAlで
キーコードKCに変換され、ステップS7 10に移行
する。ステップS710では、プレスオン中であるか否
かが検出され、ブレスオン中である場合にはステップS
711に移行し、また、ブレスオン中でない場合にはス
テップS709に移行する。In step S708, the current key state is converted into a key code KC in table TAl, and the process moves to step S710. In step S710, it is detected whether or not the press-on is being performed. If the press-on is being performed, step S710 is performed.
The process moves to step S711, and if the breath is not on, the process moves to step S709.
ステップS711では、トーンジェネレータT G s
のキーコードKCをトランスポーズデータTRSを加え
た(KC+TRS)じ変更し、ステップS709に移行
する。In step S711, the tone generator T G s
The key code KC of is changed by adding the transpose data TRS (KC+TRS), and the process moves to step S709.
ステップS709では、プレスイベントが有るか否かが
検出され、プレスイベントが生じている場合にはステッ
プS712に移行し、また、プレスイベントが生じてい
ない場合にはステップS713に移行する。In step S709, it is detected whether or not there is a press event. If a press event has occurred, the process moves to step S712, and if no press event has occurred, the process moves to step S713.
ステップS712ではプレスのオン/オフイベントに応
じ、現キーコードKCにTRS値を加えたデータ(KC
+TRS)にてトーンジヱネレータTG.のキーオン及
びオフの処理が行われ、ステップS713に移行する。In step S712, data (KC
+TRS) tone generator TG. The key-on and key-off processing is performed, and the process moves to step S713.
ステップS713では、トランスポーズ切換えスイッチ
263、264によるトランスポーズの変更が有るか否
かが検出され、トランスポーズ変更が有る場合にはステ
ップS714に移行し、また、トランスポーズ変更が無
い場合にはステップS715に移行する.ステッフ゛S
714では、そのTRS{直の増減士に応じてトランス
ポーズ制御が行われた後、ステップ3715に移行する
。In step S713, it is detected whether or not there is a change in transpose by the transpose changeover switches 263 and 264. If there is a change in transpose, the process moves to step S714, and if there is no change in transpose, the process moves to step S714. Proceed to S715. Step S
At step 714, transpose control is performed according to the TRS value, and then the process moves to step 3715.
ステップS715では、テンポ変更、リズムセレクト、
音色セレクト等、その他の処理が行われた後、ステップ
S702に戻る。In step S715, tempo change, rhythm selection,
After other processing such as tone color selection is performed, the process returns to step S702.
(j) SEQ−PLAY−RUNモード処理第21
図は、SEQ− PLAY − RUNモードのフロー
チャートを示す。(j) SEQ-PLAY-RUN mode processing 21st
The figure shows a flowchart of the SEQ-PLAY-RUN mode.
SEQ−PLAY−RtJNモードにおいて、スチップ
5801では、モードレジスタMDにSEQ−PLAY
−RUNモードを表すデータ「7」を格納するとともに
、スタート/ストップスイッチ260に対応したRUN
レジスタにデータ「l」を格納し、テンポクロツタレジ
スタCLK及びレジスタSEQPNTをクリアし、ステ
ップS802に移行する。In the SEQ-PLAY-RtJN mode, the chip 5801 stores SEQ-PLAY in the mode register MD.
- Stores data “7” representing the RUN mode, and also stores the RUN mode corresponding to the start/stop switch 260.
Data "l" is stored in the register, tempo clock register CLK and register SEQPNT are cleared, and the process moves to step S802.
ステップS802では、第22図に示すシーケンサのサ
ブルーチンを動作させて、読み出すべきSEQ,,SE
Q. 、又はSEQaの初期データを設定した後、ステ
ップS803に移行する。In step S802, the sequencer subroutine shown in FIG.
Q. , or after setting the initial data of SEQa, the process moves to step S803.
ステップS803では、スタート/ストップスイッチ2
60のオンイベントの有無が判断され、スタート/スト
ップスイッチ260の操作でオンイベントが生じている
場合にはステップS804に移行し、また、スタート/
ストップスイッチ260にオンイベントが生じていない
場合にはステップ3805に移行する。In step S803, start/stop switch 2
It is determined whether or not there is an on event of 60, and if an on event has occurred due to the operation of the start/stop switch 260, the process moves to step S804, and the start/stop switch 260 is turned on.
If no on event has occurred in stop switch 260, the process moves to step 3805.
ステップS804では、ABCレジスタの内容に応じて
、そのデータが「1」である場合には、SEQ−PLA
Y−RUNモードからABCモード(第15図)に遷移
し、また、ABCスイッチ265にオンイベントが生じ
ていない場合にはSEQ−PLAY−RUNモードから
NMLモード(第l4図)に遷移する.
また、ステップS805では、シーケンサ選択スイッチ
251〜253にオンイベントが生しているか否かが検
出され、オンイベントが生じている場合にはステップ3
806に移行し、また、オンイベントが生じていない場
合にはステップ3807に移行する。ステップ3806
では、再生順序を変更するために、レジスタNXTSE
Qに現イベントスイッチの操作によって生じたデータを
格納し、ステップ3808に移行する。ステップ380
Bでは、割込み処理を行うため、チェンジリクエストレ
ジスタCHGREQにデータ「1」を格納し、ステップ
S807に移行する。In step S804, according to the contents of the ABC register, if the data is "1", the SEQ-PLA
There is a transition from the Y-RUN mode to the ABC mode (FIG. 15), and if no on event has occurred in the ABC switch 265, there is a transition from the SEQ-PLAY-RUN mode to the NML mode (FIG. 14). Further, in step S805, it is detected whether or not an on event is occurring in the sequencer selection switches 251 to 253. If an on event is occurring, step S805 is performed.
The process moves to step 806, and if no on event has occurred, the process moves to step 3807. Step 3806
Now, to change the playback order, register NXTSE
The data generated by the operation of the current event switch is stored in Q, and the process moves to step 3808. step 380
At step B, data "1" is stored in the change request register CHGREQ in order to perform interrupt processing, and the process moves to step S807.
ステップS807では、キー状態の変更が有るか否かが
検出され、キー状態の変更が有る場合にはステップS8
09に移行し、また、キー状態の変更が無い場合にはス
テップS810に移行する.ステップS809では、現
キー状態をテーブルTA.でキーコードKCに変換した
後、ステップS811に移行する。ステップ3811で
は、ブレスオン中か否かが検出され、ブレスオン中であ
る場合にはステップS812に移行し、また、ブレスオ
ン中でない場合にはステップS810に移行する。In step S807, it is detected whether or not there is a change in the key state, and if there is a change in the key state, step S8
The process moves to step S810, and if there is no change in the key state, the process moves to step S810. In step S809, the current key state is stored in table TA. After converting to the key code KC in step S811. In step 3811, it is detected whether or not the breath is on. If the breath is on, the process moves to step S812, and if the breath is not on, the process moves to step S810.
ステップS812では、トーンジエネレータTG.のキ
ーコードKCをトランスポーズデータTRSを加えた(
KC+TRS)に変更し、ステップS810に移行する
。In step S812, tone generator TG. Added the key code KC and transpose data TRS (
KC+TRS), and the process moves to step S810.
ステップS810では、プレスイベントが有るか否かが
検出され、プレスイベントが生じている場合にはステッ
プS813に移行し、また、プレスイベントが生じてい
ない場合にはステップS814に移行する。In step S810, it is detected whether or not there is a press event. If a press event has occurred, the process moves to step S813, and if no press event has occurred, the process moves to step S814.
ステップ5813では、オン/オフイベントに応じ、現
キーコードKCにトランスポーズデータTRSを加えた
データ(KC+TRS)にてト一ンジェネレータTGH
のキーオン及びオフの処理が行われ、ステップS814
に移行する。In step 5813, in response to the on/off event, the tone generator TGH is generated by adding the transpose data TRS to the current key code KC (KC+TRS).
key-on and key-off processing is performed, and step S814
to move to.
ステップS814では、トランスポーズの変更が有るか
否かが検出され、トランスポーズ変更が有る場合にはス
テップS815に移行し、また、トランスポーズ変更が
無い場合にはステップS816に移行する。ステップS
815では、トランスポーズ切換えスイッチ263、2
64の操作によるTRS値の増減士に応じたトランスポ
ーズ制御が行われた後、ステップ3816に移行する。In step S814, it is detected whether or not there is a transpose change. If there is a transpose change, the process moves to step S815, and if there is no transpose change, the process moves to step S816. Step S
815, the transpose changeover switch 263, 2
After transposition control is performed according to the increase/decrease in the TRS value by the operation in step 64, the process moves to step 3816.
ステップS816では、テンポ変更、リズムセレクト、
音色セレクト等、その他の処理が行われた後、ステップ
S803に戻る。In step S816, tempo change, rhythm selection,
After other processing such as tone color selection is performed, the process returns to step S803.
なお、このモードでのABC音の発音も後述するCLK
− IRQの処理で行われる。Note that the pronunciation of ABC sounds in this mode is also CLK, which will be described later.
- Performed in IRQ processing.
(k) CLK・IRQ処理
第22図は、CLK− IRQ処理のフローチャートを
示す.
ステップS901では、レジスタ群14におけるモード
レジスタMDのデータが「0」、「1」又は「4」であ
るか否かが検出され、モードレジスタMDのデータが「
0」、「1」又は「4」の何れかの場合にはリターンに
移行し、モードレジスタMDのデータが「0」、「l」
又は「4」の何れでもない場合にはステップS902に
移行する。ステップ3902では、モードレジスタMD
のデータが「6」であるか否かが検出され、モードレジ
スタMDのデータが「6」でない場合(MD≠6)には
ステップS903に移行し、RHYレジスタ、FILレ
ジスタ、テンポクロックレジスタCLKの各値に基づい
てトーンジェネレータTGRでリズム音の発音処理を行
った後、ステッフ゜S904に{多行する。(k) CLK/IRQ processing Figure 22 shows a flowchart of CLK-IRQ processing. In step S901, it is detected whether the data in the mode register MD in the register group 14 is "0", "1", or "4", and the data in the mode register MD is "0", "1", or "4".
If the value is 0, 1, or 4, the process moves to return, and the mode register MD data is 0, 1, or 4.
Or if it is neither "4", the process moves to step S902. In step 3902, the mode register MD
It is detected whether the data in the mode register MD is "6", and if the data in the mode register MD is not "6" (MD≠6), the process moves to step S903, and the RHY register, FIL register, and tempo clock register CLK are After the tone generator TGR performs rhythm sound generation processing based on each value, the process proceeds to step S904.
また、ステップS902でモードレジスタMDのデータ
が「6」である場合(MD=6)にはステップS905
に移行し、テンポクロツタレジスタCLKの値を「12
」で割った場合、その余りが「0」であるか否かが検出
され、「0」である場合にはステップS906に移行し
、「0」でない場合にはステップS904に移行する。Further, if the data in the mode register MD is "6" in step S902 (MD=6), step S905
, and set the value of the tempo clock register CLK to "12".
", it is detected whether the remainder is "0" or not. If it is "0", the process moves to step S906, and if it is not "0", the process moves to step S904.
ステップ3906では、トーンジェネレータTG.にて
タクト音を発音し、ステップS904に移行する。In step 3906, tone generator TG. A tact sound is generated at step S904.
ステップ3904では、モードレジスタMDの格納デー
タが「3」、「5」又は「7」であるか否かが検出され
、格納データが「3」、「5」又は「7」の何れかであ
る場合にはステップS907に移行する。ステップS9
0マでは、格納データが「7」であるか否かが検出され
、モードレジスタMDの格納データが「7」である場合
にはステップ8908に移行し、また、格納データが「
7」でない場合にはステップS909に移行する。In step 3904, it is detected whether the data stored in the mode register MD is "3", "5", or "7". If so, the process moves to step S907. Step S9
0 ma, it is detected whether the stored data is "7" or not, and if the stored data in the mode register MD is "7", the process moves to step 8908;
7'', the process moves to step S909.
ステップS908では、CHDレジスタのROOT情報
にシーケンサSEQえ (0)を加算して根音制御が行
われるとともに、RHYレジスタ及びテンポクロックレ
ジスタCLKのデータに基づいてABCパターンを呼び
出し、トーンジエネレータTGcで発音処理が行われ、
ステップS910に移行する。この処理により、シーケ
ンサに基づき発音されるABC音の移調量は記憶時と同
じものに設定される。In step S908, root tone control is performed by adding the sequencer SEQ (0) to the ROOT information in the CHD register, and an ABC pattern is called based on the data in the RHY register and tempo clock register CLK, and the tone generator TGc is used to control the root tone. Pronunciation processing is performed,
The process moves to step S910. Through this process, the amount of transposition of the ABC tones produced based on the sequencer is set to the same value as when stored.
また、ステップ5909では、CHDレジスタのROO
T情報にTRS値を加算して根音制御が行われるととも
に、RHYレジスタ及びテンポクロツクレジスタCLK
のデータによってABCパターンを呼び出し、トーンジ
エネレータTG,で発音処理が行われ、ステップS91
0に移行する.この処理により、鍵操作に基づき発音さ
れるABC音には、現在の移調量が設定される。Further, in step 5909, ROO of the CHD register is
Root tone control is performed by adding the TRS value to the T information, and the RHY register and tempo clock register CLK
An ABC pattern is called based on the data, and the tone generator TG performs sound generation processing, and in step S91
Shifts to 0. Through this process, the current transposition amount is set for the ABC tones produced based on key operations.
この場合、ステップS904において、モードレジスタ
MDの格納データが「3」、「5」又は「マ」の何れで
もない場合にもステップS910に移行する.
そして、ステップS910では、テンポクロツタレジス
タCLKに「1」を加え、ステップS911に移行する
。ステップS911では、テンポクロツタレジスタCL
KO値が「98」に移行したか否かが検出され、クロッ
ク数「98」に到達している場合にはステップS912
に移行し、ステップS912では、テンポクロツタレジ
スタCLK及びFILレジスタを「0」に設定させた後
、ステップS913に移行する。また、ステップS91
1でテンポクロツタレジスタCLKO値が「98」に満
たない場合にはステップS913に移行する.
ステップS913では、モードレジスタMDのデータが
「5」であるか否かが判断されるとともに、テンポクロ
ックレジスタCLKの内容を「12」で割算した場合、
その余りが「6」であるか否かが判断される。In this case, even if the data stored in the mode register MD is neither "3", "5", or "ma" in step S904, the process moves to step S910. Then, in step S910, "1" is added to the tempo clock register CLK, and the process moves to step S911. In step S911, the tempo clock register CL
It is detected whether the KO value has shifted to "98", and if the clock number has reached "98", step S912
In step S912, the tempo clock register CLK and the FIL register are set to "0", and then the process moves to step S913. Also, step S91
1 and the tempo clock register CLKO value is less than "98", the process moves to step S913. In step S913, it is determined whether the data in the mode register MD is "5", and when the content of the tempo clock register CLK is divided by "12",
It is determined whether the remainder is "6" or not.
ステップS913において、モードレジスタMDのデー
タが「5」で、かつ、テンポクロツタレジスタCLKO
値を「l2」で割った余りが「6」である場合にはステ
ップS914に移行し、BTレジスタに「1」を加え、
リターン処理に移行する。In step S913, if the data in the mode register MD is "5" and the tempo clock register CLKO is
If the remainder after dividing the value by "l2" is "6", the process moves to step S914, "1" is added to the BT register,
Move to return processing.
また、ステップS913において、モードレジスタMD
の格納データが「5」でないか、テンポクロックレジス
タCLKの値を「l2」で割った?りが「6」でない場
合にはステップS915に移行し、ステップS915で
は、モードレジスタMDのデータが「6」であるか否か
が判断されるとともに、テンポクロツタレジスタCLK
のデータがr■,か否かが判断される。ステップS91
5において、モードレジスタMDの格納データが「6」
であって、テンポクロツタレジスタCLKのデータが「
0」の場合には、CLK−IRQ処理からSEQ− P
LAY− RUNモード処理(第21図)に遷移する。Further, in step S913, the mode register MD
Is the stored data "5" or is the value of the tempo clock register CLK divided by "l2"? If the data in the mode register MD is not "6", the process moves to step S915, and in step S915, it is determined whether or not the data in the mode register MD is "6", and the data in the tempo clock register CLK is determined.
It is determined whether the data of is r■. Step S91
5, the data stored in the mode register MD is "6"
Therefore, the data of the tempo clock register CLK is "
0”, the SEQ-P is processed from CLK-IRQ processing.
A transition is made to LAY-RUN mode processing (FIG. 21).
また、ステップS915において、モードレジスタMD
の格納データが「6」でないか、テンポクロツタレジス
タCLKのデータが「0」でない場合にはステップS9
16に移行する。ステップ3916では、モードレジス
タMDのデータが「7」であるか否かが判断されるとと
もに、テンポクロツタレジスタCLKのデータがrQJ
又は「48」であるか否かが判断される。ステップS9
16において、モードレジスタMDの格納データが「7
」であって、テンポクロツタレジスタCLKのデータが
「0」又は「48」である場合にはステップS917に
移行し、モードレジスタMDの格納データが「7」でな
いか、テンポクロツタレジスタCLKのデータが「0」
又は「48」でない場合にはステップS920に移行す
る。Further, in step S915, the mode register MD
If the stored data is not "6" or the data in the tempo clock register CLK is not "0", step S9
16. In step 3916, it is determined whether the data in the mode register MD is "7" and the data in the tempo clock register CLK is rQJ.
Or it is determined whether or not it is "48". Step S9
16, the data stored in the mode register MD is "7".
”, and if the data in the tempo clock register CLK is “0” or “48”, the process moves to step S917, and if the data stored in the mode register MD is not “7” or the data in the tempo clock register CLK is Data is "0"
Or if it is not "48", the process moves to step S920.
ステップS917では、チェンジリクエストレジスタC
HCREQのデータが「l」であるか否かが判断され、
rl,である場合にはステップS918に移行し、「1
」でない場合にはステップS920に移行する。In step S917, change request register C
It is determined whether the HCREQ data is “l”,
rl, then the process moves to step S918, and “1
”, the process moves to step S920.
ステップ391Bでは、レジスタNXTSEQの内容を
SEQNOレジスタに格納し、ステップS919に移行
する。この処理は、前述の再生途中での順序変更処理に
対応する。In step 391B, the contents of register NXTSEQ are stored in the SEQNO register, and the process moves to step S919. This process corresponds to the above-described order change process during playback.
ステップS919では、SEQ−STモード処理(第2
4図)が行われ、ステップS920に移行する。In step S919, SEQ-ST mode processing (second
4) is performed, and the process moves to step S920.
ステップS920では、モードレジスタMDの格納デー
タが「7」であるか否かが検出されるとともに、テンポ
クロツタレジスタCLKO値を「12」で割った場合、
その余りが「0」であるか否かが判断され、モードレジ
スタMDの格納データが「7」であって、その余りが「
0」である場合にはステップS921に移行し、モード
レジスタMDの格納データが「7」でないか、余りが「
O」でない場合にはリターンに移行する。また、ステッ
プS921では、SEQ−READモード処理(第23
図)が行われ、リターンに至る。In step S920, it is detected whether the data stored in the mode register MD is "7", and if the tempo clock register CLKO value is divided by "12",
It is determined whether the remainder is "0" or not, and the data stored in the mode register MD is "7", and the remainder is "0".
0'', the process moves to step S921, and the data stored in the mode register MD is not ``7'' or the remainder is ``7''.
If the result is not “O”, the process moves to return. Further, in step S921, SEQ-READ mode processing (23rd
(Fig.) is carried out, leading to a return.
(ホ) SEQ−READモード処理
第23図は、SEQ−READモード処理のフローチャ
ートを示す。(e) SEQ-READ mode processing FIG. 23 shows a flowchart of SEQ-READ mode processing.
SEQ−READモードにおいて、ステップStool
では、BTレジスタのデータをデクレメントしてステッ
プ31002に移行する。In SEQ-READ mode, step Stool
Then, the data in the BT register is decremented and the process moves to step 31002.
ステップ31002では、BTレジスタのデータが「O
」であるか否かを検出し、BT=Oでない場合にはリタ
ーン処理に移行し、また、BT=0の場合にはステップ
S1003に移行する。In step 31002, the data in the BT register is
”, and if BT=O, the process moves to return processing, and if BT=0, the process moves to step S1003.
ステップ31003では、DTレジスタにポインタPN
Tで指定されたSEQ, 、SEQ.又はSEQ.のデ
ータを格納し、ステップSl’004に移行する。ステ
ップS1004では、DTレジスタに格納されたデータ
が各SEQ,,SEQ2又はSEQ3の最終値を表すデ
ータFFHであるか否かが検出され、DT=FF.であ
る場合にはステップS1005に移行する。ステップS
1005ではSEQI[が終了したか否かが検出され、
終了していない場合にステップS1006に移行し、終
了した場合にステップ31007に移行する。ステップ
31006では、ポインタSEQPNTの現データにデ
ータ「1」を加え、ステップ51008でSEQ・ST
モード処理(第24図)が行われ、リターンする。また
、ステップSl007では、ポインタSEQPNTにデ
ータ「0」を格納し、ステップS1009に移行する。In step 31003, the pointer PN is stored in the DT register.
SEQ, , SEQ. or SEQ. data is stored, and the process moves to step Sl'004. In step S1004, it is detected whether the data stored in the DT register is data FFH representing the final value of each SEQ, , SEQ2 or SEQ3, and DT=FF. If so, the process moves to step S1005. Step S
In 1005, it is detected whether SEQI[ has ended or not.
If the process has not ended, the process moves to step S1006, and if it has ended, the process moves to step S31007. In step 31006, data "1" is added to the current data of pointer SEQPNT, and in step 51008, data "1" is added to the current data of pointer SEQPNT.
Mode processing (FIG. 24) is performed and the process returns. Further, in step S1007, data "0" is stored in the pointer SEQPNT, and the process moves to step S1009.
ステップS1009では、トーンジエネレータT G
cにおける伴奏のためのオールキーオフ処理を行った後
、ステップS1010に移行する。ステップ31010
では、ABCレジスタのデータが「1」であるか否かが
判断され、そのデータが「1」の場合にはSEQ−RE
ADモードからABCモード処理に遷移し、ABC=r
l」でない場合にはSEQ−READモードからNML
モード処理に遷移する。In step S1009, the tone generator TG
After performing all key-off processing for the accompaniment at step c, the process moves to step S1010. Step 31010
Then, it is determined whether the data in the ABC register is "1" or not, and if the data is "1", the SEQ-RE
Transition from AD mode to ABC mode processing, ABC=r
If not, NML from SEQ-READ mode.
Transition to mode processing.
また、ステップ31004でDTレジスタのデータが最
終値を表すデータFF.でない場合にはステップS10
21に移行し、CHDレジスタにDTレジスタのデータ
を移し、ステップS1022に移行する。ステップ51
022では、ポインタPNTの現データにデータrlJ
を加え、ステップS1023に移行する。ステップ$1
023では、DTレジスタにポインタPNTで指定され
たシーケンサSEQi (PNT)のデータを格納し
、ステップS1024に移行する。Further, in step 31004, the data in the DT register is changed to data FF. If not, step S10
The process moves to step S1021, the data of the DT register is transferred to the CHD register, and the process moves to step S1022. Step 51
In 022, data rlJ is added to the current data of pointer PNT.
is added, and the process moves to step S1023. Step $1
In step S1023, the data of the sequencer SEQi (PNT) specified by the pointer PNT is stored in the DT register, and the process moves to step S1024.
ステップS1024では、DTレジスタに格納されてい
るデータの上位4ビットがデータCHであるか否かが判
定され、上位4ビットがデータCI1である場合には、
それが時間間隔を表すデータであるのでステップS10
25に移行する。ステップ31025では、DURレジ
スタにDTレジスタにおける下位4ビントのデータを格
納し、ステン7’S1026に移行する。この場合、ス
テップS1024でDTレジスタの格納データの上位4
ビットがデータC.でない場合には、それが和音を表す
データであるので直接ステップS1026に移行する。In step S1024, it is determined whether the upper 4 bits of the data stored in the DT register are data CH, and if the upper 4 bits are data CI1,
Since this is data representing a time interval, step S10
25. In step 31025, the data of the lower 4 bits in the DT register is stored in the DUR register, and the process moves to step 7'S1026. In this case, in step S1024, the top four data stored in the DT register are
The bit is data C. If not, the data represents a chord, and the process directly proceeds to step S1026.
ステップ31026では、BTレジスタにDURレジス
タの内容を格納し、リターンに移行する。In step 31026, the contents of the DUR register are stored in the BT register, and the process moves to return.
(n)S E Q − ”> Tモード処理第24図は
、SEQ−STモード処理のフローチャートを示す。(n) SEQ-”>T mode processing FIG. 24 shows a flowchart of SEQ-ST mode processing.
ステップ31101では、ポインタで指定されたSEQ
II (SEQPNT)をSEQNOレジスタに格納し
、ステップ51102に移行する。ステップS1102
では、ポインタPNTにデータ「3」を格納し、ステッ
プS1103に移行し、ステップS1103では、DU
RレジスタにSEQi (PNT)の下位4ビットを
格納し、ステップSl104に移行する。ステップ31
104では、BTレジスタにDURレジスタの下位4ビ
ットを格納し、ステップ31105に移行する。ステッ
プS1105では、SEQi (2)の内容をCHD
レジスタに格納し、次に、ステップ31106で、RH
YレジスタにSEQi (1)のデータを格納した後
、ステップS1007でポインタPNTをインクリメン
トしてリターンする。In step 31101, the SEQ specified by the pointer is
II (SEQPNT) is stored in the SEQNO register, and the process moves to step 51102. Step S1102
Then, data "3" is stored in the pointer PNT, the process moves to step S1103, and in step S1103, the DU
The lower 4 bits of SEQi (PNT) are stored in the R register, and the process moves to step Sl104. Step 31
In step 104, the lower 4 bits of the DUR register are stored in the BT register, and the process moves to step 31105. In step S1105, the contents of SEQi (2) are
register and then in step 31106 the RH
After storing the data of SEQi (1) in the Y register, the pointer PNT is incremented in step S1007 and the process returns.
以上説明したように、この発明によれば、操作子と患圧
検出手段の呼気圧又は吸気圧を用いて楽音制御を行うの
で、演奏入力の自由度が高くなり、簡単な指使いで複雑
な楽曲の演奏が実現できるとともに、例えば、管楽器を
模した電子楽器で管楽器以外の楽器演奏を容易に行うこ
とができる。As explained above, according to the present invention, musical tones are controlled using the expiratory pressure or inspiratory pressure of the operating element and the patient pressure detection means, so the degree of freedom of performance input is increased, and complicated fingerings can be easily performed. In addition to being able to perform music, it is also possible to easily perform musical instruments other than wind instruments using, for example, an electronic musical instrument that imitates a wind instrument.
第1図はこの発明の電子楽器の一実施例における機能回
路部を示すブロック図、
第2図はこの発明の電子楽器の一実施例における楽器本
体を示す正面図、側面図及び背面図、第3図は第1図に
示した機能回路部におけるテ一ブルの構戒を示す図、
第4図は和音の構或を示す図、
第5図はテーブルにおけるキー人力に対するキーコード
を示す図、
第6図は第1図に示した機能回路部のシーケンサメモリ
の構戒を示す図、
第7図は第6図に示したシーケンサの動作を示す図、
第8図はデュレーションデー夕を示す図、第9図は第2
図に示した楽器本体における運指及び音高を示す図、
第lO図は第2図に示した楽器本体のマウスピースにお
けるブレスセンサの一構戒例を示す断面図、
第11図は第10図に示したマウスピースにおけるブレ
スセンサの動作を示す図、
第12図はこの発明の電子楽器における動作モードを示
す状態遷移図、
第13図は初期設定モード処理を示すフローチャート、
第14図はNMLモード処理を示すフローチャート、
第15図はABCモード処理を示すフローチャート、
第16図はNML − RUNモード処理を示すフロー
チャート、
第17図はABC − RUNモード処理を示すフロー
チャート、
第18図はSEQ−REC・WAITモード処理を示す
フローチャート、
第19図はSEQ−REC−RUNモード処理を示すフ
ローチャート、
第20図はSEQ− PLAY−WAITモード処理を
示すフローチャート、
第21図はSEQ・PLAY−RUNモード処理を示す
フローチャート、
第22図はCLK・IRQ処理を示すフローチャート、
第23図はSEQ−READモード処理を示すフローチ
ャート、
第24図はSEQ−STモード処理を示すフローチャー
トである。
2・・・機能回路部
lO・・・CPU (楽音発生制御手段)28・・・ブ
レスセンサ(患圧検出手段)401、402、403、
404、405、406、407、408、409・・
・キー(操作子)
(A)
CB)
(C)
第
3
筺
第
4
図
第
5
図
第10図
(ブレスセンサの一実施例)
(吸う)
(吹く)
−d(変位)
第
11
図
プレス
プレス
プレス
第 12 図
(動作モードの状態遷移図)
(シーケンサスタートモード処理)
手続補正書FIG. 1 is a block diagram showing a functional circuit in an embodiment of an electronic musical instrument according to the present invention. FIG. Figure 3 is a diagram showing the arrangement of the table in the functional circuit section shown in Figure 1, Figure 4 is a diagram showing the arrangement of chords, Figure 5 is a diagram showing the key code for key manual power on the table, Fig. 6 is a diagram showing the configuration of the sequencer memory of the functional circuit section shown in Fig. 1, Fig. 7 is a diagram showing the operation of the sequencer shown in Fig. 6, and Fig. 8 is a diagram showing duration data. , Figure 9 is the second
Figure 10 is a cross-sectional view showing an example of the configuration of the breath sensor in the mouthpiece of the instrument body shown in Figure 2, Figure 11 is the 10th FIG. 12 is a state transition diagram showing the operation modes of the electronic musical instrument of the present invention; FIG. 13 is a flowchart showing initial setting mode processing; FIG. 14 is a NML FIG. 15 is a flowchart showing ABC mode processing; FIG. 16 is a flowchart showing NML-RUN mode processing; FIG. 17 is a flowchart showing ABC-RUN mode processing; FIG. 18 is SEQ-REC・Flowchart showing WAIT mode processing; FIG. 19 is a flowchart showing SEQ-REC-RUN mode processing; FIG. 20 is a flowchart showing SEQ-PLAY-WAIT mode processing; FIG. 21 is a flowchart showing SEQ-PLAY-RUN mode processing. 22 is a flowchart showing CLK/IRQ processing, FIG. 23 is a flowchart showing SEQ-READ mode processing, and FIG. 24 is a flowchart showing SEQ-ST mode processing. 2... Functional circuit unit lO... CPU (musical sound generation control means) 28... Breath sensor (affected pressure detection means) 401, 402, 403,
404, 405, 406, 407, 408, 409...
・Key (operator) (A) CB) (C) No. 3 Housing No. 4 Fig. 5 Fig. 10 (An example of a breath sensor) (Suck) (Blow) -d (displacement) Fig. 11 Press Press Press Figure 12 (Operation mode state transition diagram) (Sequencer start mode processing) Procedure amendment
Claims (1)
子の音高の指定とともに、前記息圧検出手段によって検
出された前記呼気圧又は前記吸気圧に応じて楽音の発生
を制御する楽音発生制御手段と、 を備えたことを特徴とする電子楽器。[Scope of Claims] An operator for specifying a pitch; a breath pressure detection means for detecting exhalation pressure and an inhalation pressure; An electronic musical instrument comprising: a musical sound generation control means for controlling the generation of musical tones according to atmospheric pressure or the intake pressure.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1160344A JP2956070B2 (en) | 1989-06-22 | 1989-06-22 | Music control device |
| US07/541,785 US5170003A (en) | 1989-06-22 | 1990-06-21 | Electronic musical instrument for simulating a wind instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1160344A JP2956070B2 (en) | 1989-06-22 | 1989-06-22 | Music control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0325497A true JPH0325497A (en) | 1991-02-04 |
| JP2956070B2 JP2956070B2 (en) | 1999-10-04 |
Family
ID=15712956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1160344A Expired - Fee Related JP2956070B2 (en) | 1989-06-22 | 1989-06-22 | Music control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2956070B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014182277A (en) * | 2013-03-19 | 2014-09-29 | Yamaha Corp | Signal output device |
| JP2016080769A (en) * | 2014-10-10 | 2016-05-16 | カシオ計算機株式会社 | Electronic musical instrument, musical sound parameter control method and program for electronic musical instrument |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54153220U (en) * | 1978-04-17 | 1979-10-24 | ||
| JPS59106190U (en) * | 1982-12-30 | 1984-07-17 | カシオ計算機株式会社 | Electronic musical instrument input device |
| JPH0276800U (en) * | 1988-11-30 | 1990-06-12 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5170003A (en) | 1989-06-22 | 1992-12-08 | Yamaha Corporation | Electronic musical instrument for simulating a wind instrument |
| JP2754752B2 (en) | 1989-06-22 | 1998-05-20 | ヤマハ株式会社 | Electronic musical instrument |
-
1989
- 1989-06-22 JP JP1160344A patent/JP2956070B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54153220U (en) * | 1978-04-17 | 1979-10-24 | ||
| JPS59106190U (en) * | 1982-12-30 | 1984-07-17 | カシオ計算機株式会社 | Electronic musical instrument input device |
| JPH0276800U (en) * | 1988-11-30 | 1990-06-12 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014182277A (en) * | 2013-03-19 | 2014-09-29 | Yamaha Corp | Signal output device |
| JP2016080769A (en) * | 2014-10-10 | 2016-05-16 | カシオ計算機株式会社 | Electronic musical instrument, musical sound parameter control method and program for electronic musical instrument |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2956070B2 (en) | 1999-10-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3303576B2 (en) | Automatic performance device | |
| US5170003A (en) | Electronic musical instrument for simulating a wind instrument | |
| JP2020056938A (en) | Performance information display device, performance information display method, performance information display program, and electronic musical instrument | |
| JP2956070B2 (en) | Music control device | |
| JP2754752B2 (en) | Electronic musical instrument | |
| JPH0720718Y2 (en) | Electronic musical instrument | |
| JP2660456B2 (en) | Automatic performance device | |
| JPH08328555A (en) | Performance control device | |
| JPS6239432Y2 (en) | ||
| JP2006251376A (en) | Musical sound controller | |
| JP4174961B2 (en) | Performance device, performance method and information recording medium | |
| JP3895139B2 (en) | Automatic performance device | |
| JP2510447Y2 (en) | Foot-operated musical instruments | |
| JPH06337674A (en) | Electronic musical instrument automatic performance device | |
| JP2526101B2 (en) | Electronic wind instrument | |
| JPH0535268A (en) | Automatic playing device | |
| JPH03103472U (en) | ||
| JP2580872Y2 (en) | Electronic musical instrument | |
| JPS6224319Y2 (en) | ||
| JP3139494B2 (en) | Tone data conversion method | |
| JP3017902B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JP2580746Y2 (en) | Electronic wind instrument | |
| JPH0727514Y2 (en) | Electronic keyboard instrument | |
| JPH0734468Y2 (en) | Electronic keyboard instrument | |
| JPH0710398Y2 (en) | Performance pattern input device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |