JPH01167798A - Automatic rhythm device - Google Patents

Automatic rhythm device

Info

Publication number
JPH01167798A
JPH01167798A JP62325951A JP32595187A JPH01167798A JP H01167798 A JPH01167798 A JP H01167798A JP 62325951 A JP62325951 A JP 62325951A JP 32595187 A JP32595187 A JP 32595187A JP H01167798 A JPH01167798 A JP H01167798A
Authority
JP
Japan
Prior art keywords
rhythm
sound
switch
stop
fill
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
JP62325951A
Other languages
Japanese (ja)
Inventor
Yasunao Abe
阿部 泰直
Masao Kondo
昌夫 近藤
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP62325951A priority Critical patent/JPH01167798A/en
Publication of JPH01167798A publication Critical patent/JPH01167798A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To restart a rhythm sound while maintaining the continuity of a rhythm after the rhythm sound is stopped by controlling the timing of the generation of the rhythm sound according to whether or not a sound generation start indication is made by a start indicating means a prescribed time after a stop indication is made by a stop indicating means. CONSTITUTION:According to whether or not the sound generation start indication is made by the start indicating means the prescribed timing after the stop indication is made by the stop indicating means, the rhythm sound is generated correspondingly to rhythm progress at the time of the stop indication when before or from an initial state when after. Consequently, the rhythm sound can be restarted corresponding to the rhythm progress at the time of the rhythm stop before the specific time is elapsed after the stop of the rhythm sound or from the initial state the prescribed time later.

Description

【発明の詳細な説明】[Detailed description of the invention]

「産業上の利用分野」 この発明は自動的にリズム音を発生するオートリズム装
置に関する。 「従来の技術」 従来のオートリズム装置において、−旦リズム音を停止
した後、再スタートする場合のモードとして、次のよう
なモードが知られている。 ■ストップスイッチを押すことによってリズム音が完全
にオフとされ、次いでスタートスイッチを押すと、リズ
ムパターンの最初からリズム音が再スタートする。 ■リズムブレークスイッチを押すとリズム音が一時停止
し、リズムカウンタはそのままカウントを続行する。そ
して、次の小節線のタイミングにおいてリズム音が自動
的に再スタートする。 ■ストップスイッチを押すことによってリズム音が停止
し、次に鍵盤を操作すると、リズム音がリズムパターン
の最初から再スタートする。 「発明が解決しようとする問題点」 ところで、ステージ演奏などにおいては、−旦リズム音
を停止した場合において、聴衆ののりが良い時は、停止
した時点からのリズムの継続性を保ちつつ、リズム音を
再スタートしたい場合がある。しかしながら、上記■お
よび■のモードの場合は、リズム音の継続性がなくなっ
てしまい、また、上記■のモードの場合は、再スタート
を望まない場合においてら再スタートしてしまう欠点が
あった。 そこでこの発明は、リズム音を停止した後において、リ
ズムの継続性を保ちつつリズム音を再スタートすること
ができ、しかも、一定時間が経過した後は、リズム音を
完全に停止することができるオートリズム装置を提供す
ることを目的としている。 「問題点を解決するための手段」 この発明は、リズム音を発生するリズム音発生手段と、
前記リズム音の発生開始を指示するスタート指示手段と
、前記リズム音の停止を指示するストップ指示手段と、
前記スタート指示手段による発音開始指示、が、前記ス
トップ指示手段による停止指示後所定時間が経過する前
か後かに応じて、前なら停止指示時のリズム進行に対応
してリズム音を発生させ、後なら初期状態からリズム音
を発生させるリズム音制御手段とを具備することを特徴
としている。 「作用」 この発明によれば、スタート指示手段による発音開始指
示が、ストップ指示手段による停止指示後所定タイミン
グ経過後か経過曲かに応じて、前なら停止指示時のリズ
ム進行に対応してリズム音を発生させ、後なら初期状態
からリズム音を発生させる。この構成により、リズム音
の停止後所定時間が経過する前であれば、リズム停止時
のリズム進行に対応してリズム音の再スタートをするこ
とが可能となり、また、所定時間が経過後であれば、初
期状態からリズム音を発生させることが可能となる。 「実施例」 以下、図面を参照してこの発明の一実施例について説明
する。第1図はこの発明の一実施例によるオートリズム
装置を適用した電子オルガンの構成を示すブロック図で
ある。
"Industrial Application Field" This invention relates to an autorhythm device that automatically generates rhythm sounds. "Prior Art" In a conventional autorhythm device, the following mode is known as a mode for restarting a rhythm sound after it has been stopped for a while. ■Press the stop switch to completely turn off the rhythm sound, and then press the start switch to restart the rhythm sound from the beginning of the rhythm pattern. ■When you press the rhythm break switch, the rhythm sound will pause and the rhythm counter will continue counting. Then, the rhythm sound automatically restarts at the timing of the next bar line. ■Press the stop switch to stop the rhythm sound, and then press the keyboard to restart the rhythm sound from the beginning of the rhythm pattern. ``Problems to be solved by the invention'' By the way, in stage performances, etc., when the rhythm sound is stopped, if the audience is in good spirits, the rhythm can be played while maintaining the continuity of the rhythm from the point when it stopped. You may want to restart the sound. However, in the case of the above-mentioned modes (1) and (2), the continuity of the rhythm sound is lost, and in the case of the above-mentioned mode (2), there is a drawback that a restart is restarted even when a restart is not desired. Therefore, this invention makes it possible to restart the rhythm sound while maintaining the continuity of the rhythm after stopping the rhythm sound, and furthermore, it is possible to completely stop the rhythm sound after a certain period of time has elapsed. The purpose is to provide an autorhythm device. "Means for Solving Problems" This invention provides a rhythm sound generating means for generating rhythm sounds;
a start instruction means for instructing the start of generation of the rhythm sound; a stop instruction means for instructing the stop of the rhythm sound;
Depending on whether the sound generation start instruction by the start instruction means is before or after a predetermined time has elapsed after the stop instruction by the stop instruction means, if it is before, a rhythm sound is generated in accordance with the rhythm progression at the time of the stop instruction; If it is later, it is characterized by comprising a rhythm sound control means for generating rhythm sound from an initial state. "Operation" According to the present invention, depending on whether the start instruction by the start instruction means is after a predetermined timing has elapsed after the stop instruction by the stop instruction means or if it is an elapsed time, if it is before, the sound generation is performed in a rhythm corresponding to the rhythm progression at the time of the stop instruction. Generates a sound, and if later, generates a rhythm sound from the initial state. With this configuration, it is possible to restart the rhythm sound in response to the rhythm progression at the time the rhythm stopped, as long as the predetermined time has not elapsed after the rhythm sound stopped, and even after the predetermined time has elapsed. For example, it becomes possible to generate rhythm sounds from an initial state. "Embodiment" Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an electronic organ to which an autorhythm device according to an embodiment of the present invention is applied.

【全体構成】【overall structure】

第1図において、符号lは鍵盤、2は鍵スィッチ回路で
ある。この鍵スィッチ回路2は、鍵盤lの各キーのオン
/オフ状態を検出するための複数のキースイッチと、各
キースイッチの出力をパスラインBに接続するインター
フェイス回路とから構成されている。3はパネル面に設
けられたリズム選択スイッチ、音色選択スイッチ等と、
各スイッチの出力をパスライン日へ接続するインターフ
ェイス回路から構成される操作子スイッチ回路、4はパ
ネル面に設けられた表示器を点灯制御する表示制御回路
である。第2図はパネル面の構成例を示す図であり、こ
の図において、5はリズム選択スイッチ、6は音色選択
スイッチ、7はリズムスタートスタート、8はリズムス
トップスイッチ、9.9.9は効果設定スイッチ、10
はエンディングスイッチ、ll−13は各々フィルイン
スイッチ、14はテンポアップスイッチ、15はテンポ
ダウンスイッチである。また、17〜20はテンポ表示
用のLED(発光ダイオード)、21〜24はスイッチ
操作表示用のLEDである。 次に、第1図の27は装置各部を制御するCPU(中央
処理装置)、28はCPU27のプログラムが記憶され
たプログラムメモリ、29はワーキングメモリである。 このワーキングメモリ29には後述する各レジスタおよ
びフラグが設定されている。 30はテンポ発振器であり、リズム音のテンポの基とな
る一定周期のパルス信号TPをCPU27へ出力する。 このパルス信号TPによってCPO27に割込みがかか
る。また、パルス信号TPの周期は、CPU27からパ
スラインBを介して供給されるテンポデータTDに応じ
て決まる。31はリズム音発生の際使用されるリズムパ
ターンが記憶されたリズムパターンメモリである。この
リズムパターンメモリ3!には、予め各リズム種類(サ
ンバ、スローロック等)の各々に対応してリズムパター
ンの組が記憶されており、これらのリズムパターンの組
の内の1つが、パスラインBを介して供給されるリズム
選択データRSDによって選択される。また、各リズム
パターン組は48ステツプから構成され、各ステップが
、パスラインBを介して供給されるテンポクロヅクデー
タTOLDによって読み出される。 32はリズム音信号発生回路である。このリズム音信号
発生回路32は、複数のリズム音源を有し、リズムパタ
ーンメモリ31から読み出されたリズムパターンによっ
て各リズム音源が駆動される。各リズム音源から出力さ
れたリズム音信号はミキシングされ、増幅器34/\供
給される。33は楽音信号発生回路であり、鍵盤■のキ
ー操作に基づく楽音信号を発生する。この楽音信号発生
回路33から出力された楽音信号は、リズム音信号発生
回路32から出力されるリズム音信号とともに増幅器3
4へ供給され、この増幅器34によって増幅され、スピ
ーカ35から楽音として発音されろ。
In FIG. 1, reference numeral 1 represents a keyboard, and 2 represents a key switch circuit. The key switch circuit 2 includes a plurality of key switches for detecting the on/off state of each key on the keyboard I, and an interface circuit that connects the output of each key switch to a pass line B. 3 is a rhythm selection switch, a tone selection switch, etc. provided on the panel surface,
An operator switch circuit includes an interface circuit that connects the output of each switch to a pass line, and 4 is a display control circuit that controls lighting of a display provided on the panel surface. Figure 2 is a diagram showing an example of the configuration of the panel surface. In this figure, 5 is a rhythm selection switch, 6 is a tone selection switch, 7 is a rhythm start start, 8 is a rhythm stop switch, and 9.9.9 is an effect. Setting switch, 10
are ending switches, ll-13 are fill-in switches, 14 is a tempo up switch, and 15 is a tempo down switch. Further, 17 to 20 are LEDs (light emitting diodes) for tempo display, and 21 to 24 are LEDs for switch operation display. Next, 27 in FIG. 1 is a CPU (central processing unit) that controls each part of the apparatus, 28 is a program memory in which the program of the CPU 27 is stored, and 29 is a working memory. In this working memory 29, various registers and flags, which will be described later, are set. 30 is a tempo oscillator, which outputs to the CPU 27 a pulse signal TP of a constant period, which is the basis of the tempo of the rhythm sound. This pulse signal TP causes an interrupt to the CPO 27. Further, the period of the pulse signal TP is determined according to the tempo data TD supplied from the CPU 27 via the pass line B. Reference numeral 31 denotes a rhythm pattern memory in which rhythm patterns used when generating rhythm sounds are stored. This rhythm pattern memory 3! A set of rhythm patterns is stored in advance in correspondence with each rhythm type (samba, slow rock, etc.), and one of these sets of rhythm patterns is supplied via pass line B. It is selected by the rhythm selection data RSD. Furthermore, each rhythm pattern set is composed of 48 steps, and each step is read out by tempo clock data TOLD supplied via pass line B. 32 is a rhythm sound signal generation circuit. This rhythm sound signal generation circuit 32 has a plurality of rhythm sound sources, and each rhythm sound source is driven by the rhythm pattern read out from the rhythm pattern memory 31. Rhythm sound signals output from each rhythm sound source are mixed and supplied to an amplifier 34/\. 33 is a musical tone signal generation circuit, which generates a musical tone signal based on key operations on the keyboard (■). The musical tone signal output from the musical tone signal generation circuit 33 is sent to the amplifier 3 together with the rhythm tone signal output from the rhythm tone signal generation circuit 32.
4, is amplified by this amplifier 34, and is emitted as a musical tone from a speaker 35.

【フラグ、レジスタ類の説明】[Explanation of flags and registers]

次に、ワーキングメモリ29内に設定されているフラグ
、レジスタ類について説明する。 (1)リズムランフラグr(UN このフラグRUNは、自動リズム音が発生している時“
l”、発生していない時“0”となるフラグである。 (2)テンポカウンタTCNT この電子オルガンにおいては、1小節を48タイミング
に分割し、各タイミング毎にリズムパターンメモリ3I
からリズムパターンを読み出し、リズム音信号発生回路
32へ供給するようになっている。上記のタイミングを
決めているのがテンポ発振器30から出力されるパルス
信号TPであり、このパルス信号TPをカウントするの
がテンポカウンタTCNTである。このテンポカウンタ
TCNTは、小節線のタイミングでリセットされ(rO
Jとなり)、以後、「47」までカウントされる。 (3)リズムブレークフラグR)(YBKこの電子オル
ガンにおいては、リズム音をストップした場合に1.音
はオフとなるが、テンポカウンタTCNTは、所定時間
パルス信号TPのカウントを続行し、該所定時間が経過
した時点でテンポカウンタTCNTがクリアされる(完
全にリズムストップ状態となる)。なお、以下、ごのリ
ズム音がオフでテンポカウンタTCNTのカウントが行
なわれている状態をブレーク状態という。そして、この
ブレーク状態においてスタートスイッチ7を押すと、リ
ズムの継続性を保ったままで、リズム音を再スタートす
ることができる。 しかして、リズムブレークフラグRHY B Kは、ブ
レーク状態の時“1”となるフラグである。 (4)ブレークタイムレジスタBKTIME上述したブ
レーク状態は、原則として小節の終わりまでである。す
なわち、例えば、第3図に示す時刻t1においてリズム
ストップスイッチ8が操作された場合は、時刻t3の小
節線BARでブレーク状態が終了する。この場合、リズ
ムブレークフラグRHYBKは同図(ロ)の通りとなる
。なお、同図(イ)の数値はテンポカウンタTCNTの
カウント値である。しかし、上記の原則通りではブレー
ク状態が極めて短くなってしまう場合、すなイつち、テ
ンポカウンタTCNTのカウント値が42〜47の間(
符号Ta参照)においてリズムストップスイッチ8が操
作された場合は、次の小節線BAR(時刻t4)までブ
レーク状態が継続される。この場合、リズムブレークフ
ラグRHYBKは同図(ハ)のようになる。 しかして、ブレーク時間(ブレーク状態の継続時間)が
第3図(ロ)、(ハ)のいずれであるかを示すデータが
書き込まれるレジスタがブレークタイムレジスタBKT
IMEであり、(ロ)の場合にはレジスタBKT I 
MEにNJが書き込まれ、(ハ)の場合にはレジスタB
KTIMEに「2」が書き込まれる。 (5)フィルインパターンレジスタFILLフィルイン
パターンとは、導入部用のリズムパターンを言う。第1
図の電子オルガンにおいては、予め3通りのフィルイン
パターンがリズムパターンメモリ3!に記憶されており
、フィルインスイッチtt−t3の・いずれかを押すと
、押されたスイッチに対応するフィルインパターンが読
み出され、リズム音信号発生回路32へ出力される。こ
の場合、フィルインスイッチ11が押された時はrlJ
が、スイッチI2が押された時は「2」が、スイッチ1
3が押された時は「3」が各々フィルインパターンレジ
スタFILL内に書き込まれ、このレジスタFILL内
のデータに基づいてリズムパターンメモリ3監内のフィ
ルインパターンが読み出される。 (6)フィルインタイムレジスタFITIMEフィルイ
ンパターンの継続時間は府述したブレーク時間と同様に
、次の小節線BARまたは次の次の小節線BARまでで
ある。このフィルインタイムレジスタFITIMEには
、次の小節線BARまでの場合に「1」が、次の次の小
節線BARまでの場合に「2」が各々書き込まれる。
Next, the flags and registers set in the working memory 29 will be explained. (1) Rhythm run flag r (UN) This flag RUN is set when an automatic rhythm sound is generated.
This is a flag that becomes 0 when no occurrence occurs. (2) Tempo counter TCNT In this electronic organ, one measure is divided into 48 timings, and each timing is divided into rhythm pattern memory 3I.
The rhythm pattern is read out from the rhythm sound signal generating circuit 32 and supplied to the rhythm sound signal generation circuit 32. The above timing is determined by the pulse signal TP output from the tempo oscillator 30, and the tempo counter TCNT counts this pulse signal TP. This tempo counter TCNT is reset at the timing of the bar line (rO
J), and thereafter counts up to "47". (3) Rhythm break flag R) (YBK) In this electronic organ, when the rhythm sound is stopped, 1. The sound is turned off, but the tempo counter TCNT continues counting the pulse signal TP for a predetermined time, and When the time has elapsed, the tempo counter TCNT is cleared (the rhythm is completely stopped). Hereinafter, the state in which the tempo counter TCNT is counting while the rhythm sound is off will be referred to as a break state. When the start switch 7 is pressed in this break state, the rhythm sound can be restarted while maintaining rhythm continuity.The rhythm break flag RHYBK is set to "1" in the break state. (4) Break time register BKTIME The break state described above is in principle until the end of the measure. That is, for example, if the rhythm stop switch 8 is operated at time t1 shown in FIG. , the break state ends at the bar line BAR at time t3.In this case, the rhythm break flag RHYBK becomes as shown in the figure (b).The numerical value in the figure (a) is the count value of the tempo counter TCNT. However, if the break state becomes extremely short according to the above principle, that is, if the count value of the tempo counter TCNT is between 42 and 47 (
When the rhythm stop switch 8 is operated at a time (see symbol Ta), the break state continues until the next bar line BAR (time t4). In this case, the rhythm break flag RHYBK becomes as shown in FIG. Therefore, the break time register BKT is a register in which data indicating whether the break time (duration time of the break state) is shown in FIG. 3 (b) or (c) is written.
IME, and in the case of (b), register BKT I
NJ is written to ME, and in the case of (c), register B
"2" is written to KTIME. (5) Fill-in pattern register FILL fill-in pattern refers to a rhythm pattern for the introduction section. 1st
In the electronic organ shown in the figure, three fill-in patterns are stored in the rhythm pattern memory 3! When one of the fill-in switches tt-t3 is pressed, the fill-in pattern corresponding to the pressed switch is read out and output to the rhythm sound signal generation circuit 32. In this case, when the fill-in switch 11 is pressed, rlJ
However, when switch I2 is pressed, "2" is set to switch 1.
When 3 is pressed, "3" is written into each fill-in pattern register FILL, and the fill-in pattern in the rhythm pattern memory 3 is read out based on the data in this register FILL. (6) Fill-in time register FITIME The duration of the fill-in pattern is until the next bar line BAR or the next next bar line BAR, similar to the aforementioned break time. In this fill-in time register FITIME, "1" is written if the bar line is up to the next bar line BAR, and "2" is written if it is up to the next bar line BAR.

【動作】【motion】

次に、上記構成による装置の動作を第4図〜第8図に示
すフローチャートを参照して説明する。 (1)メインルーチン 第4図は、CPU27のメインルーチンを示すフローチ
ャートである。装置に電源が投入されると、まず、ステ
ップSalの初期設定処理が行なわれ、ワーキングメモ
リ29内に設定されているレジスタ、フラグ類および装
置各部のレジスタがクリアされる。次にステップSa2
へ進み、鍵盤lの各キーのオン/オフ状態および操作パ
ネルの各スイッチの操作状態が順次チエツクされる。次
にステップSa3へ進むと、鍵盤キーまたは操作スイッ
チの操作状態にイベント(変化)があったか否かが判断
される。そして、この判断結果が「NO」の場合はステ
ップSa2へ戻る。また、rYES」の場合は、イベン
トが生じたキーまたはスイッチに応じて、次に述べる各
処理を行った後ステニップSa2へ戻る。 ◇鍵盤キー、音色選択スイッチ6、効果設定スイッチ9
(ステップ5a4) 鍵盤キーまたはスイッチ6.9のイベントが検出される
と、検、出されたキーのキーコードおよびオン/オフの
別を示すデータまたは検出されたスイッチの種類、操作
状態を示すデータが楽音信号発生回路33へ出力される
。 ◇リズム選択スイッチ5、テンポアップ/ダウンスイッ
チ14.15(ステップ5a5)リズム選択スイッチ5
のイベントが検出されると、新たなリズム選択スイッチ
5の操作状態を示すデータがリズムパターンデータメモ
リ31ヘリズム選択データRSDとして出力される。ま
た、テンポアップ/ダウンスイッチ14または15のイ
ベントが検出されると、操作されたスイッチ14.15
に応じてテンポ発振器30の出力パルス信号TPの周期
が変更される。 ◇リズムスタートスイッチ7(ステップ5a6)リズム
スタートスイッチ7のオンイベントが検出されろと、第
5図に示すリズムスタート処理が行なわれる。すなわち
、まず、ステップsbtへ進み、リズムブレークフラグ
RHYBKが“0”か否かが判断される。そして、この
判断結果が[YESJの場合、すなわち、現在リズムブ
レイク状態でない場合は、ステップSb2へ進み、リズ
ムランフラグが“l”にセットされ、また、テンポカウ
ンタTCNTがクリアされる。一方、ステップsbtの
判断結果がrNOJの場合、すなわち、現在リズムブレ
イク状態にある場合は、ステップSb3へ進み、リズム
ブレイクフラグRHYBKがリセットされ、また、ブレ
ークタイムレジスタBKTIMEがクリアされる。 ◇リズムストップスイッチ8 (S a7 )リズムス
トップスイッチ8のオンイベントが検出されると、第6
図に示すリズムストップ処理が行なわれる。すなわち、
まず、ステップSclへ進み、リズムランフラグRUN
が“1”か否かが判断される。そして、この判断結果が
rNOJの場合はステップ5a2(第4図)へ戻り、r
Y E S Jの場合はステップSc2へ進む。ステッ
プSc2では、リズムブレークフラグRHYBKが“1
”にセットされる。次に、ステップSc3へ進むと、テ
ンポカウンタTCNT内のデータが[421以上か否か
が判断される。そして、この判断結果か「NO」の場合
はステップSc4へ進み、ブレークタイムレジスタBK
TIME内に「1」が書き込まれ、「YESJの場合は
ステップSc5へ進み、ブレークタイムレジスタBKT
IME内に「2」が書き込まれる。そして、ステップS
a2へ戻る。 ◇フィルインスイッチ11〜13(ステップ5a8)フ
ィルインスイッチ11−13のいずれかが操作されると
、第7図に示すフィルイン処理が行なわれる。すなわち
、まず、ステップSdlへ進み、リズムランフラグRU
Nが“1”か否かが判断される。そして、この判断結果
がrNOJの場合はステップ5a2(第4図)へ戻り、
rYESJの場合は、ステップSd2へ進む。ステップ
Sd2では、フィルインスイッチ11〜13のいずれが
操作されたかが検出される。そして、スイッチ!lが操
作された場合は、ステップSd3へ進み、フィルインパ
ターンレジスタFILL内にデータINが書き込まれる
と共に、LED22(第2図)が点灯される。 また、スイッチ12が操作された場合は、ステップSd
4へ進み、フィルインパターンレジスタFILL内にデ
ータ「2」が書き込まれると共に、LED23が点灯さ
れ、スイッチ13が操作された場合は、ステップSd5
へ進み、フィルインパターンレジスタFILL内にデー
タ「3」が書き込まれると共に、LED24が点灯され
る。そして、ステップSd6へ進む。ステップSd6で
は、テンポカウンタTCNT内のデータが「42」より
大か否かが判断される。そして、この判断結果が「YE
SJの場合は、ステップSd7へ進み、フィルインタイ
ムレジスタFITIME内に「2」が書き込まれ、「N
O」の場合は、ステップSd8へ進み、フィルインタイ
ムレジスタFITIME内にrNが書き込まれる。そし
て、第4図のステップSa2へ戻る。 このように、フィルインスイッチ11−13のいずれか
が操作されると、リズムランフラグRUNが“1′の場
合に限り、フィルインパターンレジスタFILLおよび
フィルインタイムレジスタFI T I MEのセット
が行なわれる。 ◇エンデイングスイッチ10(ステップ5a9)エンデ
イングスイッチ10のオンイベントが検出されると、リ
ズムパターンメモリ3!に予め記憶されているエンデイ
ングパターンが読み出され、リズム音信号発生回路32
へ出力される。これにより、エンデイングパターンに基
づくリズム音が発生する。 (2)リズムインクラブド処理 テンポ発振器30からパルス信号TPが出力される毎に
、CPU27に割込みがかかる。この割込みに基づくリ
ズムインタラブド処理を第8図を参照して説明する。な
お、前述したように、パルス信号TPはl小節間に48
パルス発生する。 まず、第8図のステップSelへ進むと、リズムランフ
ラグRUNが“!”か否かが判断される。 そして、この判断結果がrNOJの場合は、メインルー
チン(第4図)へ戻り、「YES」の場合は、ステップ
Se2へ進む。ステップSe2では、リズムブレークフ
ラグRt(Y B Kが“1”か否かが判断される。そ
して、・この判断結果が「NO」の場合、すなわち、フ
ラグRUNが“1″であって、かつ、ブレーク状態でな
い場合は、ステップSe3へ進み、リズム音信号発生処
理が行なわれる。すなわち、まず、フィルインパターン
レジスタFILLにデータNJ〜r3Jのいずれかがセ
ットされていた場合は、そのフィルインパターンレジス
タFILL内のデータおよびテンポカウンタTCNT内
のデータに基づいてリズムパターンメモリ3Iからリズ
ムパターンを読み出し、リズム音信号発生回路32へ出
力する。また、フィルインパターンレジスタFILLが
クリアされていた場合は、現在設定されているリズムの
種類およびテンポカウンタTCNT内のデータに基づい
てリズムパターンメモリ31からリズムパターンを読み
出し、リズム音信号発生回路32へ出力する。一方、ス
テップSe2の判断結果が「NO」の場合は、上述した
ステップSe3をジャンプしてステップSe4へ進む。 ステップSe4では、テンポカウンタTCNTがインク
レメントされる。次にステップSe5へ進むと、テンポ
表示用LED 17〜20(第2図)がテンポカウンタ
TCNT内のデータに基づいて点灯される。すなわち、
テンポカウンタTCNT内のデータがrOJ〜「11」
の時はLED l 7が、「12」〜「23」の時はL
ED 18が、「24」〜「35」の時はLED 19
が、また、「36J〜「47」の時はLED20が各々
点灯される。次にステップSe6へ進むと、テンポカウ
ンタTCNT内のデータが小節線を示すデータ「48」
であるか否かが判断される。そして、この判断結果が「
NO」の場合はメインルーチンへ戻る。また、ステップ
Se6の判断結果がrY E S Jの場合、すなわち
、小節線のタイミングになった場合は、ステップSe7
へ進む。 ステップSe7では、テンポカウンタTCNTがクリア
される。次にステップSe8へ進むと、ブレークタイム
レジスタBKTIME内のデータがチエツクされる。そ
して、同データが「0」の場合は、ステップSe9へ進
み、また、「I」の場合は、ステップ5elOへ進む。 ステップSel Oでは、ブレークタイムレジスタBK
T IME、リズムブレークフラグRHYBK、リズム
ランフラグRUNが各々クリアされ、また、LED 1
7〜20が消燈される。これによって、ブレーク状態が
終了し、リズム音が完全にストップ状態となる。また、
ブレークタイムレジスタBKT IME内のデータが「
2」であった場合は、ステップSel Iへ進み、同し
ジスタBKTIME内のデータがrNに書き換えられ、
そして、ステップSe9へ進む。 ステップSe9では、フィルインタイムレジスタFIT
IME内のデータがチエツクされる。そして、同データ
が「0」の場合はメインルーチンへ戻り、INの場合は
、ステップ5e12へ進む。 ステップ5e12では、フィルインパターンレジスタF
ILLおよびフィルインタイムレジスタFITIMEが
共にクリアされ、また、LED22〜24が消燈される
。これによって、フィルイン状態(導入状態)が終了す
る。また、フィルインタイムレジスタFITIME内の
データが「2」であった場合は、ステップ5e13へ進
み、同しジスタFITIME内のデータがINに書き換
えられる。 そして、メインルーチンへ戻る。 以上のように、第1図の実施例においては、リズムスト
ップスイッチ8を操作すると、リズムブレークフラグR
HYBKが“1”にセットされると共に、ブレークタイ
ムレジスタBKTIME7!ll’yトされ、ブレーク
状態となる(第6図参照)。このブレーク状態において
は、リズムランフラグRUNは“1”にあるが、第8図
のステップSe2.Se3から明らかなように、リズム
音信号発生処理が行なわれない。したがって、リズム音
は停止状態にあり、かつ、テンポカウンタTCNTのア
ップカウント(第8図のステップ5e4)は行なわれる
。 そして、このブレーク状態においてスタートスイッチ7
が操作されると、現在のテンポカウンタTCNTに基づ
くリズム音が発生する(第5図のステップSb3参照)
。一方、ブレーク状態でない場合、すなわち、リズムラ
ンフラグRUNが“0”の場合において、スタートスイ
ッチ7が操作されると、第5図のステップSb2に示す
ように、テンポカウンタTCNTがクリアされる。この
結果、リズム音は初期状態からスタートする。 なお、上記実施例においては、ブレーク状態からの再ス
タートを、スタートスイッチ7の操作に基づいて行うよ
うになっているが、これに代えて、フィルインスイッチ
If−13の操作に基づいて行うようにしてもよい。こ
の場合、第5図のリズムスタート処理は、 RUN4−1” TCNT←「0」 だけとなり、一方、第7図のフィルイン処理が第9図の
通りとなる。この第9図の処理が第7図の処理と異なる
点は、ステップSd9.Sdl Oの処理、すなわち、
リズムブレークフラグRHYnKおよびブレークタイム
レジスタBKTIMEのクリア処理が追加されている点
である。 また、上記実施例は、ブレーク状態において、テンポカ
ウンタTCNTのカウントが続行されるようになってい
るが、これに代えて、ストップスイッチ8が操作された
時点以降テンポカウンタTCNTのアップカウントを行
わないようにし、ストップスイッチ8が操作された時点
のカウント値をそのまま保持しておいてもよい。この場
合、ブレーク状態においてスタートスイッチ7か操作さ
れると、リズム音が、前回の停止時点から再スタートす
る。なお、この明細書において、「停止指示時のリズム
進行に対応して」なる文における「対応して」とは、ブ
レーク状態においてテンポカウンタTCNTのアップカ
ウントが続行する場合と、アップカウントが停止する場
合の双方を含むものとする。 また、リズム音の再スタートは、スタートスイッチ、フ
ィルインスイッチに限らず、例えばパッドスイッチ(ハ
ンドパーカッションスイッチ)、リズムバリエーション
スイッチ等によって行なってもよい。 また、エンデイングパターンによるリズム演奏が終了し
た時点でブレーク状態になるようにしてもよい。 「発明の効果」 以上説明したように、この発明によれば、リズム音を発
生するリズム音発生手段と、前記リズム音の発生開始を
指示するスタート指示手段と、前記リズム音の停止を指
示するストップ指示手段と、前記スタート指示手段によ
る発音開始指示が、前記ストップ指示手段による停止指
示役所定時間が経過する萌か後かに応じて、前なら停止
指示時のリズム進行に対応してリズム音を発生させ、後
なら初期状態からリズム音を発生させるリズム音制御手
段とを設けたので、リズム音を停止した後において、リ
ズムの継続性を保ちつつリズム音を再スタートすること
ができ、しかも、一定時間が経過した後は、リズム音を
完全に停止することができる。これにより、従来以上に
リズム音の演奏効果を上げることができる効果が得られ
る。
Next, the operation of the apparatus having the above configuration will be explained with reference to the flowcharts shown in FIGS. 4 to 8. (1) Main Routine FIG. 4 is a flowchart showing the main routine of the CPU 27. When the device is powered on, first, initial setting processing in step Sal is performed, and the registers and flags set in the working memory 29 and the registers of each part of the device are cleared. Next step Sa2
The on/off state of each key on the keyboard L and the operating state of each switch on the operation panel are sequentially checked. Next, in step Sa3, it is determined whether an event (change) has occurred in the operation state of the keyboard key or operation switch. If the result of this determination is "NO", the process returns to step Sa2. In addition, in the case of "rYES", the process returns to step Sa2 after performing each process described below depending on the key or switch in which the event occurred. ◇Keyboard keys, tone selection switch 6, effect setting switch 9
(Step 5a4) When a keyboard key or switch 6.9 event is detected, data indicating the key code of the detected and issued key and whether it is on or off, or data indicating the type of the detected switch and the operating state is output to the musical tone signal generation circuit 33. ◇Rhythm selection switch 5, tempo up/down switch 14.15 (Step 5a5) Rhythm selection switch 5
When this event is detected, data indicating the new operating state of the rhythm selection switch 5 is outputted to the rhythm pattern data memory 31 as the rhythm selection data RSD. In addition, when an event of the tempo up/down switch 14 or 15 is detected, the operated switch 14 or 15
The period of the output pulse signal TP of the tempo oscillator 30 is changed accordingly. ◇Rhythm start switch 7 (step 5a6) When the ON event of the rhythm start switch 7 is detected, the rhythm start process shown in FIG. 5 is performed. That is, first, the process advances to step sbt, and it is determined whether the rhythm break flag RHYBK is "0" or not. If the result of this judgment is YESJ, that is, if the rhythm break state is not present, the process advances to step Sb2, where the rhythm run flag is set to "1" and the tempo counter TCNT is cleared. On the other hand, if the determination result in step sbt is rNOJ, that is, if the rhythm break state is currently occurring, the process advances to step Sb3, where the rhythm break flag RHYBK is reset and the break time register BKTIME is cleared. ◇Rhythm stop switch 8 (S a7) When the on event of the rhythm stop switch 8 is detected, the sixth
The rhythm stop process shown in the figure is performed. That is,
First, proceed to step Scl and set the rhythm run flag RUN.
It is determined whether or not is "1". If the result of this judgment is rNOJ, the process returns to step 5a2 (Fig. 4), and r
In the case of Y E S J, the process proceeds to step Sc2. In step Sc2, the rhythm break flag RHYBK is “1”.
". Next, when the process advances to step Sc3, it is determined whether the data in the tempo counter TCNT is greater than or equal to [421. If the result of this determination is "NO," the process advances to step Sc4. Break time register BK
"1" is written in TIME, and if "YESJ", proceed to step Sc5 and write the break time register BKT.
"2" is written in the IME. And step S
Return to a2. ◇Fill-in switches 11-13 (step 5a8) When any of the fill-in switches 11-13 is operated, the fill-in process shown in FIG. 7 is performed. That is, first, proceed to step Sdl, and set the rhythm run flag RU.
It is determined whether N is "1" or not. If the judgment result is rNOJ, return to step 5a2 (FIG. 4),
If rYESJ, the process advances to step Sd2. In step Sd2, it is detected which of the fill-in switches 11 to 13 has been operated. And switch! If l has been operated, the process advances to step Sd3, where data IN is written into the fill-in pattern register FILL and the LED 22 (FIG. 2) is turned on. Further, if the switch 12 is operated, step Sd
4, data "2" is written in the fill-in pattern register FILL, and if the LED 23 is lit and the switch 13 is operated, the process goes to step Sd5.
Then, data "3" is written into the fill-in pattern register FILL, and the LED 24 is turned on. Then, the process advances to step Sd6. In step Sd6, it is determined whether the data in the tempo counter TCNT is greater than "42". The result of this judgment is “YE”.
In the case of SJ, the process advances to step Sd7, where "2" is written in the fill-in time register FITIME, and "N
O'', the process advances to step Sd8, and rN is written into the fill-in time register FITIME. Then, the process returns to step Sa2 in FIG. In this way, when any of the fill-in switches 11 to 13 is operated, the fill-in pattern register FILL and fill-in time register FITI ME are set only when the rhythm run flag RUN is "1'." Ending switch 10 (step 5a9) When the on event of the ending switch 10 is detected, the ending pattern stored in advance in the rhythm pattern memory 3! is read out, and the rhythm sound signal generation circuit 32
Output to. As a result, a rhythm sound based on the ending pattern is generated. (2) Rhythm included processing Every time the pulse signal TP is output from the tempo oscillator 30, the CPU 27 is interrupted. Rhythm interwoven processing based on this interruption will be explained with reference to FIG. As mentioned above, the pulse signal TP has 48
A pulse is generated. First, when proceeding to step Sel in FIG. 8, it is determined whether the rhythm run flag RUN is "!". If the result of this judgment is rNOJ, the process returns to the main routine (FIG. 4), and if the result is "YES", the process proceeds to step Se2. In step Se2, it is determined whether the rhythm break flag Rt (YBK) is "1" or not. If the result of this determination is "NO", that is, if the flag RUN is "1" and , if it is not in the break state, the process proceeds to step Se3, and rhythm sound signal generation processing is performed.That is, first, if any of the data NJ to r3J is set in the fill-in pattern register FILL, the fill-in pattern register FILL is set in the fill-in pattern register FILL. The rhythm pattern is read from the rhythm pattern memory 3I based on the data in the tempo counter TCNT and the data in the tempo counter TCNT, and is output to the rhythm sound signal generation circuit 32.Also, if the fill-in pattern register FILL has been cleared, the currently set A rhythm pattern is read out from the rhythm pattern memory 31 based on the type of rhythm being played and the data in the tempo counter TCNT, and is output to the rhythm sound signal generation circuit 32. On the other hand, if the determination result in step Se2 is "NO", The process jumps to step Se3 and proceeds to step Se4. In step Se4, the tempo counter TCNT is incremented. When the process proceeds to step Se5, the tempo display LEDs 17 to 20 (FIG. 2) change to the tempo counter TCNT. is lit based on the data in, i.e.
The data in the tempo counter TCNT is rOJ ~ “11”
When , LED l 7 is on, and when it's "12" to "23", it's L
When ED 18 is "24" to "35", LED 19
However, when the number is "36J" to "47", the LEDs 20 are lit. Next, when the process advances to step Se6, the data in the tempo counter TCNT is "48" indicating a bar line.
It is determined whether or not. The result of this judgment is
If NO, return to the main routine. Further, if the judgment result in step Se6 is rY E S J, that is, if the timing of the bar line has come, step Se7
Proceed to. In step Se7, the tempo counter TCNT is cleared. Next, when the process advances to step Se8, the data in the break time register BKTIME is checked. If the data is "0", the process proceeds to step Se9, and if it is "I", the process proceeds to step 5elO. In step Sel O, break time register BK
T IME, rhythm break flag RHYBK, and rhythm run flag RUN are each cleared, and LED 1
7 to 20 are turned off. As a result, the break state ends and the rhythm sound completely stops. Also,
The data in the break time register BKT IME is “
2", the process advances to step Sel I, where the data in the same register BKTIME is rewritten to rN,
Then, the process advances to step Se9. In step Se9, fill-in time register FIT
The data in the IME is checked. If the data is "0", the process returns to the main routine, and if it is IN, the process proceeds to step 5e12. In step 5e12, fill-in pattern register F
Both ILL and fill-in time register FITIME are cleared, and LEDs 22-24 are turned off. This ends the fill-in state (introduction state). If the data in the fill-in time register FITIME is "2", the process advances to step 5e13, and the data in the fill-in time register FITIME is rewritten to IN. Then return to the main routine. As described above, in the embodiment shown in FIG. 1, when the rhythm stop switch 8 is operated, the rhythm break flag R
HYBK is set to "1" and the break time register BKTIME7! ll'y and enters the break state (see Figure 6). In this break state, the rhythm run flag RUN is at "1", but the step Se2. As is clear from Se3, rhythm sound signal generation processing is not performed. Therefore, the rhythm sound is in a stopped state, and the tempo counter TCNT continues to count up (step 5e4 in FIG. 8). Then, in this break state, the start switch 7
When is operated, a rhythm sound based on the current tempo counter TCNT is generated (see step Sb3 in FIG. 5).
. On the other hand, when the start switch 7 is operated when the rhythm run flag RUN is not in the break state, that is, when the rhythm run flag RUN is "0", the tempo counter TCNT is cleared as shown in step Sb2 of FIG. As a result, the rhythm sound starts from the initial state. In the above embodiment, the restart from the break state is performed based on the operation of the start switch 7, but instead of this, the restart from the break state is performed based on the operation of the fill-in switch If-13. You can. In this case, the rhythm start process shown in FIG. 5 is only RUN4-1"TCNT←"0," while the fill-in process shown in FIG. 7 is as shown in FIG. 9. The process in FIG. 9 differs from the process in FIG. 7 in step Sd9. Processing of SdlO, i.e.
The difference is that clearing processing of the rhythm break flag RHYnK and break time register BKTIME is added. Further, in the above embodiment, the tempo counter TCNT continues counting in the break state, but instead, the tempo counter TCNT does not count up after the stop switch 8 is operated. The count value at the time the stop switch 8 was operated may be held as is. In this case, when the start switch 7 is operated in the break state, the rhythm sound restarts from the previous stop point. In this specification, "in response to" in the sentence "in response to the rhythm progression at the time of the stop instruction" refers to the case where the tempo counter TCNT continues to count up in the break state, and the case where the up-count stops. This shall include both cases. Furthermore, the restart of the rhythm sound is not limited to the start switch or the fill-in switch, but may be performed by, for example, a pad switch (hand percussion switch), a rhythm variation switch, or the like. Alternatively, the break state may be entered at the time when the rhythm performance based on the ending pattern is completed. "Effects of the Invention" As explained above, according to the present invention, there is provided a rhythm sound generating means for generating a rhythm sound, a start instruction means for instructing the start of generation of the rhythm sound, and a start instruction means for instructing the stop of the rhythm sound. A stop instruction means and a rhythm sound corresponding to the rhythm progression at the time of the stop instruction depending on whether the start instruction by the start instruction means is before or after a predetermined time period has elapsed as a stop instruction by the stop instruction means. Since the present invention is provided with a rhythm sound control means that generates a rhythm sound from an initial state if it is later generated, it is possible to restart the rhythm sound while maintaining the continuity of the rhythm after the rhythm sound has been stopped. After a certain period of time has elapsed, the rhythm sound can be completely stopped. As a result, it is possible to obtain the effect that the playing effect of rhythm sounds can be improved more than before.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例におけるパネル面の、構成を示す図、
第3図はリズムブレークフラグRHYBKのタイミング
を示す図、第4図〜第8図は同実施例の動作を説明する
ためのフローチャート、第9図は同実施例の変形例を説
明するためのフローチャートである。 7・・・・・・リズムスタートスイッチ、8・・・・・
・リズムストップスイッチ、27・旧・・cPU、28
・旧・・プログラムメモリ、29・・・・・・ワーキン
グメモリ、32・・・・・・リズム音信号発生回路、
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a diagram showing the configuration of the panel surface in the same embodiment;
FIG. 3 is a diagram showing the timing of the rhythm break flag RHYBK, FIGS. 4 to 8 are flowcharts for explaining the operation of the same embodiment, and FIG. 9 is a flowchart for explaining a modification of the same embodiment. It is. 7...Rhythm start switch, 8...
・Rhythm stop switch, 27 ・Old...cPU, 28
・Old...Program memory, 29...Working memory, 32...Rhythm sound signal generation circuit,

Claims (1)

【特許請求の範囲】 リズム音を発生するリズム音発生手段と、 前記リズム音の発生開始を指示するスタート指示手段と
、 前記リズム音の停止を指示するストップ指示手段と、 前記スタート指示手段による発音開始指示が、前記スト
ップ指示手段による停止指示後所定時間が経過する前か
後かに応じて、前なら停止指示時のリズム進行に対応し
てリズム音を発生させ、後なら初期状態からリズム音を
発生させるリズム音制御手段と、 を具備してなるオートリズム装置。
[Scope of Claims] Rhythm sound generation means for generating a rhythm sound; start instruction means for instructing the start of generation of the rhythm sound; stop instruction means for instructing the stop of the rhythm sound; and sound generation by the start instruction means. Depending on whether the start instruction is before or after a predetermined period of time has elapsed after the stop instruction by the stop instruction means, if it is before, a rhythm sound is generated in accordance with the rhythm progression at the time of the stop instruction, and if it is after, the rhythm sound is generated from the initial state. An autorhythm device comprising: a rhythm sound control means for generating;
JP62325951A 1987-12-23 1987-12-23 Automatic rhythm device Pending JPH01167798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62325951A JPH01167798A (en) 1987-12-23 1987-12-23 Automatic rhythm device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62325951A JPH01167798A (en) 1987-12-23 1987-12-23 Automatic rhythm device

Publications (1)

Publication Number Publication Date
JPH01167798A true JPH01167798A (en) 1989-07-03

Family

ID=18182427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62325951A Pending JPH01167798A (en) 1987-12-23 1987-12-23 Automatic rhythm device

Country Status (1)

Country Link
JP (1) JPH01167798A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03126999A (en) * 1989-10-12 1991-05-30 Kawai Musical Instr Mfg Co Ltd Motif player
JP2011137880A (en) * 2009-12-25 2011-07-14 Yamaha Corp Automatic accompaniment device
JP2011137881A (en) * 2009-12-25 2011-07-14 Yamaha Corp Automatic accompaniment device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03126999A (en) * 1989-10-12 1991-05-30 Kawai Musical Instr Mfg Co Ltd Motif player
JP2011137880A (en) * 2009-12-25 2011-07-14 Yamaha Corp Automatic accompaniment device
JP2011137881A (en) * 2009-12-25 2011-07-14 Yamaha Corp Automatic accompaniment device

Similar Documents

Publication Publication Date Title
JPH01167798A (en) Automatic rhythm device
JPH0375874B2 (en)
JP2643277B2 (en) Automatic performance device
JPH1185153A (en) Playing device
JP3296202B2 (en) Performance operation instruction device
JPS5931077B2 (en) automatic rhythm playing device
JP2842440B2 (en) Automatic accompaniment device
JP2621276B2 (en) Automatic performance device
JP3319043B2 (en) Automatic performance device
JP2518341B2 (en) Automatic playing device
JP3620321B2 (en) Automatic accompaniment device
JPS6116992B2 (en)
JP2518340B2 (en) Automatic playing device
JPH0637439Y2 (en) Automatic playing device
JP2555663B2 (en) Parameter setting device for electronic musical instruments
JPS648358B2 (en)
JP2848092B2 (en) Automatic accompaniment device
JP3208799B2 (en) Automatic accompaniment device
JP2621371B2 (en) Automatic performance device
JP2002169548A (en) Instrument and method for rhythm playing
JP3075750B2 (en) Automatic performance device
JP3438617B2 (en) Automatic rhythm playing device
JPS6261158B2 (en)
JPH0547838B2 (en)
JPH0580764A (en) Electronic musical instrument

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees