JP3728626B2 - Code discrimination device - Google Patents
Code discrimination device Download PDFInfo
- Publication number
- JP3728626B2 JP3728626B2 JP2004070187A JP2004070187A JP3728626B2 JP 3728626 B2 JP3728626 B2 JP 3728626B2 JP 2004070187 A JP2004070187 A JP 2004070187A JP 2004070187 A JP2004070187 A JP 2004070187A JP 3728626 B2 JP3728626 B2 JP 3728626B2
- Authority
- JP
- Japan
- Prior art keywords
- key
- chord
- pitch
- sound
- determined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、演奏操作子群の複数の異なる演奏操作子に対する操作によって指定されるコードを判別するための技術に関する。 The present invention relates to a technique for determining a chord designated by an operation on a plurality of different performance operators in a group of performance operators.
近年、電子楽器においては、自動伴奏機能が標準的に搭載されている。この自動伴奏機能によってユーザは、伴奏音に合わせてメロディを弾くことで、一人でもアンサンブル演奏のような楽しさを味わうことができる。 In recent years, an electronic accompaniment function is standardly installed in electronic musical instruments. With this automatic accompaniment function, the user can enjoy the joy of an ensemble performance by playing the melody in time with the accompaniment sound.
通常、伴奏音は、ベース(リズム)パートとコード伴奏パートとからなり、コードは、例えば鍵盤(演奏操作子群)上の複数の鍵を、所望するコードの構成音に対応させて押鍵することで任意に指定することができるようになっている。普通、伴奏音は、スタートボタン等の操作によりリズムパートが先ずスタートし、その後、コードが指定されてからコード伴奏パートがスタートする。一旦自動伴奏をスタートさせると、コードは途中で変更することも可能となっている。 Usually, an accompaniment sound consists of a bass (rhythm) part and a chord accompaniment part, and a chord presses, for example, a plurality of keys on a keyboard (a group of performance operators) in correspondence with the constituent sound of a desired chord. Can be specified arbitrarily. Normally, for an accompaniment sound, a rhythm part is first started by operating a start button or the like, and then a chord accompaniment part is started after a chord is specified. Once the automatic accompaniment is started, the chord can be changed midway.
上記のような電子楽器に搭載されているコード判別装置は、鍵盤上の押鍵された鍵からコードを判別する。従って、自動伴奏では、コード判別装置が判別したコードで伴奏音が発音される。 The chord discriminating device mounted on the electronic musical instrument as described above discriminates the chord from the key pressed on the keyboard. Therefore, in the automatic accompaniment, the accompaniment sound is generated with the chord determined by the chord discriminating device.
自動伴奏機能では、これまでは鍵盤を伴奏鍵域、メロディ鍵域に分け、それぞれの鍵域毎に異なる機能を割り当てるスプリット仕様が多く採用されていた。伴奏鍵域は伴奏音のコード指定用であり、メロディ鍵域はメロディとして発音させる楽音の指定用である。このスプリット仕様では、一般的に、伴奏鍵域内の現在押鍵されている鍵の組み合わせからコードが判別される。 In the automatic accompaniment function, so far, many split specifications have been adopted in which the keyboard is divided into an accompaniment key range and a melody key range, and a different function is assigned to each key range. The accompaniment key range is for designating chords of accompaniment sounds, and the melody key range is for designating musical sounds to be generated as melody. In this split specification, a chord is generally determined from a combination of keys currently pressed in the accompaniment key range.
最近では、鍵盤の全てが伴奏音の指定鍵として割り当てるとともに、押鍵された鍵の音もそれに設定されている音高で発音される全鍵伴奏域仕様という自動伴奏仕様の電子楽器が製品化されている。このような仕様では、鍵盤の全ての押鍵から指定されたコードを判別しなければならない。このため、音高の低いほうから押鍵されている所定の複数の鍵がコード指定のための押鍵と判断し、これらの鍵の組み合わせからコードを判別していた。例えば、異なる3鍵で指定されるコードであれば音高の低いほうから押鍵されている3鍵であり、異なる4鍵で指定されるコードであれば音高の低いほうから押鍵されている4鍵である。 Recently, an electronic musical instrument with an automatic accompaniment specification has been commercialized, in which all keys are assigned as designated accompaniment sounds, and all key accompaniment ranges are generated with the pitch of the key pressed. Has been. In such a specification, a specified code must be determined from all keys pressed on the keyboard. For this reason, it is determined that a plurality of predetermined keys pressed from the lower pitch are key presses for specifying a chord, and the chord is determined from a combination of these keys. For example, if the chord is specified by three different keys, the key is pressed from the lowest pitch, and if the chord is specified by four different keys, the key is pressed from the lower pitch. There are 4 keys.
全鍵伴奏域仕様では、このように鍵盤全てがコード指定に使用できることから、たとえメロディとして演奏したつもりであっても、コードを指定する複数の鍵を同時に押鍵した状態となり、ユーザの意図しないコードが設定されてしまうという問題点が発生していた。この問題点により、音高、音長、強弱等を生かしたメロディの演奏が制限されていた。当然のことではあるが、上記の問題点は、伴奏鍵域の押鍵によりコードの指定とともに楽音を発音させるスプリット仕様においても同様に発生する。 In the all-key accompaniment area specification, the entire keyboard can be used for chord designation in this way, so even if you intend to play as a melody, multiple keys that specify chords are pressed at the same time, which is not intended by the user. There was a problem that the code was set. Due to this problem, the performance of melodies that take advantage of the pitch, tone length, strength, etc. was restricted. As a matter of course, the above-mentioned problem also occurs in the split specification in which a musical tone is generated along with a chord designation by pressing a key in the accompaniment key range.
本発明の課題は、ユーザが意識して指定したコードだけを判別し、ユーザの意図に沿ったコード進行が得られるようにすることにある。 An object of the present invention is to discriminate only chords that are consciously specified by the user and to obtain chord progressions in accordance with the user's intention.
本発明のコード判別装置は、異なる楽音の音高が各々割り当てられた鍵を有する鍵盤と、この鍵盤を所定周期でスキャンすることにより、鍵盤の押鍵状態を検出する押鍵状態検出手段と、前記押鍵情報検出手段によるスキャン結果から新たな押鍵の有無を検出する押鍵検出手段と、ダンパペダルと、前記ダンパペダルが操作されているか否かを判定する判定手段と、前記押鍵検出手段により新たな押鍵が検出され、かつ前記判定手段により前記ダンパペダルが操作されていないことを検出している場合に、前記押鍵状態検出手段により押鍵状態にあると検出された鍵に対応する音高に基づいてコードを判別するコード判別手段と、を具備することを特徴とする。 The chord discriminating apparatus of the present invention includes a keyboard having keys to which pitches of different musical tones are respectively assigned, and a key pressing state detecting means for detecting a key pressing state of the keyboard by scanning the keyboard at a predetermined period; A key depression detecting unit for detecting presence / absence of a new key depression from a scan result by the key depression information detecting unit, a damper pedal, a determination unit for determining whether or not the damper pedal is operated, and the key depression detecting unit. When a new key is detected and the determination means detects that the damper pedal is not operated, the sound corresponding to the key detected by the key pressing state detection means as being in the key pressing state Code discriminating means for discriminating the code based on the height.
以上、説明したように本発明は、ダンパーといった楽音の発音期間を制御する入力手段が操作されている状態のときにはコードの判別を中止するため、コード指定を意識していない期間のコード判別が回避され、ユーザは意図に沿ったコード進行を得ることができる。 As described above, according to the present invention , since the chord discrimination is stopped when the input means for controlling the tone generation period of the musical tone such as the damper is operated, the chord discrimination during the period when the chord designation is not conscious is avoided. The user can obtain a chord progression as intended.
上記したこれらの発明は各々異なる点に着目したものであることから、これらを組み合わせることで、より大きな効果を得ることができる。 Since the above-described inventions pay attention to different points from each other, a greater effect can be obtained by combining them.
本発明のコード判別装置は、ダンパーといった楽音の発音期間を制御する入力手段の操作状態に応じて、操作されている演奏操作子からコードの判別を行う。 The chord discriminating apparatus of the present invention discriminates chords from the performance operator being operated in accordance with the operating state of an input means such as a damper that controls the tone generation period of a musical sound .
コードは、高さが異なる2つ以上の音が同時に響く場合に合成される音であり、音程差が3度の3つの音を積み重ねてなるトライアド(三和音)が基礎的・典型的である。また、上記したように、常識的にユーザは、コードの構成音に対応する複数の演奏操作子を同時に操作することで(少なくとも操作するつもりで)コードを指定する。これらのことから、上記のように操作されている演奏操作子間の音高差を調べ、その結果に応じてコードの判別を行うことで、たとえコード指定に該当する演奏操作子が意識せずに操作されている状態となってもコードの判別が行われず、所望しないコード進行が回避される。 A chord is a sound that is synthesized when two or more sounds with different heights resonate at the same time, and a triad consisting of three sounds with a pitch difference of 3 degrees is fundamental and typical. . Further, as described above, the user specifies a chord by operating (at least intending to operate) a plurality of performance operators corresponding to the constituent sounds of the chord simultaneously. Therefore, by checking the pitch difference between the performance controls operated as described above, and determining the chord according to the result, the performance control operator corresponding to the chord designation is unaware. The chord is not discriminated even in the state of being operated, and undesired chord progression is avoided.
ダンパーが操作されていた場合、発音中の楽音は演奏操作子への操作が終了すると直ちに消音されることから、ダンパーの操作とともにコードを指定することは普通では考えられない。このことから明らかなように、ユーザが意図しないコードを判別することが回避される。 When the damper is being operated, the musical tone being sounded is muted as soon as the operation of the performance operator is completed, so it is not normally considered to specify a chord together with the operation of the damper. As is clear from this, it is possible to avoid discriminating a code that is not intended by the user.
以下、本発明の実施例について、図面を参照しながら詳細に説明する。図1は、第1の実施例によるコード判別装置を搭載した電子楽器100の構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic
図1において、演奏情報入力装置101はユーザが所望の楽音を発音させるために操作されるものであり、タッチレスポンス機能を備えた鍵盤101aと、右(ダンパー)ペダル、及び左(弱音)ペダルの各種ペダル101bとからなる。タッチレスポンス機能には、大別して、鍵を弾いた強さを検出するイニシャルタッチレスポンスと、押鍵後の鍵を押す強さを検出するアフタタッチレスポンスとがある。第1の実施例では、タッチレスポンス機能としてイニシャルタッチレスポンス機能を備えている。鍵を弾いた強さは、例えば鍵の押鍵を開始してから押鍵が完了するまでの時間を計測し、その計測した時間から求めた速度により判断する。以降、押鍵時の強さを押鍵速度と記載する。
In FIG. 1, a performance information input device 101 is operated by a user to generate a desired musical tone, and includes a keyboard 101a having a touch response function, a right (damper) pedal, and a left (weak sound) pedal. It consists of
制御部102は、上記演奏情報入力装置101のスキャンを行うとともに、特には図示しないコンソール上の各種スイッチ等の操作状態をスキャンにより検出し、スイッチの操作状態に応じた楽器100全体の制御を実行する。楽音発生部103は、制御部102が演奏情報入力装置101をスキャンした後の信号を演奏情報として入力し、該演奏情報に応じて楽音を発生する。従って、この楽音発生部103は、ユーザが演奏情報入力装置101に対して何らかの操作を行った場合、その操作内容、及び押鍵タイミングに応じた楽音をメロディとして発音する。
The
演奏情報入力装置101から出力された現在の操作状態を表す演奏情報は、演奏情報記憶部104に入力される。この演奏情報記憶部104は、制御部102からの制御信号に従い、演奏情報入力装置101から出力された演奏情報を記憶する。
The performance information indicating the current operation state output from the performance information input device 101 is input to the performance
押鍵タイミング判別部105は、演奏情報記憶部104に記憶されている演奏情報を読み出して操作された鍵の押鍵速度(押鍵されたときの強さ)を求め、これら求めた各鍵毎の押鍵速度を予め定めた速度(設定速度)と比較することにより、各鍵に対する操作が強拍、弱拍の何方に属するかを判別(検出)する。この判別結果は、コード判別を行うべきタイミングを表すタイミング情報として、後述する音高比較部108に送出される。
The key pressing timing
上記押鍵速度は、鍵の操作を検出したときに1度求められる。それが強拍に属すると判別した場合、その旨を示すタイミング情報が所定期間だけ押鍵タイミング判別部105から音高比較部108に送られる。これにより、強拍に属する鍵の操作が検出されていない状態である鍵が強く操作された場合、その鍵が操作されてから上記所定期間が経過するまではコード判別を行う期間となる。
The key pressing speed is obtained once when a key operation is detected. When it is determined that it belongs to a strong beat, timing information indicating that fact is sent from the key pressing
コード検出部106は、演奏情報記憶部104に記憶されている演奏情報を読み出し、現在押鍵中の鍵に割り当てられた音高からコード種を判別する。コード確定部107は、コード検出部106が判別したコード種(コードデータ)を、音高比較部108から入力した制御信号に応じてこれを保持するか否か決定する。このコード確定部107に保持されたコードデータで表されるコード種が現在確定しているコードである。
The
音高比較部108は、詳細は後述する図2の全体処理のフローチャートを用いて説明するが、押鍵タイミング判別部105から入力したタイミング情報(強拍に属する押鍵の有無)、コード検出部106から入力した現在押鍵中の鍵の音高データ、最新押鍵データ記憶バッファ109に記憶されている音高データの各データに基づいて、ユーザが意図しないコードの指定が行われているか否かを判断し、その判断結果に従って制御信号をコード検出部106、コード確定部107に出力する。この制御信号を出力した後、音高比較部108は、コード検出部106から入力した音高データを新たに最新押鍵データ記憶バッファ109に格納する。これにより、最新押鍵データ記憶バッファ109には、演奏情報入力装置101をスキャンした際の最新の結果が、スキャンが行われる度に随時格納され、更新される。
The
上記コード検出部106は、現在押鍵中の鍵からコード種を判別し、上記制御信号に従って、該判別したコード種を表すコードデータをコード確定部107に出力する。一方のコード確定部107は、音高比較部108から入力した制御信号に従って、当該音高比較部108がユーザが意図しないコードの指定が行われていないと判断された場合にコード検出部106が出力したコードデータを格納する。
The
自動伴奏発生部110は、コード確定部107に格納されているコードデータで伴奏音を発生する。このとき伴奏音は、特には図示しないコンソールに設けられたスイッチの操作により指定された内容(リズム、音色、テンポ等)で発生する。
The
以上が電子楽器100の構成、及び概略動作である。次に図2に示す全体処理のフローチャートを参照して、制御部102による全体動作を説明する。電源がオンされると、先ず、制御部102はその内部に備えているRAM(図示せず)の内容の初期設定(イニシャライズ)等を行い(ステップ201)、次に演奏情報入力装置101のスキャン処理、該スキャン処理の結果に応じてメロディ、及び伴奏音を発音させる発音イベント処理(詳細は後述する)等の各種イベント処理を実行する(ステップ202)。
The above is the configuration and schematic operation of the electronic
ステップ202の各種イベント処理が終了すると、次にコンソール上のスイッチ群のスキャンを行い、そのスキャン結果に応じたモードの設定/切り換え、特には図示しない表示器類の表示等を行うコンソールスイッチ処理を実行する(ステップ203)。このコンソールスイッチ処理が終了した後、例えば所定の時間内になんの操作も行われなければ電源をオフするといったその他の制御処理を実行し(ステップ204)、ステップ202の処理に戻る。
When the various event processes in
ステップ202〜204の処理の繰り返しにより、電子楽器100は、ユーザの操作に応じてメロディ、伴奏音の発生、モードの設定、及び切り換えを行うことになる。
By repeating the processing of
次に、上記ステップ202の各種イベント処理について詳細に説明する。上述したように、このステップ202の処理内容は、演奏情報入力装置101のスキャンを行う処理と、該スキャンに応じた発音イベント処理とに大別され、この順序で各処理は実行される。スキャンは一般的に広く知られている方法を用いていることから、ここでは発音イベント処理についてのみ説明する。
Next, the various event processing in
図3は、第1の実施例による発音イベント処理のフローチャートである。この発音イベント処理は、制御部102が、コード検出部106、音高比較部108等の各部が行う動作を制御することで進行するものである。
FIG. 3 is a flowchart of the sound generation event process according to the first embodiment. This sounding event process proceeds by the
発音イベント処理では、先ず、演奏情報入力装置101、即ち鍵盤101a、及び各種ペダル101bに対する操作イベントの有無を判断する(ステップ301)。この操作イベントの有無は、演奏情報記憶部104に記憶された内容から判断される。演奏操作イベント無しと判断すると(ステップ301、NO)、ここで一連の処理を終了し、反対に演奏操作イベント有りと判断すると(ステップ301、YES)、ステップ302の処理に移行する。
In the sound event processing, first, it is determined whether or not there is an operation event for the performance information input device 101, that is, the keyboard 101a and the
ステップ302では、押鍵イベントの有無を判断する。押鍵イベント無しと判断すると(ステップ302、NO)、各種ペダル101bの操作に応じて発音させる音の音量、その長さを設定する等のその他のイベント処理を実行し(ステップ303)、その処理を終了した後、一連の処理が終了する。
In
ステップ302において、押鍵イベント有りと判断すると、次に押鍵イベントを検出した鍵に割り当てられた音高で楽音を発音させる発音処理を実行し(ステップ304)、その後、ステップ305の処理に移行する。ステップ304の発音処理は、演奏情報入力装置101から出力されたスキャン結果に応じて楽音発生部103に楽音を発音させることで実現される。
If it is determined in
ステップ305では、現在伴奏モードが設定されているか否か判断する。伴奏モードが設定されていないと判断すると(ステップ305、NO)、ここで一連の処理を終了し、反対に伴奏モードが設定されていると判断すると(ステップ305、YES)、ステップ306の処理に移行する。ここで、電子楽器100は、伴奏音のコードは鍵盤101a上の全ての鍵で指定できる全鍵伴奏域仕様である。このため、コードは、音高の低いほうから押鍵されている鍵をその構成音の数だけ参照することで判別される。
In
ステップ306では、現在コードが確定しているか否か判断する。コードが確定していないと判断すると(ステップ306、NO)、現在押鍵されている鍵からコード種を判別する処理を実行する(ステップ307)。このコード判別処理は、コード検出部106に、演奏情報記憶部104に記憶されている演奏情報からコードを判別させることで実現される。演奏情報からコードを新たに判別できなかった場合、それまで確定していたコードから変更されず、コード確定部107はそれまで保持していたコードデータを継続して保持する。
In
コードの判別が終了すると、次にコードが確定したか否か判断する(ステップ308)。コードが確定したと判断すると(ステップ308、YES)、確定したコードで伴奏音を自動伴奏発生部110に発音させるコード発音処理を実行する(ステップ309)。コード発音処理が終了すると、最新押鍵の音高データを更新して(ステップ310)、一連の処理を終了する。
When the code determination is completed, it is next determined whether or not the code is confirmed (step 308). If it is determined that the chord is confirmed (
上記ステップ309のコード発音処理は、コード確定部109に保持されているコードデータで自動伴奏発生部110に伴奏音を発音させる制御信号を出力することで実現される。また、最新押鍵の音高データを更新するステップ310の処理は、音高比較部108に、コード検出部106から受け取った現時点で押鍵されている最新の鍵の音高データを、最新押鍵データ記憶バッファ109に書き込ませることで実現される。
The chord sound generation process in
一方、ステップ306において、現在コードが確定していると判断すると、次にステップ311において、現在確定しているコードの構成音の鍵が押鍵されているか否か、即ちコードを確定させた押鍵が継続しているか否か判断する。この判断処理は、音高比較部108に、前の処理ループによってコード確定部107に保持されたコードデータからその構成音を求め、該求めた構成音とコード検出部106から入力した音高データとを比較させることで実現される。コードの構成音の鍵が押鍵されていると判断すると(ステップ311、YES)、ステップ309の処理に移行し、反対にコードの構成音の鍵が押鍵されていないと判断すると(ステップ311、NO)、ステップ312の処理に移行する。
On the other hand, if it is determined in
ステップ312では、ステップ301、302にて検出された押鍵イベントの検出タイミングである演奏押鍵タイミングは弱拍か否か判断する。押鍵タイミングが弱拍ではないと判断すると(ステップ312、NO)、ステップ307のコード判別処理に移行し、反対にそれが弱拍と判断すると(ステップ312、YES)、ステップ313の処理に移行する。
In
押鍵された強さが弱拍か否かは、上記したように、押鍵タイミング判別部105が、設定速度と操作を検出した鍵の押鍵速度とを比較することで判断される。この設定速度は、MIDI(Musical Instrument Digital Interface)を例にすると、例えば鍵を弾いたときの強弱を伝えるパラメータであるベロシティの値(1〜127段階の精度を有する)が"40"程度に対応する値である。音高比較部108は、押鍵タイミング判別部105から強拍に属する押鍵を検出した旨を示すタイミング情報が送られていない場合、押鍵タイミングが弱拍と判断し、そうでない場合、押鍵タイミングは強拍と判断する。
As described above, whether or not the pressed key strength is a weak beat is determined by the key pressing
コードチェンジ等は、曲の進行にタイミングを合わせて行われるので、コード指定を意図した押鍵は強くなるのが普通である。また、一般的に、伴奏音は指定された音量で発音されることから、コードを指定するために意識して弱く鍵を弾かなければならない理由は特にない。これらのことから、押鍵タイミングが弱拍であった場合、コードを指定する複数の鍵が押鍵されていても、ユーザはそのコードの指定を所望していない可能性が高いと言える。この場合はコードの判別を中止するので、ユーザの意図しないコードチェンジを回避することができる。 Since chord changes and the like are performed in synchronization with the progress of the music, it is normal that the key depression intended for chord designation becomes strong. In general, an accompaniment sound is pronounced at a specified volume, so there is no particular reason why it is necessary to play the key weakly in order to specify a chord. From these facts, when the key pressing timing is a weak beat, it can be said that even if a plurality of keys specifying a chord are pressed, the user is not likely to specify the chord. In this case, since the code determination is stopped, a code change unintended by the user can be avoided.
図4(a)〜(c)は、演奏における強拍、弱拍の押鍵例を示す図である。楽曲は、図4に示すように、1小節内において、小節の先頭を強拍とし、その他を弱拍とするように演奏されることが多い。小節は、楽曲の定められた拍子に合うようになっており、演奏におけるリズムの単位である。このため、普通、コードチェンジは、小節の先頭のタイミング、即ち押鍵タイミング(押鍵速度)が強拍のときに行われ、押鍵速度が弱拍であった場合、ユーザはコード指定を意図していないことが多い。 FIGS. 4A to 4C are diagrams showing examples of key presses of strong beats and weak beats in a performance. As shown in FIG. 4, a music piece is often played so that the beginning of a measure is a strong beat and the other is a weak beat, as shown in FIG. 4. A measure is a unit of rhythm in the performance, which is adapted to the specified time signature of the music. For this reason, a chord change is normally performed when the start timing of a measure, that is, the key pressing timing (key pressing speed) is a strong beat, and if the key pressing speed is a weak beat, the user intends to specify a chord. Often not.
第1の実施例では、ユーザが実際に鍵を押鍵したときの強さからコード判別を行うタイミングを判断することで、ユーザが意図しないコードチェンジを回避している。しかし、図4(a)〜(c)に示すように、強拍、弱拍の押鍵が規則的に行われる場合も多い。このことから、ある楽曲において強拍で演奏(押鍵)されるタイミングをコード判別するタイミングとして予め定めても、ユーザが意図しないコードチェンジを回避することができる。 In the first embodiment, a code change unintended by the user is avoided by determining the timing for performing the code determination from the strength when the user actually presses the key. However, as shown in FIGS. 4A to 4C, the strong key and the weak key are often pressed regularly. Therefore, even if the timing at which a certain musical piece is played (key-pressed) with a strong beat is predetermined as the timing for determining the chord, it is possible to avoid a chord change that is not intended by the user.
自動伴奏機能を搭載した電子楽器は、自動伴奏を行うために演奏データを有し、この演奏データには発音する個々の楽音を管理するための時間データが含まれる。このため、小節の先頭であるか否かを含め、現在の演奏位置は演奏データか知ることができ、その実現は容易である。 An electronic musical instrument equipped with an automatic accompaniment function has performance data for performing automatic accompaniment, and this performance data includes time data for managing individual musical sounds to be generated. For this reason, it can be known whether the current performance position is performance data, including whether or not it is the beginning of a measure, and its realization is easy.
なお、第1の実施例では、押鍵速度が強拍に属する押鍵を1つでも検出すればコードの判別を行うことになるが、コードは複数の鍵を押鍵することで指定することから、例えば、それらの鍵が弾かれた際の平均の押鍵速度が設定速度よりも遅い(弱い)場合や、その設定速度よりも遅く(弱く)弾かれた鍵が1つでもあった場合、押鍵タイミングは弱拍であると判断(即ち、コード判別を中止)するようにしても良い。また、押鍵速度、即ち鍵が弾かれた際の強さの他に、小節の先頭であるか否かといった押鍵されたタイミングを含めてコード判別を行うようにしてもよい。 In the first embodiment, the chord is discriminated by detecting at least one key pressing speed belonging to a strong beat, but the chord is specified by pressing a plurality of keys. From, for example, when the average key pressing speed when those keys are played is slower (weaker) than the set speed, or when there is even one key played slower (weaker) than the set speed The key pressing timing may be determined as a weak beat (that is, the chord determination is stopped). In addition to the key pressing speed, that is, the strength when the key is played, the chord determination may be performed by including the key pressing timing such as whether or not the key is at the head of the measure.
上記平均の強さを採用する場合、例えば第1、及び第2の設定速度(第1の設定速度>第2の設定速度である)を用意し、平均の強さが第1の設定速度よりも速く、且つ各鍵毎の強さが全て第2の設定速度よりも速い場合にコード判別を行うようにしても良い。例えば1つの鍵が非常に強く押鍵されたような場合、1つの設定速度では意図しないコードを判別することも考えられる。しかし、2つの設定速度を設けることで、このような不具合は確実に回避することができる。 When the average strength is adopted, for example, first and second setting speeds (first setting speed> second setting speed) are prepared, and the average strength is higher than the first setting speed. Alternatively, code determination may be performed when the strength of each key is faster than the second set speed. For example, when one key is pressed very strongly, an unintended code may be determined at one set speed. However, by providing two set speeds, such a problem can be reliably avoided.
更には、例えばコードの指定は3鍵の押鍵により指定すると想定した場合、弱く弾かれた鍵は無視し、音高の低いほうから強く弾かれた3鍵を抽出してコード判別を行うようにしても良い。これは、技量レベルが低いユーザにとってはコード指定が容易になるという効果が期待できる。 Furthermore, for example, when it is assumed that the chord is designated by pressing the three keys, the weakly played keys are ignored, and the chord is discriminated by extracting the three strongly played keys from the lowest pitch. Anyway. This can be expected to make it easier for a user with a low skill level to specify a code.
ステップ313では、新たに押鍵された鍵の音高が、1つ前に押鍵された鍵、即ちその押鍵の直前に離鍵された鍵の音高と2度の範囲内で隣接しているか否か判断する。この判断処理は、音高比較部108に、コード検出部106から入力した音高データと、最新押鍵データ記憶バッファ109に記憶されている音高データとを参照させ、該当する2つの音高データを特定させて行われる処理である。例えば前回のスキャンした状態から新たに1つの鍵が押鍵された場合、コード検出部106から出力された音高データの数は、最新押鍵データ記憶バッファ109に記憶されている音高データの数より1つだけ多いことから、これらの音高データを比較することで新たに押鍵された鍵が特定される。前回のスキャンから新たな押鍵がなかった場合、最新押鍵データ記憶バッファ109にはコード検出部106から出力される音高データが全て記憶されていることになる。この場合にはコード判別を行う必要がないと判断され、ステップ313からステップ309に移行する。
In
ステップ313において、2度の範囲で隣接していると判断すると(YES)、ステップ309の処理に移行してコード確定部107に保持されたコードで伴奏音を発音させる。反対に2度の範囲で隣接していないと判断すると(NO)、ステップ314の処理に移行する。
If it is determined in
ステップ314では、今回押鍵された鍵の音高は既に押鍵されている他の鍵の音高と2度の範囲内で隣接しているか否か判断する。これらの音程差が2度の範囲内であった場合、その判定はYESとなり、ステップ309の処理に移行する。音程差が2度の範囲外であった場合、その判定はNOとなり、ステップ307のコード判別処理に移行する。このステップ314の判断処理も、音高比較部108に、コード検出部106から入力した音高データと、最新押鍵データ記憶バッファ109に記憶されている音高データとを参照させることで行われる処理である。
In
図5は、音程差として短2度、長2度の例を示す図であり、同図(a)は短2度、同図(b)は長2度の音程差を各々示す。
基本的なコードは、音程が3度の音を3つ積み重ねてなり、電子楽器100(自動伴奏発生部110)が伴奏音として発音するために用意したコードの構成音は3度以上の音程差がある。また、コード指定時の操作としては、複数の鍵を順次押鍵することはなく、スキャンによって押鍵を検出した時期は異なっても、少なくとも複数の鍵は狭い時間内に押鍵されるのが普通である。これらのことから、新たに押鍵された鍵と既に押鍵されている鍵の間の音程差が3度以下となっている場合、ユーザはコード指定を意図していない可能性が高いと言える。この場合、上述したように、ステップ313、或いは314でコード判別を行う状況ではないと判断される。このため、ユーザの所望しないコード判別が回避され、ユーザの意図に沿ったコード進行が得られることになる。
FIGS. 5A and 5B are diagrams showing examples of a pitch difference of 2 degrees and a length of 2 degrees. FIG. 5A shows a pitch difference of 2 degrees and FIG. 5B shows a pitch difference of 2 degrees.
The basic chord consists of three sounds with a pitch of 3 degrees, and the sound of the chord prepared for the electronic musical instrument 100 (automatic accompaniment generator 110) to sound as an accompaniment sound has a pitch difference of 3 degrees or more. There is. In addition, as an operation at the time of code designation, a plurality of keys are not sequentially depressed, and at least a plurality of keys are depressed within a narrow time even when the key depression is detected by scanning. It is normal. From these facts, if the pitch difference between the newly pressed key and the already pressed key is 3 degrees or less, it can be said that the user is not likely to specify the chord. . In this case, as described above, it is determined that there is no situation where code determination is performed in
ステップ313では、押鍵された時期が前後する2つの音高データの音程差だけが比較される。このため、他の音高データとも比較するステップ314と比較すると、ユーザの所望しないコードを判別する危険性は高いが、その処理は高速に行うことができるという利点がある。このことから、これはステップ312を含めたことであるが、コード判別を行うか否かの判断の基準となる演奏状態を複数選択し、これらを組み合わせることで、よりユーザの意図した通りのコードチェンジが可能となり、また、その処理に要する時間を全体的に短縮させることが可能となる。
In
上述した発音イベント処理において、ステップ312〜314は、新たに押鍵された鍵に着目し、新たに押鍵された鍵はメロディとして押鍵されたのか、或いはコード指定を意識して押鍵されたのかを分析する処理である。既に押鍵されている他の音高データの間の関係等は基本的には考慮せず、新たな押鍵の機能を随時分析しながらコード判別を行うか否か判断していくので、個々のステップにおける処理内容は簡易であるにも係わらず、意図しないコードの指定の回避において高い効果が得られる。 In the above-described sounding event process, steps 312 to 314 focus on the newly pressed key, and the newly pressed key is pressed as a melody or is pressed with the code designation in mind. This is a process of analyzing whether Basically, the relationship between other pitch data already pressed is not considered, and new chord functions are analyzed as needed to determine whether or not to perform chord discrimination. Although the processing contents in this step are simple, a high effect can be obtained in avoiding unintended code designation.
なお、第1の実施例では音程差、押鍵時の強弱等のコード判別を行う条件は固定であるが、ユーザが設定できるようにしてもよい。このようにした場合、例えばコード判別を行わない音程差を少なくとも一つを任意に設定することで、用意されているコード種のなかから指定できるコード種を限定させることも可能である。 In the first embodiment, conditions for performing chord discrimination such as a pitch difference and strength at the time of key depression are fixed, but may be set by the user. In this case, it is possible to limit the chord types that can be designated from among the chord types prepared by arbitrarily setting at least one pitch difference for which chord discrimination is not performed.
次に、第2の実施例について説明する。この第2の実施例は、上記第1の実施例と同様に、電子楽器100に適用されたものであり、その基本的な構成は第1の実施例と同じである。このため、同じ符号を用いて第1の実施例から異なる部分だけ説明する。
Next, a second embodiment will be described. Similar to the first embodiment, the second embodiment is applied to the electronic
図6は、第2の実施例による発音イベント処理のフローチャートである。図6を参照して、その発音イベント処理について説明する。第2の実施例では、先ず、演奏情報入力装置101、即ち鍵盤101a、及び各種ペダル101bに対する操作イベントの有無を判断する(ステップ601)。この操作イベントの有無は、演奏情報記憶部104に記憶された内容から判断される。演奏操作イベント無しと判断すると(ステップ601、NO)、ここで一連の処理を終了し、反対に演奏操作イベント有りと判断すると(ステップ601、YES)、ステップ602の処理に移行する。
FIG. 6 is a flowchart of the sound generation event process according to the second embodiment. With reference to FIG. 6, the sounding event process will be described. In the second embodiment, first, it is determined whether or not there is an operation event for the performance information input device 101, that is, the keyboard 101a and the
ステップ602では、押鍵イベントの有無を判断する。押鍵イベント無しと判断すると(ステップ602、NO)、各種ペダル101bの操作に応じて発音させる音の音量、その長さを設定する等のその他のイベント処理を実行し(ステップ603)、その処理を終了した後、一連の処理を終了する。
In step 602, it is determined whether there is a key pressing event. If it is determined that there is no key depression event (step 602, NO), other event processing such as setting the volume and length of the sound to be generated according to the operation of the
ステップ602において、押鍵イベント有りと判断すると、次に押鍵イベントを検出した鍵に割り当てられた音高で楽音を発音させる発音処理を実行し(ステップ604)、その後、ステップ605の処理に移行する。ステップ604の発音処理は、演奏情報入力装置101から出力されたスキャン結果に応じて楽音発生部103に楽音を発音させることで実現される。
If it is determined in step 602 that there is a key depression event, a sound generation process for generating a musical tone with the pitch assigned to the key that detected the key depression event is executed (step 604), and then the process proceeds to step 605. To do. The sound generation process in
ステップ605では、現在伴奏モードが設定されているか否か判断する。伴奏モードが設定されていないと判断すると(ステップ605、NO)、ここで一連の処理を終了し、反対に伴奏モード(全鍵伴奏域仕様)が設定されていると判断すると(ステップ605、YES)、ステップ606の処理に移行する。
In
ステップ606では、現在コードが確定しているか否か判断する。コードが確定していないと判断すると(ステップ606、NO)、現在押鍵されている鍵からコード種を判別する処理を実行する(ステップ607)。このコード判別処理は、コード検出部106に、演奏情報記憶部104に記憶されている演奏情報からコードを判別させることで実現される。演奏情報からコードを新たに判別できなかった場合、それまで確定していたコードから変更されず、コード確定部107はそれまで保持していたコードデータを継続して保持する。
In
コードの判別が終了すると、次にコードが確定したか否か判断する(ステップ608)。コードが確定したと判断すると(ステップ608、YES)、確定したコードで伴奏音を自動伴奏発生部110に発音させるコード発音処理を実行する(ステップ609)。コード発音処理が終了すると、最新押鍵の音高データを更新して(ステップ610)、一連の処理を終了する。
When the determination of the code is completed, it is next determined whether or not the code is confirmed (step 608). If it is determined that the chord is confirmed (
上記ステップ609のコード発音処理は、コード確定部109に保持されているコードデータで自動伴奏発生部110に伴奏音を発音させることで実現される。また、最新押鍵の音高データを更新するステップ610の処理は、音高比較部108に、コード検出部106から受け取った現時点で押鍵されている最新の鍵の音高データを、最新押鍵データ記憶バッファ109に書き込ませることで実現される。
The chord sound generation process in
一方、ステップ606において、現在コードが確定していると判断すると、次にステップ611において、現在確定しているコードの構成音の鍵が押鍵されているか否か、即ちコードを確定させた押鍵が継続しているか否か判断する。この判断処理は、音高比較部108に、コード確定部107に保持されているコードデータからその構成音を求め、該求めた構成音とコード検出部106から入力した音高データとを比較させることで実現される。コードの構成音の鍵が押鍵されていると判断すると(ステップ611、YES)、ステップ609の処理に移行し、反対にコードの構成音の鍵が押鍵されていないと判断すると(ステップ611、NO)、ステップ612の処理に移行する。
On the other hand, if it is determined in
ステップ612では、ダンパーペダルはオン(ON)されているか否か判断する。ダンパーペダルはオンされていないと判断すると(ステップ612、NO)、ステップ607のコード判別処理に移行し、反対にオンされていると判断すると(ステップ612、YES)、ステップ609の処理に移行する。
In
なお、第2の実施例は、ダンパーペダルの操作状態に応じてコード判別を行うようにしたものであるが、この第2の実施例を第1の実施例に組み込んだ実施例としても良い。この場合、図6のステップ612の処理は、例えば図6のステップ311と312の処理の間に挿入すれば良い。
In the second embodiment, the code is discriminated according to the operation state of the damper pedal. However, the second embodiment may be incorporated into the first embodiment. In this case, the process in
また、第1、及び第2の実施例は、全鍵伴奏域仕様の場合を例にして説明しているが、自動伴奏機能の仕様としてはこれだけに限定されるものではない。誤った押鍵による意図しないコードの指定を回避できることから、伴奏鍵域とメロディ鍵域とに機能を分割するスプリット仕様の電子楽器にも本発明は適用することができる。また、伴奏音のコード判別だけに限定されるものではなく、ユーザが指定したコードに応じて何らかの楽音を発音させる機能を電子楽器が備えていれば本発明は容易に適用することができる。本発明から得られる効果としては、上述した効果の他に、コードを指定する各鍵が押鍵されたタイミング、各鍵毎の強さ等の演奏状態に応じてコード判別を行うことから、演奏内容のチェックが行えるという効果も期待できる。 In the first and second embodiments, the case of the all-key accompaniment area specification is described as an example, but the specification of the automatic accompaniment function is not limited to this. Since an unintended chord designation due to an erroneous key press can be avoided, the present invention can also be applied to a split-type electronic musical instrument that divides functions into an accompaniment key range and a melody key range. In addition, the present invention is not limited only to accompaniment sound chord discrimination, and the present invention can be easily applied if the electronic musical instrument has a function of generating a certain tone according to a chord designated by the user. In addition to the effects described above, the effects obtained from the present invention include chord discrimination according to the performance state such as the timing at which each key specifying a chord is pressed and the strength of each key. The effect that the contents can be checked can also be expected.
100 電子楽器
101 演奏情報入力装置
101a 鍵盤
101b 各種ペダル
102 制御部
104 演奏情報記憶部
105 押鍵タイミング判別部
106 コード検出部
107 コード確定部
108 音高比較部
109 最新押鍵データ記憶バッファ
DESCRIPTION OF
Claims (1)
この鍵盤を所定周期でスキャンすることにより、鍵盤の押鍵状態を検出する押鍵状態検出手段と、A key pressing state detecting means for detecting a key pressing state of the keyboard by scanning the keyboard at a predetermined period;
前記押鍵情報検出手段によるスキャン結果から新たな押鍵の有無を検出する押鍵検出手段と、A key press detecting means for detecting the presence or absence of a new key press from a scan result by the key press information detecting means;
ダンパペダルと、A damper pedal,
前記ダンパペダルが操作されているか否かを判定する判定手段と、Determination means for determining whether or not the damper pedal is operated;
前記押鍵検出手段により新たな押鍵が検出され、かつ前記判定手段により前記ダンパペダルが操作されていないことを検出している場合に、前記押鍵状態検出手段により押鍵状態にあると検出された鍵に対応する音高に基づいてコードを判別するコード判別手段と、When a new key depression is detected by the key depression detection means and when it is detected by the determination means that the damper pedal is not operated, the key depression state detection means detects that the key is depressed. Chord discriminating means for discriminating a chord based on the pitch corresponding to the key,
を具備したことを特徴とするコード判別装置。A code discriminating apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004070187A JP3728626B2 (en) | 2004-03-12 | 2004-03-12 | Code discrimination device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004070187A JP3728626B2 (en) | 2004-03-12 | 2004-03-12 | Code discrimination device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15651695A Division JP3551554B2 (en) | 1995-06-22 | 1995-06-22 | Code identification device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004163987A JP2004163987A (en) | 2004-06-10 |
| JP3728626B2 true JP3728626B2 (en) | 2005-12-21 |
Family
ID=32822264
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004070187A Expired - Fee Related JP3728626B2 (en) | 2004-03-12 | 2004-03-12 | Code discrimination device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3728626B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011136414A1 (en) * | 2010-04-30 | 2011-11-03 | Yoo Soek Jong | Apparatus for inputting playing conditions for harmonics and a harmonics musical instrument employing the apparatus |
| JP5884328B2 (en) * | 2011-07-28 | 2016-03-15 | カシオ計算機株式会社 | Automatic accompaniment device, automatic accompaniment program, chord determination device, chord determination method, and chord determination program |
| JP6023467B2 (en) * | 2012-05-21 | 2016-11-09 | 株式会社河合楽器製作所 | Automatic accompaniment device for electronic keyboard instruments |
-
2004
- 2004-03-12 JP JP2004070187A patent/JP3728626B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004163987A (en) | 2004-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2560372B2 (en) | Automatic playing device | |
| US7319187B2 (en) | Tone generation control program and electronic keyboard instrument using the tone generation control program | |
| US7339105B2 (en) | Automatic musical performance device | |
| US8802956B2 (en) | Automatic accompaniment apparatus for electronic keyboard musical instrument and fractional chord determination apparatus used in the same | |
| JP3728626B2 (en) | Code discrimination device | |
| JP3844286B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JP3551554B2 (en) | Code identification device | |
| JP3656781B2 (en) | Effect control device | |
| JP6023467B2 (en) | Automatic accompaniment device for electronic keyboard instruments | |
| JP2010117419A (en) | Electronic musical instrument | |
| JP2008076708A (en) | Tone designation method, timbre designation apparatus, and computer program for timbre designation | |
| US9280962B1 (en) | Sound preview device and program | |
| JP5564921B2 (en) | Electronic musical instruments | |
| JP3227548U (en) | Performance control system, performance control device | |
| JP2002032083A (en) | Electronic musical instrument | |
| JP3630266B2 (en) | Automatic accompaniment device | |
| JP3626863B2 (en) | Electronic musical instruments | |
| JPH10319949A (en) | Electronic musical instrument | |
| JP2570550B2 (en) | Electronic string instrument | |
| JP5917284B2 (en) | Fraction code determination device | |
| JP3476863B2 (en) | Automatic accompaniment device for electronic musical instruments | |
| JPH06314096A (en) | Device for detecting front code of electronic musical instrument | |
| JPH07271368A (en) | Automatic accompaniment device | |
| JP2003066960A (en) | Electronic musical instrument | |
| JPH07129177A (en) | Automatic musical instrument accompaniment device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040312 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040312 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050829 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050906 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050919 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081014 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091014 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091014 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101014 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101014 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111014 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111014 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121014 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121014 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131014 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |