JP2007264653A - Electronic musical device - Google Patents

Electronic musical device Download PDF

Info

Publication number
JP2007264653A
JP2007264653A JP2007153564A JP2007153564A JP2007264653A JP 2007264653 A JP2007264653 A JP 2007264653A JP 2007153564 A JP2007153564 A JP 2007153564A JP 2007153564 A JP2007153564 A JP 2007153564A JP 2007264653 A JP2007264653 A JP 2007264653A
Authority
JP
Japan
Prior art keywords
music
value
light
peak value
operation space
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
JP2007153564A
Other languages
Japanese (ja)
Inventor
Shigeru Takahashi
茂 高橋
Akira Matsui
朗 松井
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.)
Roland Corp
Original Assignee
Roland Corp
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 Roland Corp filed Critical Roland Corp
Priority to JP2007153564A priority Critical patent/JP2007264653A/en
Publication of JP2007264653A publication Critical patent/JP2007264653A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable an electronic musical device which performs various musical controls for surely performing desired musical control and further, perform various musical controls by variously changing the state of motion of the object in an operation space. <P>SOLUTION: The electronic musical device which instructs musical controls, corresponding to the state of motion of the object moving the predetermined operation space, is equipped with an optical means which has at least one light source which irradiates light into the operation space and at least one light sensor which receives light which has been reflected by an object in the operation space so that it has at least two light paths which reach from the light source to the light sensor via the object, with the detection values being output, according to the quantity of light received via the respective light path; a signal generating means of generating music; and a musical controller which controls the musical generated by the signal generating means, when the correlation between the current values of the detection values of the various paths satisfies specified relations. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、空間内で手などを移動させることでその移動態様に応じた各種の音楽制御を行うことができる電子音楽装置に関するものである。本発明に係る電子音楽装置は、例えば電子楽器等において音楽制御を行うことなどに利用できる。ここで、本発明の電子音楽装置は、電子楽器、楽音生成装置、楽音変更装置、あるいはこれらの制御装置であり、例えば、シンセサイザ、キーボード、ドラムマシン、エフェクトプロセッサ、エフェクトペダル、シーケンサおよび音源モジュールなどを含むものである。   The present invention relates to an electronic music apparatus capable of performing various types of music control according to the movement mode by moving a hand or the like in a space. The electronic music apparatus according to the present invention can be used for performing music control in an electronic musical instrument, for example. Here, the electronic music device of the present invention is an electronic musical instrument, a musical sound generating device, a musical sound changing device, or a control device thereof, such as a synthesizer, a keyboard, a drum machine, an effect processor, an effect pedal, a sequencer, and a tone generator module. Is included.

従来、所定の空間内における手などの動きを光学的に検出して操作指示を行う非接触式の電子音楽装置が知られている。このものは、空間内に光を照射する一つの光源(赤外線発光ダイオードなど)と、その空間内に手が進入したときにその手で反射された光源の光を受光する一つの受光素子(赤外線センサなど)とを一対にして設け、受光器に手からの反射光が受光されたら、その受光量があるしきい値を超えたときに、所定の操作の指示をONにし、しきい値以下である場合にはOFFにするというスイッチ的な制御を行うものである。   2. Description of the Related Art Conventionally, there is known a non-contact type electronic music apparatus that optically detects a movement of a hand or the like in a predetermined space and gives an operation instruction. This device has one light source (infrared light emitting diode, etc.) that irradiates light into the space and one light receiving element (infrared light) that receives light from the light source reflected by the hand when the hand enters the space. When the reflected light from the hand is received by the light receiver, when the amount of received light exceeds a certain threshold value, the predetermined operation instruction is turned on and the threshold value is not exceeded. In this case, switch-like control is performed to turn it off.

上述した従来の非接触式の電子音楽装置は、光源からの照射光ビームの強度分布は例えば図26に示すようなものになる。この場合、手を光源の真上にかざした場合と横側につけた場合とでは、同じ高さでも受光器に受光される受光量は異なったものになる。したがって、受光量が所定のしきい値を超えるか否かでオン/オフの操作指示を行おうとする場合、単純に手の高さだけを目安にして操作指示を行うとすると、誤動作をさせてしまう可能性が高い。すなわち、この種の従来の電子音楽装置は、どの程度手をセンサに近づけたらスイッチONまたはスイッチOFFされるかを操作者が認識しにくく、よって音楽制御の操作指示を安定的に行えないという問題点がある。また、操作指示の内容としても、ある音楽制御を行うか否か、すなわち所定の一つの処理についてのオンかオフかの2値的な制御しか行えなかった。   In the conventional non-contact type electronic music apparatus described above, the intensity distribution of the irradiation light beam from the light source is as shown in FIG. In this case, the amount of light received by the light receiver is different between the case where the hand is placed directly above the light source and the case where the hand is placed on the side, even at the same height. Therefore, if an on / off operation instruction is to be made depending on whether or not the amount of received light exceeds a predetermined threshold, if the operation instruction is simply made using only the height of the hand as a guide, a malfunction will occur. There is a high possibility of end. That is, the conventional electronic music apparatus of this type has a problem that it is difficult for an operator to recognize how much a hand is brought close to a sensor and whether the switch is turned on or off. There is a point. Further, as the contents of the operation instruction, only binary control of whether or not to perform certain music control, that is, ON or OFF for a predetermined one process can be performed.

本発明は、かかる問題点に鑑みてなされたものであり、操作空間内で物体を移動させることにより所望の音楽制御を確実に行うことができるようにし、さらには物体の移動態様を種々変えることで種々の内容の音楽制御も行えるようにすることを目的とする。   The present invention has been made in view of such problems, and enables desired music control to be reliably performed by moving an object in an operation space, and further various changes in the movement mode of the object. The purpose is to enable music control of various contents.

上述の課題を解決するために、本発明に係る電子音楽装置は、第1の形態として、音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じた音楽制御の指示を行う電子音楽装置であって、該操作空間に光を照射する1以上の光源と該操作空間内の物体で反射された光を受光する1以上の光センサとを、該光源から該物体を経て該光センサに至るまでの光の経路を少なくとも二つ持つように配置し、該各経路を経た光の受光量に応じた検出値をそれぞれ出力するようにした光学手段と、音楽を生成する信号生成手段と、該各経路の検出値の現在値の相互関係が所定の関係となったことを契機として該信号生成手段で生成される音楽の制御を行う音楽制御手段とを備えたものである。この電子音楽装置では、少なくとも二つの経路を経てきた物体からの反射光の検出値に基づき、各経路の検出値の相互関係が所定の関係、例えばそれらが同じ値になったことなどを契機として音楽制御の指示を行うようにしているので、従来の光源と光センサが各1個の場合に比べて、操作空間内における音楽制御指示が発生される物体の位置が比較的に一意的に確定しやすく、操作者は物体の移動操作に応じて音楽制御指示が発生するタイミングを正確に把握することができるようになる。   In order to solve the above-described problems, an electronic music apparatus according to the present invention, as a first mode, outputs music and controls music according to the movement mode of an object that moves the music in a predetermined operation space. An electronic music device that directs light to the operation space, and one or more light sensors that receive light reflected by an object in the operation space from the light source. Optical means arranged so as to have at least two paths of light from the object to the optical sensor and outputting detection values corresponding to the amount of light received through the paths, and music Signal generating means for generating, and music control means for controlling the music generated by the signal generating means when the mutual relation between the current values of the detected values of the respective paths becomes a predetermined relationship. Is. In this electronic music apparatus, based on the detection value of reflected light from an object that has passed through at least two paths, the mutual relationship between the detection values of each path is a predetermined relationship, for example, when they become the same value. Since the music control instruction is performed, the position of the object where the music control instruction is generated in the operation space is relatively uniquely determined as compared with the case where there is one light source and one optical sensor each. The operator can accurately grasp the timing at which the music control instruction is generated in accordance with the movement operation of the object.

例えば、この光学手段を、一直線上に配置された二つの光源とその中央位置に配置された一つの光センサで構成し、各光源が時間的に交互に光を発生して光センサには各光源からの光が時分割で受光されるようにすれば、2種類の検出値が得られ、これらの検出値が同じ値となる位置は通常、光センサの真上付近と考えられるから、操作者は物体の移動に伴い音楽制御指示が発行されるタイミングを正確に把握することができる。なお、上記の「所定の関係」とは、上述したような「各経路の検出値が同じ値になったとき」だけに限られず、例えば「各経路の検出値の差が所定範囲内になったとき」あるいは「各経路の検出値の比が所定の値になったとき」などであってもよい。なお、上述の光源の光は、通常の可視光だけでなく赤外線や紫外線などであってもよい。   For example, this optical means is composed of two light sources arranged on a straight line and one photosensor arranged at the center, and each light source generates light alternately in time, If the light from the light source is received in a time-sharing manner, two types of detection values are obtained, and the position where these detection values are the same is usually considered to be near the optical sensor. The person can accurately grasp the timing at which the music control instruction is issued as the object moves. The above-mentioned “predetermined relationship” is not limited to “when the detection value of each route becomes the same value” as described above. For example, “the difference between the detection values of each route is within a predetermined range. Or “when the ratio of the detection values of each path reaches a predetermined value”. The light from the light source described above may be not only normal visible light but also infrared light or ultraviolet light.

また、上述の音楽制御指示としては、本発明に係る電子音楽装置が例えば電子楽器に適用された場合には、この音楽制御とは、自動演奏装置の制御、音源の制御、効果付与装置(エフェクタ)の制御などを含んだ制御のことをいう。この場合、具体的には以下のような制御が対象となる。
自動演奏装置:演奏情報の再生指示、停止指示、ループ再生指示、ミュート指示、ボリューム指示、パンポット指示、演奏情報の切り換え、など音源:音色グループ切り換え指示、音色番号切り換え指示、音源波形の切り換え指示、フィルターのカットオフやレゾナンスの指示、LFOのデプスやレイトの指示、エンベロープの指示など。
効果付与装置:エフェクトのON/OFF指示、エフェクトの種類の切り換え指示など。
In addition, as the above-described music control instruction, when the electronic music apparatus according to the present invention is applied to, for example, an electronic musical instrument, the music control includes automatic performance apparatus control, sound source control, and effect applying apparatus (effector). ) Control including the control of). In this case, the following control is specifically targeted.
Automatic performance device: Performance information playback instruction, stop instruction, loop playback instruction, mute instruction, volume instruction, panpot instruction, performance information switching, etc. Sound source: tone group switching instruction, tone number switching instruction, sound source waveform switching instruction Filter cutoff and resonance instructions, LFO depth and rate instructions, envelope instructions, etc.
Effect applying device: Effect ON / OFF instruction, effect type switching instruction, and the like.

また、本発明に係る電子音楽装置は、第2の形態として、音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する光源と該操作空間内の物体で反射された光を受光する光センサとを備え、該光センサの受光量に応じた検出値を出力するようにした光学手段と、該物体の移動に伴って出現する該検出値のピーク値を検出するピーク値検出手段と、音楽を生成する信号生成手段と、該ピーク値検出手段がピーク値を検出したことを契機にして該信号生成手段で生成される音楽の制御を行う音楽制御手段とを備えたものである。例えば、光センサに向かって上側から物体を近づけ、所望の高さで反転して今度は物体を遠ざけるようにすると、検出値には明確なピーク値が生じることになり、このピーク値に基づいて音楽制御指示を行うようにすれば、操作者がピーク値を的確に発生することができ、よって音楽制御指示を的確に行うことができるようになる。なお、ピーク値が検出されたとの判断は、現在の検出値と検出値の最大値とを比較して、現在の検出値が最大値を下回った場合であってもよいし、現在の検出が最大値から所定の値だけ下回った場合であってもよい。なお、前記のピーク値検出手段は、光学手段により検出された検出値が所定値よりも小さくなった後に検出された検出値のピーク値を検出するものとすることができる。   An electronic music device according to the present invention is a second embodiment of an electronic music device that outputs music and controls the music according to a movement mode of an object that moves in a predetermined operation space. An optical means comprising: a light source that irradiates light to the operation space; and an optical sensor that receives light reflected by an object in the operation space, and outputs a detection value corresponding to the amount of light received by the optical sensor; Triggered by the peak value detecting means for detecting the peak value of the detected value appearing as the object moves, the signal generating means for generating music, and the peak value detecting means detecting the peak value Music control means for controlling music generated by the signal generation means. For example, if an object is approached from the upper side toward the optical sensor and is inverted at a desired height and this time the object is moved away, a clear peak value is generated in the detected value, and based on this peak value If the music control instruction is performed, the operator can accurately generate the peak value, and thus the music control instruction can be performed accurately. The determination that the peak value is detected may be a case where the current detection value is compared with the maximum value of the detection value, and the current detection value falls below the maximum value. It may be a case where a predetermined value is below the maximum value. The peak value detection means may detect a peak value of a detection value detected after the detection value detected by the optical means becomes smaller than a predetermined value.

また、本発明に係る電子音楽装置は、第3の形態として、音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する1以上の光源と該操作空間内の物体で反射された光を受光する1以上の光センサとを、該光源から該物体を経て該光センサに至るまでの光の経路を少なくとも二つ持つように配置し、該各経路を経た光の受光量に応じた検出値をそれぞれ出力するようにした光学手段と、該各経路の検出値のそれぞれについて該検出値の現在までの最大値を検出する最大値検出手段と、音楽を生成する信号生成手段と、該各経路の検出値の最大値の相互関係に応じて、該信号生成手段の予め定められた種類の異なる複数の音楽制御態様の中からいずれかの音楽制御態様を選択する選択手段とを備えたものである。このように構成すると、物体の移動に対する各経路の検出値の最大値は、その物体の移動態様に応じて種々のパターンをとるので、その移動態様に応じて操作指示の内容を変えることができ、よって、操作指示する内容を豊富化することができる。例えば、光学手段を左右一直線上に配置された二つの光源とその中央位置に配置された一つの光センサで構成し、各光源が時間的に交互に光を発生して光センサには各光源からの光が時分割で受光されるようにすれば、2種類の検出値が得られ、この構成では、物体が右から左に移動して光センサ上方にきた場合と、左から右に移動して光センサ上方にきた場合とでは、各経路の検出値の最大値が異なるものとなるので、上記各移動態様に応じて異なる内容の音楽制御指示を選択できる。この場合において、例えば各経路の検出値が同じになった時に、記憶更新してきた各経路の検出値の最大値の大小関係を見ることで、どちらの方向からの物体の移動操作であるかを検出し、操作方向に応じて(右から左、あるいは左から右)異なる制御をするようにする。なお、前記の最大値検出手段は、光学手段により検出された検出が所定値よりも小さくなった後に検出された検出値の最大値を検出するものとすることができる。   An electronic music apparatus according to the present invention is a electronic music apparatus that outputs music and controls the music in accordance with a movement mode of an object that moves in a predetermined operation space, as a third mode. One or more light sources that irradiate light to the operation space and one or more optical sensors that receive light reflected by an object in the operation space, and light from the light source through the object to the optical sensor. Optical means arranged to have at least two paths, and output detection values corresponding to the amount of light received through each path, and the detection values of the detection values for each of the paths. Depending on the mutual relationship between the maximum value detection means for detecting the maximum value up to the present, the signal generation means for generating music, and the maximum value of the detection value of each path, a predetermined type of the signal generation means One of different music control modes It is obtained and selecting means for selecting a music control mode. With this configuration, the maximum value of the detected value of each path with respect to the movement of the object takes various patterns according to the movement mode of the object, so that the contents of the operation instruction can be changed according to the movement mode. Therefore, it is possible to enrich the contents of operation instructions. For example, the optical means is composed of two light sources arranged on the left and right straight lines and one photosensor arranged at the center position, and each light source generates light alternately in time, and each light source has a light source. If the light from the light is received in a time-sharing manner, two types of detection values can be obtained. In this configuration, the object moves from the right to the left and moves above the photosensor, and moves from the left to the right. Since the maximum value of the detected value of each route differs when the light sensor is over, the music control instruction having different contents can be selected according to each moving mode. In this case, for example, when the detection value of each route becomes the same, by looking at the magnitude relationship of the maximum value of the detection value of each route that has been stored and updated, it is possible to determine from which direction the object is moved. Detect and perform different control depending on the operation direction (right to left or left to right). The maximum value detection means may detect the maximum value of the detection value detected after the detection detected by the optical means becomes smaller than a predetermined value.

また、本発明に係る電子音楽装置は、第4の形態として、音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する光源と該操作空間内の物体で反射された光を受光する光センサとを備え、該光センサの受光量に応じた検出値を出力するようにした光学手段と、該物体の移動に伴って出現する該検出値のピーク値を検出するピーク値検出手段と、音楽を生成する信号生成手段と、予め該ピーク値の取りえる範囲を2以上の範囲に分けてその各範囲に対して該信号生成手段の異なる種類の音楽制御態様がそれぞれ割り当ててあり、該ピーク値検出手段で検出したピーク値に応じて該ピーク値の属する範囲に対応した音楽制御態様を選択する選択手段とを備えたものである。例えば、光センサに向かって上側から物体を近づけ、所望の高さで反転して今度は物体を遠ざけるようにすると、検出値には明確なピーク値が生じることになり、このピーク値に基づいて音楽制御指示の内容を変えるようにすれば、物体を近づける状態から遠ざける状態に反転する高さ位置に応じて、音楽制御指示の内容を種々の設定することができる。よって、ピーク値の範囲別(すなわち物体の移動の高さ別)に音楽制御指示の内容を変えるようにすれば、物体の移動態様に応じて行う音楽制御指示の内容を一層豊富化することができる。また、この装置では、操作者が上記反転をどの高さ位置で行うかを認識することで、それぞれの位置に応じたピーク値を的確に発生することができ、よって所望の内容の音楽制御指示を的確に選択することができるようになる。なお、前述同様、ピーク値が検出されたとの判断は、現在の検出値と検出値の最大値とを比較して、現在の検出値が最大値を下回った場合であってもよいし、現在の検出が最大値から所定の値だけ下回った場合であってもよい。なお、前記のピーク値検出手段は、光学手段により検出された検出値が所定値よりも小さくなった後に検出された検出値のピーク値を検出するものとすることができる。   According to a fourth aspect of the present invention, there is provided an electronic music device that outputs music and controls the music according to a movement mode of an object that moves in a predetermined operation space. An optical means comprising: a light source that irradiates light to the operation space; and an optical sensor that receives light reflected by an object in the operation space, and outputs a detection value corresponding to the amount of light received by the optical sensor; The peak value detecting means for detecting the peak value of the detected value that appears as the object moves, the signal generating means for generating music, and the range that the peak value can be obtained in advance are divided into two or more ranges. Different types of music control modes of the signal generation means are assigned to each range, and the music control mode corresponding to the range to which the peak value belongs is selected according to the peak value detected by the peak value detection means With a selection means to Those were example. For example, if an object is approached from the upper side toward the optical sensor and is inverted at a desired height and this time the object is moved away, a clear peak value is generated in the detected value, and based on this peak value If the contents of the music control instruction are changed, the contents of the music control instruction can be variously set according to the height position where the object is reversed from the approaching state to the distant state. Therefore, if the contents of the music control instruction are changed according to the range of the peak value (that is, according to the height of the movement of the object), the contents of the music control instruction performed according to the movement mode of the object can be further enriched. it can. Also, in this device, the operator recognizes at which height position the reversal is to be performed, so that a peak value corresponding to each position can be accurately generated. Can be selected accurately. As described above, the determination that the peak value is detected may be a case where the current detection value is compared with the maximum value of the detection value, and the current detection value falls below the maximum value, It may be a case where the detection of is lower than the maximum value by a predetermined value. The peak value detection means may detect a peak value of a detection value detected after the detection value detected by the optical means becomes smaller than a predetermined value.

また、本発明に係る電子音楽装置は、第5の形態として、上述の第1の形態において、該各経路の検出値のそれぞれについて該検出値の現在までの最大値を検出する最大値検出手段と、該各経路の検出値の最大値の相互関係に応じて、該信号生成手段の予め定められた種類の異なる複数の音楽制御態様の中からいずれかの音楽制御態様を選択する選択手段とを備え、前記音楽制御手段は、該各経路の検出値の現在値の相互関係が所定の関係になったことを契機として該選択手段により選択された音楽制御態様の音楽制御を行うようにしたものである。   Moreover, the electronic music apparatus which concerns on this invention is a maximum value detection means which detects the maximum value to the present of the said detected value about each of the detected value of each said path | route in the above-mentioned 1st form as a 5th form. And a selection means for selecting one of the plurality of different music control modes of the predetermined type of the signal generation means in accordance with the correlation between the maximum values of the detected values of the respective paths. And the music control means performs music control in the music control mode selected by the selection means when the mutual relationship between the current values of the detected values of the respective paths has become a predetermined relation. Is.

また、本発明に係る電子音楽装置は、第6の形態として、前述の第4の形態において、前記ピーク値検出手段がピーク値を検出したことを契機として前記選択手段により選択された音楽制御態様の音楽制御を行う音楽制御手段を備えるようにしたものである。   According to a sixth aspect of the present invention, there is provided an electronic music apparatus according to a sixth aspect of the music control mode selected by the selection unit when the peak value detection unit detects a peak value in the fourth mode. The music control means for performing the music control is provided.

また、本発明に係る電子音楽装置は、上記第1、第3、第4の各形態を組み合わせた形態で構成することもできる。すなわち、この電子音楽装置は、音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する1以上の光源と該操作空間内の物体で反射された光を受光する1以上の光センサとを、該光源から該物体を経て該光センサに至るまでの光の経路を少なくとも二つ持つように配置し、該各経路を経た光の受光量に応じた検出値をそれぞれ出力するようにした光学手段と、該各経路の検出値のそれぞれについて該検出値の現在までの最大値を検出する最大値検出手段と、該各経路の検出値の最大値の相互関係に応じて、何れかの最大値を選択する最大値選択手段と、音楽を生成する信号生成手段と、予め該最大値の取りえる範囲を2以上の範囲に分けてその各範囲に対して該信号生成手段の異なる種類の音楽の制御態様がそれぞれ割り当ててあり、該最大値選択手段により選択された最大値の属する範囲に対応した音楽の制御態様を選択する選択手段と、該各経路の検出値の現在値の相互関係が所定の関係となったことを契機として、該選択手段により選択された音楽の制御態様の制御を行う音楽制御手段とを備えたものとする。   Moreover, the electronic music apparatus according to the present invention can also be configured in a form in which the first, third, and fourth forms are combined. That is, this electronic music apparatus is an electronic music apparatus that outputs music and controls the music according to the movement mode of an object that moves in a predetermined operation space, and irradiates the operation space with light 1 The above light source and one or more optical sensors that receive light reflected by the object in the operation space have at least two light paths from the light source to the optical sensor through the object. Optical means arranged to output a detection value corresponding to the amount of light received through each path, and a maximum for detecting the maximum value of the detection value to date for each of the detection values of each path A maximum value selecting means for selecting one of the maximum values according to the mutual relationship between the maximum value of the detected values of the respective paths, a signal generating means for generating music, Divide the range into two or more ranges. A selection means for selecting a music control mode corresponding to a range to which the maximum value selected by the maximum value selection unit belongs, It is assumed that music control means for controlling the control mode of the music selected by the selection means is provided when the mutual relationship between the current values of the detected values of the respective paths becomes a predetermined relation.

また、上述の各電子音楽装置は、該検出値に基づいて該物体の移動速度を求める速度算出手段と、該移動速度の取りえる値の範囲を2以上の範囲に分けてその各範囲に対して操作指示の内容を割り当て、該速度算出手段で求めた移動速度の値に応じて該移動速度の属する範囲に対応した内容の操作指示を選択する第4の選択手段とを備えるように構成できる。このように構成すれば、求めた物体の移動速度の違いによっても、操作指示の内容を変えることができるから、物体の移動態様に応じて行う操作指示の内容を一層豊富化することができる。   Each of the electronic music devices described above includes speed calculation means for determining the moving speed of the object based on the detected value, and ranges of values that the moving speed can take, divided into two or more ranges, for each range. And a fourth selection unit that assigns the content of the operation instruction and selects an operation instruction having a content corresponding to the range to which the moving speed belongs according to the value of the moving speed obtained by the speed calculating unit. . According to this configuration, the contents of the operation instruction can be changed depending on the obtained difference in the moving speed of the object, so that the contents of the operation instruction to be performed according to the movement mode of the object can be further enriched.

上述の各電子音楽装置においては、該光学手段は、離間して配置された二つの光源とその間に配置された一つの光センサからなり、各光源は時間的に交互に光を発生して該光センサには各光源からの光が時分割で受光されるように構成できる。例えば、二つの光源の光軸を互いに外向きに傾けることで、操作空間に、少なくとも一部が重ならない照射領域をもつように光を照射することができ、物体の移動の検出機構をコンパクトに構成できる。   In each of the electronic music apparatuses described above, the optical means is composed of two light sources arranged apart from each other and one optical sensor arranged therebetween, and each light source generates light alternately in time. The optical sensor can be configured such that light from each light source is received in a time division manner. For example, by tilting the optical axes of two light sources outward, it is possible to irradiate light so that the operation space has at least a part of the irradiation area that does not overlap, and the object movement detection mechanism is compact. Can be configured.

上述の各電子音楽装置は、信号生成手段として楽音を生成する楽音生成手段を採用するこることができる。このとき、上述の各音楽制御手段を、楽音生成手段に対して、生成される楽音の特質の制御を指示するものとすることができる。楽音の特質の制御とは、例えば楽音にエフェクトを付与するかしないかの制御や、生成する楽音の音色の選択などである。同様に上述の選択手段を、楽音生成手段に対して、生成される楽音の特質の制御態様の選択を指示するものとすることができる。楽音の特質の制御態様の選択とは、例えば楽音にエフェクトを付与するかしないかの選択や、生成する楽音の音色の選択、楽音に付与するエフェクトの種類の選択などである。また、上述の楽音生成手段として、予め記憶しているフレーズを表現するデータを読み出すことにより楽音を生成するものとすることができる。このとき、上述の各音楽制御装置を、この楽音生成手段に対して、前記のフレーズを表現するデータの読出しに関する制御を指示するものとすることができる。読出しに関する制御とは、例えばフレーズを表現するデータの読出しの開始や停止、あるいは読出し対象のフレーズの選択などである。同様に、上述の選択手段を、この楽音生成手段に対して、前記のフレーズを表現するデータの読出しに関する態様の選択を指示するものとすることができる。読出しに関する態様の選択とは、例えばフレーズを表現するデータの読出しを開始するか停止するか、あるいは読出し対象のフレーズの選択などである。   Each of the electronic music devices described above can employ a tone generation means for generating a tone as the signal generation means. At this time, each music control unit described above can instruct the tone generation unit to control the characteristics of the generated tone. The control of the characteristics of the musical tone includes, for example, control of whether or not an effect is applied to the musical tone, selection of the tone color of the musical tone to be generated, and the like. Similarly, the selection means described above can instruct the musical sound generation means to select the control mode of the characteristics of the generated musical sound. The selection of the control mode of the characteristics of the musical sound includes, for example, selection of whether or not to add an effect to the musical sound, selection of the tone color of the musical sound to be generated, selection of the type of effect applied to the musical sound, and the like. In addition, as the above-described musical sound generating means, a musical sound can be generated by reading data representing a phrase stored in advance. At this time, each of the music control devices described above can instruct the music sound generation means to perform control related to reading of data expressing the phrase. The control related to reading is, for example, start or stop of reading of data representing a phrase, or selection of a phrase to be read. Similarly, the selection means described above can instruct the musical sound generation means to select a mode relating to reading of data expressing the phrase. The selection of the aspect related to reading is, for example, starting or stopping reading of data expressing a phrase, or selecting a phrase to be read.

以上に説明したように、本発明によれば、操作空間内で物体を移動させることにより所望の音楽制御を確実に行うことができるようになる。また、物体の移動態様を種々変えることで種々の内容の音楽制御も行えるようにすることができる。   As described above, according to the present invention, desired music control can be reliably performed by moving an object in the operation space. In addition, music control of various contents can be performed by changing the movement mode of the object.

以下、図面を参照して本発明の実施の形態を説明する。図1は本発明の一実施例としての電子音楽装置を電子楽器に適用した場合のハードウェア構成図であり、手の動きを検出する光学センサ部分に二つの赤外線発光ダイオードと一つの赤外線センサを用いている。図1において、1A、1Bはそれぞれ赤外線発光ダイオード(以下、単に発光ダイオードという)、2は赤外線を検出する赤外線センサである。3は装置の全体的な制御を行うCPU(中央処理装置)、4は制御用のプログラムや各種のテーブルを記憶する本体ROM、5は後述する各種レジスタやフラグなどを記憶する作業用のRAM、6はパネル上に配置される各種操作子や表示器、7はシーケンサ、8は音源、9はエフェクタ、10はタイマであり、これらがバス11を介して相互につながっている。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a hardware configuration diagram when an electronic music apparatus according to an embodiment of the present invention is applied to an electronic musical instrument, and two infrared light emitting diodes and one infrared sensor are provided in an optical sensor portion for detecting hand movement. Used. In FIG. 1, 1A and 1B are infrared light emitting diodes (hereinafter simply referred to as light emitting diodes), and 2 is an infrared sensor for detecting infrared rays. 3 is a CPU (central processing unit) that performs overall control of the apparatus, 4 is a main body ROM that stores a control program and various tables, 5 is a working RAM that stores various registers and flags to be described later, Reference numeral 6 denotes various operators and indicators arranged on the panel, 7 is a sequencer, 8 is a sound source, 9 is an effector, and 10 is a timer, which are connected to each other via a bus 11.

シーケンサ7はフレーズを最大8つまで同時演奏が可能であり、シーケンサ内部のROM(シーケンサROM71)に100個分のフレーズの演奏データを記憶している。シーケンサ7はこれらのフレーズとは別に1つの曲データを再生することができるようになっており、10曲分の曲データをシーケンサROM71に記憶している。音源8は同時発音数が「128」のマルチティンバー構成であり、シーケンサ7と音源8とエフェクタ9とバス11とが図のように接続されている。タイマ10は、後述する図2のビームコントローラボタンが押されてONになった時にスタートし、5ms毎にCPU3に割込みをかけ、後述するタイマ割込みルーチンを実行させるものである。   The sequencer 7 can perform up to eight phrases simultaneously, and the performance data of 100 phrases is stored in a ROM (sequencer ROM 71) inside the sequencer. In addition to these phrases, the sequencer 7 can reproduce one piece of music data, and 10 pieces of music data are stored in the sequencer ROM 71. The sound source 8 has a multi-timbral configuration with a simultaneous sound number of “128”, and the sequencer 7, the sound source 8, the effector 9, and the bus 11 are connected as shown in the figure. The timer 10 is started when a beam controller button shown in FIG. 2 described later is pressed and turned ON, interrupts the CPU 3 every 5 ms, and executes a timer interrupt routine described later.

図2にはこの実施例装置のパネルの外観図が示される。パネル上には2つの発光ダイオード1A、1Bと赤外線センサ2とからなるビームコントローラが配置されている。発光ダイオード1A、1Bは電子楽器のパネル前面側から見て横一列に配置されており、その中間に赤外線センサ2が配置される。パネル上におけるこのビームコントローラ上方の空間は物体(具体的には通常は手)を移動させることで操作指示を行うための操作空間となる。このビームコントローラはその近傍に設けられたビームコントローラボタン61をトグル操作することによりON/OFFされるようになっている。   FIG. 2 shows an external view of the panel of the apparatus of this embodiment. A beam controller comprising two light emitting diodes 1A and 1B and an infrared sensor 2 is disposed on the panel. The light emitting diodes 1A and 1B are arranged in a horizontal row as viewed from the front side of the panel of the electronic musical instrument, and the infrared sensor 2 is arranged in the middle. The space above the beam controller on the panel becomes an operation space for performing an operation instruction by moving an object (specifically, usually a hand). The beam controller is turned ON / OFF by a toggle operation of a beam controller button 61 provided in the vicinity thereof.

発光ダイオード1A、1Bは発光のタイミングが互い違いとなるよう時分割に点灯制御されており、したがって操作空間内に赤外線ビームを同時に照射しないようになっている。また、発光ダイオード1A、1Bはビーム照射方向がパネル鉛直方向から互いに対して外側方向に傾斜するよう設けられている。図5にはこの発光ダイオード1A、1Bから照射される赤外線ビームの等レベル曲線が示される。この図5は実施例の電子楽器を前面側からパネル面上を横方向に見た時の等レベル曲線であり、発光ダイオード1A、1Bの赤外線ビームが互いに外側に向いて傾斜していることが分かる。このように外側に傾斜して設けてあるのは、それぞれの発光ダイオード1A、1Bによって照射される赤外線ビームの照射空間を前面からみて左右方向にずらすことにより、操作空間内における物体の左右方向への移動動作を確実に検出できるようにするためである。また、このような配置とすることにより、装置をコンパクトにすることができるというメリットもある。   The light emitting diodes 1A and 1B are controlled to be turned on in a time-sharing manner so that the light emission timings are staggered, and therefore, the infrared light beam is not simultaneously irradiated into the operation space. The light emitting diodes 1A and 1B are provided such that the beam irradiation direction is inclined outward from the vertical direction of the panel. FIG. 5 shows an isolevel curve of the infrared beam irradiated from the light emitting diodes 1A and 1B. FIG. 5 is an equilevel curve when the electronic musical instrument of the embodiment is viewed from the front side in the horizontal direction on the panel surface, and the infrared beams of the light-emitting diodes 1A and 1B are inclined toward each other. I understand. In this way, the inclination is provided on the outer side by shifting the irradiation space of the infrared beam irradiated by the respective light emitting diodes 1A and 1B in the left-right direction as viewed from the front, thereby moving the object in the operation space in the left-right direction. This is to make it possible to reliably detect the moving operation of. In addition, such an arrangement has an advantage that the apparatus can be made compact.

赤外線センサ2は発光ダイオード1A、1Bから照射された赤外線ビームが操作空間内の物体で反射されて戻ってきたものを受光して、その受光レベルに応じた電気量を出力する素子である。発光ダイオード1A、1Bは時分割で点灯制御されているから、赤外線センサ2は発光ダイオード1A、1Bの赤外線(反射光)を時間的に交互のタイミングで受光することになる。この実施例では発光ダイオード1Aから照射されて物体から反射してきた赤外線のレベルを「検出値RA」とし、発光ダイオード1Bから照射されて物体から反射してきた赤外線のレベルを「検出値RB」とする。   The infrared sensor 2 is an element that receives an infrared beam irradiated from the light emitting diodes 1A and 1B and reflected by an object in the operation space and outputs an electric quantity corresponding to the received light level. Since the light-emitting diodes 1A and 1B are controlled to be turned on in a time-sharing manner, the infrared sensor 2 receives the infrared rays (reflected light) of the light-emitting diodes 1A and 1B at alternating timings. In this embodiment, the level of infrared rays irradiated from the light emitting diode 1A and reflected from the object is “detection value RA”, and the level of infrared rays irradiated from the light emitting diode 1B and reflected from the object is “detection value RB”. .

その他の操作子64はRAM5に設けられたPHRASE1レジスタ〜PHRASE3レジスタに登録するフレーズを選択するためのに使われれる操作子やシーケンサで再生する曲データを選択するための操作子であり、選択方法は一般的なものを採用してあるので、詳細な説明は省くことにする。また、MODEボタン651 〜657 は後述するモードを選択するための操作子であり、モード1〜7の何れかを選択することができる。また、PLAYボタン62は選択された曲データを再生するためのボタン、STOPボタン63は再生を停止するボタンである。   The other operation element 64 is an operation element used for selecting a phrase registered in the PHASE 1 register to the PHASE 3 register provided in the RAM 5 and an operation element for selecting music data to be reproduced by the sequencer. Since a general one is adopted, a detailed explanation is omitted. MODE buttons 651 to 657 are operators for selecting a mode to be described later, and any one of modes 1 to 7 can be selected. The PLAY button 62 is a button for reproducing the selected music data, and the STOP button 63 is a button for stopping reproduction.

シーケンサ7内部のROM71に記憶されているフレーズの演奏データは図3に示すようなデータ構成とされている。すなわちフレーズの演奏データの他に、そのフレーズで使用すると好ましいエフェクトの種類(例えばコーラス、リバーブなどで、後述のモード3の具体例などで使用する)を記憶している。   The phrase performance data stored in the ROM 71 in the sequencer 7 has a data structure as shown in FIG. That is, in addition to the performance data of a phrase, the type of effect that is preferable to be used in the phrase (for example, chorus, reverb, etc., used in a specific example of mode 3 to be described later) is stored.

図4はRAM内に記憶しているデータの構成を示しており、以下のようなレジスタ及びフラグがある。
MODEレジスタ:現在のモードの番号を示す(電源投入時にMODE=1に初期化される)。
Aレジスタ:現在の検出値RAを現在値Aとして示す(電源投入時に0に初期化される)。
Bレジスタ:現在の検出値RBを現在値Bとして示す(電源投入時に0には初期化される)。
Amax レジスタ:検出値RAの現在までの最大値Amax を示す(電源投入時に0に初期化される)。
Bmax レジスタ:検出値RBの現在までの最大値Bmax を示す(電源投入時に0に初期化される)。
最大値書込み許可フラグ:レジスタAmax 及びBmax への書込み許可/禁止を示すフラグ(電源投入時にはONに初期化される)。ONで書込み許可、OFFで書込み禁止を示す。
LRトリガフラグ:パネル前面から見て物体がビームコントローラ上方を左から右に移動して左右の中間地点(赤外線センサ2の真上付近)を通過したことを示すフラグ(電源投入時にOFFに初期化される)。
RLトリガフラグ:物体が右から左に移動して左右の中間地点を通過したことを示すフラグ(電源投入時にOFFに初期化される)。
PHRASE1レジスタ:第1フレーズとして登録されたフレーズの番号を示す。
PHRASE2レジスタ:第2フレーズとして登録されたフレーズの番号を示す。
PHRASE3レジスタ:第3フレーズとして登録されたフレーズの番号を示す。
FIG. 4 shows the configuration of data stored in the RAM, and includes the following registers and flags.
MODE register: Indicates the number of the current mode (initialized to MODE = 1 when the power is turned on).
A register: indicates the current detection value RA as the current value A (initialized to 0 when the power is turned on).
B register: indicates the current detection value RB as the current value B (initialized to 0 when the power is turned on).
Amax register: indicates the maximum value Amax of the detected value RA to date (initialized to 0 when the power is turned on).
Bmax register: indicates the maximum value Bmax of the detected value RB up to the present (initialized to 0 when the power is turned on).
Maximum value write enable flag: A flag indicating whether or not writing to registers Amax and Bmax is permitted (initialized to ON when the power is turned on). ON indicates write permission, OFF indicates write prohibition.
LR trigger flag: A flag indicating that the object has moved from the left to the right above the beam controller as viewed from the front of the panel and has passed through the left and right intermediate points (near the infrared sensor 2) (initialized to OFF when the power is turned on) )
RL trigger flag: A flag indicating that the object has moved from right to left and passed through the left and right intermediate points (initialized to OFF when the power is turned on).
PHASE 1 register: indicates the number of a phrase registered as the first phrase.
PHASE2 register: indicates the number of the phrase registered as the second phrase.
PHASE 3 register: indicates the number of the phrase registered as the third phrase.

以下、この実施例装置の動作を説明する。この実施例装置では、パネル上に設けられたビームコントローラ上方の操作空間内において物体を上下左右に動かすことで、各種の操作指示を行える。この操作指示は、物体をパネル前面から見て右から左に払うように移動させたか、あるいは左から右に移動させたか、そのときのパネル面から見た物体の高さはどの位であったか、などに応じてその操作指示の内容を変更できるようにしている。   The operation of this embodiment apparatus will be described below. In this embodiment apparatus, various operation instructions can be given by moving an object up and down, left and right in an operation space above the beam controller provided on the panel. This operation instruction is whether the object is moved from the right to the left when viewed from the front of the panel, or from the left to the right, how much is the height of the object viewed from the panel surface at that time, The contents of the operation instructions can be changed according to the situation.

ビームコントローラの発光ダイオード1A、1Bはそれぞれビーム照射方向が外向きに傾斜して設けられているので、例えば図5の矢印の方向(左から右への方向)に物体(例えば手である)を動かしていくと、発光ダイオード1A、1Bの各検出値RA、RBは図6に示すような特性を示す。図6において、横軸はビームコントローラ前面(パネル前面)から見た横方向への物体の位置、縦軸は検出値RA、RBの値である。まず、発光ダイオード1Aからの赤外線ビームに対する特性について述べると、物体が左側から操作空間内に入るに従って、発光ダイオード1Aに物体が接近して赤外線センサ2への反射光が増加していくので、検出値RAは漸増し、やがて発光ダイオード1Aの近傍位置で物体の高さに応じたピーク値RApeak(特性中の頂点部分)に達し、その後は物体が発光ダイオード1Aから離れていくので、検出値RAは漸減していき、結果として図示するような山形となる。同様に、発光ダイオード1Bからの赤外線ビームに対する特性もピーク値をRBpeakとする山形となるが、検出値RBがピーク値となる位置が発光ダイオード1B近傍である点が異なる。物体を右から左に操作空間に入るように移動させた場合も同様な特性が得られることは容易に理解できる。   Since the light emitting diodes 1A and 1B of the beam controller are provided so that the beam irradiation direction is inclined outward, for example, an object (for example, a hand) is placed in the direction of the arrow (the direction from left to right) in FIG. As it moves, the detected values RA and RB of the light emitting diodes 1A and 1B exhibit characteristics as shown in FIG. In FIG. 6, the horizontal axis indicates the position of the object in the horizontal direction as viewed from the front surface of the beam controller (panel front surface), and the vertical axis indicates the detection values RA and RB. First, the characteristics of the infrared beam from the light emitting diode 1A will be described. As the object enters the operation space from the left side, the object approaches the light emitting diode 1A and the reflected light to the infrared sensor 2 increases. The value RA gradually increases, and eventually reaches a peak value RApeak (vertex portion in the characteristic) corresponding to the height of the object at a position near the light emitting diode 1A, and thereafter the object moves away from the light emitting diode 1A. Gradually decreases, resulting in a mountain shape as shown in the figure. Similarly, the characteristic with respect to the infrared beam from the light emitting diode 1B also has a mountain shape with a peak value of RBpeak, except that the position where the detection value RB reaches the peak value is in the vicinity of the light emitting diode 1B. It can be easily understood that similar characteristics can be obtained when the object is moved from right to left so as to enter the operation space.

この図6の特性から分かるように、二つの検出値RA、RBが同時に同じ値となる位置は、赤外線センサ2の真上付近であり、そのときパネル上のどの位の高さで物体を移動させたかによって検出値RA、RBの大きさ(絶対値)が変わってくる。また、検出値RAとRBのうちどちら側が先にピーク値となるかによって、物体を右から左に移動させたのか、あるいは左から右に移動させたのかが分かる。本実施例装置では、これらの物体の移動態様に応じて操作指示の内容を切り換えるようにしており、さらに各モード毎にその操作指示の内容も切り換えるようにしている。   As can be seen from the characteristics of FIG. 6, the position where the two detection values RA and RB are the same at the same time is near the position directly above the infrared sensor 2, and the object is moved at what height on the panel at that time. The magnitudes (absolute values) of the detection values RA and RB vary depending on whether they are set. Further, it can be determined whether the object is moved from the right to the left or the left to the right depending on which side of the detection values RA and RB has the peak value first. In the apparatus of this embodiment, the contents of the operation instructions are switched according to the movement mode of these objects, and the contents of the operation instructions are also switched for each mode.

このモードの選択は、MODEボタン651 〜657 の何れかを押すことで行う。図13〜図19にはモード1〜7にそれぞれ応じた具体的な表示画面が示される。この表示画面はパネル上の表示器66に表示される。各モードにおける詳細な操作指示の内容は後述することとし、ここでは図13に示すモード1の表示画面を参照して表示画面の典型的なフォーマットの例を説明する。なお、図13〜図19に示すモード1〜7の詳細な内容については後述する。図13において、表示画面は、発光ダイオード1A、1Bに応じた検出値RA、RBをそれぞれ「L:○○」「R:××」という形で表示し、現在のモードの番号を「MODE=△」という形で示す。また、「L→R」の下には物体を左から右に移動させた場合にそれに対応して、所定の対象機器(例えばシーケンサ、音源あるいはエフェクタなど)に対して行う操作指示の内容を示し、「L←R」の下には右から左に移動させた場合にそれに対応して行う操作指示の内容を示している。この操作指示の内容としては、例えば「L→R」でシーケンサに対する演奏停止指示、「L←R」でフレーズの再生開始指示などである。「VERTICAL」の欄には手の上下方向の各高さ範囲に応じて選択される操作指示の制御対象(図13の例ではフレーズ番号)が表示され、各高さ範囲に対応した検出値の範囲が「VALUE」の欄に表示される。この検出値は「99」に近いほど高さがパネル面からみて低く、「0」に近いほど高さが高い。   This mode is selected by pressing one of the MODE buttons 651 to 657. 13 to 19 show specific display screens corresponding to the modes 1 to 7, respectively. This display screen is displayed on the display 66 on the panel. The contents of detailed operation instructions in each mode will be described later. Here, an example of a typical format of the display screen will be described with reference to the display screen of mode 1 shown in FIG. The detailed contents of modes 1 to 7 shown in FIGS. 13 to 19 will be described later. In FIG. 13, the display screen displays the detection values RA and RB corresponding to the light emitting diodes 1A and 1B in the form of “L: OO” and “R: XX”, respectively, and the current mode number is “MODE = It is shown in the form of “△”. Also, under “L → R”, the contents of operation instructions to be given to a predetermined target device (for example, a sequencer, a sound source, an effector, etc.) corresponding to the movement of the object from left to right are shown. , “L ← R” shows the contents of the operation instruction to be performed in response to the movement from right to left. The contents of this operation instruction include, for example, a performance stop instruction to the sequencer by “L → R”, a phrase reproduction start instruction by “L ← R”, and the like. In the “VERTICAL” column, control targets (phrase numbers in the example of FIG. 13) selected according to the height range of the hand in the vertical direction are displayed, and the detection value corresponding to each height range is displayed. The range is displayed in the “VALUE” column. As the detected value is closer to “99”, the height is lower as viewed from the panel surface, and as the detected value is closer to “0”, the height is higher.

以下、この実施例装置の動作を図8〜図12のフローチャートを参照して説明する。ここで、図8と図9はメインルーチンのフローチャートである。図10と図11はタイマ割込みルーチンであり、タイマ10からCPU3への5ms毎の割込み毎に実行される。また図12は発光ダイオードに関する処理のフローチャートである。   The operation of this embodiment apparatus will be described below with reference to the flowcharts of FIGS. 8 and 9 are flowcharts of the main routine. FIGS. 10 and 11 are timer interrupt routines, which are executed for every interrupt of 5 ms from the timer 10 to the CPU 3. FIG. 12 is a flowchart of processing relating to a light emitting diode.

まず、図10と図11に示すタイマ割込み処理ルーチンについて説明する。このタイマ割込みルーチンは、発光ダイオード1A、1Bに応じた検出値RA、RBを逐次に検出して、これらの検出値に基づき、検出値の最大値Amax 、Bmaxの更新処理、LRトリガフラグとRLトリガフラグのオン/オフ処理、最大値書込み許可フラグのオン/オフ処理などを行うものである。   First, the timer interrupt processing routine shown in FIGS. 10 and 11 will be described. This timer interrupt routine sequentially detects the detection values RA and RB corresponding to the light emitting diodes 1A and 1B, and based on these detection values, updates the maximum values Amax and Bmax of the detection values, the LR trigger flag and the RL An on / off process of a trigger flag, an on / off process of a maximum value write permission flag, and the like are performed.

タイマ割込み処理ルーチンが起動されると、まず、発光ダイオード1Aに関わる処理を行う(ステップS21)。図12にはこの処理のフローチャートが示される。発光ダイオード1Aを発光させ(ステップS41)、赤外線センサ2で検出した現在の検出値RA(すなわち発光ダイオード1Aについての物体からの反射光に応じた検出値)をAレジスタに現在値Aとして格納し(ステップS42)、発光ダイオード1Aを消灯する(ステップS43)。発光ダイオード1Aに関わる処理が終了したら、次には発光ダイオード1Bに関わる同様な処理を行う(ステップS22)。これにより、発光ダイオード1A、1Bは発光するタイミングが交互となって、これら発光ダイオード1A、1Bからの検出値RA、RBを時分割に得ることができる。   When the timer interrupt processing routine is started, first, processing related to the light emitting diode 1A is performed (step S21). FIG. 12 shows a flowchart of this process. The light emitting diode 1A is caused to emit light (step S41), and the current detection value RA detected by the infrared sensor 2 (that is, the detection value corresponding to the reflected light from the object with respect to the light emitting diode 1A) is stored as the current value A in the A register. (Step S42), the light emitting diode 1A is turned off (Step S43). When the process related to the light emitting diode 1A is completed, the same process related to the light emitting diode 1B is performed (step S22). As a result, the light emitting diodes 1A and 1B emit light alternately, and the detection values RA and RB from the light emitting diodes 1A and 1B can be obtained in a time division manner.

現在値A、Bが得られたら、次に、最大値書込み許可フラグがONかOFFかを判定する(ステップS23)。ONであれば、最大値Amax 、Bmax の更新が可能であることを意味するから、まず現在値Aが最大値Amax 以上か否かを判定し(ステップS24)、現在値Aが最大値Amax 以上であれば、その最大値Amax を現在値Aで置き換えることで更新し(ステップS25)、現在値Aが最大値Amax よりも小さければ、その最大値Amax は既にピーク値に至っているものとしてその更新は行わない。次いで、現在値Bが最大値Bmax 以上か否かを判定し(ステップS26)、最大値Bmax 以上であれば、その最大値Bmax を現在値Bで置き換えることで更新し(ステップS27)。現在値Bが最大値Bmax よりも小さければ、最大値Bmax の更新は行わない。   If the current values A and B are obtained, it is next determined whether the maximum value write permission flag is ON or OFF (step S23). If it is ON, it means that the maximum values Amax and Bmax can be updated. Therefore, it is first determined whether or not the current value A is equal to or greater than the maximum value Amax (step S24), and the current value A is equal to or greater than the maximum value Amax. If the current value A is smaller than the maximum value Amax, the maximum value Amax is updated as if it has already reached the peak value. Do not do. Next, it is determined whether or not the current value B is greater than or equal to the maximum value Bmax (step S26), and if it is greater than or equal to the maximum value Bmax, the maximum value Bmax is updated by replacing it with the current value B (step S27). If the current value B is smaller than the maximum value Bmax, the maximum value Bmax is not updated.

次いで、二つの現在値A、Bが等しいか否かを判定する(ステップS28)。二つの現在値A、Bが等しい場合は、図5の特性図からも分かるように、手が左右の中間位置(赤外線センサ2の真上付近)にあることを意味している。この場合には、最大値Amax とBmax の大小関係を判定する(ステップS29)、Amax ≧Bmax であれば、物体が左から右へ移動して中間位置に到達した(Amax >Bmax のとき)、若しくは中間位置付近で上下に振られている(Amax =Bmaxのとき)と推測でき、Amax <Bmax であれば、物体が右から左に移動したと推測できる。Amax ≧Bmax であれば、現在値Aが最大値Amax より小さいか否かを判定する(ステップS30)。この判定は、現在値Aがまだ増加中か、あるいは減少状態に入ったかを見るもので、これにより現在の最大値Amax が現在値Aに関わる特性のピーク値(山の頂点)であるか否かを判定できる。現在の最大値Amax がピーク値であれば、物体は左から右に移動して左右中間位置に到達したと確定でき、よって、LRトリガフラグをONに設定する(ステップS31)。一方、最大値Amax がピーク値でなければ、タイマ割込みルーチンをいったん終了し、次回以降で最大値Amax をさらに更新できるようにする。   Next, it is determined whether or not the two current values A and B are equal (step S28). If the two current values A and B are equal, it means that the hand is in the left and right intermediate position (near the infrared sensor 2), as can be seen from the characteristic diagram of FIG. In this case, the magnitude relationship between the maximum values Amax and Bmax is determined (step S29). If Amax ≧ Bmax, the object moves from left to right and reaches the intermediate position (when Amax> Bmax). Alternatively, it can be estimated that the object is swung up and down near the intermediate position (when Amax = Bmax), and if Amax <Bmax, it can be estimated that the object has moved from right to left. If Amax ≧ Bmax, it is determined whether or not the current value A is smaller than the maximum value Amax (step S30). This determination is made to see whether the current value A is still increasing or has entered a decreasing state, so that the current maximum value Amax is the peak value of the characteristic related to the current value A (the peak of the mountain). Can be determined. If the current maximum value Amax is the peak value, it can be determined that the object has moved from the left to the right and has reached the intermediate position between the left and right, and therefore the LR trigger flag is set to ON (step S31). On the other hand, if the maximum value Amax is not the peak value, the timer interrupt routine is once ended so that the maximum value Amax can be further updated after the next time.

ステップS29の判定でAmax <Bmax であれば、検出値Bと最大値Bmax について同様の比較処理を行い(ステップS32)、最大値Bmax がピーク値であれば、物体が右から左に移動してい左右中間位置に到達したと確定して、RLトリガフラグをONに設定する(ステップS33)。   If it is determined in step S29 that Amax <Bmax, a similar comparison process is performed for the detected value B and the maximum value Bmax (step S32). If the maximum value Bmax is a peak value, the object has moved from right to left. It is determined that the left / right intermediate position has been reached, and the RL trigger flag is set to ON (step S33).

LRトリガフラグまたはRLトリガフラグがONに設定された後は、ピーク値として検出した最大値Amax 、Bmax が変動しないように最大値書込み許可フラグをOFFにして(ステップS34)、最大値Amax 、Bmax が書き換えられないようにする。これは、後述するようにLRトリガフラグまたはRLトリガフラグがONになるとフレーズの演奏開始指示などがトリガされるが、このトリガ直後に手の動きを変えたことで現在値A、Bが大きくなってAmax レジスタ、Bmax レジスタに新たに最大値が書き込まれてしまうような場合も生じえ、このような場合には、次回の操作指示を行うにあたり、「VALUE」が小さなフレーズ(第1フレーズに相当)を制御対象に選んでトリガすることができなくなってしまうこともあるので、トリガ後は、最大値書込み許可フラグをOFFにして現在値AまたはBがいったん所定の値(0)以下になってからでないと、最大値が更新されないようにするものである。   After the LR trigger flag or the RL trigger flag is set to ON, the maximum value write permission flag is turned OFF so that the maximum values Amax and Bmax detected as peak values do not fluctuate (step S34), and the maximum values Amax and Bmax are set. Is not rewritten. As will be described later, when the LR trigger flag or the RL trigger flag is turned ON, a phrase performance start instruction or the like is triggered, but the current values A and B are increased by changing the hand movement immediately after the trigger. In some cases, a new maximum value may be written to the Amax register and the Bmax register. In such a case, when the next operation instruction is given, “VALUE” corresponds to a small phrase (corresponding to the first phrase). ) May be selected as a control target and triggering may not be possible. Therefore, after triggering, the maximum value write permission flag is turned OFF and the current value A or B once falls below a predetermined value (0). Otherwise, the maximum value is not updated.

したがって、ステップS23で最大値書込み許可フラグがOFFであると判定された場合は、ビームコントローラ上にかざした手がその左右中間位置を過ぎた(すなわちトリガがされた)場合であると考えることができ、この場合には、現在値AまたはBが「0」になったときには(ステップS35、S36)、手がいったん操作空間内から外に出て手による今回の操作指示が終了したものと判断でき、その場合には次の操作指示に備えて、OFFにした最大値書込み許可フラグを再びONに設定して(ステップS37)、タイマ割込みルーチンを終了する。   Therefore, when it is determined in step S23 that the maximum value write permission flag is OFF, it can be considered that the hand held over the beam controller has passed the left and right intermediate positions (that is, triggered). In this case, when the current value A or B becomes “0” (steps S35 and S36), it is determined that the hand has once left the operation space and the current operation instruction by the hand has ended. In this case, in preparation for the next operation instruction, the OFF maximum value write permission flag is set to ON again (step S37), and the timer interrupt routine is terminated.

以上のように、このタイマ割込みルーチンでは、RAM5内のAmax レジスタ、Bmax レジスタにはそれぞれ現在値A、B(=検出値RA、検出値RB)の最大値(ピーク)が記憶されるようになっているので、Amax レジスタ、Bmax レジスタは、図7に示すように、例えば物体を左から右に移動させた場合、Amaxレジスタの値は図の(ア)の位置から変化しない。物体が中間地点(赤外線センサの真上)に達して現在値Aと現在値Bが同じ値になった時(図の(イ)の位置)に、Amax レジスタ、Bmax レジスタの大きさを比較し、そのときの大きい方の値(この場合はAmax レジスタのピーク値)の値に対応する制御対象を選んで処理を実行する(後述するモード=1の場合は「フレーズ2をストップする」という処理)。処理の実行が指示されると、Amax レジスタ、Bmax レジスタは「0」にクリアされるが、現在値A、現在値Bが「0」になるまではAmax レジスタ、Bmax レジスタへの書き込みを禁止するようになっている。   As described above, in this timer interrupt routine, the maximum values (peaks) of the current values A and B (= detected value RA and detected value RB) are stored in the Amax register and the Bmax register in the RAM 5, respectively. Therefore, in the Amax register and the Bmax register, as shown in FIG. 7, for example, when the object is moved from left to right, the value of the Amax register does not change from the position (a) in the figure. When the object reaches the intermediate point (directly above the infrared sensor) and the current value A and the current value B become the same value (position (A) in the figure), the size of the Amax register and the Bmax register are compared. Then, the control object corresponding to the larger value at this time (in this case, the peak value of the Amax register) is selected and the process is executed (in the case of mode = 1 described later, the process of “stopping phrase 2”) ). When execution of processing is instructed, the Amax register and Bmax register are cleared to “0”, but writing to the Amax register and Bmax register is prohibited until the current value A and current value B become “0”. It is like that.

次に、図8と図9に示すメインルーチンについて説明する。実施例装置の電源がONにされると、まずRAM5に設けられた前述した各種のレジスタやフラグを初期化する(ステップS1)。次いで、ビームコントローラボタン61が操作されたか否かを判定し(ステップS2)、操作されたならば、その操作によりトグル動作して、今までOFFであったものがONに切換えされたものであれば、表示用発光ダイオード611を点灯し、タイマ割込みをかけるためのタイマ10を起動する。一方、その操作により今までONであったものがOFFに切換えされたものであれば、表示用発光ダイオード611を消灯し、タイマ10をストップする(ステップS3)。   Next, the main routine shown in FIGS. 8 and 9 will be described. When the power of the embodiment apparatus is turned on, first, the various registers and flags provided in the RAM 5 are initialized (step S1). Next, it is determined whether or not the beam controller button 61 has been operated (step S2), and if it has been operated, a toggle operation is performed by that operation, so that what has been turned off so far is switched on. For example, the light emitting diode 611 for display is turned on, and the timer 10 for starting a timer interrupt is started. On the other hand, if what has been turned on by the operation has been switched to OFF, the display light emitting diode 611 is turned off and the timer 10 is stopped (step S3).

次いで、MODEボタン651 〜657 のいずれかが押下操作されたかを判定し(ステップS4)、押されたならば、その押されたMODEボタンに対応するモード番号をMODEレジスタに書き込み(ステップS5)、このMODEレジスタに書き込まれたモード番号に応じた表示画面が表示器66に表示されるよう表示の切換えを行う(ステップS6)。   Next, it is determined whether any of the MODE buttons 651 to 657 has been pressed (step S4). If pressed, the mode number corresponding to the pressed MODE button is written to the MODE register (step S5). The display is switched so that a display screen corresponding to the mode number written in the MODE register is displayed on the display 66 (step S6).

次いで、LRトリガフラグがONか否かを判定し(ステップS7)、ONであれば、手が左から右に横切ったことになり、その場合には、Amax レジスタの最大値Amax (ピーク値)を参照し、対象機器(例えばシーケンサ、音源、エフェクタなど)にそのモードに対応した「L→R」の操作指示と最大値Amax に応じた制御対象情報を送る(ステップS8)。この後、LRトリガフラグをOFFにし、Amax レジスタとBmax レジスタを「0」にクリアする(ステップS9)。LRトリガフラグがOFFであれば、RLトリガフラグがONか否かを判定し(ステップS10)、ONであれば、手が右から左に横切ったことになり、その場合には、Bmax レジスタの最大値Bmax を参照し、そのモードに対応した操作指示と制御対象情報を対象機器(例えばシーケンサ、音源、エフェクタなど)に送り(ステップS11)、RLトリガフラグをOFFにし、Amax レジスタとBmax レジスタを「0」にクリアする(ステップS12)。次いで、その他の必要な処理を行い(ステップS13)、以上の処理をループして繰り返す(S2〜S13)。   Next, it is determined whether or not the LR trigger flag is ON (step S7). If the flag is ON, the hand has crossed from left to right. In this case, the maximum value Amax (peak value) of the Amax register is determined. , The control target information corresponding to the operation value “L → R” corresponding to the mode and the maximum value Amax is sent to the target device (eg, sequencer, sound source, effector, etc.) (step S8). Thereafter, the LR trigger flag is turned OFF, and the Amax register and the Bmax register are cleared to “0” (step S9). If the LR trigger flag is OFF, it is determined whether or not the RL trigger flag is ON (step S10). If the LR trigger flag is ON, the hand has crossed from right to left. By referring to the maximum value Bmax, an operation instruction and control target information corresponding to the mode are sent to the target device (eg, sequencer, sound source, effector, etc.) (step S11), the RL trigger flag is turned OFF, and the Amax register and Bmax register are set. It is cleared to “0” (step S12). Next, other necessary processing is performed (step S13), and the above processing is looped and repeated (S2 to S13).

なお、この「その他の必要な処理」として、RLトリガフラグまたはLRトリガフラグのONに応じてトリガ処理がされる前に、「VERTICAL」の下に表示されている制御対象の項目について、そのトリガ処理により行われる操作指示の制御対象の項目の表示形態を他のものと変えて表示(例えば明るく光らせる、あるいは下地を白黒反転するなど)するような処理を行ってもよい。すなわちAmax レジスタ、Bmax レジスタの値のうちどちらか大きい方の値が「VALUE」のどの範囲に入るのかを判定し、それに基づいて「VERTICAL」の下に並ぶ項目の表示形態を変えて表示するようになっている。こうすることで、操作者は操作指示を実行する前に(左右中間位置でトリガがされる前に)、これから操作指示されようとしている制御対象が何であるかを前もって知ることができるので、演奏中に間違った処理を実行したりすることがなくなる。   In addition, as the “other necessary processing”, before the trigger processing is performed in response to the ON of the RL trigger flag or the LR trigger flag, the trigger for the item to be controlled displayed under “VERTICAL” is displayed. A process may be performed in which the display mode of the item to be controlled by the operation instruction performed by the process is changed from that of another item (for example, brightly lit or the background is reversed in black and white). That is, it is determined which range of “VALUE” the larger of the values of the Amax register and the Bmax register falls, and based on this, the display form of the items arranged under “VERTICAL” is changed and displayed. It has become. By doing so, the operator can know in advance what the control target is to be instructed before executing the operation instruction (before triggering at the middle position between the left and right). The wrong process is not executed in the middle.

以下、モード1〜7の詳細な具体例について説明する。
〔モード1〕図13にはモード1の表示画面が示される。このモード1はシーケンサを制御するための操作指示を与えるためのモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、そのときの最大値Bmax (ピーク値)に対応するフレーズをトリガ(演奏開始)する。一方、ビーム上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、そのときの最大値Amax (ピーク値)に対応するフレーズの演奏を停止する。
Hereinafter, detailed specific examples of modes 1 to 7 will be described.
[Mode 1] FIG. 13 shows a display screen of mode 1. This mode 1 is a mode for giving an operation instruction for controlling the sequencer. When the object is moved from right to left above the beam controller, a phrase corresponding to the maximum value Bmax (peak value) at that time is triggered (start of performance) when the object passes through the left and right intermediate points. On the other hand, when the object is moved from left to right above the beam, the performance of the phrase corresponding to the maximum value Amax (peak value) at that time is stopped when the object passes through the left and right intermediate points.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「STOP」が表示され、「L←R」の下には右から左に操作された場合の操作指示内容「TRIGER」が表示されている。「VERTICAL」の欄には物体の上下方向の高さに応じてトリガ/ストップされるフレーズの番号が表示され、それらを制御するためのピーク値の範囲の設定が「VALUE」の欄に例えば「0〜33」のように表示される。   On the display screen, “STOP” is displayed when “L → R” is operated from left to right, and when “L ← R” is operated from right to left The operation instruction content “TRIGER” is displayed. In the “VERTICAL” column, the number of the phrase to be triggered / stopped according to the height in the vertical direction of the object is displayed, and the setting of the peak value range for controlling them is displayed in the “VALUE” column. 0-33 ".

CPU3は、物体の右から左への移動でトリガ指示された場合には、Bmax レジスタのピーク値を参照して対応するフレーズの再生開始指示をシーケンサに送り、物体の左から右への移動でストップ指示された場合には、Amax レジスタのピーク値を参照して、対応するフレーズの再生停止指示をシーケンサに送るようになっている。   When the trigger is instructed by the movement of the object from right to left, the CPU 3 refers to the peak value of the Bmax register and sends a reproduction start instruction of the corresponding phrase to the sequencer, and the object moves from left to right. When a stop instruction is given, a peak stop value of the Amax register is referred to and a corresponding phrase playback stop instruction is sent to the sequencer.

〔モード2〕図14にはモード2の表示画面が示される。このモード2もシーケンサを制御するための操作指示を与えるためのモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に対応するフレーズを1回だけ演奏するようワンショット・トリガする。一方、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に対応するフレーズを繰り返し演奏するようループ・トリガする。さらに、フレーズをループでトリガした後、もう一度左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に対応するフレーズのループ再生を停止する。   [Mode 2] FIG. 14 shows a display screen of mode 2. This mode 2 is also a mode for giving an operation instruction for controlling the sequencer. When the object is moved from right to left above the beam controller, a one-shot trigger is performed so that the phrase corresponding to the peak value of the Bmax register is played only once when the object passes through the left and right intermediate points. On the other hand, when the object is moved from the left to the right above the beam controller, when the object passes through the left and right intermediate points, a loop trigger is performed so that the phrase corresponding to the peak value of the Amax register is repeatedly played. Furthermore, when the phrase is triggered by a loop and then the object is moved again from the left to the right, the loop playback of the phrase corresponding to the peak value of the Amax register is stopped when the object passes through the left and right intermediate points.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「LOOP TRIGER/LOOP STOP」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「ONE SHOT TRIGER」を表示している。「VERTICAL」の欄には上下方向の高さに応じてトリガされるフレーズの番号が表示され、「VALUE」の欄には各フレーズの高さに対応したピーク値の範囲が例えば「0〜33」のように表示される。   On the display screen, the operation instruction content “LOOP TRIGER / LOOP STOP” when operated from left to right is displayed under “L → R”, and from right to left under “L ← R”. The operation instruction content “ONE SHOT TRIGER” when operated is displayed. In the “VERTICAL” column, the number of the phrase that is triggered according to the height in the vertical direction is displayed, and in the “VALUE” column, the range of peak values corresponding to the height of each phrase is, for example, “0 to 33”. "Is displayed.

CPU3は、右から左への移動でトリガ指示された場合には、Bmax レジスタのピーク値を参照して対応するフレーズをワンショット(1回限りの再生)で再生開始する指示をシーケンサに送り、左から右への移動でトリガされた場合には、Amax レジスタのピーク値を参照して、対応するフレーズをループ再生する指示をシーケンサに送るようになっている。このとき、対応するフレーズが既にループ再生(繰り返しての再生)されている場合は、ループ再生を停止する指示をシーケンサに送るようになっている。   When the CPU 3 is instructed to trigger the movement from right to left, it refers to the peak value of the Bmax register and sends an instruction to start playback of the corresponding phrase in one shot (one-time playback). When triggered by a movement from left to right, an instruction to loop-play the corresponding phrase is sent to the sequencer with reference to the peak value of the Amax register. At this time, if the corresponding phrase has already been played back in a loop (repeated playback), an instruction to stop the loop playback is sent to the sequencer.

〔モード3〕図15にはモード3の表示画面が示される。このモード3はシーケンサとエフェクタを制御するための操作指示を与えるためのモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に対応するフレーズをエフェクト「ON」でトリガして再生開始する。また、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に対応するフレーズをエフェクト「OFF」でトリガする。このとき、フレーズのデータ内に記憶されているエフェクトの種類に応じてエフェクタ9にエフェクト切換え「ON/OFF」の指示をするようになっている。   [Mode 3] FIG. 15 shows a display screen of mode 3. Mode 3 is a mode for giving operation instructions for controlling the sequencer and the effector. When the object is moved from right to left above the beam controller, the phrase corresponding to the peak value of the Bmax register is triggered by the effect “ON” to start reproduction when the object passes through the left and right intermediate points. When the object is moved from left to right above the beam controller, the phrase corresponding to the peak value of the Amax register is triggered with the effect “OFF” when the object passes through the left and right intermediate points. At this time, an effect switching “ON / OFF” instruction is given to the effector 9 in accordance with the type of effect stored in the phrase data.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「EFFECT ON+TRIGER」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「EFFECT OFF+TRIGER」を表示している。「VERTICAL」の欄には上下方向の高さに応じてトリガされるフレーズの番号が表示され、「VALUE」の欄には各フレーズの高さに対応したピーク値の範囲が例えば「0〜33」のように表示される。また、このモード3のときには、画面の一番下の「EFFECT TYPE」の欄にRAMのPHASEに登録した3つのフレーズに対応するエフェクトの種類が「CHORUS/REVERVE/EQ」のように表示されるようになっている。   On the display screen, the operation instruction content “EFFECT ON + TRIGER” when operated from left to right is displayed under “L → R”, and operated from right to left under “L ← R”. The operation instruction content “EFFECT OFF + TRIGER” is displayed. In the “VERTICAL” column, the number of the phrase that is triggered according to the height in the vertical direction is displayed, and in the “VALUE” column, the range of peak values corresponding to the height of each phrase is, for example, “0 to 33”. "Is displayed. In mode 3, the effect type corresponding to the three phrases registered in the PHASE of the RAM is displayed as “CHORUS / REVERVE / EQ” in the “EFFECT TYPE” column at the bottom of the screen. It is like that.

CPU3は、右から左にトリガされた場合には、Bmax レジスタのピーク値を参照して、それに対応するフレーズを再生する指示をシーケンサ7に送るとともに、当該フレーズに対応するエフェクトの種類を付与する指示をエフェクタ9に送る。また、左から右にトリガされた場合には、Amax レジスタのピーク値を参照してそれに対応するフレーズを再生する指示をシーケンサ7に送る。このとき、そのフレーズにエフェクトはかからない。   When the CPU 3 is triggered from the right to the left, the CPU 3 refers to the peak value of the Bmax register, sends an instruction to reproduce the phrase corresponding to the peak value to the sequencer 7, and gives the type of effect corresponding to the phrase. An instruction is sent to the effector 9. When triggered from left to right, the sequencer 7 is instructed to reproduce the phrase corresponding to the peak value of the Amax register. At this time, no effect is applied to the phrase.

〔モード4〕図16にはモード4の表示画面が示される。このモード4はシーケンサ7を制御するための操作指示を与えるためのモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、RAM5のPHRASE1〜PHRASE3に登録されているフレーズを順番にトリガする。すなわち、例えばPHRASE1を再生後にこの操作が行われた場合はPHRASE2を再生する。要するに「次のフレーズ再生」となる。この際、再生されるフレーズの音量は、Bmax レジスタのピーク値に対応したボリユームで再生される。また、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、RAM5に登録されているフレーズを逆順番にトリガする。例えばPHRASE3を再生後にこの操作が行われた場合はPHRASE2を再生する。要するに「前のフレーズ再生」となる。このとき、再生されるフレーズの音量は、Amax レジスタのピーク値に対応したボリユームで再生される。   [Mode 4] FIG. 16 shows a display screen of mode 4. This mode 4 is a mode for giving an operation instruction for controlling the sequencer 7. When the object is moved from right to left above the beam controller, the phrases registered in PHRASE 1 to PHRASE 3 of the RAM 5 are triggered in order when the object passes through the left and right intermediate points. That is, for example, when this operation is performed after reproducing PHASE1, PHASE2 is reproduced. In short, it becomes “next phrase playback”. At this time, the volume of the phrase to be reproduced is reproduced with a volume corresponding to the peak value of the Bmax register. When the object is moved from left to right above the beam controller, the phrases registered in the RAM 5 are triggered in reverse order when the object passes through the left and right intermediate points. For example, when this operation is performed after the PHASE3 is reproduced, the PHASE2 is reproduced. In short, it becomes “Previous phrase playback”. At this time, the volume of the phrase to be reproduced is reproduced with a volume corresponding to the peak value of the Amax register.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「PRIVIEW PHRASE TRIGER」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「NEXT PHRASE TRIGER」を表示している。「VERTICAL」の欄には「VOLUME CONTROL」と表示され、上下方向の高さに応じた音量でフレーズをトリガすることを示している。   On the display screen, the operation instruction content “PRIVIE PHRASE TRIGER” when operated from left to right is displayed under “L → R”, and operated from right to left under “L ← R”. The operation instruction content “NEXT PHRASE TRIGER” is displayed. In the “VERTICAL” column, “VOLUME CONTROL” is displayed, indicating that the phrase is triggered at a volume corresponding to the height in the vertical direction.

CPU3は一番最初に右から左の操作でトリガされた場合には、RAM5に記憶されている最初のフレーズをBmax レジスタのピーク値を参照して対応するボリユームで再生する指示をシーケンサ7に送る。このとき、再生したフレーズにポインタを設定し、次にもう一度右からトリガされた場合は、ポインタを次のフレーズに移動して、次のフレーズをBmax レジスタのピーク値を参照して対応するボリユームで再生する指示をシーケンサ7に送る。   When the CPU 3 is first triggered by a right-to-left operation, the CPU 3 sends an instruction to the sequencer 7 to reproduce the first phrase stored in the RAM 5 with reference to the peak value of the Bmax register. . At this time, if the pointer is set to the reproduced phrase and then triggered again from the right, the pointer is moved to the next phrase, and the next phrase is referred to the peak value of the Bmax register with the corresponding volume. An instruction to reproduce is sent to the sequencer 7.

また、CPU3は左から右への操作でトリガされた場合には、Amax レジスタのピーク値を参照して対応するポインタを1つ前のフレーズに移動して、前回トリガしたフレーズを、Amax レジスタを参照して対応するボリユームで再生する指示をシーケンサ7に送る。なお、このモード4では、上下方向の高さに応じて音量をコントロールしていたが、これに限らず、シーケンサ7に対して上下方向の高さに応じてパンポットやテンポの指示を送ってもよい。   When the CPU 3 is triggered by a left-to-right operation, the corresponding pointer is moved to the previous phrase by referring to the peak value of the Amax register, and the previously triggered phrase is changed to the Amax register. An instruction to reproduce with the corresponding volume is sent to the sequencer 7 by referring to it. In this mode 4, the volume is controlled according to the height in the vertical direction. However, the present invention is not limited to this, and a panpot or tempo instruction is sent to the sequencer 7 according to the height in the vertical direction. Also good.

〔モード5〕図17にはモード5の表示画面が示される。このモード5はシーケンサ7を制御するための操作指示を与えるためのモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax 実施例のピーク値に対応するフレーズをトリガする。このとき、シーケンサ7で他のフレーズ或いは曲データを再生中であろうとなかろうと、当該フレーズをトリガして再生開始する。一方、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に対応するフレーズをトリガする。このとき、もしシーケンサ7で曲データを再生中の場合は、シーケンサ7での曲の演奏をミュートしてフレーズをトリガする。このとき、すでにシーケンサ7での曲の演奏がミュートされている場合は、そのミュートを解除するようになっている。   [Mode 5] FIG. 17 shows a display screen of mode 5. This mode 5 is a mode for giving an operation instruction for controlling the sequencer 7. When the object is moved from right to left above the beam controller, the phrase corresponding to the peak value of the Bmax embodiment is triggered when the object passes through the left and right intermediate points. At this time, whether or not another phrase or song data is being reproduced by the sequencer 7, the phrase is triggered to start reproduction. On the other hand, when the object is moved from left to right above the beam controller, the phrase corresponding to the peak value of the Amax register is triggered when the object passes through the left and right intermediate points. At this time, if the music data is being reproduced by the sequencer 7, the performance of the music by the sequencer 7 is muted and the phrase is triggered. At this time, if the musical performance of the sequencer 7 has already been muted, the muting is canceled.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「MUTEON TRIGER/MUTE OFF」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「TRIGER」を表示している。「VERTICAL」の欄には上下方向の高さに応じてトリガされるフレーズの番号が表示され、それらフレーズ番号を選択するためのピーク値の範囲が「VALUE」の欄に「0〜33」のように表示される。   On the display screen, “MUTEON TRIGER / MUTE OFF” is displayed when “L → R” is operated from left to right, and “L ← R” is displayed from right to left. The operation instruction content “TRIGER” when operated is displayed. The “VERTICAL” column displays the number of the phrase that is triggered according to the height in the vertical direction, and the peak value range for selecting those phrase numbers is “0 to 33” in the “VALUE” column. Is displayed.

CPU3は右から左への操作でトリガされた場合には、Bmax レジスタのピーク値を参照して対応するフレーズの再生開始指示をシーケンサ7に送り、左から右への操作でトリガされた場合には、Amax レジスタのピーク値を参照して対応するフレーズの再生開始指示をシーケンサ7に送るとともに、シーケンサ7で演奏されている曲データの演奏をミュートする指示をシーケンサ7に送るようになっている。このとき、シーケンサ7の曲データが既にミュートされている場合はミュートを解除する指示をシーケンサ7に送るようになっている。よって、シーケンサ7による曲データの再生が行われていない場合には、左右どちらからも同じようにフレーズをトリガすることになる。   When the CPU 3 is triggered by a right-to-left operation, the CPU 3 sends a corresponding phrase playback start instruction to the sequencer 7 with reference to the peak value of the Bmax register, and when triggered by a left-to-right operation. Sends the instruction to start playback of the corresponding phrase to the sequencer 7 with reference to the peak value of the Amax register, and sends to the sequencer 7 an instruction to mute the performance of the song data being played by the sequencer 7. . At this time, if the music data of the sequencer 7 has already been muted, an instruction to cancel the mute is sent to the sequencer 7. Therefore, when the music data is not reproduced by the sequencer 7, the phrase is triggered in the same way from both the left and right.

〔モード6〕図18にはモード6の表示画面が示される。このモード6は音源8のみを制御するための操作指示を与えるためのモードである。音源8で発音可能な音色が以下のようにグループ別に設定されているものとする。
グループ番号 グループ名 音色番号 音色名:1 ピアノ 1 ピアノ11 ピアノ 2 ピアノ21 ピアノ 3 ホンキートンク2 ベース 1 ピックベース2 ベース 2 ウッドベース2 ベース 3 フレットレスベース3 ギター 1 クリーンギター3 ギター 2 ナイロンギター3 ギター 3 ディストーションギター・・・・・・・・・・・・・・・・・・・・音源8はCPU3から送られてくるこれらの音色グループ番号と音色番号に従って楽音の音色を発生する。
[Mode 6] FIG. 18 shows a display screen of mode 6. This mode 6 is a mode for giving an operation instruction for controlling only the sound source 8. It is assumed that timbres that can be generated by the sound source 8 are set for each group as follows.
Group number Group name Tone number Tone name: 1 Piano 1 Piano 11 Piano 2 Piano 21 Piano 3 Honky Tonk 2 Bass 1 Pick Bass 2 Bass 2 Wood Bass 2 Bass 3 Fretless Bass 3 Guitar 1 Clean Guitar 3 Guitar 2 Nylon Guitar 3 Guitar 3 Distortion guitar ............ The sound source 8 generates timbres according to these tone group numbers and tone numbers sent from the CPU 3.

ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に応じて、ピーク値=0〜50の場合に音色グループ番号をインクリメントさせ、ピーク値=51〜99の場合に音色番号をインクリメントさせる。また、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に応じて、音色グループ番号または音色番号をデクリメントさせる。   When the object is moved from right to left over the beam controller, the timbre group number is incremented when the peak value = 0 to 50 according to the peak value of the Bmax register when the object passes through the left and right intermediate points. When the peak value = 51 to 99, the timbre number is incremented. When the object is moved from left to right above the beam controller, the timbre group number or timbre number is decremented according to the peak value of the Amax register when the object passes through the left and right intermediate points.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「デクリメント」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「インクリメント」を表示している。「VERTICAL」の欄には物体の上下方向の高さに応じて、音源8に対して音色グループ番号が送られるか、音色番号が送られるかを選択できるようになっている。それらを選択するためのピーク値の範囲が「VALUE」の欄に「0〜50」のように表示される。   On the display screen, the operation instruction content “decrement” when operated from left to right is displayed under “L → R”, and when operated from right to left under “L ← R” The operation instruction content “Increment” is displayed. In the “VERTICAL” column, it is possible to select whether a timbre group number or a timbre number is sent to the sound source 8 in accordance with the vertical height of the object. The range of peak values for selecting them is displayed as “0-50” in the “VALUE” column.

CPU3は右から左への操作でトリガされた場合には、Bmax レジスタのピーク値を参照して音色グループ番号或いは音色番号をインクリメントする指示を音源8に送り、左から右への操作でトリガされた場合には、Amax レジスタのピーク値を参照して音色グープ番号或いは音色番号をデクリメントする指示を音源8に送る。   When the CPU 3 is triggered by an operation from right to left, the CPU 3 sends an instruction to increment the timbre group number or the timbre number with reference to the peak value of the Bmax register, and is triggered by an operation from left to right. If it is, the tone value group number or an instruction to decrement the tone color number is sent to the sound source 8 with reference to the peak value of the Amax register.

なお、このモード6では、物体の移動操作で音源8の音色の切換えをするものであったが、これに限らず、音源8に関するあらゆるパラメータに応用できるものである。また、例えば、音源8の制御に代えてシーケンサ7の制御にし、シーケンサROM71に記憶しているフレーズを、そのフレーズ番号をインクリメント/デクリメントすることで選択できるようにしてもよい。すなわち、シーケンサROM71に記憶されている100のフレーズをカテゴリー別に分けてそれぞれにカテゴリー番号を割り当て、さらに各カテゴリー番号に含まれるフレーズにフレーズ番号を割り当てておき、上述のモード6の音色グループをフレーズのカテゴリー番号、音色番号をフレーズ番号として、物体の右から左への操作または左から右への操作に応じて、それらカテゴリー番号またはフレーズ番号をインクリメントまたはデクリメントするようにする。   In this mode 6, the timbre of the sound source 8 is switched by an object moving operation. However, the present invention is not limited to this, and can be applied to all parameters related to the sound source 8. Further, for example, the sequencer 7 may be controlled instead of the control of the sound source 8, and the phrase stored in the sequencer ROM 71 may be selected by incrementing / decrementing the phrase number. That is, the 100 phrases stored in the sequencer ROM 71 are divided into categories and assigned category numbers, and the phrase numbers are assigned to the phrases included in each category number. The category number or tone number is used as a phrase number, and the category number or phrase number is incremented or decremented according to the operation from right to left of the object or from left to right.

〔モード7〕図19にはモード7の表示画面が示される。このモード7はエフェクタ9のみを制御するための操作指示を与えるためのモードである。エフェクタ9は3つの種類のエフェクタの組み合わせからなるエフェクトパッチを複数備えている。図2のその他の操作子64により付加させるエフェクトパッチを選択できるようになっている。   [Mode 7] FIG. 19 shows a display screen of mode 7. This mode 7 is a mode for giving an operation instruction for controlling only the effector 9. The effector 9 includes a plurality of effect patches made up of combinations of three types of effectors. An effect patch to be added can be selected by the other operation element 64 shown in FIG.

ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に対応するエフェクトをONする。また、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に対応するエフェクトをOFFする。   When the object is moved from right to left above the beam controller, the effect corresponding to the peak value of the Bmax register is turned on when the object passes through the left and right intermediate points. When the object is moved from left to right above the beam controller, the effect corresponding to the peak value of the Bmax register is turned off when the object passes through the left and right intermediate points.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容であるエフェクト「ON」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容であるエフェクト「OFF」を表示している。「VERTICAL」の欄にはエフェクトパッチ内のエフェクトの種類(この例ではワウ、ディストーション、リバーブ)を上下に3つ表示するようになっており、それらON/OFF制御するエフェクトの種類を選択するためのピーク値の範囲が「VALUE」の欄に「0〜33」のように表示される。「VERTICAL」の欄の下の3つのエフェクトの種類はそれぞれその他の操作子64で設定するようになっており、図示されていないRAM5内のレジスタに記憶するようになっている。   On the display screen, the effect “ON” that is the operation instruction content when operated from left to right is displayed under “L → R”, and the operation is performed from right to left under “L ← R”. The effect “OFF” which is the content of the operation instruction in the case of being performed is displayed. In the “VERTICAL” column, three types of effects in the effect patch (in this example, wah, distortion, reverb) are displayed above and below to select the type of effect to be controlled ON / OFF. The range of the peak value is displayed as “0 to 33” in the “VALUE” column. The three types of effects under the column “VERTICAL” are set by the other operation elements 64, and are stored in a register in the RAM 5 (not shown).

CPU3は、右から左への操作でトリガされた場合には、Bmax レジスタのピーク値を参照して対応するエフェクトをONにする指示をエフェクタ9に送り、左から右への操作でトリガされた場合には、Amax レジスタのピーク値を参照して対応するエフェクトをOFFにする指示をエフェクタ9に送るようになっている。   When the CPU 3 is triggered by a right-to-left operation, the CPU 3 sends an instruction to turn on the corresponding effect with reference to the peak value of the Bmax register to the effector 9 and is triggered by the left-to-right operation. In this case, an instruction to turn off the corresponding effect with reference to the peak value of the Amax register is sent to the effector 9.

なお、モード7では、物体の移動操作によりエフェクトの種類の切換えをするものであったが、これに限らず、同様の手法でエフェクタに関するあらゆるパラメータを制御することができる。   In mode 7, the type of effect is switched by moving the object. However, the present invention is not limited to this, and all parameters related to the effector can be controlled by the same method.

なお、この実施例装置におけるモードの具体例としては、以上に説明したものの他にも、例えば以下に示すモード8〜モード10などのような種々の形態が可能である。これらについて以下に説明するが、図示は省略する。   In addition to what has been described above, various modes such as mode 8 to mode 10 shown below are possible as specific examples of modes in this embodiment apparatus. These will be described below, but illustration is omitted.

〔モード8:シーケンサ制御+音源制御〕このモード8は、シーケンサ7と音源8に対する制御の操作指示を行うモードである。ビームコントローラ上方を右から左に物体を移動させると、物体が左右中間地点を通過した際に、Bmax レジスタのピーク値に対応するフレーズをトリガし、その後、そのフレーズの演奏に対して、赤外線センサ2の検出値RA、検出値RB(=現在値A、B)に応じた大きさでモジュレーションやピッチベンドをかけるようにする。なお、検出値RAあるいは検出値RBの値が100以上になると、このコントロールは解除される。また、ビームコントローラ上方を左から右に物体を移動させると、物体が左右中間地点を通過した際に、Amax レジスタのピーク値に対応するフレーズを単にトリガするようにし、この場合にはモジュレーションやピッチベンドを物体の移動操作でコントロールしない。   [Mode 8: Sequencer Control + Sound Source Control] This mode 8 is a mode for instructing control operations to the sequencer 7 and the sound source 8. When the object is moved from right to left above the beam controller, the phrase corresponding to the peak value of the Bmax register is triggered when the object passes through the left and right intermediate points. Modulation and pitch bend are applied with a magnitude corresponding to the detection value RA of 2 and the detection value RB (= current values A and B). Note that this control is canceled when the detection value RA or the detection value RB reaches 100 or more. Also, if the object is moved from left to right above the beam controller, the phrase corresponding to the peak value of the Amax register is simply triggered when the object passes through the left and right intermediate points. In this case, modulation or pitch bend is performed. Is not controlled by moving the object.

表示画面には、「L→R」の下には左から右に操作された場合の操作指示内容「TRIGER+CONTROL ON」を表示し、「L←R」の下には右から左に操作された場合の操作指示内容「TRIGER+CONTROL OFF」を表示している。「VERTICAL」の欄には上下方向の高さに応じてトリガされるフレーズの番号が表示され、それらを選択するためのピーク値の範囲が「VALUE」の欄に「0〜33」などのように表示される。このモード8では、フレーズをトリガした後、「VERTICAL」で選択されたフレーズに対して制御をかけるパラメー夕名が画面の一番下に例えば「CONTROL=MODULATION」などのように表示されるようになっている。   The display screen displays “TRIGER + CONTROL ON” when “L → R” is operated from left to right, and “L ← R” is operated from right to left. The operation instruction content “TRIGER + CONTROL OFF” is displayed. In the “VERTICAL” column, the number of the phrase that is triggered according to the height in the vertical direction is displayed, and the peak value range for selecting them is displayed in the “VALUE” column such as “0 to 33”. Is displayed. In this mode 8, after triggering the phrase, the parameter name that controls the phrase selected by “VERTICAL” is displayed at the bottom of the screen, for example, “CONTROL = MODULATION”. It has become.

〔モード9:音源制御〕このモード9は、音源8に対する制御の操作指示を行うモードである。音源8はフィルタを備える音源とする。ビームコントローラ上方を右から左に物体を移動させた場合には、物体が左右中間地点を通過した後に、赤外線センサ2の現在(左右中間地点通過後)の検出値RA、検出値RBに応じた値で、フィルタのレゾナンスを可変制御できるようにする。また、ビームコントローラ上方を左から右に物体を移動させた場合には、物体が左右中間地点を通過した後に、赤外線センサ2の検出値RA、検出値RBに応じた値で、フィルタのカットオフを可変制御できるようにする。なお、検出値RAあるいは検出値RBの値が100以上になると、これらのフィルタの制御は解除される。   [Mode 9: Sound source control] This mode 9 is a mode for instructing the sound source 8 to perform control operations. The sound source 8 is a sound source provided with a filter. When the object is moved from right to left above the beam controller, the object passes through the left and right intermediate points, and then corresponds to the current detection value RA and detection value RB of the infrared sensor 2 (after passing the left and right intermediate points). The value allows the filter resonance to be variably controlled. When the object is moved from the left to the right above the beam controller, the filter is cut off with a value corresponding to the detection value RA and the detection value RB of the infrared sensor 2 after the object passes through the left and right intermediate points. Can be controlled variably. When the detection value RA or the detection value RB reaches 100 or more, the control of these filters is cancelled.

表示画面には、「L→R」の下には左から右に操作された場合に制御されるパラメータ名「レゾナンス」を表示し、「L←R」の下には右から左に操作された場合に制御されるパラメータ名「カツトオフ」を表示している。「VERTICAL」の欄には物体が左右中間地点を通過した後に、上下方向の移動により前記パラメータを連続的に可変制御することを示す「SEQUENCIAL CONTROL」という表示がされる。「L→R」や「L←R」の下に設定されている「カットオフ」等の音源パラメータはパネルのその他の操作子64で選択設定できるようにしてあってもよい。   On the display screen, the parameter name “Resonance” controlled when operated from left to right is displayed under “L → R”, and operated from right to left under “L ← R”. The parameter name “Cut off” is displayed. The column “VERTICAL” displays “SEQUENCE CONTROL” indicating that the parameter is continuously variably controlled by moving in the vertical direction after the object passes through the left and right intermediate points. Sound source parameters such as “cut-off” set under “L → R” or “L ← R” may be selected and set by the other operation elements 64 of the panel.

〔モード10:音源制御〕このモード10は、音源8に対する制御の操作指示を行うモードである。音源8にはLFO(低周波発振器)を備える。ビームコントローラ上方を右から左に物体を移動させた場合には、物体が左右中間地点を通過した後に、赤外線センサ2の現在の検出値RA、検出値RBに応じた値で、LFOのLFOデプス(振幅)を可変制御できるようにする。また、ビームコントローラ上方を左から右に物体を移動させた場合には、物体が左右中間地点を通過した後に、赤外線センサの検出値RA、検出値RBに応じた値で、LFOレイト(周期)を可変制御できるようにする。なお、検出値RAあるいは検出値RBの値が100以上になると、上記のコントロールは解除される。   [Mode 10: Sound Source Control] This mode 10 is a mode for instructing the sound source 8 to perform control operations. The sound source 8 includes an LFO (low frequency oscillator). When the object is moved from right to left above the beam controller, the LFO LFO depth is set to a value corresponding to the current detection value RA and detection value RB of the infrared sensor 2 after the object passes through the left and right intermediate points. (Amplitude) can be variably controlled. When the object is moved from the left to the right above the beam controller, the LFO rate (cycle) is set to a value corresponding to the detection value RA and detection value RB of the infrared sensor after the object passes through the left and right intermediate points. Can be controlled variably. When the detection value RA or the detection value RB reaches 100 or more, the above control is released.

表示画面には、「L→R」の下には左から右に操作された場合に制御されるパラメータ名「LFOデプス」を表示し、「L←R」の下には右から左に操作された場合に制御されるパラメータ名「LFOレイト」を表示している。「VERTICAL」の欄には物体が左右中間地点を通過した後に、上下方向の移動により前記パラメータを連続的に可変制御することを示す「SEQUENCIAL CONTROL」という表示がされる。   The display screen displays the parameter name “LFO Depth” that is controlled when operated from left to right under “L → R”, and operates from right to left under “L ← R”. The parameter name “LFO rate” to be controlled in the case of being set is displayed. The column “VERTICAL” displays “SEQUENCE CONTROL” indicating that the parameter is continuously variably controlled by moving in the vertical direction after the object passes through the left and right intermediate points.

なお、以上に説明した実施例装置では、赤外線センサ2の検出値RAと検出値RBが同じ値になったときに所定の操作指示を行うようにしたが、検出値RAと検出値RBとの差が所定の範囲内になったときに操作指示を行うようにしてもよいし、また検出値RAと検出値RBの比が所定の比になったときに操作指示を行うようにしてもよい。   In the above-described embodiment apparatus, a predetermined operation instruction is performed when the detection value RA and the detection value RB of the infrared sensor 2 become the same value, but the detection value RA and the detection value RB An operation instruction may be issued when the difference falls within a predetermined range, or an operation instruction may be issued when the ratio of the detected value RA and the detected value RB reaches a predetermined ratio. .

また、上述の実施例では、物体の上下方向の位置と物体がどちらから移動されて2つの赤外線LEDの中間地点になったかとを検出して、多種多様な制御を行うようにしたが、さらに物体が移動する速度を検出してその移動速度に応じた制御も付加するものであってもよい。この速度の検出は、Amax レジスタ、Bmaxレジスタを監視してどちらかがピーク値になってから物体が中間地点に至るまでの時間を検出することにより、実現可能である。   In the above-described embodiment, the position of the object in the vertical direction and the position from which the object is moved to the middle point between the two infrared LEDs are detected, and various controls are performed. The speed at which the object moves may be detected, and control according to the moving speed may be added. This speed detection can be realized by monitoring the Amax register and the Bmax register and detecting the time from when one of them reaches the peak value until the object reaches the intermediate point.

この場合の応用として、例えば、物体の高さに応じてコードの種類を指定する。また、右から左への操作に応じてコードの構成音の発音順をアップストロークの発音順序で、また左から右への操作に応じてダウンストロークの発音順序で指定する。さらに、物体の速度に応じて構成音が発音するタイミングとベロシティを指定する。このタイミングとベロシティの指定では、速度が速ければ、最初の構成音の発音の後の残りの構成音の発音は速いタイミングで、しかも大きな音量で発音する。また速度が遅ければ、最初の構成音の発音の後の残りの構成音の発音は遅いタイミングで、しかも小さな音量で発音する。また、この場合の表示画面は図20に示すように表示する。   As an application in this case, for example, the type of code is designated according to the height of the object. In addition, the order of sound generation of the chords is designated in accordance with the right-to-left operation, and the order of sounding in the up-stroke according to the operation from left to right. Furthermore, the timing and velocity at which the constituent sounds are generated are designated according to the speed of the object. In this timing and velocity designation, if the speed is fast, the remaining constituent sounds after the first constituent sound are pronounced at a fast timing and at a high volume. On the other hand, if the speed is slow, the remaining constituent sounds after the first constituent sound are generated at a slow timing and with a small volume. Further, the display screen in this case is displayed as shown in FIG.

この方法によれば、物体を右から左に速く移動させてトリガすれば、構成音の発音タイミングを早く、しかも大きな音量でダウンストロークの発音がされる。一方、物体を左から右にゆっくり移動させてトリガすれば、構成音の発音夕イミングを遅く、しかも小さな音量でアップストロークの発音がされる。まさにギターのカッティング奏法のシミユレーションが可能となるものである。   According to this method, if the object is moved quickly from right to left and triggered, the sounding timing of the constituent sounds is accelerated and the downstroke is sounded with a large volume. On the other hand, if the object is moved slowly from left to right and triggered, the sounding of the constituent sounds is delayed and the upstroke is pronounced at a low volume. It is possible to simulate a guitar cutting technique.

本発明の実施にあたっては上述したものの他にも種々の変形形態が可能である。例えば、上述の実施例では、2つの赤外線発光ダイオード1A、1Bと1つの赤外線センサ2を用いて物体の左右への動作を検出し、右から左への移動か左から右への移動かに応じて操作指示の内容を変えたが、単に、空間内での物体の移動で作られるピーク値(すなわち高さ)だけに応じて異なる処理をさせるのであるならば、前述の実施例を簡素化し、1つの赤外線発光ダイオードと1つの赤外線センサだけでも制御を行うことが可能である。   In the practice of the present invention, various modifications other than those described above are possible. For example, in the above-described embodiment, the left and right movements of the object are detected by using the two infrared light emitting diodes 1A and 1B and one infrared sensor 2, and the movement from right to left or left to right is detected. The contents of the operation instructions are changed accordingly, but if the different processing is merely performed according to the peak value (ie, height) created by the movement of the object in the space, the above-described embodiment is simplified. Control can be performed with only one infrared light emitting diode and one infrared sensor.

すなわち、前述の実施例装置における赤外線発光ダイオード1Aのビーム照射方向をパネル面に対し鉛直にして赤外線センサ2の受光面も上方に同じ向きに配置し、赤外線発光ダイオード1Bは取り除く。この場合、発光ダイオード1Aは時分割ではなく連続的に点灯するようにする。所定時間毎に検出値RAを検出し、検出値RAが増加している場合はAmax レジスタにその検出値RAを最大値として記憶し、検出値RAが減少し始めたら、Amax レジスタの値をピーク値として、そのピーク値の大きさに応じた所定の処理を実行させるというものである。なお、このようなピーク値は、物体が左または右方向から水平に移動していて、赤外線センサ2の真上を通過したときや途中で反対方向に戻したとき、或いは物体を上から下に移動させていて途中から上方向に戻したときなどに生じる。   That is, the beam irradiation direction of the infrared light emitting diode 1A in the above-described embodiment apparatus is set perpendicular to the panel surface, and the light receiving surface of the infrared sensor 2 is also arranged in the same direction upward, and the infrared light emitting diode 1B is removed. In this case, the light-emitting diode 1A is lit continuously rather than time-divisionally. The detected value RA is detected every predetermined time. If the detected value RA increases, the detected value RA is stored in the Amax register as the maximum value. When the detected value RA starts to decrease, the value of the Amax register is peaked. As a value, a predetermined process corresponding to the magnitude of the peak value is executed. Such a peak value is obtained when the object moves horizontally from the left or right direction and passes right above the infrared sensor 2 or returns to the opposite direction in the middle, or the object moves from top to bottom. Occurs when moving up and returning from the middle.

この場合、RAM5には以下のレジスタやフラグを設定する。
Aレジスタ:発光ダイオード1Aからの現在の検出値RAを現在値Aとして記憶する。
Amax レジスタ:現在値Aの現在までの最大値Amax を記憶する。
トリガフラグ:ONの時は処理実行を指示する。
最大値書込み許可フラグ:ON時は最大値の書き込みを許可する。一度処理の実行が指示されると、検出値RAが「0」になるまで最大値書き込みフラグが「OFF」となるため、次の処理は行われない。
In this case, the following registers and flags are set in the RAM 5.
A register: Stores the current detection value RA from the light emitting diode 1A as the current value A.
Amax register: Stores the maximum value Amax of the current value A up to the present time.
Trigger flag: Instructs execution of processing when ON.
Maximum value write permission flag: When ON, writing of the maximum value is permitted. Once the execution of the process is instructed, the maximum value write flag is set to “OFF” until the detection value RA becomes “0”, so the next process is not performed.

また、この実施例装置では、MODEボタンにより次の4つのモード11〜モード14を設定できるものとする。
〔モード11:シーケンサ制御〕検出値RAが最大値でなくなった場合(すなわちAmax レジスタの値がピーク値となった場合)に、その最大値Amax に対応するフレーズの再生指示をシーケンサ7に送る。
〔モード12:シーケンサ制御〕検出値RAが最大値でなくなった場合(すなわちAmax レジスタの値がピーク値となった場合)に、その最大値Amax に対応して曲データの再生・停止指示をシーケンサ7に指示する。
〔モード13:音源制御〕検出値RAが最大値でなくなった場合(すなわちAmax レジスタの値がピーク値となった場合)に、その最大値Amax に対応する音色に切り換える指示を音源に指示する。
〔モード14:エフェクト制御〕検出値RAが最大値でなくなった場合(すなわちAmax レジスタの値がピーク値となった場合)に、その最大値Amax に対応するエフェクトの種類に切り換える指示をエフェクタ9に指示する。
In the apparatus of this embodiment, the following four modes 11 to 14 can be set by the MODE button.
[Mode 11: Sequencer Control] When the detected value RA is no longer the maximum value (that is, when the value of the Amax register becomes the peak value), a playback instruction for the phrase corresponding to the maximum value Amax is sent to the sequencer 7.
[Mode 12: Sequencer control] When the detected value RA is not the maximum value (that is, when the value of the Amax register reaches the peak value), the sequencer issues a song data playback / stop instruction corresponding to the maximum value Amax. 7 is instructed.
[Mode 13: Sound source control] When the detected value RA is no longer the maximum value (that is, when the value of the Amax register becomes the peak value), the sound source is instructed to switch to the timbre corresponding to the maximum value Amax.
[Mode 14: Effect Control] When the detected value RA is no longer the maximum value (that is, when the value of the Amax register reaches the peak value), the effector 9 is instructed to switch to the effect type corresponding to the maximum value Amax. Instruct.

以下、この実施例装置の動作を図21、図22のフローチャートを参照して説明する。ここで、図21はメインルーチンのフローチャートである。図22はタイマ割込みルーチンであり、タイマ10からCPU3への5ms毎の割込み毎に実行される。まず、この図22に示すタイマ割込み処理ルーチンについて説明する。このタイマ割込みルーチンは、発光ダイオード1Aに応じた検出値RAを逐次に検出して、これらの検出値に基づき、検出値の最大値Amax の更新処理、トリガフラグのオン/オフ処理、最大値書込み許可フラグのオン/オフ処理などを行うものである。   The operation of the apparatus of this embodiment will be described below with reference to the flowcharts of FIGS. Here, FIG. 21 is a flowchart of the main routine. FIG. 22 shows a timer interrupt routine which is executed for every interrupt of 5 ms from the timer 10 to the CPU 3. First, the timer interrupt processing routine shown in FIG. 22 will be described. This timer interruption routine sequentially detects the detection value RA corresponding to the light emitting diode 1A, and based on these detection values, the update processing of the maximum value Amax of the detection value, the on / off processing of the trigger flag, the maximum value writing The permission flag is turned on / off.

タイマ割込み処理ルーチンが起動されると、まず、発光ダイオード1Aに関わる処理を行う(ステップS61)。この処理は赤外線センサ2で検出した現在の検出値RAを現在値AとしてAレジスタに格納する処理である。現在値Aが得られたら、次に、最大値書込み許可フラグがONかOFFかを判定する(ステップS62)。ONであれば、最大値Amax の更新が可能であることを意味するから、現在値Aが最大値Amax 以上か否かを判定し(ステップS63)、最大値Amax 以上であれば、その最大値Amax を現在値Aで置き換えることで更新し(ステップS66)、現在値Aが最大値Amax よりも小さければ、その最大値Amax はピーク値に至ったものとして、トリガフラグを「ON」にする(ステップS64)。トリガフラグが「ON」に設定された後は、ピーク値として検出した最大値Amax が変動しないように最大値書込み許可フラグをOFFにして(ステップS65)、最大値Amax が書き換えられないようにする。最大値書込み許可フラグをOFFとする理由は前述の実施例と同じである。   When the timer interrupt processing routine is started, first, processing related to the light emitting diode 1A is performed (step S61). This process is a process of storing the current detection value RA detected by the infrared sensor 2 in the A register as the current value A. If the current value A is obtained, it is next determined whether the maximum value write permission flag is ON or OFF (step S62). If it is ON, it means that the maximum value Amax can be updated. Therefore, it is determined whether or not the current value A is equal to or greater than the maximum value Amax (step S63). Amax is updated by replacing it with the current value A (step S66). If the current value A is smaller than the maximum value Amax, the maximum value Amax has reached the peak value, and the trigger flag is set to "ON" ( Step S64). After the trigger flag is set to “ON”, the maximum value write permission flag is turned OFF so that the maximum value Amax detected as the peak value does not fluctuate (step S65), and the maximum value Amax is not rewritten. . The reason for turning off the maximum value write permission flag is the same as in the above-described embodiment.

ステップS62で最大値書込み許可フラグがOFFであると判定された場合は、現在値A=0か否かを判定することにより(ステップS67)、ビームコントローラ上にかざした手が操作空間内から外に出て手による今回の操作指示が終了したか否かを判定する。今回の操作指示が終了した場合には、次の操作指示に備えて、OFFにした最大値書込み許可フラグを再びONに設定して(ステップS68)、タイマ割込みルーチンを終了する。   If it is determined in step S62 that the maximum value write permission flag is OFF, it is determined whether or not the current value A = 0 (step S67), so that the hand held over the beam controller is removed from the operation space. It is determined whether or not the current operation instruction by hand has ended. When the current operation instruction is completed, in preparation for the next operation instruction, the turned off maximum value write permission flag is set to ON again (step S68), and the timer interrupt routine is terminated.

次に、図21に示すメインルーチンについて説明する。実施例装置の電源がONにされると、まずRAM5に設けられた前述した各種のレジスタやフラグを初期化する(ステップS51)。次いで、前述の実施例のステップS2〜S6に相当するパネル処理を行う(ステップS52)。次いで、トリガフラグがONか否かを判定し(ステップS53)、ONであれば、Amax レジスタの最大値Amax(ピーク値)を参照し、対象機器(例えばシーケンサ、音源、エフェクタなど)にそのモードに対応した操作指示を送る(ステップS8)。この後、トリガフラグをOFFにし、Amax レジスタを「0」にクリアする(ステップS55)。次いで、その他の必要な処理を行い(ステップS13)、以上の処理をループして繰り返す(S2〜S13)。   Next, the main routine shown in FIG. 21 will be described. When the power of the embodiment apparatus is turned on, first, the various registers and flags provided in the RAM 5 are initialized (step S51). Next, panel processing corresponding to steps S2 to S6 of the above-described embodiment is performed (step S52). Next, it is determined whether or not the trigger flag is ON (step S53). If the trigger flag is ON, the maximum value Amax (peak value) of the Amax register is referred to and the target device (eg, sequencer, sound source, effector, etc.) is in the mode. An operation instruction corresponding to is sent (step S8). Thereafter, the trigger flag is turned OFF, and the Amax register is cleared to “0” (step S55). Next, other necessary processing is performed (step S13), and the above processing is looped and repeated (S2 to S13).

この実施例装置では、現在値Aと最大値Amax とを比較して現在値Aが最大値Amax を下回ったときに、音楽制御が開始されるようになっているが、本発明はこれに限定されず、例えば現在値Aが最大値Amax から所定の値だけ下回った場合に音楽制御を開始するものであってもよい。例えば仮に所定の値を5として、現在の最大値Amax が50であるとすると、現在値Aが50から45に減少している間は処理が実行されず、44以下になった時点で初めて処理を実行するようにする。こうすることにより、物体の微妙な動きや外界からのノイズで不本意に処理が実行されてしまうことを防ぐことができる。   In this embodiment apparatus, the current value A is compared with the maximum value Amax, and the music control is started when the current value A falls below the maximum value Amax. However, the present invention is not limited to this. For example, the music control may be started when the current value A falls below a maximum value Amax by a predetermined value. For example, assuming that the predetermined value is 5 and the current maximum value Amax is 50, the process is not executed while the current value A is decreasing from 50 to 45, and the process is not performed until 44 or less. To execute. By doing so, it is possible to prevent the processing from being performed unintentionally due to subtle movements of the object or noise from the outside world.

また、本発明の実施にあたって、以上に説明したものの他に、次のような変形形態も可能である。例えば、ビームコントローラの構成は上述のものに限られるものではなく、例えば図23に示すように、二つの赤外線発光ダイオード1A、1Bのビーム照射方向を互いに外側に向けて傾けることに代えて、互いに内側に向けて傾けるものであってもよい。また、図24に示すように、二つの赤外線センサ2A、2Bを離して配置し、その中間位置に赤外線発光ダイオードをそのビーム照射方向を垂直方向に向けて配置するものであってもよい。また、図25に示すように、上向きに配置された赤外線発光ダイオード1Aと赤外線センサ2Aを一つのペアー、同じく上向きに配置された赤外線発光ダイオード1Bと赤外線センサ2Bを他の一つのペアーとし、この二つのペアーを離して配置するものであってもよい。また、上述の実施例では発光ダイオードとセンサを横方向に配置して物体の左右方向の動きに応じて操作指示の内容を変えるようにしたが、これに限らず、発光ダイオードとセンサを横方向とともに前後方向にも配置して、物体の前後左右方向の動きに応じて操作指示を行えるようにしてもよい。   Further, in the implementation of the present invention, the following modifications are possible in addition to those described above. For example, the configuration of the beam controller is not limited to that described above. For example, as shown in FIG. 23, instead of inclining the beam irradiation directions of the two infrared light emitting diodes 1A and 1B toward each other, It may be inclined inward. Further, as shown in FIG. 24, two infrared sensors 2A and 2B may be arranged apart from each other, and an infrared light emitting diode may be arranged at an intermediate position with the beam irradiation direction thereof set in the vertical direction. Further, as shown in FIG. 25, the infrared light emitting diode 1A and the infrared sensor 2A arranged upward are set as one pair, and the infrared light emitting diode 1B and the infrared sensor 2B that are also arranged upward are set as another pair. Two pairs may be arranged apart from each other. In the above-described embodiment, the light emitting diode and the sensor are arranged in the horizontal direction, and the content of the operation instruction is changed according to the movement of the object in the left-right direction. In addition, it may be arranged in the front-rear direction so that an operation instruction can be made according to the movement of the object in the front-rear, left-right direction.

また、上述の実施例では光源として赤外線発光ダイオードを用いた場合について説明したが、これに限らず、通常の可視光領域あるいは紫外線領域の波長の光を検出して音楽制御を行うものであってもよく、それらの領域の光を発生する発光ダイオードを用いるものなどであってもよい。また、発光ダイオードに代えて通常のランプやレーザダイオードなどを用いることも可能である。さらには、これらの光に代えて電波、超音波、磁気などを検出するようにしてもよい。   In the above embodiment, the case where an infrared light emitting diode is used as a light source has been described. However, the present invention is not limited to this, and music control is performed by detecting light having a wavelength in a normal visible light region or ultraviolet region. It is also possible to use a light emitting diode that generates light in these regions. In addition, a normal lamp or a laser diode can be used instead of the light emitting diode. Furthermore, instead of these lights, radio waves, ultrasonic waves, magnetism, etc. may be detected.

また、上述の第1の実施例では、二つの発光ダイオード1A、1Bからの反射光を、時分割で受光することで、それぞれの発光ダイオード1A、1Bからの反射光をそれぞれ区別しているが、本発明はこれに限られるものではなく、例えば発光ダイオード1Aと1Bの照射光の波長を異ならせて同時的に照射し、センサ側にはそれぞれの波長に対応したセンサ(フィルタで波長を分離するなどの方法が可能)を二つ配置することで、発光ダイオード1A、1Bからの反射光をそれぞれ区別できるようにしてもよい。   In the first embodiment described above, the reflected light from the two light emitting diodes 1A and 1B is received in a time-sharing manner to distinguish the reflected light from the respective light emitting diodes 1A and 1B. The present invention is not limited to this. For example, the light emitted from the light-emitting diodes 1A and 1B is irradiated with different wavelengths simultaneously, and the sensor side is separated by a sensor corresponding to each wavelength (the wavelength is separated by a filter). In other words, the reflected light from the light emitting diodes 1A and 1B may be distinguished from each other.

また、上述の実施例では、この電子音楽装置により電子楽器の制御を行うようにしたが、この電子音楽装置とは対照的に、一般的な制御装置として以下のような用途にも応用できる。
1.一般音響機器の制御。例えばミニコンポ、ラジカセ、CDプレーヤ、DJミキサー、ハードディスクレコーダ、MDプレーヤ、DAT装置、ミキサー、アンプ、イコライザ、その他の録音スタジオの器材などの制御。具体的な制御の例として、曲の選択や切換え、再生、録音、停止、フェードイン/フェードアウト、CD/MDなどのディスクチェンジ、内蔵エフェクタのオン/オフ、テンポやボリュームの指定、音響信号を出力するスピーカの選択指定、イコライジングパターンやミキシングパターンの切換えや選択指定。
2.映像機器全体の制御。例えばTVゲーム、ビデオデッキ、DVD、LDプレーヤ、液晶プロジャクタ、ビデオミキサーなどの制御。具体的な制御の例として、音楽制御に同期して映像の切換え、ワイプ指示、ワイプパターンの選択、ビデオの頭出し指定(VISS/VASS)、映像機器の音響部分の制御など。
3.会場の照明その他の仕掛けの制御。会場としては例えばホール、スタジアム、クラブなどがある。具体的な制御の例として、音楽制御に同期して照明の制御、音楽制御に同期してストロボランプを発生させる、音楽制御に同期して会場照明の色や色のパターンを切り換える、音楽制御に同期して花火を打ち上げるなどである。
4.上記の1.〜3.にある装置の組合せを制御する。特に、DJ(ディスク・ジョッキー)やVJ(ビデオ・ジョッキー)に応用すれば、新規な聴覚的・視覚的な効果を奏することができる。
In the above-described embodiment, the electronic musical instrument is used to control the electronic musical instrument. However, in contrast to the electronic musical apparatus, the present invention can be applied to the following applications as a general control apparatus.
1. Control of general audio equipment. For example, control of mini components, radio cassettes, CD players, DJ mixers, hard disk recorders, MD players, DAT devices, mixers, amplifiers, equalizers, and other recording studio equipment. Specific control examples include song selection and switching, playback, recording, stop, fade-in / fade-out, disc change such as CD / MD, built-in effector on / off, tempo and volume specification, and sound signal output Select and specify the speaker to be switched, switch and select the equalizing pattern and mixing pattern.
2. Control of the entire video equipment. For example, control of TV games, video decks, DVDs, LD players, liquid crystal projectors, video mixers, etc. Specific examples of control include video switching in synchronization with music control, wipe instruction, wipe pattern selection, video cueing designation (VISS / VASS), and control of the audio portion of video equipment.
3. Control of lighting and other devices in the venue. Examples of the venue include a hall, a stadium, and a club. Specific examples of control include lighting control in sync with music control, strobe lamp generation in sync with music control, color switching of venue lighting and color patterns in sync with music control, music control For example, fireworks are launched synchronously.
4). Above 1. ~ 3. Control the combination of devices in In particular, when applied to DJ (disc jockey) and VJ (video jockey), a new auditory and visual effect can be produced.

なお、上述した実施形態においては、楽音生成手段として、予めフレーズを表現する演奏データを記憶しておき、この演奏データを読み出し、読み出した演奏データに基づいて楽音信号を生成するものについて説明したが、楽音信号を生成することができるものであれば、どのようなものを楽音生成手段としてもよい。例えば、上記した実施形態において、音源8に予めフレーズを表現する複数の楽音波形データを記憶しておき、演奏データによりいずれの楽音波形データを読み出すかを指定して、指定した楽音波形データを読み出すことにより楽音信号を生成するようにしてもよい。   In the above-described embodiment, the description has been given of the musical sound generating means that stores performance data representing a phrase in advance, reads the performance data, and generates a musical sound signal based on the read performance data. Any device that can generate a musical sound signal may be used as the musical sound generating means. For example, in the above-described embodiment, a plurality of musical sound waveform data expressing phrases is stored in advance in the sound source 8, and it is specified which musical sound waveform data is read by performance data, and the specified musical sound waveform data is read. Thus, a musical tone signal may be generated.

また、この場合、鍵盤やパッドなどの演奏操作手段を備え、演奏者の演奏操作に応じて演奏操作手段から演奏データを発生させ、この演奏データに対応する楽音波形データを読み出すようにしてもよい。あるいは、MIDI信号などの外部既記からの演奏データを入力する演奏データ入力端子を備え、演奏データ入力端子から入力された演奏データに基づいて楽音信号を生成するものを楽音生成手段とすることができる。   In this case, performance operation means such as a keyboard or a pad may be provided, performance data may be generated from the performance operation means in accordance with the performance operation of the performer, and musical sound waveform data corresponding to the performance data may be read out. . Alternatively, a musical sound generating means may be provided with a performance data input terminal for inputting performance data from an external note such as a MIDI signal and generating a musical sound signal based on the performance data input from the performance data input terminal. it can.

楽音波形データを読み出すことにより楽音信号を生成する場合には、反射光の検出値が所定の条件を満たしたことを条件に、予め設定されている所定のフレーズのうち、満たした条件に対応する楽音波形データを読み出すようにすることができる。   When a musical sound signal is generated by reading musical sound waveform data, it corresponds to a condition that is satisfied among predetermined phrases that are set in advance, provided that the detected value of the reflected light satisfies the predetermined condition. The musical sound waveform data can be read out.

また、音楽制御手段、選択手段および楽音生成手段は、専用のハードウェアにより構成することもできるし、CPUあるいはDSPなどの処理装置とこの処理装置で実行される処理プログラムとにより構成することもできる。   The music control means, selection means, and tone generation means can be configured by dedicated hardware, or can be configured by a processing device such as a CPU or DSP and a processing program executed by this processing device. .

本発明に係る一実施例としての電子音楽装置を搭載した電子楽器のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the electronic musical instrument which mounts the electronic music apparatus as one Example which concerns on this invention. 実施例装置のパネル構成を示す図である。It is a figure which shows the panel structure of an Example apparatus. 実施例装置で用いるフレーズのデータ構成を説明する図である。It is a figure explaining the data structure of the phrase used with an Example apparatus. 実施例装置におけるRAMの格納データの構成を示す図である。It is a figure which shows the structure of the storage data of RAM in an Example apparatus. 実施例装置における検出値RA及び検出値RBの等レベル曲線を示す図(横から見た図)である。It is a figure (figure seen from the side) which shows the equal level curve of detected value RA and detected value RB in an Example apparatus. 実施例装置において物体が水平方向に横切った場合の検出値RA及び検出値RBの特性を示す図である。It is a figure which shows the characteristic of detection value RA and detection value RB when an object crosses in a horizontal direction in an Example apparatus. 実施例装置において物体が水平方向に横切った場合のAmax レジスタ及びBmax レジスタに格納される値の特性を示す図である。It is a figure which shows the characteristic of the value stored in the Amax register | resistor and Bmax register | resistor when an object crosses in a horizontal direction in an Example apparatus. 実施例装置におけるメインルーチン(1/2)のフローチヤートである。It is a flowchart of the main routine (1/2) in an Example apparatus. 実施例装置におけるメインルーチン(2/2)のフローチヤートである。It is a flowchart of the main routine (2/2) in an Example apparatus. 実施例装置におけるタイマ割込ルーチン(1/2)のフローチヤートである。It is a flowchart of the timer interruption routine (1/2) in an Example apparatus. 実施例装置におけるタイマ割込ルーチン(2/2)のフローチヤートである。It is a flowchart of the timer interruption routine (2/2) in an Example apparatus. 実施例装置における発光ダイオード1Aの処理を示すフローチヤートである。It is a flowchart which shows the process of the light emitting diode 1A in an Example apparatus. 実施例装置におけるモード1の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 1 in an Example apparatus. 実施例装置におけるモード2の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 2 in an Example apparatus. 実施例装置におけるモード3の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 3 in an Example apparatus. 実施例装置におけるモード4の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 4 in an Example apparatus. 実施例装置におけるモード5の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 5 in an Example apparatus. 実施例装置におけるモード6の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 6 in an Example apparatus. 実施例装置におけるモード7の時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode 7 in an Example apparatus. 実施例装置における物体移動速度にも応じて操作を行うモードの時の表示画面の具体例を示す図である。It is a figure which shows the specific example of the display screen at the time of the mode which operates according to the object moving speed in an Example apparatus. 本発明の他の実施例におけるメインルーチンを示すフローチャートである。It is a flowchart which shows the main routine in the other Example of this invention. 本発明の他の実施例におけるタイマ割込みルーチンを示すフローチャートである。It is a flowchart which shows the timer interruption routine in the other Example of this invention. 本発明の他の実施例としての発光ダイオードとセンサとの配置例を示す図である。It is a figure which shows the example of arrangement | positioning of the light emitting diode and sensor as another Example of this invention. 本発明のまた他の実施例としての発光ダイオードとセンサとの配置例を示す図である。It is a figure which shows the example of arrangement | positioning of the light emitting diode and sensor as another Example of this invention. 本発明のまた他の実施例としての発光ダイオードとセンサとの配置例を示す図である。It is a figure which shows the example of arrangement | positioning of the light emitting diode and sensor as another Example of this invention. 従来例における発光ダイオードの照射特性を説明する図である。It is a figure explaining the irradiation characteristic of the light emitting diode in a prior art example.

符号の説明Explanation of symbols

1A、1B 赤外線発光ダイオード
2、2A、2B 赤外線センサ
3 CPU(中央処理装置)
4 本体ROM(リード・オンリー・メモリ)
5 RAM(ランダム・アクセス・メモリ)
6 パネル上の操作子と表示器
7 シーケンサ
8 音源
9 エフェクタ
1A, 1B Infrared light emitting diode 2, 2A, 2B Infrared sensor 3 CPU (central processing unit)
4 Main body ROM (read-only memory)
5 RAM (Random Access Memory)
6 Panel controls and display 7 Sequencer 8 Sound source 9 Effector

Claims (6)

音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する1以上の光源と該操作空間内の物体で反射された光を受光する1以上の光センサとを、該光源から該物体を経て該光センサに至るまでの光の経路を少なくとも二つ持つように配置し、該各経路を経た光の受光量に応じた検出値をそれぞれ出力するようにした光学手段と、音楽を生成する信号生成手段と、該各経路の検出値の現在値の相互関係が所定の関係となったことを契機として該信号生成手段で生成される音楽の制御を行う音楽制御手段とを備えた電子音楽装置。   An electronic music device that outputs music and controls the music in accordance with a movement mode of an object that moves in a predetermined operation space, and includes at least one light source that irradiates light to the operation space and the operation space One or more optical sensors that receive the light reflected by the object are arranged so as to have at least two light paths from the light source to the optical sensor through the object, and passed through the respective paths. The mutual relationship between the optical means that outputs detection values corresponding to the amount of received light, the signal generation means that generates music, and the current values of the detection values of the respective paths is a predetermined relationship. An electronic music apparatus comprising music control means for controlling music generated by the signal generation means as an opportunity. 音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する光源と該操作空間内の物体で反射された光を受光する光センサとを備え、該光センサの受光量に応じた検出値を出力するようにした光学手段と、該物体の移動に伴って出現する該検出値のピーク値を検出するピーク値検出手段と、音楽を生成する信号生成手段と、該ピーク値検出手段がピーク値を検出したことを契機にして該信号生成手段で生成される音楽の制御を行う音楽制御手段とを備えた電子音楽装置。   An electronic music device that outputs music and controls the music according to a movement mode of an object that moves in a predetermined operation space, and includes a light source that irradiates light to the operation space and an object in the operation space. An optical sensor that receives the reflected light and outputs a detection value corresponding to the amount of light received by the optical sensor; and a peak value of the detection value that appears as the object moves. A peak value detecting means for detecting; a signal generating means for generating music; and a music control means for controlling music generated by the signal generating means when the peak value detecting means detects a peak value. Electronic music device with 音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する1以上の光源と該操作空間内の物体で反射された光を受光する1以上の光センサとを、該光源から該物体を経て該光センサに至るまでの光の経路を少なくとも二つ持つように配置し、該各経路を経た光の受光量に応じた検出値をそれぞれ出力するようにした光学手段と、該各経路の検出値のそれぞれについて該検出値の現在までの最大値を検出する最大値検出手段と、音楽を生成する信号生成手段と、該各経路の検出値の最大値の相互関係に応じて、該信号生成手段の予め定められた種類の異なる複数の音楽制御態様の中からいずれかの音楽制御態様を選択する選択手段とを備えた電子音楽装置。   An electronic music device that outputs music and controls the music in accordance with a movement mode of an object that moves in a predetermined operation space, and includes at least one light source that irradiates light to the operation space and the operation space One or more optical sensors that receive the light reflected by the object are arranged so as to have at least two light paths from the light source to the optical sensor through the object, and passed through the respective paths. Optical means for outputting detection values corresponding to the amount of received light, maximum value detection means for detecting the maximum value of the detection values for each of the detection values of each path, and generating music A music control mode is selected from a plurality of predetermined types of music control modes of the signal generation unit according to the mutual relationship between the signal generation unit that performs detection and the maximum value of the detected values of each path. Electronic music device with selection means . 音楽を出力するとともに、該音楽を所定の操作空間内を移動する物体の移動態様に応じて制御する電子音楽装置であって、該操作空間に光を照射する光源と該操作空間内の物体で反射された光を受光する光センサとを備え、該光センサの受光量に応じた検出値を出力するようにした光学手段と、該物体の移動に伴って出現する該検出値のピーク値を検出するピーク値検出手段と、音楽を生成する信号生成手段と、予め該ピーク値の取りえる範囲を2以上の範囲に分けてその各範囲に対して該信号生成手段の異なる種類の音楽制御態様がそれぞれ割り当ててあり、該ピーク値検出手段で検出したピーク値に応じて該ピーク値の属する範囲に対応した音楽制御態様を選択する選択手段とを備えた電子音楽装置。   An electronic music device that outputs music and controls the music according to a movement mode of an object that moves in a predetermined operation space, and includes a light source that irradiates light to the operation space and an object in the operation space. An optical sensor that receives the reflected light and outputs a detection value corresponding to the amount of light received by the optical sensor; and a peak value of the detection value that appears as the object moves. A peak value detecting means for detecting, a signal generating means for generating music, and a range of the peak value can be divided into two or more ranges in advance, and different types of music control modes of the signal generating means for each range And a selection means for selecting a music control mode corresponding to the range to which the peak value belongs according to the peak value detected by the peak value detection means. 該各経路の検出値のそれぞれについて該検出値の現在までの最大値を検出する最大値検出手段と、該各経路の検出値の最大値の相互関係に応じて、該信号生成手段の予め定められた種類の異なる複数の音楽制御態様の中からいずれかの音楽制御態様を選択する選択手段とを備え、前記音楽制御手段は、該各経路の検出値の現在値の相互関係が所定の関係になったことを契機として該選択手段により選択された音楽制御態様の音楽制御を行うようにした請求項1記載の電子音楽装置。   The maximum value detecting means for detecting the maximum value of the detected value up to the present time for each detected value of each path, and the signal generating means predetermined according to the mutual relationship of the maximum value of the detected value of each path Selection means for selecting any music control mode from a plurality of different types of music control modes, wherein the music control unit has a predetermined relationship between the current values of the detected values of the respective paths. 2. The electronic music apparatus according to claim 1, wherein the music control of the music control mode selected by the selection means is performed when triggered by the above. 前記ピーク値検出手段がピーク値を検出したことを契機として前記選択手段により選択された音楽制御態様の音楽制御を行う音楽制御手段を備えた請求項4記載の電子音楽装置。   5. The electronic music apparatus according to claim 4, further comprising music control means for performing music control in a music control mode selected by the selection means when the peak value detection means detects a peak value.
JP2007153564A 1997-12-26 2007-06-11 Electronic musical device Pending JP2007264653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007153564A JP2007264653A (en) 1997-12-26 2007-06-11 Electronic musical device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP36001597 1997-12-26
JP2007153564A JP2007264653A (en) 1997-12-26 2007-06-11 Electronic musical device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP37109798A Division JP3995357B2 (en) 1997-12-26 1998-12-25 Electronic music equipment

Publications (1)

Publication Number Publication Date
JP2007264653A true JP2007264653A (en) 2007-10-11

Family

ID=38637635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007153564A Pending JP2007264653A (en) 1997-12-26 2007-06-11 Electronic musical device

Country Status (1)

Country Link
JP (1) JP2007264653A (en)

Similar Documents

Publication Publication Date Title
US6489550B1 (en) Musical apparatus detecting maximum values and/or peak values of reflected light beams to control musical functions
US6337433B1 (en) Electronic musical instrument having performance guidance function, performance guidance method, and storage medium storing a program therefor
JP2922509B2 (en) Music production game machine, production operation instruction system for music production game, and computer-readable storage medium on which game program is recorded
US6140565A (en) Method of visualizing music system by combination of scenery picture and player icons
JP3320700B2 (en) Game system and computer-readable storage medium for realizing the game system
US5990409A (en) Musical apparatus detecting maximum values and/or peak values of reflected light beams to control musical functions
US8502057B2 (en) Electronic musical instrument
JPH11513811A (en) Real-time music creation system
JP2006011364A (en) Electronic hi-hat cymbal
JP3303576B2 (en) Automatic performance device
JP3995357B2 (en) Electronic music equipment
JP2007264653A (en) Electronic musical device
JPH02131292A (en) Automatic playing device
US6147292A (en) Data-setting system and method, and recording medium
JP3671511B2 (en) Equipment control device
JP4246825B2 (en) Electronic musical instruments that generate musical sound signals
JP3620366B2 (en) Electronic keyboard instrument
JP3543680B2 (en) Electronic keyboard instrument with performance guide
EP0731432A1 (en) Electronic device for the study and practice of a musical instrument, particularly a set of percussion instruments
JP3584826B2 (en) Music signal generator
JPH06195071A (en) Part information recording device
JPS62151898A (en) Automatic performer
JP3986751B2 (en) Musical performance device
JP3978277B2 (en) Automatic accompaniment device
JP2002196760A (en) Musical sound generator

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081209

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090428