JPH07181971A - Data setting device and automatic musical instrument having the same - Google Patents

Data setting device and automatic musical instrument having the same

Info

Publication number
JPH07181971A
JPH07181971A JP5345238A JP34523893A JPH07181971A JP H07181971 A JPH07181971 A JP H07181971A JP 5345238 A JP5345238 A JP 5345238A JP 34523893 A JP34523893 A JP 34523893A JP H07181971 A JPH07181971 A JP H07181971A
Authority
JP
Japan
Prior art keywords
data
tempo
register
change
touch
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.)
Abandoned
Application number
JP5345238A
Other languages
Japanese (ja)
Inventor
Hiroshi Morokuma
浩志 諸隈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5345238A priority Critical patent/JPH07181971A/en
Publication of JPH07181971A publication Critical patent/JPH07181971A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】 【目的】 ユーザーの感覚及び速度的欲求に合った変化
態様でデータを設定変更することのできるデータ設定装
置及びこれを有する自動演奏装置を提供する。 【構成】 レジスタTの内容に基づいて、変換テーブル
Aの内容を読み出してレジスタPにストアし(SC
5)、これによりレジスタPにはスイッチに対するタッ
チの強さを示す値が格納される。次に、レジスタPの内
容に基づいて、変換テーブルB〜Dの内容を読み出し、
各々レジスタΔT、x、ΔTiにストアする(SC
6)。これにより、ΔTにはタッチの強さに対応するテ
ンポの変化量が、xにはタッチの強さに対応するオート
インクリメント待ち時間が、ΔTiにはタッチの強さに
対応するオートインクリメント変更時間が、各々格納さ
れる。そして、以降のフローでΔT、x、ΔTiに基づ
いて、現在テンポの値を格納しているレジスタTnの値
を書き換える。
(57) [Abstract] [PROBLEMS] To provide a data setting device capable of setting and changing data in a changing manner that suits the user's sense and speed desire, and an automatic performance device having the same. [Configuration] Based on the content of the register T, the content of the conversion table A is read and stored in the register P (SC
5) As a result, the value indicating the strength of the touch on the switch is stored in the register P. Next, the contents of the conversion tables B to D are read out based on the contents of the register P,
Store in registers ΔT, x, ΔTi respectively (SC
6). As a result, ΔT is the tempo change amount corresponding to the touch strength, x is the auto increment wait time corresponding to the touch strength, and ΔTi is the auto increment change time corresponding to the touch strength. , Stored respectively. Then, in the subsequent flow, the value of the register Tn which stores the current tempo value is rewritten based on ΔT, x, ΔTi.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、自動演奏に用いられる
テンポデータ等の各種データの設定に用いられるデータ
設定装置、及びこれを有する自動演奏装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data setting device used for setting various data such as tempo data used for automatic performance, and an automatic performance device having the same.

【0002】[0002]

【従来の技術】従来、自動演奏機能を有する電子楽器に
おいては、自動演奏のテンポを決定するテンポデータを
設定変更するためのテンポアップスイッチと、テンポダ
ウンスイッチとが設けられている。そして、テンポアッ
プスイッチをワンタッチ操作すると、操作毎にテンポデ
ータがインクリメントされ、テンポダウンスイッチをワ
ンタッチ操作すると、操作毎にテンポデータがデクリメ
ントされる。また、テンポアップスイッチを押し続ける
と、所定時間が経過した時点から、一定のタイミングで
テンポデータが連続的にインクリメントされ、テンポダ
ウンスイッチを押し続けると、所定時間が経過した時点
から、一定のタイミングでテンポデータが連続的にデク
リメントされる。
2. Description of the Related Art Conventionally, an electronic musical instrument having an automatic performance function is provided with a tempo up switch and a tempo down switch for changing the setting of tempo data that determines the tempo of the automatic performance. When the tempo up switch is operated with one touch, the tempo data is incremented for each operation, and when the tempo down switch is operated with one touch, the tempo data is decremented for each operation. In addition, if you keep pressing the tempo up switch, the tempo data will be continuously incremented at a fixed timing from the time when a predetermined time has elapsed, and if you continue to press the tempo down switch, the tempo data will change from the time when the predetermined time has passed to a constant timing. The tempo data is continuously decremented by.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のテンポ設定機能にあっては、各スイッチを押
し続けた場合において、テンポデータが変化を開始する
までの時間や、変化するタイミングは常に一定である。
このため、迅速にテンポデータを変更したい場合には、
テンポデータが変化するまでの時間や変化するタイミン
グが遅いと感ずる不満が生ずる。また、正確にテンポデ
ータを設定したい場合には、所望のテンポデータとなっ
た時点でスイッチの操作をやめるタイミングがずれる等
により、テンポデータが変化するタイミングが速いと感
ずる不満が生じてしまう。よって、ユーザーの感覚や速
度的欲求に合ったテンポデータの設定変更を行い得るも
のではなかった。
However, in such a conventional tempo setting function, the time until the tempo data starts changing and the timing of changing the tempo data are always constant when each switch is held down. It is constant.
Therefore, if you want to change the tempo data quickly,
Dissatisfaction occurs when the time until the tempo data changes and the timing of the change are slow. In addition, when it is desired to set the tempo data accurately, the timing of changing the tempo data may be unacceptable because the timing at which the switch operation is stopped is shifted when the desired tempo data is reached. Therefore, it is not possible to change the setting of the tempo data that suits the user's sense and speeding desire.

【0004】本発明は、このような従来の課題に鑑みて
なされたものであり、ユーザーの感覚及び速度的欲求に
合った変化態様でデータを設定変更することのできるデ
ータ設定装置及びこれを有する自動演奏装置を提供する
ことを目的とするものである。
The present invention has been made in view of such conventional problems, and has a data setting device and a data setting device capable of changing data in a changing manner that suits the user's sense and speeding desire. It is an object of the present invention to provide an automatic performance device.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明にあっては、データを記憶する記憶手段と、操
作子に対するタッチレスポンスを検出する検出手段と、
前記タッチレスポンスを前記データの変化量に変換する
第1の変換手段と、前記タッチレスポンスを前記データ
の変更を開始するまでの待ち時間に変換する第2の変換
手段と、前記タッチレスポンスを前記データの変更時間
間隔に変換する第3の変換手段と、前記各変換手段によ
り変換された前記変化量、待ち時間、及び変更時間間隔
に従って、前記記憶手段に記憶されているデータを書き
換える書換手段とを有することを要旨としている。
In order to solve the above problems, according to the present invention, storage means for storing data, detection means for detecting a touch response to an operator,
First conversion means for converting the touch response into the amount of change in the data, second conversion means for converting the touch response into a waiting time until the change of the data is started, and the touch response with the data And a rewriting unit that rewrites the data stored in the storage unit according to the change amount, the waiting time, and the change time interval converted by each of the conversion units. The main point is to have.

【0006】[0006]

【作用】前記構成において、操作子にタッチするとその
タッチレスポンスが検出手段により検出される。する
と、第1の変換手段は、タッチレスポンスをデータの変
化量に変換し、第2の変換手段は、タッチレスポンスを
データの変更を開始するまでの待ち時間に変換し、第3
の変換手段は、タッチレスポンスをデータの変更時間間
隔に変換する。そして、このようにタッチレスポンスが
各変換手段により前記変化量、待ち時間、及び変更時間
間隔に変換されると、書換手段はこれらに従って、記憶
手段に記憶されているデータを書き換える。よって、記
憶手段に記憶されているデータは、ユーザーが操作子に
タッチした際の強さや速さに応じて異なる態様で変更さ
れる。
In the above structure, when the operator is touched, the touch response is detected by the detecting means. Then, the first conversion unit converts the touch response into a data change amount, and the second conversion unit converts the touch response into a waiting time until the data change is started.
The conversion means converts the touch response into a data change time interval. Then, when the touch response is converted into the change amount, the waiting time, and the change time interval by each conversion unit in this way, the rewriting unit rewrites the data stored in the storage unit according to these. Therefore, the data stored in the storage unit is changed in a different manner according to the strength and speed of the touch on the operator by the user.

【0007】[0007]

【実施例】以下、本発明の一実施例を図にしたがって説
明する。図1は、本実施例にかかる自動演奏装置の全体
構成を示すブロック図である。このブロック図におい
て、CPU1には、制御sw群2からの操作情報が、タ
ッチ検出部3を介して入力される。CPU1は、これら
操作情報やROM4に格納されているプログラム及びR
AM5に記憶されるデータ等に基づいて、表示部6及び
音源17を制御する。前記制御sw群2としては、図2
に示すように、一対のテンポsw7、st/sp(スタ
ート/ストップ)sw8、及び5個のリズムセレクトs
w9が設けられており、テンポsw7はup sw7a
とdown sw7bとで構成されている。また、前記
表示部6としては、テンポデータの値を示すLCD10
が設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of the automatic musical instrument according to this embodiment. In this block diagram, operation information from the control sw group 2 is input to the CPU 1 via the touch detection unit 3. The CPU 1 uses the operation information, the programs stored in the ROM 4, and the R
The display unit 6 and the sound source 17 are controlled based on the data stored in the AM 5. As the control sw group 2, FIG.
As shown in, a pair of tempo sw7, st / sp (start / stop) sw8, and five rhythm select s
w9 is provided, tempo sw7 is up sw7a
And down sw7b. Further, as the display unit 6, the LCD 10 indicating the value of tempo data is displayed.
Is provided.

【0008】前記up sw7a及びdown sw7b
は、図3に示すように、ゴム製であって可撓性を有する
ドーム部11を有しており、このドーム部11の上部に
は、操作部12が形成されている。操作部12の下面周
部には、円環状の第1接点13が突設されており、中心
部にはこの第1接点13より下方への突出長が短い第2
接点14が突設されている。また、第1接点13と第2
接点14に対向する下面には、下部接点15,16が形
成されている。したがって、操作部12を押圧すること
によりドーム部11が変形すると、第1接点13と第2
接点14とが、操作部12に対するタッチの強さに応じ
た時間差をもって下部接点15,16に接触してONと
なり、この第1接点13と第2接点14とのON時間差
によりタッチの強さが検出される。
The up sw7a and the down sw7b
As shown in FIG. 3, has a dome portion 11 made of rubber and having flexibility, and an operation portion 12 is formed on an upper portion of the dome portion 11. An annular first contact 13 is provided on the peripheral portion of the lower surface of the operation portion 12, and a second portion having a shorter protruding length downward than the first contact 13 is provided in the central portion.
Contact points 14 are provided so as to project. Also, the first contact 13 and the second
Lower contacts 15 and 16 are formed on the lower surface facing the contacts 14. Therefore, when the dome portion 11 is deformed by pressing the operation portion 12, the first contact 13 and the second contact 13
The contact point 14 comes into contact with the lower contact points 15 and 16 to be turned on with a time difference according to the strength of the touch on the operation unit 12, and the touch strength is increased by the ON time difference between the first contact point 13 and the second contact point 14. To be detected.

【0009】また、ROM4には、前記プログラムとと
もに、下記及び図4〜7に示す変換テーブルが用意され
ている。 〇変換テーブルA(図4):前記第1接点13と第2接
点14とのON時間差Tと、該オン時間差Tが小さいほ
ど大きな値となる0〜10のタッチの強さPとが、対応
して記憶されている。 〇変換テーブルB(図5):タッチの強さPと、該タッ
チの強さPが大きくなるに従って大きくなる、1,3,
7,10の4段階からなるテンポの変化量ΔTとが、対
応して記憶されている。 〇変換テーブルC(図6):タッチの強さPと、該タッ
チの強さPが大きくなるに従って小さくなる、1,3,
10の3段階からなるオートインクリメント待ち時間x
とが、対応して記憶されている。 〇変換テーブルD(図7):タッチの強さPと、該タッ
チの強さPが大きくなるに従って小さくなる、1,3,
5の3段階からなるオートインクリメント変更時間ΔT
iとが、対応して記憶されている。
Further, the ROM 4 is provided with a conversion table shown below and shown in FIGS. Conversion table A (FIG. 4): the ON time difference T between the first contact 13 and the second contact 14 corresponds to the touch strength P of 0 to 10 that becomes larger as the ON time difference T becomes smaller. And remembered. Conversion table B (FIG. 5): touch strength P and increases as the touch strength P increases 1, 3,
The tempo change amount ΔT having four stages of 7 and 10 is stored correspondingly. Conversion table C (FIG. 6): touch strength P and decreases as the touch strength P increases, 1, 3,
Auto-increment wait time x consisting of 10 stages x
And are stored correspondingly. Conversion table D (FIG. 7): touch strength P and decreases as the touch strength P increases, 1, 3,
Auto increment change time ΔT consisting of 3 steps
i and i are stored correspondingly.

【0010】なお、ROM4には、これら変換テーブル
やプログラムとともに、前記5個のリズムセレクトsw
9に対応する5種類のリズムパターンが記憶されてい
る。この各リズムパターンは、ロック、ワルツ等の当該
リズムを構成するリズム音をアドレス順に記憶したデー
タからなる。そして、自動リズム演奏が開始された際に
は、CPU1は、予め選択されているリズムパターンの
構成データをアドレス順に読み出して、このデータに基
づき順次音源17に発音を指示する。音源17は、CP
U1からの指示に従って楽音波形を生成し、この楽音波
形によりアンプ及びスピーカ等で構成されるサウンドシ
ステム18が動作することにより、リズム音が発生す
る。
It should be noted that the ROM 4 together with these conversion tables and programs, the five rhythm select sw.
Five types of rhythm patterns corresponding to 9 are stored. Each rhythm pattern consists of data in which rhythm sounds such as rock and waltz that compose the rhythm are stored in the order of addresses. Then, when the automatic rhythm performance is started, the CPU 1 reads out the constituent data of the rhythm pattern selected in advance in the order of addresses, and sequentially instructs the sound source 17 to generate sound based on this data. Sound source 17 is CP
A musical tone waveform is generated according to an instruction from U1, and a rhythm sound is generated by operating the sound system 18 including an amplifier, a speaker, and the like by this musical tone waveform.

【0011】次に、以上の構成にかかる本実施例の動作
を図8以降に示すフローに従って説明する。すなわち、
図外の電源を投入すると、CPU1は図8に示すメイン
フローに従って動作を開始し、先ずイニシャライズ処理
を実行する(SA1)。このイニシャライズ処理におい
ては、以降のフローにおいて用いられる各種レジスタに
初期値を設定する。引き続き、sw処理(SA2)、表
示処理(SA3)、リズム発音処理(SA4)、及びこ
のSA2〜SA4で実行される以外のその他の処理(S
A5)を順次実行し、電源がオン状態である間、SA2
〜SA5のループを繰り返す。
Next, the operation of this embodiment having the above configuration will be described according to the flow shown in FIG. That is,
When a power source (not shown) is turned on, the CPU 1 starts its operation according to the main flow shown in FIG. 8, and first executes an initialization process (SA1). In this initialization process, initial values are set in various registers used in the subsequent flow. Subsequently, sw processing (SA2), display processing (SA3), rhythm sound generation processing (SA4), and other processing (S) other than those executed in SA2 to SA4.
A5) is sequentially executed, and while the power is on, SA2
~ SA5 loop is repeated.

【0012】前記sw処理(SA2)は、図9に示すフ
ローに従って行われ、up sw処理(SB1)、do
wn sw処理(SB2)、リズムセレクトsw処理
(SB3)、st/sp sw処理(SB4)を順次実
行する。
The sw processing (SA2) is performed according to the flow shown in FIG. 9, and the up sw processing (SB1), do
The wn sw process (SB2), the rhythm select sw process (SB3), and the st / sp sw process (SB4) are sequentially executed.

【0013】前記up sw処理(SB1)は、図10
及び図11に示す一連のフローに従って行われるが、こ
のフローにおいては、下記に示すフラグ及びタイマーが
用いられる。
The up sw process (SB1) is shown in FIG.
And a series of flows shown in FIG. 11, the following flags and timers are used in this flow.

【0014】upF:up swフラグ IncF:インクリメント間隔時間カウントフラグ TstF:インクリメント開始待ち時間カウントストッ
プフラグ t:インクリメント開始待ち時間タイマー t1:インクリメント間隔時間カウントタイマー すなわち、先ずup sw7aがオン状態にあるか否か
を判別し(SC1)、up sw7aがオフとなった場
合には、各フラグupF、IncF、TstF、及びタ
イマーt、t1をクリアする(SC2)。また、up s
w7aがオン状態にある場合には、upFがセット状態
にあるか否かを判別する(SC3)。このupFは、後
述するSC9でセットされるフラグであって、up s
w7aがオンとなった直後においては、前述のSC2の
処理によりリセットされている。よって、この場合には
前記第1接点13と第2接点14とのON時間差を所定
のレジスタTにセットする(SC4)。
UpF: up sw flag IncF: Increment interval time count flag TstF: Increment start wait time count stop flag t: Increment start wait time timer t 1 : Increment interval time count timer That is, whether the up sw7a is on first determine whether (SC1), if the Stay up-SW7a is turned off, the flag UPF, IncF, clears TstF, and a timer t, and t 1 (SC2). Also, up s
When w7a is in the ON state, it is determined whether or not upF is in the set state (SC3). This upF is a flag set in SC9 described later, and is up s
Immediately after w7a is turned on, it is reset by the above-mentioned processing of SC2. Therefore, in this case, the ON time difference between the first contact 13 and the second contact 14 is set in the predetermined register T (SC4).

【0015】次に、レジスタTの内容に基づいて、変換
テーブルAの内容を読み出してレジスタPにストアし
(SC5)、このSC5の処理によりレジスタPには、
前記第1接点13と第2接点14とのON時間差に対応
するタッチの強さを示す値が格納される。引き続き、レ
ジスタPの内容に基づいて、変換テーブルB〜Dの内容
を読み出し、各々レジスタΔT、x、ΔTiにストアす
る(SC6)。よって、このSC6の処理により、ΔT
にはタッチの強さに対応するテンポの変化量が、xには
タッチの強さ対応するオートインクリメント待ち時間
が、ΔTiにはタッチの強さ対応するオートインクリメ
ント変更時間が、各々格納される。
Next, based on the contents of the register T, the contents of the conversion table A are read out and stored in the register P (SC5).
A value indicating the strength of touch corresponding to the ON time difference between the first contact 13 and the second contact 14 is stored. Subsequently, the contents of the conversion tables B to D are read based on the contents of the register P and stored in the registers ΔT, x, ΔTi (SC6). Therefore, by this processing of SC6, ΔT
Stores the tempo change amount corresponding to the touch strength, x stores the auto increment wait time corresponding to the touch strength, and ΔTi stores the auto increment change time corresponding to the touch strength.

【0016】さらに、現在テンポの値を格納しているレ
ジスタTnにΔTの値を加えて、これを更新し(SC
7)、tをリセットした後(SC8)、以上の処理を行
ったことを示すupFをセットしておく(SC9)。次
に、t=x(オートインクリメント待ち時間)か否かを
判別し(図11SC10)、t≠xであればフローを通
過し、t=xとなった時点でTstFをセットする(S
C11)。
Further, the value of ΔT is added to the register Tn which stores the value of the current tempo to update it (SC
7) After resetting t (SC8), upF indicating that the above processing has been performed is set (SC9). Next, it is determined whether or not t = x (auto increment waiting time) (SC10 in FIG. 11). If t ≠ x, the flow is passed, and when t = x, TstF is set (S).
C11).

【0017】次に、IncFがセット状態にあるか否か
を判別するが(SC12)、このIncFは、後述する
SC15でセットされるフラグであって、up sw7
aがオンとなった直後においては、前述のSC2の処理
によりリセットされている。よって、現在テンポの値を
格納しているレジスタTnにΔTの値を加えて、これを
更新して(SC13)、t1をリセットした後(SC1
4)、このSC14の処理を行ったことを示すIncF
をセットしておく(SC15)。さらに、t1=ΔTi
(オートインクリメント変更時間)であるか否かを判別
して(SC16)、t1≠ΔTiであればこのフローを
抜け、t1=ΔTiとなった時点で、現在テンポの値を
格納しているレジスタTnにΔTの値を加えて、これを
更新した後(SC17)、t1をリセットする(SC1
8)。
Next, it is determined whether or not IncF is in the set state (SC12). This IncF is a flag set in SC15 described later, and up sw7 is used.
Immediately after a is turned on, it is reset by the above-mentioned processing of SC2. Therefore, after adding the value of ΔT to the register Tn which stores the current tempo value, updating this (SC13), and resetting t 1 (SC1
4), IncF indicating that this SC14 processing has been performed
Is set (SC15). Furthermore, t 1 = ΔTi
It is determined whether or not (auto increment change time) (SC16), and if t 1 ≠ ΔTi, this flow is exited, and the current tempo value is stored when t 1 = ΔTi. After adding the value of ΔT to the register Tn and updating it (SC17), t 1 is reset (SC1
8).

【0018】また、up sw7aがオン状態にある
と、このフローが再度実行された際、SC1からSC3
に進むこととなるが、既にupF=1であることから、
SC4〜SC9の処理は行われず、SC3→SC10→
SC11→SC12と進む。しかし、既にIncF=1
の状態にあることから、SC13〜SC15の処理は行
われない。したがって、up sw7aがオン状態にあ
ると、実質的にSC16〜SC18の判別処理のみが行
われ、t1=ΔTiとなる毎に、現在テンポの値を格納
しているレジスタTnにΔTが加算されて、更新され
る。
If the up sw7a is in the ON state, when this flow is executed again, SC1 to SC3
However, since upF = 1 already,
The processing of SC4 to SC9 is not performed, and SC3 → SC10 →
Go to SC11 → SC12. However, already IncF = 1
Since it is in the state of, the processing of SC13 to SC15 is not performed. Therefore, when the up sw7a is in the ON state, substantially only the determination process of SC16 to SC18 is performed, and ΔT is added to the register Tn storing the current tempo value each time t 1 = ΔTi. Will be updated.

【0019】一方、図12に示すタイマインタラプト1
は、一定時間間隔で実行され、後述するdownF又は
前記upFがセット状態にあり(SD1がYES)、か
つ、TstFがリセット状態にある場合には(SD2が
YES)、tをインクリメントする(SD3)。そし
て、前記図11のSC10においてt=xを判別した
際、xにはオートインクリメント待ち時間が格納されて
いることから、t=xとなってこのオートインクリメン
ト待ち時間が経過するまでは、SC11以下の処理が実
行されないこととなる。また、このオートインクリメン
ト待ち時間は、ユーザーのup sw7aに対するタッ
チの強さに応じた値であることから、ユーザーは任意の
強さでup sw7aをタッチすることにより、自由に
オートインクリメント待ち時間を設定することができ
る。
On the other hand, the timer interrupt 1 shown in FIG.
Is executed at fixed time intervals, and if downF or the upF described later is in the set state (SD1 is YES) and TstF is in the reset state (SD2 is YES), t is incremented (SD3). . When t = x is determined in SC10 of FIG. 11, since the auto-increment waiting time is stored in x, SC11 or less is kept until t = x and the auto-increment waiting time elapses. Will not be executed. Since this auto-increment waiting time is a value according to the strength of the user's touch on the up sw7a, the user can freely set the auto-increment waiting time by touching the up sw7a with an arbitrary strength. can do.

【0020】また、図12に示すタイマインタラプト1
において、後述するDecF又は前記IncFがセット
状態にある場合(SD4がYES)には、t1をインク
リメントする。そして、図11のSC16においてt1
=ΔTiを判別した際、ΔTiにはオートインクリメン
ト変更時間が格納されていることから、t1=ΔTiと
なってこのオートインクリメント変更時間が経過するま
では、SC17以下の処理が実行されないこととなる。
また、このオートインクリメント変更時間も、ユーザー
のup sw7aに対するタッチの強さに応じた値であ
ることから、ユーザーは任意の強さでup sw7aを
タッチすることにより、自由にオートインクリメント変
更時間を設定することができる。そして、このオートイ
ンクリメント変更時間が経過した時点で(SC16がY
ES)、現在テンポの値を格納しているレジスタTnが
更新されることから、テンポの値の更新速度=変化速度
は、ユーザーのup sw7aに対するタッチの強さに
応じて変化する。
Further, the timer interrupt 1 shown in FIG.
In, when DecF or the IncF described later is in the set state (SD4 is YES), t 1 is incremented. Then, at SC16 of FIG. 11, t 1
= When it is determined the .DELTA.Ti, since the auto-increment change time is stored in the .DELTA.Ti, until becomes t 1 = .DELTA.Ti elapses the autoincrement change time, so that the SC17 following process is not executed .
Also, since this auto increment change time also has a value according to the strength of the touch on the up sw7a by the user, the user can freely set the auto increment change time by touching the up sw7a with an arbitrary strength. can do. Then, when this auto increment change time has elapsed (SC16 is set to Y
ES), since the register Tn that stores the current tempo value is updated, the update speed = change speed of the tempo value changes according to the strength of the touch on the up sw7a by the user.

【0021】しかも、このSC17でレジスタTnに加
算される値ΔTは、前述のSC6でレジスタΔTにスト
アした値であって、このΔTもユーザーのup sw7
aに対するタッチの強さに応じた値である。したがっ
て、前述した図10及び図11に示すフローが実行され
ることにより、レジスタTnに格納されているテンポデ
ータは、up sw7aに対するタッチが強いほど、短
い待ち時間及び短い時間間隔であって、かつ、大きい変
化量をもって増加する。また、up sw7aがオン状
態である間、前記時間間隔であって、前記変化量をもっ
てテンポデータの値が増加する。そして、up sw7
aの操作を止めることにより、これがオフになると、前
述のようにSC1からSC2に進み、各フラグupF、
IncF、TstF、及びタイマーt、t1をクリアし
た後、このフローを抜ける。
Moreover, the value ΔT added to the register Tn in SC17 is the value stored in the register ΔT in SC6, and this ΔT is also up sw7 of the user.
It is a value according to the strength of the touch on a. Therefore, the tempo data stored in the register Tn has a shorter waiting time and a shorter time interval as the touch on the up sw7a is stronger by executing the above-described flows shown in FIGS. 10 and 11, and , Increase with a large amount of change. Further, while the up sw7a is in the ON state, the tempo data value increases with the change amount at the time interval. And up sw7
When this is turned off by stopping the operation of a, the process proceeds from SC1 to SC2 as described above, and each flag upF,
After clearing IncF, TstF, and timers t and t 1 , this flow is exited.

【0022】前記down sw処理(図9のSB2)
は、図13及び図14に示す一連のフローに従って行わ
れるが、このフローにおいては、以下の点のみが前述の
図10及び図11に示すフローと異なる。すなわち、前
述のup sw処理において用いられた、upF:up
swフラグに代えてdownF:down swフラグ
を用い、IncF:インクリメント間隔時間カウントフ
ラグに代えてDecF:デクリメント間隔時間カウント
フラグを用いている。また、前述のup sw処理のS
C7、SC13及びSC17では、現在テンポの値を格
納しているレジスタTnにΔTの値を加えて、これを更
新しているのに対し、down sw処理の対応するS
E7、SE13及びSE17では、現在テンポの値を格
納しているレジスタTnからΔTの値を減じて、これを
更新している。
The down sw process (SB2 in FIG. 9)
Is performed according to the series of flows shown in FIGS. 13 and 14, but this flow differs from the above-described flows shown in FIGS. 10 and 11 only in the following points. That is, upF: up used in the above-mentioned up sw process.
Instead of the sw flag, a downF: down sw flag is used, and instead of the IncF: increment interval time count flag, a DecF: decrement interval time count flag is used. In addition, S of the above-mentioned up sw processing
In C7, SC13, and SC17, the value of ΔT is added to the register Tn which stores the value of the current tempo to update it, while the corresponding S of the down sw process is updated.
At E7, SE13, and SE17, the value of ΔT is subtracted from the register Tn that stores the current tempo value to update it.

【0023】したがって、図13及び図14の示す一連
のフローが実行されると、レジスタTnに格納されてい
るテンポデータは、down sw7bに対するタッチ
が強いほど、短い待ち時間及び短い時間間隔であって、
かつ、大きい変化量をもって減少する。また、down
sw7bがオン状態である間、前記時間間隔であっ
て、前記変化量をもってテンポデータの値が減少し、d
own sw7bの操作を止めることにより、これがオ
フになると、このフローを抜ける。
Therefore, when the series of flows shown in FIGS. 13 and 14 are executed, the tempo data stored in the register Tn indicates that the stronger the touch on the down sw7b, the shorter the waiting time and the shorter time interval. ,
And it decreases with a large amount of change. Also, down
While sw7b is in the ON state, the tempo data value decreases with the change amount at the time interval, and d
When this is turned off by stopping the operation of own sw7b, this flow is exited.

【0024】また、前記リズムセレクトsw処理(図9
のSB3)は、図15に示すフローに従って行われ、先
ずリズムセレクトsw9の状態に変化があるか否かを判
別する(SF1)。5個で構成される何れかのリズムセ
レクトsw9が操作されて、その状態に変化があった場
合には、レジスタRRに操作されたswに対応するリズ
ム番号を格納し(SF2)、しかる後にアドレスレジス
タADをリセットしておく(SF3)。
Further, the rhythm select sw process (see FIG. 9)
SB3) is performed according to the flow shown in FIG. 15, and it is first determined whether or not there is a change in the state of the rhythm select sw9 (SF1). When any of the five rhythm select sw9 is operated and its state is changed, the rhythm number corresponding to the operated sw is stored in the register RR (SF2), and then the address is stored. The register AD is reset (SF3).

【0025】前記st/sp sw処理(図9のSB
4)は、図16に示すフローに従って行われ、st/s
p sw8の状態に変化があるか否かを判別する(SG
1)。st/sp sw8が操作されて、その状態に変
化があった場合には、スタートフラグSTFを反転し
(SG2)、したがって、スタートフラグSTFはst
/sp sw8が操作される都度、1,0に変化する。
しかる後に、アドレスレジスタADをリセットし(SF
3)、このフローを抜ける。
The st / sp sw processing (SB in FIG. 9)
4) is performed according to the flow shown in FIG. 16, and st / s
It is determined whether there is a change in the state of psw8 (SG
1). When the st / sp sw8 is operated and its state is changed, the start flag STF is inverted (SG2), and therefore the start flag STF is set to st.
Each time / sp sw8 is operated, it changes to 1,0.
After that, the address register AD is reset (SF
3) Exit this flow.

【0026】一方、図8に示したメインフローにおい
て、SA2のsw処理に続くSA3の表示処理は、図1
7に示すフロー従って行われ、レジスタTnの内容を表
示する(SH1)。したがって、このSH1の処理によ
り、前述の図10,11のSC7、SC13及びSC1
7、及び図13,14のSE7、SE13及びSE17
で更新されるレジスタTnの値が、順次表示部6に表示
される。よって、表示部6に表示されるテンポデータの
値も、up sw7a及びdown sw7bに対するタ
ッチの強さに応じた待ち時間、時間間隔及び変化量をも
って変化する。
On the other hand, in the main flow shown in FIG. 8, the display process of SA3 subsequent to the sw process of SA2 is as shown in FIG.
This is performed according to the flow shown in FIG. 7, and the contents of the register Tn are displayed (SH1). Therefore, by the processing of this SH1, SC7, SC13 and SC1 in FIGS.
7, and SE7, SE13 and SE17 of FIGS.
The value of the register Tn updated by is displayed on the display unit 6 sequentially. Therefore, the value of the tempo data displayed on the display unit 6 also changes with the waiting time, the time interval, and the change amount according to the strength of the touch on the up sw7a and the down sw7b.

【0027】また、図8に示したメインフローにおい
て、SA3の表示処理に続くSA4のリズム発音処理
は、図18に示すフロー従って行われる。すなわち、先
ず、スタートフラグSTFがセット状態にあるか否かを
判別して(SJ1)、リセット状態にあるならば、アド
レスレジスタADをクリアするとともに、レジスタTx
に所定値を格納する(SJ2)。また、スタートフラグ
STFがセット状態にあるならば、アドレスレジスタA
Dの内容をアドレスとして、RRの内容(リズム番号)
に対応するリズムパターンをROM4から読み出し(S
J3)、これを音源17に送出する(SJ4)。よっ
て、この送出されたリズムパターンに従って、音源17
が楽音波形を生成することにより、サウンドシステム1
8からリズム音が発生し始める。
Further, in the main flow shown in FIG. 8, the rhythm sounding process of SA4 following the display process of SA3 is performed according to the flow shown in FIG. That is, first, it is determined whether or not the start flag STF is in the set state (SJ1), and if it is in the reset state, the address register AD is cleared and the register Tx is cleared.
The predetermined value is stored in (SJ2). If the start flag STF is set, the address register A
RR content (rhythm number) with D content as address
The rhythm pattern corresponding to is read from the ROM 4 (S
J3), and sends this to the sound source 17 (SJ4). Therefore, according to the transmitted rhythm pattern, the sound source 17
Sound system 1 by generating a musical tone waveform
Rhythm sound starts to be generated from 8.

【0028】次に、所定値が格納されていたレジスタT
xの値が0以下となった否かを判別して、Tx≦0とな
った時点で、アドレスレジスタADをインクリメントす
る。さらに、AD=ENDであるか否か(SJ5)、つ
まり、当該リズムパターンの最終データまでの読み出し
が終了したか否かを判別し、AD≠ENDであれば、T
xに所定値を格納した後(SJ9)、SJ3からの判別
処理を繰り返す。また、AD=ENDとなることによ
り、当該リズムパターンの最終データまでの読み出しが
終了し、これにより1回のリズムパターン演奏が完了す
ると、ADをリセットし(SJ8)、前述のSJ9の処
理を実行した後、SJ3からの判別処理を繰り返す。
Next, the register T in which the predetermined value is stored
It is determined whether or not the value of x is 0 or less, and when Tx ≦ 0, the address register AD is incremented. Further, it is determined whether or not AD = END (SJ5), that is, whether or not the reading up to the final data of the rhythm pattern has been completed. If AD ≠ END, then T
After storing a predetermined value in x (SJ9), the determination process from SJ3 is repeated. Further, when AD = END, the reading up to the final data of the rhythm pattern is completed, and when one rhythm pattern performance is completed by this, AD is reset (SJ8) and the processing of SJ9 described above is executed. After that, the determination process from SJ3 is repeated.

【0029】したがって、SJ3〜SJ9のループが繰
り返されることにより、サウンドシステム18からは当
該リズムパターンを構成する楽音が順次発生するととも
に、リズムパターンが繰り返し自動演奏される。このと
き、一定時間間隔で実行される図19のタイマインタラ
プト2では、前記スタートフラグSTFがセット状態に
ある場合に(SI1がYES)、レジスタTxの現在値
からレジスタTnの値を減算して、これを更新してい
る。ここで、Txには前述にように初期値として所定値
が格納されることから、Tnの値が大きければTxは急
速に減少し、また、Tnの値が小さければTxは緩慢に
減少する。したがって、図18のSJ5で、Txが
“0”になる都度、次のSJ6でアドレスレジスタAD
をインクリメントすることにより、リズムパターンの読
み出し速度は、レジスタTnに格納されているテンポデ
ータの値が大きくなるに従って急速となり、テンポデー
タの値が小さくなるに従って緩慢となる。よって、サウ
ンドシステム18から発生する楽音で構成されるリズム
もテンポデータの値に依存して、テンポアップあるいは
テンポダウンすることとなる。
Therefore, by repeating the loop of SJ3 to SJ9, the sound system 18 sequentially generates the musical tones constituting the rhythm pattern, and the rhythm pattern is repeatedly automatically played. At this time, in the timer interrupt 2 of FIG. 19 executed at regular time intervals, when the start flag STF is in the set state (SI1 is YES), the value of the register Tn is subtracted from the current value of the register Tx, I am updating this. Here, since a predetermined value is stored in Tx as an initial value as described above, Tx decreases rapidly when the value of Tn is large and decreases slowly when the value of Tn is small. Therefore, every time Tx becomes "0" in SJ5 of FIG. 18, the address register AD is generated in the next SJ6.
By incrementing, the reading speed of the rhythm pattern becomes faster as the value of the tempo data stored in the register Tn becomes larger, and becomes slower as the value of the tempo data becomes smaller. Therefore, the rhythm composed of musical tones generated by the sound system 18 also increases or decreases the tempo depending on the value of the tempo data.

【0030】[0030]

【発明の効果】以上説明したように本発明は、操作子に
対するタッチレスポンスに応じて、データを書き換える
際の変化量、書き換えるまでの待ち時間、及び書き換え
る際の変更時間間隔を変化させるようにした。よって、
操作子に対するタッチレスポンスに応じて、データを書
き換えに関連する全ての時間的要素が変化することとな
り、これによりユーザーの感覚や速度的欲求に合った変
化態様でデータを設定変更することが可能となる。
As described above, according to the present invention, the amount of change in rewriting data, the waiting time until rewriting, and the change time interval in rewriting are changed according to the touch response to the operator. . Therefore,
Depending on the touch response to the operator, all the temporal elements related to rewriting the data will change, which makes it possible to change the setting of the data in a changing manner that suits the user's sense and speed desire. Become.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例にかかる自動演奏装置の全体
構造を示すブロック図である。
FIG. 1 is a block diagram showing the overall structure of an automatic performance device according to an embodiment of the present invention.

【図2】同装置の要部平面図である。FIG. 2 is a plan view of a main part of the device.

【図3】up swとdown swの断面図である。FIG. 3 is a cross-sectional view of up sw and down sw.

【図4】変換テーブルAを示す概念図である。FIG. 4 is a conceptual diagram showing a conversion table A.

【図5】変換テーブルBを示す概念図である。5 is a conceptual diagram showing a conversion table B. FIG.

【図6】変換テーブルCを示す概念図である。FIG. 6 is a conceptual diagram showing a conversion table C.

【図7】変換テーブルDを示す概念図である。FIG. 7 is a conceptual diagram showing a conversion table D.

【図8】本実施例のメインフローを示すフローチャート
である。
FIG. 8 is a flowchart showing a main flow of the present embodiment.

【図9】sw処理の内容を示すフローチャートである。FIG. 9 is a flowchart showing the contents of sw processing.

【図10】up sw処理の内容の一部を示すフローチ
ャートである。
FIG. 10 is a flowchart showing a part of the contents of up sw processing.

【図11】図10に続くフローチャートである。11 is a flowchart following FIG.

【図12】タイマインタラプト1を示すフローチャート
である。
FIG. 12 is a flowchart showing a timer interrupt 1.

【図13】down sw処理の内容の一部を示すフロ
ーチャートである。
FIG. 13 is a flowchart showing a part of the contents of a down sw process.

【図14】図13に続くフローチャートである。FIG. 14 is a flowchart following FIG.

【図15】リズムセレクト sw処理の内容を示すフロ
ーチャートである。
FIG. 15 is a flowchart showing the contents of rhythm select sw processing.

【図16】st/sp sw処理の内容を示すフローチ
ャートである。
FIG. 16 is a flowchart showing the contents of st / sp sw processing.

【図17】表示処理の内容の一部を示すフローチャート
である。
FIG. 17 is a flowchart showing a part of the content of display processing.

【図18】リズム発音処理の内容を示すフローチャート
である。
FIG. 18 is a flowchart showing the contents of rhythm sound generation processing.

【図19】タイマインタラプト2を示すフローチャート
である。
FIG. 19 is a flowchart showing timer interrupt 2.

【符号の説明】[Explanation of symbols]

1 CPU 2 制御sw群 3 タッチ検出部 4 ROM 6 表示部 7 テンポsw 7a up sw 7b down sw 1 CPU 2 Control sw group 3 Touch detection unit 4 ROM 6 Display unit 7 Tempo sw 7a up sw 7b down sw

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データを記憶する記憶手段と、 操作子に対するタッチレスポンスを検出する検出手段
と、 前記タッチレスポンスを前記データの変化量に変換する
第1の変換手段と、 前記タッチレスポンスを前記データの変更を開始するま
での待ち時間に変換する第2の変換手段と、 前記タッチレスポンスを前記データの変更時間間隔に変
換する第3の変換手段と、 前記各変換手段により変換された前記変化量、待ち時
間、及び変更時間間隔に従って、前記記憶手段に記憶さ
れているデータを書き換える書換手段と、 とを有することを特徴とするデータ設定装置。
1. A storage unit for storing data, a detection unit for detecting a touch response to an operator, a first conversion unit for converting the touch response into a change amount of the data, and the touch response for the data. Second conversion means for converting into a waiting time until the start of the change, third conversion means for converting the touch response into a change time interval of the data, and the change amount converted by each of the conversion means. And a rewriting means for rewriting the data stored in the storage means according to the waiting time and the change time interval.
【請求項2】 前記データは、自動演奏のテンポを決定
するテンポデータであることを特徴とする請求項1記載
のデータ設定装置。
2. The data setting device according to claim 1, wherein the data is tempo data for determining a tempo of automatic performance.
【請求項3】 前記書換手段により書き換えられるデー
タを表示する表示手段を、更に有することを特徴とする
請求項1又は2記載のデータ設定装置。
3. The data setting device according to claim 1, further comprising display means for displaying data rewritten by the rewriting means.
【請求項4】 テンポデータを記憶する記憶手段と、 操作子に対するタッチレスポンスを検出する検出手段
と、 前記タッチレスポンスを前記テンポデータの変化量に変
換する第1の変換手段と、 前記タッチレスポンスを前記テンポデータの変更を開始
するまでの待ち時間に変換する第2の変換手段と、 前記タッチレスポンスを前記テンポデータの変更時間間
隔に変換する第3の変換手段と、 前記各変換手段により変換された前記変化量、待ち時
間、及び変更時間間隔に従って、前記記憶手段に記憶さ
れているテンポデータを書き換える書換手段と、 この書換手段により書き換えられるテンポデータが示す
テンポで自動演奏を実行する自動演奏手段と、 を有することを特徴とする自動演奏装置。
4. A storage unit that stores tempo data, a detection unit that detects a touch response to an operator, a first conversion unit that converts the touch response into a change amount of the tempo data, and a touch response. Second conversion means for converting the tempo data into a wait time until the change is started, third conversion means for converting the touch response into the tempo data change time interval, and each conversion means. Rewriting means for rewriting the tempo data stored in the storage means according to the change amount, the waiting time, and the change time interval, and an automatic performance means for executing an automatic performance at the tempo indicated by the tempo data rewritten by the rewriting means. And an automatic performance device.
【請求項5】 前記書換手段により書き換えられるテン
ポデータを表示する表示手段を、更に有することを特徴
とする請求項4記載の自動演奏装置。
5. The automatic musical instrument according to claim 4, further comprising display means for displaying tempo data rewritten by the rewriting means.
JP5345238A 1993-12-21 1993-12-21 Data setting device and automatic musical instrument having the same Abandoned JPH07181971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5345238A JPH07181971A (en) 1993-12-21 1993-12-21 Data setting device and automatic musical instrument having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5345238A JPH07181971A (en) 1993-12-21 1993-12-21 Data setting device and automatic musical instrument having the same

Publications (1)

Publication Number Publication Date
JPH07181971A true JPH07181971A (en) 1995-07-21

Family

ID=18375240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5345238A Abandoned JPH07181971A (en) 1993-12-21 1993-12-21 Data setting device and automatic musical instrument having the same

Country Status (1)

Country Link
JP (1) JPH07181971A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185329A1 (en) * 2008-07-25 2012-07-19 Anke Audenaert Method and System for Determining Overall Content Values for Content Elements in a Web Network and for Optimizing Internet Traffic Flow Through the Web Network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185329A1 (en) * 2008-07-25 2012-07-19 Anke Audenaert Method and System for Determining Overall Content Values for Content Elements in a Web Network and for Optimizing Internet Traffic Flow Through the Web Network
US9177326B2 (en) * 2008-07-25 2015-11-03 OpenX Technologies, Inc. Method and system for determining overall content values for content elements in a web network and for optimizing internet traffic flow through the web network

Similar Documents

Publication Publication Date Title
JPH0784574A (en) Electronic musical instrument
JP6565225B2 (en) Electronic musical instrument, volume control method and program
JPH07181971A (en) Data setting device and automatic musical instrument having the same
JP3266934B2 (en) Performance practice equipment
JPH07219545A (en) Electronic musical instrument
JP2002140067A (en) Electronic musical instrument and registration method of electronic musical instrument
JP5030016B2 (en) Musical sound generator and musical sound generation processing program
JP2536708B2 (en) Electronic musical instrument
JP3533764B2 (en) Automatic accompaniment device
JP2011095530A (en) Automatic accompaniment device and program
JP2004341385A (en) Performance recording / playback apparatus and performance recording / playback program
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JP2006178268A (en) Musical sound control device and musical sound control program
JP4217978B2 (en) Code determination apparatus and code determination processing program
JP3543126B2 (en) Automatic performance device
JP3293049B2 (en) Music control device
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program
JPH06118946A (en) Electronic percussion instrument
JP2531330B2 (en) Electronic musical instrument
JP3430285B2 (en) Performance display control device
JP2006184392A (en) Musical sound control device and musical sound control program
JP3493763B2 (en) Image control device
JP2713053B2 (en) Code display of electronic musical instrument
JP5605695B2 (en) Electronic musical instrument registration apparatus and program
JP3543160B2 (en) Automatic performance device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040120

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20040203