JPH04119396A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JPH04119396A
JPH04119396A JP2240875A JP24087590A JPH04119396A JP H04119396 A JPH04119396 A JP H04119396A JP 2240875 A JP2240875 A JP 2240875A JP 24087590 A JP24087590 A JP 24087590A JP H04119396 A JPH04119396 A JP H04119396A
Authority
JP
Japan
Prior art keywords
information
cpu
pitch
control
key
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.)
Pending
Application number
JP2240875A
Other languages
Japanese (ja)
Inventor
Teruhiko Nishino
西野 輝彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2240875A priority Critical patent/JPH04119396A/en
Publication of JPH04119396A publication Critical patent/JPH04119396A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To shorten the time difference from key depression to sound generation by interrupting a CPU as a control part when a 1st contact of one of all keys is operated and performing interval control over performance information precedently to sound volume control. CONSTITUTION:When a key of a keyboard 21 is operated, its contact operates and a 1st interruption signal generation device 26 generates an interruption signal INT6 for informing the CPU 3 of the determination of interval information at the same time. The CPU 3 performs a sound generating process, etc., according to the sound volume information INF8 and interval information INF9 and outputs a control signal to a musical sound signal generation device 4. Namely, the interval information over the performance information is performed precedently to the sound volume control to eliminate a processing time regarding the interval information apparently when the processing time regarding the interval information is shorter than the time for obtaining the sound volume information. Consequently, the time from the key operation to the sound generation is shortened.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、音階ごとの音量制御機構を備えtコミ子楽器
に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a musical instrument equipped with a volume control mechanism for each scale.

従来の技術 近年、多くの電子楽器は鍵盤押鍵速度と比例するイニシ
ャルタッチ情報やM I D I  (Musical
I nstrumet  D 1g1tal  I n
terface)規格のノド情報による音声の音量制御
機能を備えて(する。
Conventional technology In recent years, many electronic musical instruments have been equipped with initial touch information that is proportional to the keyboard pressing speed, and MIDI (Musical
Instrumet D 1g1tal I n
Equipped with an audio volume control function based on the throat information of the interface) standard.

ところで、従来の電子楽器は音程情報、音量情報の2つ
の情報が揃った段階で発音処理制御等を行っている。
By the way, conventional electronic musical instruments perform sound generation processing control, etc., when two pieces of information, pitch information and volume information, are available.

以下、図面を参照しながら、従来の電子楽器番こついて
説明する。
Hereinafter, a conventional electronic musical instrument number will be explained with reference to the drawings.

第5図に演奏情報を入力する装置として鍵盤を使用した
時の電子楽器の構成を示す。この電子楽器は、演奏情報
の音程と音量を入力する鍵盤装置51、音色などを指定
するためのスイ・ソチ52、鍵盤装置51とスイッチ5
2から得られる情報を元に制御信号等を発生するC P
 U (CentralP rocessing  U
 nit ) 53、CPU53力)らの郊制御信号に
応じて音楽信号を発生する楽音信号発生装置54、その
楽音信号発生装置54の出力を増幅し楽音、とじて放音
するアンプ、スピーカからなるサウンドシステム55と
からなっている。また、鍵盤装置51の詳細構成を第6
図に示す。鍵盤装置51は鍵盤61.イニシャルタッチ
情報を作るイニシャルタッチ検出装置62、イニシャル
タッチ情報を一時的に記憶しておくタッチ情報記憶装置
63、音程情報を作成する音程情報作成装置64、音程
情報を一時的に記憶しておく音程情報記憶装置65、お
よび打鍵が行われたことをCPU53に知らせる割り込
み信号発生装置66からなっている。また、鍵盤61の
イニシャルタッチ検出に用いる接点部分の詳細構成を第
3図に示す。鍵盤61は全鍵に電気的に共通している共
通面33と、各鍵盤に1つずつの第1接点31、第2接
点32からなっている。
FIG. 5 shows the configuration of an electronic musical instrument when a keyboard is used as a device for inputting performance information. This electronic musical instrument includes a keyboard device 51 for inputting pitch and volume of performance information, a sui-sochi 52 for specifying tone color, etc., a keyboard device 51 and a switch 5.
CP generates control signals etc. based on information obtained from 2.
U (Central Processing U
nit) 53, a musical tone signal generating device 54 that generates a musical signal in response to a control signal from the CPU 53, an amplifier that amplifies the output of the musical tone signal generating device 54, and emits a musical tone, and a speaker. It consists of system 55. In addition, the detailed configuration of the keyboard device 51 is shown in the sixth section.
As shown in the figure. The keyboard device 51 includes a keyboard 61. An initial touch detection device 62 that creates initial touch information, a touch information storage device 63 that temporarily stores initial touch information, a pitch information creation device 64 that creates pitch information, and a pitch that temporarily stores pitch information. It consists of an information storage device 65 and an interrupt signal generation device 66 that notifies the CPU 53 that a key has been pressed. Further, FIG. 3 shows the detailed structure of the contact portion used for detecting the initial touch of the keyboard 61. The keyboard 61 consists of a common surface 33 that is electrically common to all the keys, and a first contact 31 and a second contact 32, one for each key.

以上の各構成要素の関連と動作を以下に説明する。The relationship and operation of each of the above components will be explained below.

鍵盤61において打鍵が行われると、第1接点31と第
2接点32には作動位置の違いによる作動時間差が生し
る。イニシャルタッチ検出装置62はこの作動時間差を
求める。この値かイニシャルタッチ情報となる。このイ
ニシャルタッチ情報ヲタッチ情報記憶装置63に記憶す
る。また音程情報作成装置64は、全鍵盤の内のとの音
階の鍵盤の第2接点32が作動したがを検出することに
より音程情報を作成し、この音程情報を音程情報記憶装
置65に記憶する。第2接点32が作動することにより
音程情報とイニシャルタッチ情報か決定するので、割り
込み信号発生装置66は打鍵が行われたことをCPU5
3に知らせるための割り込み信号INT56を発生する
。CPU53は割り込み信号INT56によりCPU5
3内の割り込み制御装置が作動し、打鍵が行われた二き
を知る。CPU53は鍵盤装置51内の音程情報記憶装
置65から音程情報I N F 58を、またタッチ情
報記憶装置63から音量情報lNF37を読み出すこと
により、音程情報に関する処理、音量情報に関する処理
、スイッチ52がら得られる情報に対して音色に関する
処理等を行い、楽音信号発生装置54に対して制御信号
を出力する。楽音信号発生装置54はCPU53からの
制御信号に対して所定の楽音信号を発生する。サウンド
システム55は楽音信号を増幅し、スピーカ等を通じて
空中に放音する。
When a key is pressed on the keyboard 61, a difference in operating time occurs between the first contact 31 and the second contact 32 due to the difference in operating position. The initial touch detection device 62 determines this actuation time difference. This value becomes the initial touch information. This initial touch information is stored in the touch information storage device 63. In addition, the pitch information creation device 64 creates pitch information by detecting whether the second contact point 32 of the keyboard of the first scale of all the keys is activated, and stores this pitch information in the pitch information storage device 65. . Since the second contact 32 operates to determine pitch information and initial touch information, the interrupt signal generator 66 notifies the CPU 5 that the key has been pressed.
It generates an interrupt signal INT56 to notify the third party. The CPU 53 receives the interrupt signal INT56.
The interrupt control device in 3 is activated to know when the key was pressed. The CPU 53 reads the pitch information INF 58 from the pitch information storage device 65 in the keyboard device 51 and the volume information INF 37 from the touch information storage device 63, thereby performing processing related to pitch information, processing related to volume information, and obtaining the switch 52. It performs timbre-related processing on the information received and outputs a control signal to the musical tone signal generator 54. A musical tone signal generator 54 generates a predetermined musical tone signal in response to a control signal from the CPU 53. The sound system 55 amplifies the musical tone signal and emits the sound into the air through a speaker or the like.

つぎに第4図に演奏情報を入力する装置として外部イン
ターフェイス装置41を使用したときの電子楽器の構成
を示す。この電子楽器は、外部からシリアル通信形式等
で与えられる情報(演奏情報や音色情報等)EXT45
をCPU42が認識できる形に変換する外部インターフ
ェイス装置41、この外部インターフェイス装置41か
ら得られる情報を元に制御信号等を発生するCPU42
、このCPU42からの制御信号に応じて楽音信号を発
生する楽音信号発生装置43、この楽音信号発生装置4
3の出力を増幅し楽音として放音するサウンドシステム
44とからなっている。また外部から与えられる情報E
XT45はバイト情報で、演奏情報は3バイトから構成
される。時間的に最初に得られる1番目のバイト情報は
続く2番目、3番目のデータが演奏情報であることを示
す状態情報、2番目のバイト情報は音程情報、3番目の
バイト情報は音量情報である。
Next, FIG. 4 shows the configuration of an electronic musical instrument when an external interface device 41 is used as a device for inputting performance information. This electronic musical instrument receives information (performance information, tone information, etc.) from the outside in serial communication format, etc.
an external interface device 41 that converts the information into a form that can be recognized by the CPU 42, and a CPU 42 that generates control signals etc. based on the information obtained from this external interface device 41.
, a musical tone signal generating device 43 that generates a musical tone signal according to a control signal from the CPU 42, and this musical tone signal generating device 4.
3 and a sound system 44 that amplifies the output of No. 3 and emits musical sounds. Also, information E given from outside
XT45 is byte information, and performance information consists of 3 bytes. The first byte information that is obtained first in time is the status information that indicates that the second and third data are performance information, the second byte information is pitch information, and the third byte information is volume information. be.

以上の各構成要素の関連と動作を以下に説明する。The relationship and operation of each of the above components will be explained below.

外部からシリアル通信形式で3バイトによって構成され
る演奏情報が与えられるとする。1バイト目の情報が揃
うと外部インターフェイス装置41は割り込み信号IN
’T46を出力する。CPU42は割り込み信号INT
46によりCPU42内の割り込み制御装置が作動し、
CPU42は外部インターフェイス装置41内のバイト
情報TNF47を読み出し解析する。1バイト目のバイ
ト情報は状態情報であるのでCPU42は2番目、3番
目のデータを持つ。2バイト目のバイト情報が揃うと外
部インターフェイス装置41は割り込み信号INT46
を出力する。CPU42は割り込み信号を受けて外部イ
ンターフェイス装置41内のバイト情報lNF47を読
み出す。このデータは演奏を示す状態情報に続く2番目
のバイト情報であるので、C−PLT42はこの情報を
音程情報として認識する。さらに3バイト目のバイト情
報も同様な方法で、CPU42は音量情報として認識す
る。この段階で演奏情報が揃い、CPU42は音程情報
に関する処理、音量情報に関する処理等を行い、楽音信
号発生装置43に対して制御信号を出力する。楽音信号
発生装置43はCPU42からの制御信号に対して所定
の楽音信号を発生する。サウンドシステム44は楽音信
号を空中に放音する。
Assume that performance information consisting of 3 bytes is given from the outside in serial communication format. When the first byte of information is complete, the external interface device 41 outputs an interrupt signal IN.
'Output T46. The CPU 42 receives the interrupt signal INT
46 activates the interrupt control device in the CPU 42,
The CPU 42 reads and analyzes the byte information TNF 47 in the external interface device 41. Since the first byte information is status information, the CPU 42 has the second and third data. When the second byte information is complete, the external interface device 41 issues an interrupt signal INT46.
Output. The CPU 42 receives the interrupt signal and reads the byte information NF47 in the external interface device 41. Since this data is the second byte information following the status information indicating the performance, the C-PLT 42 recognizes this information as pitch information. Furthermore, the CPU 42 recognizes the third byte information as volume information in a similar manner. At this stage, the performance information is complete, and the CPU 42 performs processing related to pitch information, volume information, etc., and outputs a control signal to the musical tone signal generation device 43. A musical tone signal generating device 43 generates a predetermined musical tone signal in response to a control signal from the CPU 42. The sound system 44 emits musical tone signals into the air.

発明が解決しようとする課題 上記のような従来の構成による電子楽器は音程情報に関
する処理、音量情報に関する処理、その他の処理を施し
た後に発音されるので、演奏に関する情報を受けてから
発音されるまでには時間差か生じるという問題点を有し
ていた。
Problems to be Solved by the Invention Electronic musical instruments with the above-mentioned conventional configuration are emitted after performing processing related to pitch information, processing related to volume information, and other processing, so they are emitted after receiving information related to the performance. The problem was that there was a time lag between the two.

本発明は上記問題点を改良するもので、打鍵か住してか
ら発音されるまでの時間差を短縮する機構とその制御方
式を提供することを第1の目的とする。
The present invention aims to improve the above-mentioned problems, and its first object is to provide a mechanism and its control method that shorten the time difference between when a key is pressed and when it is sounded.

つぎに演奏情報か本体外から供給される場合、演奏情報
を受けてから発音されるまでの時間差を短縮するための
制御方式を提供することを第2の目的とする。
A second object of the present invention is to provide a control method for shortening the time difference between receiving the performance information and producing sound when the performance information is supplied from outside the main body.

課題を解決するための手段 この目的を達成するために、本発明の、電子楽器は異な
る鍵押圧深さで作動する第1接点と第2接点とを各鍵ご
とに備え、各鍵の両接点間の作動時間差によりイニシャ
ルタッチ情報を得る電子楽器において、全鍵のいずれか
の第1接点の作動時に制御部であるCPUに対して割り
込みをかける機構を備え、演奏情報の音程制御を音量制
御に先行して行う。
Means for Solving the Problems In order to achieve this object, the electronic musical instrument of the present invention is provided with a first contact point and a second contact point for each key, which operate at different key depression depths, and both contacts of each key. An electronic musical instrument that obtains initial touch information based on the difference in activation time between keys is equipped with a mechanism that interrupts the CPU, which is the control unit, when the first contact of any of the keys is activated. Do it in advance.

また、演奏情報か本体から供給されることにより本体を
制御する機構を備える電子楽器において、演奏情報の音
程制御を音量制御に先行して行い、かつ音程情報信号が
得られたら直ちにその処理を開始するように構成する。
Furthermore, in an electronic musical instrument equipped with a mechanism that controls the main body by supplying performance information from the main body, the pitch control of the performance information is performed prior to the volume control, and the processing is started immediately after the pitch information signal is obtained. Configure it to do so.

作用 本発明は上記の構成により、全鍵のいずれかの第1接点
作動時にもCPUに対して割り込みをかける機構を備え
ることにより演奏情報の音程制御を音量制御に先行する
制御方式を可能とする。また、この音程制御を音量制御
に先行する制御方式は、音程情報が音量情報に比べて時
間的に先に得られる場合に有効となる。
According to the above-described structure, the present invention enables a control method in which pitch control of performance information precedes volume control by providing a mechanism that interrupts the CPU even when the first contact of any of the keys is activated. . Furthermore, this control method in which pitch control precedes volume control is effective when pitch information is obtained temporally earlier than volume information.

実施例 以下、本発明の実施例について図面を参照しなから説明
する。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(実施例1) 第1図に演奏情報を入力する装置として鍵盤を使用した
ときの電子楽器の構成を示す。この・電子楽器は、演奏
の音程と音量を入力する鍵盤装置1、音色なとを指定す
るためのスイッチ2、鍵盤装置1とスイッチ2から得ら
れる情報を元に制御信号等を発生する制御部であるCP
U3、CPU3からの制御信号に応じて楽音信号を発生
する楽音信号発生装置4、この楽音信号発生装置4の出
力を増幅し楽音として放音するアンプ、スピーカからな
るサウンドシステム5とからなっている。また、鍵盤装
置1の詳細構成を第2図に示す。鍵盤装置1は鍵盤21
、イニンヤルタ・ソチ情報を作るイニシャルタッチ検出
装置22、イニシャルタッチ情報を一時的に記憶してお
くタッチ情報記憶装置23、音程情報を作成する音程情
報作成装置24、音程情報を一時的に記憶しておく音程
情報記憶装置25、いずれかの鍵盤の第1接点31か作
動したことをCPU3に知らせる第1割り込み信号発生
装置26およびいずれかの鍵盤の第2接点32が作動し
たことをCPU3に知らせる第2割り込み信号発生装置
27からなっている。また、鍵盤21のイニシャルタッ
チ検出に用いる接点部分の詳細構成を第3図に示す。鍵
盤21は全鍵に電気的に共通な共通面33と、各鍵盤に
1つずつの第1接点31、第2接点32からなっている
(Embodiment 1) FIG. 1 shows the configuration of an electronic musical instrument when a keyboard is used as a device for inputting performance information. This electronic musical instrument consists of a keyboard device 1 for inputting the pitch and volume of the performance, a switch 2 for specifying the tone color, and a control section that generates control signals etc. based on information obtained from the keyboard device 1 and the switches 2. CP that is
It consists of a musical tone signal generating device 4 that generates musical tone signals in response to control signals from U3 and CPU 3, a sound system 5 that includes an amplifier and a speaker that amplifies the output of this musical tone signal generating device 4 and emits musical tones. . Further, the detailed configuration of the keyboard device 1 is shown in FIG. The keyboard device 1 is a keyboard 21
, an initial touch detection device 22 that creates Ininyarta Sochi information, a touch information storage device 23 that temporarily stores initial touch information, a pitch information creation device 24 that creates pitch information, and a pitch information creation device 24 that temporarily stores pitch information. a first interrupt signal generator 26 that notifies the CPU 3 that the first contact 31 of one of the keys has been activated; and a first interrupt signal generator 26 that notifies the CPU 3 that the second contact 32 of one of the keys has been activated. It consists of two interrupt signal generators 27. Further, FIG. 3 shows a detailed configuration of the contact portion used for detecting the initial touch of the keyboard 21. The keyboard 21 consists of a common surface 33 that is electrically common to all the keys, and a first contact 31 and a second contact 32, one for each key.

以上の各構成要素の関連と動作を以下に説明する。The relationship and operation of each of the above components will be explained below.

鍵盤21において打鍵が行われると、第1接点31が作
動する。音程情報作成装置24は全鍵盤内のどの音階の
鍵盤の第1接点31が作動したかを検出することにより
音程情報を作成し、この音程情報を音程情報記憶装置2
5に記憶する。それと同時に第1割り込み信号発生装置
26は音程情報が決定したことをCPU3に知らせるた
めの割り込み信号INT6を発生する。CPU3は割り
込み信号INT6によりCPU3内の割り込み制御装置
が作動し、音程情報が確定したことを知る。
When a key is pressed on the keyboard 21, the first contact 31 is activated. The pitch information creation device 24 creates pitch information by detecting which of the keyboards of which scale the first contact 31 of the keyboard is activated, and stores this pitch information in the pitch information storage device 2.
Store in 5. At the same time, the first interrupt signal generator 26 generates an interrupt signal INT6 to notify the CPU 3 that the pitch information has been determined. The interrupt control device within the CPU 3 is activated by the interrupt signal INT6, and the CPU 3 learns that the pitch information has been determined.

CPU3は鍵盤装置1内の音程情報記憶装置25から音
程情報INF9を読み出し、音程情報INF9だけで可
能な部分の処理を前もって行い、処理結果を主記憶に記
憶しておく。つぎに第1接点31に続いて第2接点32
が作動する。イニシャルタッチ検出装置22は第1接点
31と第2接点32の作動時間差を求め、これをイニシ
ャルタ・ソチ情報としてタッチ情報記憶装置23に記憶
する。それと同時に第2割り込み信号発生装置27は音
量情報が決定したことをCPU3に知らせるための割り
込み信号INT7を発生する。CPU3は割り込み信号
INT7によりCPU3内の割り込み制御装置が作動し
、音量情報が確定したことを知り、鍵盤装置1内のタッ
チ情報記憶装置23から音量情報I N F、8を読み
出す。CPU3はこの音量情報lNF3と、先に主記憶
に記憶しておいた音程情報INF9の処理結果とにより
発音処理等を行い、楽音信号発生装置4に対して制御信
号を出力する。楽音信号発生装置4はCPU3からの制
御信号に対して所定の楽音信号を発生し、サウンドシス
テム5を通じて空中に放音する。
The CPU 3 reads the pitch information INF9 from the pitch information storage device 25 in the keyboard device 1, performs processing in advance that is possible only with the pitch information INF9, and stores the processing results in the main memory. Next, following the first contact 31, the second contact 32
is activated. The initial touch detection device 22 determines the operating time difference between the first contact 31 and the second contact 32, and stores this in the touch information storage device 23 as initial touch information. At the same time, the second interrupt signal generator 27 generates an interrupt signal INT7 to notify the CPU 3 that the volume information has been determined. The interrupt control device in the CPU 3 is activated by the interrupt signal INT7, the CPU 3 learns that the volume information has been determined, and reads the volume information I N F,8 from the touch information storage device 23 in the keyboard device 1. The CPU 3 performs sound generation processing and the like based on the volume information INF3 and the processing result of the pitch information INF9 previously stored in the main memory, and outputs a control signal to the musical tone signal generator 4. The musical tone signal generating device 4 generates a predetermined musical tone signal in response to a control signal from the CPU 3, and emits the sound into the air through the sound system 5.

(実施例2) 第4図に演奏情報を入力する装置として外部インターフ
ェイス装置41を使用したときの電子楽器の構成を示す
。この電子楽器は、外部からシリアル通信形式等で与え
られる情報(演奏情報や音色情報等)EXT45を、C
PU42が認識できる形に変換する外部インターフェイ
ス装置41、この外部インターフェイス装置41から得
られる情報を元に制御信号等を発生するCPU42、こ
のCPU42からの制御信号に応じて楽音信号を発生す
る楽音信号発生装置43、楽音信号発生装置43の出力
を増幅し楽音として放音するサウンドシステム44とか
らなっている。また外部から与えられる情報EXT45
はバイト情報で、演奏情報は3バイトから構成される。
(Embodiment 2) FIG. 4 shows the configuration of an electronic musical instrument when an external interface device 41 is used as a device for inputting performance information. This electronic musical instrument receives information (performance information, tone information, etc.) EXT45 provided from the outside in serial communication format, etc.
An external interface device 41 that converts into a format that can be recognized by the PU 42, a CPU 42 that generates control signals etc. based on information obtained from the external interface device 41, and a musical tone signal generator that generates musical tone signals in response to the control signals from the CPU 42. It consists of a device 43 and a sound system 44 that amplifies the output of the musical tone signal generator 43 and emits musical tones. Also, information given from outside EXT45
is byte information, and performance information consists of 3 bytes.

時間的に最初に得られる1番目のバイト情報は続く2番
目、3番目のデータが演奏情報であることを示す状態情
報、2番目のバイト情報は音程情報、3番目のバイト情
報は音量情報である。
The first byte information that is obtained first in time is the status information that indicates that the second and third data are performance information, the second byte information is pitch information, and the third byte information is volume information. be.

以上の各構成要素の関連と動作を以下に説明する。The relationship and operation of each of the above components will be explained below.

外部からシリアル通信形式で3バイトによって構成され
る演奏情報が与えられるとする。1バイト目の情報が揃
うと外部インターフェイス装置41は割り込み信号IN
T46を出力する。CPU42は割り込み信号INT4
6によりCPU42内の割り込み制御装置が作動し、C
PU42は外部インターフェイス装置41内のバイト情
報を読み出し解析する。1バイト目のバイト情報は状態
情報であるので、CPU42は2番目、3番目のデータ
を持つ。2バイト目のバイト情報が揃うと外部インター
フェイス装置41は割り込み信号INT46を出力する
。CPU42は割り込み信号を受けて外部インターフェ
イス装置41内の/イイト情報lNF47を読み出す。
Assume that performance information consisting of 3 bytes is given from the outside in serial communication format. When the first byte of information is complete, the external interface device 41 outputs an interrupt signal IN.
Output T46. CPU42 uses interrupt signal INT4
6 activates the interrupt control device in the CPU 42, and C
The PU 42 reads and analyzes byte information in the external interface device 41. Since the first byte information is status information, the CPU 42 has the second and third data. When the second byte information is complete, the external interface device 41 outputs an interrupt signal INT46. The CPU 42 receives the interrupt signal and reads the /item information NF47 in the external interface device 41.

このデータは演奏を示す状態情報に続く2番目のバイト
情報であるので、CPU42はこの情報を音程情報とし
て認識し、音程情報だけで可能な処理を前もって行い処
理結果を主記憶に記憶する。さらに3ノくイト目のバイ
ト情報が入ったときもCPU42は同様な方法で音量情
報として認識し、この音量情報と、先に主記憶に記憶し
ておいた音程情報の処理結果とにより発音処理等を行い
、楽音信号発生装置43に対して制御信号を出力する。
Since this data is the second byte information following the status information indicating the performance, the CPU 42 recognizes this information as pitch information, performs processing that can be performed using only pitch information in advance, and stores the processing results in the main memory. Furthermore, when the third byte information is input, the CPU 42 recognizes it as volume information in the same way, and performs pronunciation processing using this volume information and the processing result of the pitch information previously stored in the main memory. etc., and outputs a control signal to the musical tone signal generator 43.

楽音信号発生装置43はCPU42からの制御信号に対
して所定の楽音信号を発生し、サウンドシステム44を
通じて空中に放電する。
The musical tone signal generator 43 generates a predetermined musical tone signal in response to a control signal from the CPU 42, and discharges it into the air through the sound system 44.

なお、上記では3回の割り込み信号INT46が発生す
るが、外部インターフェイス装置41の作用により、1
バイト目の状態情報のときは割り込み信号INT46を
発生せず、2バイト目、3バイト目の音程情報と音量情
報が得られたときに割り込み信号INT46を発生する
ようにしてもよい。
Note that although the interrupt signal INT46 is generated three times in the above example, due to the action of the external interface device 41, the interrupt signal INT46 is generated once.
The interrupt signal INT46 may not be generated when the status information is in the byte, but the interrupt signal INT46 may be generated when the pitch information and volume information in the second and third bytes are obtained.

なお、以上はサウンドシステムを通して空中に放音する
例を示したが、もちろん楽音信号発生装置4.43から
信号として外部へ送り出したり、録音したりしてもよい
のはもちろんである。
Although the example above has been shown in which sound is emitted into the air through a sound system, it is of course possible to send the sound to the outside as a signal from the musical tone signal generator 4.43 or to record it.

発明の効果 以上の実施例から明らかなように本発明は、演奏情報を
鍵盤装置を用いて入力する場合は、全鍵盤のいずれかの
第1接点作動時にもCPUに対して割り込みをかける機
能を備える機構と、演奏情報の音程制御を音量制御に先
行する制御方式により、音程情報に関する処理時間が、
音程情報か得られてから音量情報が得られるまでの時間
より短い場合は、音程情報に関する処理時間を見掛は上
無くすことができ、打鍵されてから発音されるまでの時
間を短縮できる。なお、音程情報に関する処理時間が音
程情報が得られてから音量情報か得られるまでの時間よ
り長い場合でも、音程情報に関する処理が開始されてか
ら音量情報が得られるまての時間を音程情報に関する処
理に当てることかできるため、打鍵されてから発音され
るまでの時間を短縮できる。
Effects of the Invention As is clear from the above embodiments, the present invention provides a function to interrupt the CPU when the first contact of any of the keys is activated when performance information is input using a keyboard device. The processing time related to pitch information is reduced by the mechanism provided and the control method in which pitch control of performance information precedes volume control.
If the time from obtaining the pitch information to obtaining the volume information is shorter than the time required to obtain the pitch information, the processing time regarding the pitch information can be virtually eliminated, and the time from when a key is pressed until the sound is produced can be shortened. Note that even if the processing time related to pitch information is longer than the time from when pitch information is obtained to when volume information is obtained, the time from when processing related to pitch information starts to when volume information is obtained is the time related to pitch information. Since it can be used for processing, the time from when a key is pressed to when a sound is produced can be shortened.

演奏情報か本体外から供給される場合は、演奏情報の音
程制御を音量制御に先行する制御方式により、音程情報
に関する処理時間か、音程情報か得られてから音量情報
か得られるまでの時間より短い場合は、音程情報に関す
る処理時間を見掛は上無くすことができ、演奏情報を受
けてから発音されるまでの時間を短縮できる。なお、音
程情報に関する処理時間が音程情報が得られてから音量
情報が得られるまでの時間より長い場合でも、音程情報
に関する処理が開始されてから音量情報か得られるまで
の時間を音程情報に関する処理に当てることができるた
め、演奏情報を受けてから発音されるまでの時間を短縮
できる。
When the performance information is supplied from outside the main unit, the pitch control of the performance information is performed using a control method that precedes the volume control, so that the processing time for the pitch information or the time from when the pitch information is obtained to when the volume information is obtained is If it is short, the processing time related to the pitch information can be virtually eliminated, and the time from receiving the performance information to producing the sound can be shortened. Note that even if the processing time related to pitch information is longer than the time from obtaining pitch information to obtaining volume information, the processing time related to pitch information is the time from the start of processing related to pitch information until obtaining volume information. The time from receiving the performance information until the sound is produced can be shortened.

なお、本発明の従来例および実施例の説明では、CPU
が演奏情報の発生タイミングを知る手段として、CPU
の割り込み制御機構を用いて説明しているが、ポーリン
グ方式を用いても、この演奏情報の音程制御を音量制御
に先行する制御方式は同様な効果かある。
In addition, in the description of the conventional example and the embodiment of the present invention, the CPU
As a means of knowing the timing of generation of performance information, the CPU
Although the explanation has been made using the interrupt control mechanism described above, even if a polling method is used, a control method in which the pitch control of the performance information is preceded by the volume control has the same effect.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例1における電子楽器の電気ブロ
ック図、第2図は第1図の鍵盤装置部の詳細構成図、第
3図は第2図および第6図の鍵盤部の接点部詳細構成図
、第4図は本発明の実施例2およびその実施例に対する
従来例の電子楽器に共通する電気ブロック、第5図は実
施例1に対する従来例の電子楽器の電気ブロック図、第
6図は第5図の鍵盤装置部の詳細構成図である。 1・・・・・・鍵盤装置、2・・・・・・スイッチ、3
・・・・・・CPU(制御部)、4・・・・・・楽音信
号発生装置、26・・・・・・第1割り込み信号発生装
置、27・・・・・・第2割り込み信号発生装置、31
・・・・・・第1接点、32・・・・・・第2接点。
FIG. 1 is an electrical block diagram of an electronic musical instrument according to Embodiment 1 of the present invention, FIG. 2 is a detailed configuration diagram of the keyboard device section of FIG. 1, and FIG. 3 is a contact point of the keyboard section of FIGS. 2 and 6. FIG. 4 is an electrical block diagram common to the second embodiment of the present invention and a conventional electronic musical instrument corresponding to the second embodiment of the present invention, and FIG. 5 is an electrical block diagram of a conventional electronic musical instrument corresponding to the first embodiment. FIG. 6 is a detailed configuration diagram of the keyboard device section of FIG. 5. 1...Keyboard device, 2...Switch, 3
... CPU (control unit), 4 ... Musical tone signal generation device, 26 ... First interrupt signal generation device, 27 ... Second interrupt signal generation device, 31
...First contact, 32...Second contact.

Claims (2)

【特許請求の範囲】[Claims] (1)異なる鍵押圧深さで作動する第1接点と第2接点
とを各鍵ごとに備え、各鍵の音程情報と各鍵の前記両接
点間の作動時間差によるイニシャルタッチ情報とを出力
する鍵盤装置と、前記鍵盤装置からの前記情報を元に所
定の楽音信号を発生するように制御する制御部とを備え
、全鍵のいずれかの前記第1接点の作動時に該当鍵の音
程情報をイニシャルタッチ情報に先行して前記制御部に
伝え得るように構成した電子楽器。
(1) Each key is provided with a first contact and a second contact that operate at different key pressing depths, and outputs pitch information for each key and initial touch information based on the operating time difference between the two contacts of each key. It includes a keyboard device and a control section that controls to generate a predetermined musical tone signal based on the information from the keyboard device, and when the first contact point of any of the keys is activated, the pitch information of the corresponding key is generated. An electronic musical instrument configured to be able to transmit initial touch information to the control section prior to initial touch information.
(2)演奏情報が本体外から供給されることにより本体
を制御する機構を備えるものであって、演奏情報の音程
制御を音量制御に先行して行い、かつ音程情報を得たら
直ちにその処理を開始するように構成した電子楽器。
(2) It is equipped with a mechanism that controls the main body by supplying performance information from outside the main body, and performs pitch control of the performance information prior to volume control, and immediately processes the pitch information after obtaining the pitch information. An electronic musical instrument configured to start.
JP2240875A 1990-09-10 1990-09-10 Electronic musical instrument Pending JPH04119396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2240875A JPH04119396A (en) 1990-09-10 1990-09-10 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2240875A JPH04119396A (en) 1990-09-10 1990-09-10 Electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH04119396A true JPH04119396A (en) 1992-04-20

Family

ID=17065998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2240875A Pending JPH04119396A (en) 1990-09-10 1990-09-10 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH04119396A (en)

Similar Documents

Publication Publication Date Title
JPH06259065A (en) Electronic musical instrument
JPH04119396A (en) Electronic musical instrument
JPH10301567A (en) Voice controller of electronic musical instrument
JP2768458B2 (en) Electronic musical instrument
JPS61128293A (en) Electronic musical instrument
JP2548113B2 (en) Electronic musical instrument
JP2932132B2 (en) How to control the pronunciation of electronic keyboard instruments
JP2730721B2 (en) Electronic musical instrument
JP2001166773A (en) Electronic musical instrument
JP2931762B2 (en) Electronic keyboard instrument
JP2005196026A (en) Device and method for generating resonant sound of electronic musical instrument, and computer program and recording medium
JPH08335079A (en) Electronic keyed instrument
JP2595999B2 (en) Envelope generator
JPH02199500A (en) Electronic musical instrument
JP4121080B2 (en) Electronic keyboard instrument
JPH05333859A (en) Keyboard device for electronic musical instrument
JP3278857B2 (en) Musical tone generator
JPH0643869A (en) Electronic keyboard instrument
JP2705444B2 (en) Electronic musical instrument with damper pedal
JPH0627946A (en) Electronic keyboard musical instrument
JPH04134495A (en) Musical tone signal generator
JPH07104754A (en) Electronic musical instrument-incorporated piano
JP2959416B2 (en) Modulation signal generator for electronic musical instruments
JPH068996B2 (en) Electronic musical instrument
JP2004361528A (en) Musical tone signal generator and legato processing program