JP2009223257A - Music player - Google Patents

Music player Download PDF

Info

Publication number
JP2009223257A
JP2009223257A JP2008070729A JP2008070729A JP2009223257A JP 2009223257 A JP2009223257 A JP 2009223257A JP 2008070729 A JP2008070729 A JP 2008070729A JP 2008070729 A JP2008070729 A JP 2008070729A JP 2009223257 A JP2009223257 A JP 2009223257A
Authority
JP
Japan
Prior art keywords
key
mode
sound
musical
duet
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
JP2008070729A
Other languages
Japanese (ja)
Inventor
Tatsuya Dejima
達也 出嶌
Yoshito Yamaguchi
善登 山口
Junichiro Kawahara
潤一郎 川原
Masahide Taki
政英 瀧
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008070729A priority Critical patent/JP2009223257A/en
Publication of JP2009223257A publication Critical patent/JP2009223257A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To show an effect as if respective players play separate musical instruments when shifting to a so-called duet mode. <P>SOLUTION: When a normal mode is designated by a CPU 10, a signal generated by mixing musical signals from sound sources 13a and 13b provided corresponding to key areas of a keyboard 1 with a mixer 14a is selected by selectors 14a and 14b and supplied to loudspeakers 3a and 3b so as to sound in a stereo system. When a duet mode is designated, the selector 14a and 14b select output from the respective sound sources 13a and 13b so as to supply it to the loudspeakers 3a and 3b. Thus, the loudspeaker 3a generates musical sound from the sound source 13a, and the loudspeaker 3b generates musical sound from the sound source 13b, so that it shows the effect as if the sound is generated from separate musical instruments. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、演奏装置に関する。   The present invention relates to a performance device.

従来、ひとつの鍵盤の低鍵域と高鍵域とを別々の演奏者に演奏させる連弾機能、いわゆるデュエット機能を通常のノーマルモードとは別のモードとして有する演奏装置としての楽器が提案されている。
この連弾機能を有する楽器においては、夫々の演奏者が同じ音域で演奏できるように、鍵域毎に別々にオクターブ変換している。
例えば、特許文献1においては、鍵盤を鍵番号SPをスプリットポイント位置として低鍵域と高鍵域とに機能的に分割し、低鍵域においては、押鍵により指定される楽音の音高を通常より2オクターブアップし、高鍵域においては、2オクターブダウンする構成が開示されている。
2. Description of the Related Art Conventionally, musical instruments have been proposed as performance devices having a repetitive function that allows different performers to perform the low key range and high key range of a single keyboard, that is, a so-called duet function as a mode different from the normal mode.
In the musical instrument having the continuous function, octave conversion is separately performed for each key range so that each performer can perform in the same range.
For example, in Patent Document 1, the keyboard is functionally divided into a low key range and a high key range with the key number SP as the split point position, and in the low key range, the pitch of the musical tone designated by the key depression is higher than usual. A configuration is disclosed in which the octave is increased by two octaves and the octave is decreased by two octaves in the high key range.

また、特許文献2においては、押鍵により発生するキー情報に対応する鍵が属する鍵域を判別し、この判別結果に基づいてこの鍵域で発生するキー情報を所望オクターブ量変更させることにより、少なくとも2つの鍵域で発生する楽音の音高が重複する部分が生じるようにした構成が開示されている。
さらに特許文献3には、鍵盤を2つの鍵域に分割した際、第1の鍵域の中央に位置する鍵の本来のオクターブ値と、第1の鍵域に設定された音色の基準音域のオクターブ値とに基づいてオクターブシフト量を算出することにより、音色毎の基準音域が各鍵域の略中央に配置される構成が開示されている。
特許第3586754号公報 特公昭62−35118号公報 特開2000−194369号公報
Further, in Patent Document 2, by determining the key range to which the key corresponding to the key information generated by the key press belongs, and changing the desired octave amount of the key information generated in this key range based on the determination result, There is disclosed a configuration in which a portion in which pitches of musical sounds generated in at least two key ranges overlap is generated.
Further, in Patent Document 3, when the keyboard is divided into two key ranges, the original octave value of the key located in the center of the first key range and the reference tone range of the tone set in the first key range are described. A configuration is disclosed in which a reference tone range for each timbre is arranged approximately at the center of each key range by calculating an octave shift amount based on the octave value.
Japanese Patent No. 3586754 Japanese Examined Patent Publication No. 62-35118 JP 2000-194369 A

このように、デュエットモードにした場合は、ひとつの鍵盤を複数の鍵域に分けて別々の演奏者が演奏することになるので、あたかも各演奏者が別々の鍵盤楽器を演奏しているかのような効果が生じることが好ましい。
しかしながら、従来の装置においては、デュエットモードに切り替えたとしても、その演奏により生成される楽音は、装置本体に設けられたスピーカ等の発音装置に同じ形式、例えばステレオ形式で供給されるだけであり、これだと、どうしても、ひとつの楽器を複数の演奏者が演奏しているようにしか感じることができない。
本発明は、このような事情に鑑みてなされたものであり、いわゆるデュエットモードにした場合は、あたかも各演奏者が別々の楽器を演奏しているかのような効果を生じさせるようにすることを目的とする。
In this way, when the duet mode is selected, a single keyboard is divided into multiple key ranges and different performers play, as if each performer is playing a separate keyboard instrument. It is preferable that an advantageous effect occurs.
However, in the conventional apparatus, even if the mode is switched to the duet mode, the musical sound generated by the performance is only supplied to the sound generation device such as a speaker provided in the apparatus main body in the same format, for example, the stereo format. In this case, I can only feel as if multiple players are playing a single instrument.
The present invention has been made in view of such circumstances, and in the so-called duet mode, it is possible to produce an effect as if each player is playing a separate instrument. Objective.

上記目的を達成するため、請求項1に記載の発明では、夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、外部よりノーマルモード及びデュエットモードのいずれか一方を指定するモード指定手段と、前記鍵盤の鍵域に対応して設けられ、入力された鍵番号に基づく音高の楽音信号を生成して出力する複数の楽音生成手段と、前記鍵盤のいずれかの鍵が押鍵されて鍵番号が指定された場合、このモード指定手段によりノーマルモードが指定されているときはこの指定された鍵番号を、前記押鍵された鍵が属する鍵域に対応する前記楽音生成手段にそのまま出力するとともに、デュエットモードが指定されているときは、前記押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、前記指定された鍵番号を変更して、前記押鍵された鍵が属する鍵域に対応する前記楽音生成手段に出力するオクターブ変更手段と、前記複数の楽音発生手段から夫々生成された楽音信号を、前記モード指定手段によりノーマルモードが指定されているときは接続される複数の発音手段にステレオ信号として出力させるとともに、前記デュエットモードが指定されているときは前記複数の発音手段夫々にモノラル信号として出力する出力制御手段と、を有することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, there is provided a keyboard having a plurality of keys to which key numbers for designating the pitches of musical sounds to be pronounced are sequentially assigned, and a normal mode and a duet from the outside. A mode designating unit for designating any one of the modes, a plurality of musical tone generating units provided corresponding to the key range of the keyboard, and generating and outputting a musical signal of a pitch based on the input key number; When any key on the keyboard is pressed and a key number is specified, when the normal mode is specified by the mode specifying means, the specified key number belongs to the specified key number. While outputting as it is to the musical tone generation means corresponding to the key range, and when the duet mode is designated, the octave portion set in advance corresponding to the key range to which the pressed key belongs, Octave changing means for changing the designated key number and outputting to the musical tone generating means corresponding to the key range to which the pressed key belongs, and musical tone signals respectively generated from the plurality of musical tone generating means. When the normal mode is designated by the mode designating means, a plurality of connected sounding means are output as stereo signals, and when the duet mode is designated, each of the plurality of sounding means is output as a monaural signal. Output control means for outputting.

また、請求項1に従属する請求項2に記載の発明では、前記複数の発音手段の夫々は前記鍵盤の鍵域に対応して設けられ、前記出力制御手段は、前記モード指定手段によりデュエットモードが指定されているときに、鍵域毎に設けられている楽音生成手段からの楽音信号を対応する発音手段に供給するように制御することを特徴とする。   In the invention according to claim 2, which is dependent on claim 1, each of the plurality of sound generating means is provided corresponding to a key range of the keyboard, and the output control means is controlled by the mode specifying means. Is specified, the musical tone signal from the musical tone generating means provided for each key range is controlled to be supplied to the corresponding sounding means.

また、請求項1に従属する請求項3に記載の発明では、前記出力制御手段は、前記複数の楽音生成手段からの楽音信号を混合するミキサと、前記複数の楽音生成手段夫々に対応して設けられ、前記各楽音生成手段からの出力と前記ミキサからの出力とのいずれか一方の出力を、供給される選択信号に基づいて選択して前記発音手段に供給する複数のセレクタと、前記複数のセレクタに対して選択信号を供給するコントローラと、から成ることを特徴とする。   Further, in the invention according to claim 3 that is dependent on claim 1, the output control means corresponds to each of the mixer that mixes the tone signals from the plurality of tone generation means and the plurality of tone generation means. A plurality of selectors provided to select one of the outputs from the musical tone generation means and the output from the mixer based on a selection signal supplied thereto and to supply the sound generation means; And a controller for supplying a selection signal to the selector.

上記発明によれば、ノーマルモードである場合は、複数の発音装置にステレオ信号として出力させるとともに、デュエットモードである場合はこの複数の発音手段夫々にモノラル信号として出力するようにしたため、デュエットモードの場合は、夫々の演奏者の演奏による楽音が異なる発音装置から出力されるようになり、あたかも各演奏者が別々の楽器を演奏しているかのような効果を生じさせることができる。   According to the above invention, in the normal mode, a plurality of sounding devices are output as stereo signals, and in the duet mode, each of the sounding means is output as a monaural signal. In this case, the musical sound produced by each performer is output from different sounding devices, and it is possible to produce an effect as if each performer is playing a different instrument.

以下、本発明の実施形態について説明する。
図1は、本発明を適用した電子鍵盤楽器の外観図である。
楽器本体には、88鍵を有する鍵盤1、ノーマルモードとデュエットモードに切り替えるデュエットスイッチ2a、楽音の音量(音像定位)を制御するボリウムスイッチ2bを有する。さらに楽器本体の左右端部には夫々スピーカ3a、3bが設けられている。
Hereinafter, embodiments of the present invention will be described.
FIG. 1 is an external view of an electronic keyboard instrument to which the present invention is applied.
The instrument body has a keyboard 1 having 88 keys, a duet switch 2a for switching between the normal mode and the duet mode, and a volume switch 2b for controlling the sound volume (sound image localization). Furthermore, speakers 3a and 3b are provided at the left and right ends of the instrument body, respectively.

鍵盤1の各鍵には、ノーマルモードにおいては、MIDI NOTE番号21〜108が割り当てられ、夫々A0〜C8までの音高を指定するように構成される。
一方、デュエットモードにおいて、スプリットポイントの位置より低鍵域に含まれる39鍵には、MIDI NOTE番号45〜83が割り当てられ、夫々A2〜B5までの音高を指定するように構成される。また、スプリットポイントの位置より高鍵域に含まれる49鍵には、MIDI NOTE番号36〜84が割り当てられ、夫々C2〜C6までの音高を指定するように構成される。
In the normal mode, MIDI NOTE numbers 21 to 108 are assigned to the keys of the keyboard 1, and the pitches A0 to C8 are designated.
On the other hand, in the duet mode, 39 notes included in the lower key range than the position of the split point are assigned MIDI NOTE numbers 45 to 83, and are configured to designate pitches from A2 to B5, respectively. Also, MIDI NOTE numbers 36 to 84 are assigned to 49 keys included in the high key range from the position of the split point, and are configured to designate pitches from C2 to C6, respectively.

図2は、本実施形態に係る電子鍵盤楽器の構成を示すブロック図である。
CPU10は、この電子鍵盤楽器全体の動作を処理するものであり、プログラムROM11は、このCPU10の処理を制御するためのプログラムを記憶するものである。またワークRAM12は、CPU10の処理時にデータを一時的に記憶するためのものである。
FIG. 2 is a block diagram showing the configuration of the electronic keyboard instrument according to this embodiment.
The CPU 10 processes the entire operation of the electronic keyboard instrument, and the program ROM 11 stores a program for controlling the processing of the CPU 10. The work RAM 12 is for temporarily storing data during processing by the CPU 10.

音源13a及び13bは、前述の鍵盤1のいずれかの鍵の押鍵・離鍵に基づいてCPU10で生成されたノートオン・ノートオフイベントが供給されると、これらイベントに基づいた音高の楽音信号を生成する。ここでは音源13aは、スプリットポイント位置(ノーマルモードで鍵番号「60」に対応する位置)より低鍵域に含まれる鍵の押鍵に対応して楽音を生成し、音源13bは、スプリット位置より高鍵域に含まれる鍵の押鍵に対応して楽音を生成するように割り当てられている。
この音源13a及び13bにより生成された楽音信号は出力制御部14に供給される。
When the tone generators 13a and 13b are supplied with note-on / note-off events generated by the CPU 10 based on key press / release of any key of the keyboard 1, the musical tone having a pitch based on these events is supplied. Generate a signal. Here, the sound source 13a generates a musical sound corresponding to the key depression included in the lower key range from the split point position (the position corresponding to the key number “60” in the normal mode), and the sound source 13b is generated from the split position. It is assigned so as to generate a musical sound corresponding to the key depression included in the high key range.
The musical tone signals generated by the sound sources 13a and 13b are supplied to the output control unit 14.

出力制御部14は、CPU10からの制御に基づき、ノーマルモードの場合は音源13a及び13bの両方からの楽音信号をスピーカ3a及び3bの両方を用いてステレオ出力し、デュエットモードの場合は音源13aからの楽音信号はスピーカ3aのみから、音源13bからの楽音信号はスピーカ3bのみから出力するように構成されている。またこの出力制御部14は、スピーカ3a及び3bから発生される楽音の音量も制御する。   Based on the control from the CPU 10, the output control unit 14 outputs the tone signals from both the sound sources 13a and 13b in stereo using the speakers 3a and 3b in the normal mode, and from the sound source 13a in the duet mode. The musical tone signal is output from only the speaker 3a, and the musical tone signal from the sound source 13b is output only from the speaker 3b. The output control unit 14 also controls the volume of musical sounds generated from the speakers 3a and 3b.

そしてCPU10、プログラムROM11、ワークRAM12、音源13a及び13b、出力制御部14、さらには前述の鍵盤1及びデュエットスイッチ2aやボリウムスイッチ2b等を含むスイッチ部2は、バスライン15を介して接続される。   The CPU 10, the program ROM 11, the work RAM 12, the sound generators 13 a and 13 b, the output control unit 14, and the switch unit 2 including the keyboard 1 and the duet switch 2 a and the volume switch 2 b are connected via a bus line 15. .

図3は、出力制御部14の詳細な構成を示すブロック図である。
音源13a及び13bの出力信号はミキサ14aに入力されるとともに、夫々セレクタ14b、14cに入力している。さらにこのセレクタ14b、14c両方にミキサ14aの出力信号も入力している。
セレクタ14bの出力はアンプ14dを介してスピーカ3aに供給され、セレクタ14cの出力はアンプ14eを介してスピーカ3bに供給される。
FIG. 3 is a block diagram showing a detailed configuration of the output control unit 14.
The output signals of the sound sources 13a and 13b are input to the mixer 14a and to the selectors 14b and 14c, respectively. Further, the output signal of the mixer 14a is also input to both the selectors 14b and 14c.
The output of the selector 14b is supplied to the speaker 3a via the amplifier 14d, and the output of the selector 14c is supplied to the speaker 3b via the amplifier 14e.

コントローラ14fは、CPU10により制御され、両セレクタ14b、14cが入力される信号のいずれかを選択するかの選択信号SELを出力する。 ここにおいては、SELが「1」の場合は、音源13a及び13bからの出力信号を選択し、「0」の場合は、ミキサ14aの出力信号を選択する。さらにコントローラ14fは、アンプ14d及び14eの増幅度を制御する信号VOL1、VOL2を出力する。デュエットモードの場合は信号VOL1、2を設定された値とし、ノーマルモードにおいては、信号VOL1に設定値、信号VOL2に最大値(設定可能な最大増幅度)と設定値との差分値が設定される。   The controller 14f is controlled by the CPU 10 and outputs a selection signal SEL for selecting one of the signals input to the selectors 14b and 14c. Here, when SEL is “1”, the output signals from the sound sources 13a and 13b are selected, and when “SEL” is “0”, the output signal of the mixer 14a is selected. Further, the controller 14f outputs signals VOL1 and VOL2 that control the amplification degrees of the amplifiers 14d and 14e. In the duet mode, the signals VOL1 and VOL2 are set to the set values, and in the normal mode, the signal VOL1 is set to a set value, and the signal VOL2 is set to a difference value between the maximum value (settable maximum amplification factor) and the set value. The

このような構成を有することにより、CPU10は、デュエットスイッチ2aの操作に対応してノーマルモードかデュエットモードか判別して、デュエットモードに切り替わった場合は、音源13aからの楽音信号はスピーカ3aのみから、音源13bからの楽音信号はスピーカ3bのみから出力させ、ノーマルモードの場合は音源13a及び13b両方からの楽音信号をスピーカ3a及び3bの両方を用いてステレオ出力するように構成されている。   By having such a configuration, the CPU 10 determines whether the mode is the normal mode or the duet mode in response to the operation of the duet switch 2a, and when the mode is switched to the duet mode, the tone signal from the sound source 13a is only from the speaker 3a. The tone signal from the sound source 13b is output from only the speaker 3b, and in the normal mode, the tone signal from both the sound source 13a and 13b is output in stereo using both the speakers 3a and 3b.

図4は、CPU10の処理動作全体を示すフローチャートである。
電源(図示せず)がオンされると、CPU10の内部レジスタ及びワークRAM12を初期化するイニシャライズ処理(ステップA0)を実行する。次いで外部より操作されたスイッチに対応するスイッチ処理(ステップA1)、鍵盤1に対応する押鍵・離鍵に対応する鍵盤処理(ステップA2)、そしてその他の処理(ステップA3)の順で実行される。このうち、ステップA1〜A3は、電源がオフされるまで繰り返し実行される。
FIG. 4 is a flowchart showing the entire processing operation of the CPU 10.
When a power supply (not shown) is turned on, an initialization process (step A0) for initializing the internal registers of the CPU 10 and the work RAM 12 is executed. Next, switch processing (step A1) corresponding to the switch operated from the outside, keyboard processing corresponding to key depression / key release corresponding to keyboard 1 (step A2), and other processing (step A3) are executed in this order. The Among these, steps A1 to A3 are repeatedly executed until the power is turned off.

図5は、スイッチ処理(図3のステップA1)の詳細なフローチャートを示す。
まず、デュエットスイッチ2aが外部操作によりオンとなったか否か判別する(ステップB1)。デュエットスイッチ2aがオンならば、デュエットモードか否かを判別するデュエットフラグDFを反転させる(ステップB2)。そしてこのフラグDFが「1」であるか否か判別する(ステップB3)。ここで、フラグDFが「1」、つまりデュエットモードの場合は、選択信号SELを「1」にする(ステップB4)。逆にフラグDFが「0」、つまりノーマルモードである場合は、選択信号SELを「0」にする(ステップB5)。これらの処理の後、ステップB6に進むが、ステップB1においてデュエットスイッチ2aがオンでないと判別されたときも、直接このステップB6に進む。
FIG. 5 shows a detailed flowchart of the switch process (step A1 in FIG. 3).
First, it is determined whether or not the duet switch 2a is turned on by an external operation (step B1). If the duet switch 2a is on, the duet flag DF for determining whether or not the duet mode is set is reversed (step B2). Then, it is determined whether or not the flag DF is “1” (step B3). Here, when the flag DF is “1”, that is, in the duet mode, the selection signal SEL is set to “1” (step B4). Conversely, when the flag DF is “0”, that is, in the normal mode, the selection signal SEL is set to “0” (step B5). After these processes, the process proceeds to step B6. However, if it is determined in step B1 that the duet switch 2a is not on, the process directly proceeds to step B6.

ステップB6においては、ボリウムスイッチ2bが操作されたか否か判別する。そしてここでボリウムスイッチ2bが操作された場合は、フラグDFが「1」であるか否か判別される(ステップB7)。ここで、フラグDFが「1」、つまりデュエットモードの場合は、信号VOL1、2にボリウムスイッチ2bの操作にて設定された値が設定される(ステップB8、B9)。
逆にフラグDFが「0」、つまりノーマルモードである場合は、信号VOL1に設定値、信号VOL2に最大値と設定値(VOL1の値)との差分値が設定される(ステップB10、B11)。このVOL1、2が設定された後、またはステップB6において、ボリウムスイッチ2bが操作されていないと判別されると、その他のスイッチ処理(ステップB12)を実行してこの処理は終了する。
In step B6, it is determined whether or not the volume switch 2b has been operated. When the volume switch 2b is operated here, it is determined whether or not the flag DF is “1” (step B7). Here, when the flag DF is “1”, that is, in the duet mode, the values set by the operation of the volume switch 2b are set in the signals VOL1 and VOL2 (steps B8 and B9).
Conversely, when the flag DF is “0”, that is, in the normal mode, a set value is set for the signal VOL1, and a difference value between the maximum value and the set value (the value of VOL1) is set for the signal VOL2 (steps B10 and B11). . After the VOLs 1 and 2 are set, or when it is determined in step B6 that the volume switch 2b has not been operated, other switch processing (step B12) is executed, and this processing ends.

この処理により、出力制御部14は、フラグDFが「1」、つまりデュエットモードの場合は、選択信号SELが「1」になることにより、セレクタ14b、14cは音源13a及び13bからの出力信号を選択する。アンプ14dは、この選択された音源13aの信号をボリウムスイッチ2bからの設定値に基づいて増幅してスピーカ3aに供給する。またアンプ14eは音源13bの信号を、ボリウムスイッチ2bからの設定値に基づいて増幅してスピーカ3bに供給する。これによりデュエットモードにおいては、音源13aからの楽音信号はスピーカ3aのみから、音源13bからの楽音信号はスピーカ3bのみから出力させる。   By this processing, the output control unit 14 causes the selectors 14b and 14c to output the output signals from the sound sources 13a and 13b when the flag DF is “1”, that is, in the duet mode, the selection signal SEL is “1”. select. The amplifier 14d amplifies the signal of the selected sound source 13a based on the set value from the volume switch 2b and supplies the amplified signal to the speaker 3a. The amplifier 14e amplifies the signal of the sound source 13b based on the set value from the volume switch 2b and supplies the amplified signal to the speaker 3b. Thus, in the duet mode, the tone signal from the sound source 13a is output from only the speaker 3a, and the tone signal from the sound source 13b is output from only the speaker 3b.

また、フラグDFが「0」、つまりノーマルモードの場合は、選択信号SELが「0」になることにより、セレクタ14b、14cはミキサ14aからの出力信号を選択する。アンプ14dは、このミキサ14aの信号をボリウムスイッチ2bからの設定値に基づいて増幅してスピーカ3aに供給する一方、アンプ14eはミキサ14aの信号を、ボリウムスイッチ2bにて設定可能な最大の値とボリウムスイッチ2bからの設定値との差分値に基づいて増幅してスピーカ3bに供給する。
これによりノーマルモードにおいては、音源13a及び13b両方からの楽音信号をスピ一カ3a及び3bの両方を用いてステレオ出力する。
When the flag DF is “0”, that is, in the normal mode, the selection signal SEL becomes “0”, so that the selectors 14b and 14c select the output signal from the mixer 14a. The amplifier 14d amplifies the signal of the mixer 14a based on the set value from the volume switch 2b and supplies the amplified signal to the speaker 3a, while the amplifier 14e supplies the maximum value that can be set by the volume switch 2b. And a set value from the volume switch 2b are amplified and supplied to the speaker 3b.
As a result, in the normal mode, the musical sound signals from both the sound sources 13a and 13b are output in stereo using both the speakers 3a and 3b.

図6及び図7は、鍵盤処理(図3のステップA2)の詳細なフローチャートを示す。
まず、鍵盤1を走査する(ステップC1)。この走査により、鍵のいずれかに状態の変化があったか否か判別する(ステップC2)。もし変化がないと判別されたなら、この処理は終了する。
6 and 7 show a detailed flowchart of the keyboard process (step A2 in FIG. 3).
First, the keyboard 1 is scanned (step C1). By this scanning, it is determined whether or not the state of any of the keys has changed (step C2). If it is determined that there is no change, the process ends.

一方、鍵の状態変化がオフからオンに変化(押鍵)した場合、変化の検出された鍵の鍵番号をレジスタNにストアする(ステップC3)。続いてこのレジスタNに記憶された鍵番号がスプリットポイント位置に対応する鍵の鍵番号である「60」以上であるか否か判別する(ステップC4)。ここで「60」以上であると判別されたときは、デュエットフラグDFが「1」、つまりデュエットモードか否か判別される(ステップC5)。ここでデュエットモードであると判別されたなら、レジスタNにストアされている鍵番号から「24」を減算する(ステップC6)。この後、レジスタNにストアされた鍵番号に基づくノートオンコマンドを作成して(ステップC7)、音源13bに送付する(ステップC8)。   On the other hand, when the key state change is changed from OFF to ON (key pressing), the key number of the detected key is stored in the register N (step C3). Subsequently, it is determined whether or not the key number stored in the register N is equal to or greater than “60”, which is the key number of the key corresponding to the split point position (step C4). If it is determined that the value is “60” or more, it is determined whether or not the duet flag DF is “1”, that is, the duet mode (step C5). If it is determined that the mode is the duet mode, “24” is subtracted from the key number stored in the register N (step C6). Thereafter, a note-on command based on the key number stored in the register N is created (step C7) and sent to the sound source 13b (step C8).

また、ステップC4において、「60」未満であると判別されたときは、デュエットフラグDFが「1」、つまりデュエットモードか否か判別される(ステップC99)。ここでデュエットモードであると判別されたなら、レジスタNにストアされている鍵番号に「24」を加算する(ステップC10)。この後、レジスタNにストアされた鍵番号に基づくノートオンコマンドを作成して(ステップC11)、音源13aに送付する(ステップC12)。音源13a、13bは、送付されたこれらのノートオンコマンドに基づいて楽音の生成を行う。   If it is determined in step C4 that it is less than “60”, it is determined whether or not the duet flag DF is “1”, that is, the duet mode (step C99). If it is determined that the mode is the duet mode, “24” is added to the key number stored in the register N (step C10). Thereafter, a note-on command based on the key number stored in the register N is created (step C11) and sent to the sound source 13a (step C12). The sound sources 13a and 13b generate music based on these sent note-on commands.

また、ステップC2において、オンからオフに変化(離鍵)したことを判別した場合は、図7のステップC13に進み、変化の検出された鍵の鍵番号をレジスタNにストアする。続いてこのレジスタNに記憶された鍵番号がスプリットポイント位置に対応する鍵の鍵番号である「60」以上であるか否か判別する(ステップC14)。ここで「60」以上であると判別されたときは、デュエットフラグDFが「1」、つまりデュエットモードか否か判別される(ステップC15)。ここでデュエットモードであると判別されたなら、レジスタNにストアされている鍵番号から「24」を減算する(ステップC16)。この後、レジスタNにストアされた鍵番号に基づくノートオフコマンドを作成して(ステップC17)、音源13bに送付する(ステップC18)。   If it is determined in step C2 that the key has been changed from on to off (key release), the process proceeds to step C13 in FIG. 7 and the key number of the detected key is stored in the register N. Subsequently, it is determined whether or not the key number stored in the register N is equal to or greater than “60”, which is the key number of the key corresponding to the split point position (step C14). If it is determined that the value is “60” or more, it is determined whether or not the duet flag DF is “1”, that is, the duet mode (step C15). If it is determined that the mode is the duet mode, “24” is subtracted from the key number stored in the register N (step C16). Thereafter, a note-off command based on the key number stored in the register N is created (step C17) and sent to the sound source 13b (step C18).

また、ステップC14において、「60」未満であると判別されたときは、デュエットフラグDFが「1」、つまりデュエットモードか否か判別される(ステップC19)。ここでデュエットモードであると判別されたなら、レジスタNにストアされている鍵番号に「24」を加算する(ステップC20)。この後、レジスタNにストアされた鍵番号に基づくノートオフコマンドを作成して(ステップC21)、音源13aに送付する(ステップC22)。音源13a、13bは、送付されたこれらのノートオフコマンドに基づいて楽音の消音を行う。   If it is determined in step C14 that it is less than “60”, it is determined whether or not the duet flag DF is “1”, that is, the duet mode (step C19). If it is determined that the mode is the duet mode, “24” is added to the key number stored in the register N (step C20). Thereafter, a note-off command based on the key number stored in the register N is created (step C21) and sent to the sound source 13a (step C22). The sound sources 13a and 13b mute the musical tone based on these sent note-off commands.

このように本実施形態においては、ノーマルモードにおいては、音源13a、13bにて生成された楽音をスピーカ3a、3bを用いてステレオ形式で出力するが、デュエットモードの場合は、低鍵域での演奏による楽音はスピーカ3aから、高鍵域での演奏による楽音はスピーカ3bから出力されるため、あたかも各演奏者が別々の楽器を演奏しているかのような効果が生じる。   As described above, in the present embodiment, in the normal mode, the musical sound generated by the sound sources 13a and 13b is output in a stereo format using the speakers 3a and 3b, but in the duet mode, in the low key range. Musical sounds due to performance are output from the speaker 3a, and musical sounds due to performance in a high key range are output from the speaker 3b, so that the effect is as if each performer is playing a separate instrument.

本発明を適用した電子鍵盤楽器の外観図である。1 is an external view of an electronic keyboard instrument to which the present invention is applied. 図1の電子鍵盤楽器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic keyboard instrument of FIG. 図2の出力制御部14の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the output control part 14 of FIG. CPU10の処理全体を示したフローチャートである。It is the flowchart which showed the whole process of CPU10. 図4のSW処理(ステップA1)の詳細なフローチャートである。It is a detailed flowchart of SW processing (step A1) of FIG. 図4の鍵盤処理(ステップA2)の詳細なフローチャートである(一部)。FIG. 5 is a detailed flowchart (part) of the keyboard process (step A2) in FIG. 図4の鍵盤処理(ステップA2)の詳細なフローチャートである(続き)。FIG. 5 is a detailed flowchart of the keyboard process (step A2) in FIG. 4 (continued).

符号の説明Explanation of symbols

1 鍵盤
2a デュエットスイッチ
3a、3b スピーカ
10 CPU
11 プログラムROM
12 ワークRAM
13a、13b 音源
14 出力制御部
1 Keyboard 2a Duet Switch 3a, 3b Speaker 10 CPU
11 Program ROM
12 Work RAM
13a, 13b Sound source 14 Output controller

Claims (3)

夫々発音すべき楽音の音高を指定するための鍵番号が順次割り当てられた複数の鍵を有する鍵盤と、
外部よりノーマルモード及びデュエットモードのいずれか一方を指定するモード指定手段と、
前記鍵盤の鍵域に対応して設けられ、入力された鍵番号に基づく音高の楽音信号を生成して出力する複数の楽音生成手段と、
前記鍵盤のいずれかの鍵が押鍵されて鍵番号が指定された場合、このモード指定手段によりノーマルモードが指定されているときはこの指定された鍵番号を、前記押鍵された鍵が属する鍵域に対応する前記楽音生成手段にそのまま出力するとともに、デュエットモードが指定されているときは、前記押鍵された鍵が属する鍵域に対応して予め設定されたオクターブ分、前記指定された鍵番号を変更して、前記押鍵された鍵が属する鍵域に対応する前記楽音生成手段に出力するオクターブ変更手段と、
前記複数の楽音発生手段から夫々生成された楽音信号を、前記モード指定手段によりノーマルモードが指定されているときは接続される複数の発音手段にステレオ信号として出力させるとともに、前記デュエットモードが指定されているときは前記複数の発音手段夫々にモノラル信号として出力する出力制御手段と、
を有する演奏装置。
A keyboard having a plurality of keys sequentially assigned with key numbers for designating the pitches of musical notes to be pronounced,
Mode designation means for designating either normal mode or duet mode from the outside,
A plurality of musical tone generating means provided corresponding to the key range of the keyboard, and generating and outputting a musical tone signal having a pitch based on the input key number;
When any key on the keyboard is pressed and a key number is specified, when the normal mode is specified by the mode specifying means, the specified key number belongs to the specified key number. When the duet mode is designated, the musical tone generating means corresponding to the key range is output as it is, and the designated octave corresponding to the key range to which the depressed key belongs is specified. Octave changing means for changing the key number and outputting to the musical sound generating means corresponding to the key range to which the depressed key belongs;
When the normal mode is designated by the mode designating means, the tone signals generated from the plurality of music sound producing means are output as stereo signals to the connected sound producing means, and the duet mode is designated. Output control means for outputting to each of the plurality of sound generation means as a monaural signal,
A performance device having
前記複数の発音手段の夫々は前記鍵盤の鍵域に対応して設けられ、
前記出力制御手段は、前記モード指定手段によりデュエットモードが指定されているときに、鍵域毎に設けられている楽音生成手段からの楽音信号を対応する発音手段に供給するように制御する請求項1記載の演奏装置。
Each of the plurality of sounding means is provided corresponding to the key range of the keyboard,
The output control means controls so as to supply a tone signal from a tone generation means provided for each key range to a corresponding tone generation means when a duet mode is designated by the mode designation means. The performance device according to 1.
前記出力制御手段は、
前記複数の楽音生成手段からの楽音信号を混合するミキサと、
前記複数の楽音生成手段夫々に対応して設けられ、前記各楽音生成手段からの出力と前記ミキサからの出力とのいずれか一方の出力を、供給される選択信号に基づいて選択して前記発音手段に供給する複数のセレクタと、
前記複数のセレクタに対して選択信号を供給するコントローラと、
から成る請求項1記載の演奏装置。
The output control means includes
A mixer for mixing musical sound signals from the plurality of musical sound generating means;
Provided corresponding to each of the plurality of musical sound generating means, and selecting either one of the output from each musical sound generating means and the output from the mixer based on a supplied selection signal to generate the sound A plurality of selectors for supplying means;
A controller for supplying a selection signal to the plurality of selectors;
The performance device according to claim 1, comprising:
JP2008070729A 2008-03-19 2008-03-19 Music player Pending JP2009223257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008070729A JP2009223257A (en) 2008-03-19 2008-03-19 Music player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008070729A JP2009223257A (en) 2008-03-19 2008-03-19 Music player

Publications (1)

Publication Number Publication Date
JP2009223257A true JP2009223257A (en) 2009-10-01

Family

ID=41240055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008070729A Pending JP2009223257A (en) 2008-03-19 2008-03-19 Music player

Country Status (1)

Country Link
JP (1) JP2009223257A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113272891A (en) * 2019-01-22 2021-08-17 雅马哈株式会社 Musical performance system, musical performance mode setting method, and musical performance mode setting device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6384195U (en) * 1986-11-21 1988-06-02
JPH0323499A (en) * 1989-06-20 1991-01-31 Toshiba Corp Artifical stereophonic musical sound reproducing device
JPH06332446A (en) * 1993-05-25 1994-12-02 Casio Comput Co Ltd Controller for setting sound image at normal position
JP2006163119A (en) * 2004-12-09 2006-06-22 Roland Corp Electronic musical instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6384195U (en) * 1986-11-21 1988-06-02
JPH0323499A (en) * 1989-06-20 1991-01-31 Toshiba Corp Artifical stereophonic musical sound reproducing device
JPH06332446A (en) * 1993-05-25 1994-12-02 Casio Comput Co Ltd Controller for setting sound image at normal position
JP2006163119A (en) * 2004-12-09 2006-06-22 Roland Corp Electronic musical instrument

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113272891A (en) * 2019-01-22 2021-08-17 雅马哈株式会社 Musical performance system, musical performance mode setting method, and musical performance mode setting device
CN113272891B (en) * 2019-01-22 2024-02-27 雅马哈株式会社 Performance system, performance mode setting method, and performance mode setting device

Similar Documents

Publication Publication Date Title
JP5041015B2 (en) Electronic musical instrument and musical sound generation program
JP2018146876A (en) Electronic musical instrument, sound production control method, and program
US8026437B2 (en) Electronic musical instrument generating musical sounds with plural timbres in response to a sound generation instruction
JPH0228696A (en) Electronic musical instrument
JPH096350A (en) Effect adding device and electronic musical instrument using the same
WO2014025041A1 (en) Device and method for pronunciation allocation
JP4548292B2 (en) Sound source setting device and sound source setting program
JP4962592B2 (en) Electronic musical instruments and computer programs applied to electronic musical instruments
JP2009223257A (en) Music player
JP4556852B2 (en) Electronic musical instruments and computer programs applied to electronic musical instruments
JP4268920B2 (en) Electronic musical instruments
JP5470728B2 (en) Performance control apparatus and performance control processing program
JP5707691B2 (en) Electronic keyboard instrument
JP5198093B2 (en) Electronic musical sound generator
JP5560574B2 (en) Electronic musical instruments and automatic performance programs
JP6410345B2 (en) Sound preview apparatus and program
JP2006039262A (en) Effect imparting apparatus and method therefor
JP2005189793A (en) Electronic musical instrument
JP4192952B2 (en) Mobile phone
JP5640308B2 (en) Performance device and performance processing program
JP2009186632A (en) Temperament control method, computer program for controlling temperament, and temperament control device
JP2009025503A (en) Electronic musical instrument
JP5347289B2 (en) Performance device and performance processing program
JP3105132B2 (en) Tone generator for electronic musical instruments
JP5983624B6 (en) Apparatus and method for pronunciation assignment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110816

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120821