JPH0714492U - Automatic playing device - Google Patents

Automatic playing device

Info

Publication number
JPH0714492U
JPH0714492U JP4397893U JP4397893U JPH0714492U JP H0714492 U JPH0714492 U JP H0714492U JP 4397893 U JP4397893 U JP 4397893U JP 4397893 U JP4397893 U JP 4397893U JP H0714492 U JPH0714492 U JP H0714492U
Authority
JP
Japan
Prior art keywords
automatic performance
fast
beat
bar
performance data
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.)
Withdrawn
Application number
JP4397893U
Other languages
Japanese (ja)
Inventor
卓 山本
Original Assignee
カシオ計算機株式会社
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 カシオ計算機株式会社 filed Critical カシオ計算機株式会社
Priority to JP4397893U priority Critical patent/JPH0714492U/en
Publication of JPH0714492U publication Critical patent/JPH0714492U/en
Withdrawn legal-status Critical Current

Links

Abstract

(57)【要約】 (修正有) 【目的】 電子楽器によって自動演奏される楽曲を早送
りや早戻し時に、その楽曲の演奏位置を表す小節番号を
音声で、また小節内の拍の頭の位置をカウント音でガイ
ドする。 【構成】 ユーザが自動演奏曲の早送り時、一定時間毎
に楽曲の始めから一定のクロック周期でカウントするカ
ウンタの値Aが、同じクロック周期でカウントした1拍
の音符長時間Xの整数倍であるか否かが判定され(ステ
ップS604)、整数倍時、Aに1拍分の音符長Xが加
算され(ステップS606)、不整数倍時、Aの位置が
拍頭にないため、次の拍頭に再設定される(ステップS
605)。次に、Aが1小節分の音符長に相当する(1
拍分の音符長X)×(拍子Y)の整数倍であるか否かが
判定され(ステップS608)。整数倍時、A/(X・
Y)に対応する小節番号が音声で発音され、不整数倍
時、拍頭を示すカウント音が発音され、楽曲の演奏位置
がガイドされる。
(57) [Summary] (Modified) [Purpose] When fast-forwarding or fast-rewinding a song that is automatically played by an electronic musical instrument, the bar number that indicates the playing position of the song is spoken, and the position of the beat head within the bar is located. Guide with counting sounds. [Structure] When a user fast-forwards an automatically played music, the value A of a counter that counts at a fixed clock cycle from the beginning of the music at fixed time intervals is an integer multiple of the musical note long time X of one beat counted at the same clock cycle. It is determined whether or not there is (step S604). When the integer multiple, the note length X for one beat is added to the A (step S606). Reset to beat (step S
605). Next, A corresponds to the note length for one bar (1
It is determined whether or not it is an integral multiple of the note length X) × (beat Y) (step S608). A / (X ・
The bar number corresponding to (Y) is audibly pronounced, and when it is a non-integral multiple, a count tone indicating the beat is audibly pronounced to guide the performance position of the music.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、楽曲の自動演奏機能を有する電子楽器において、自動演奏データの 早送りや早戻し等を行う際に、そのとき読み出される自動演奏データに対応する 楽曲の位置を音声、及びカウント音によりガイドする機能に関する。 The present invention, in an electronic musical instrument having an automatic music playing function, guides the position of the music corresponding to the automatic performance data read at that time by voice and count sound when fast-forwarding or fast-reversing the automatic performance data. Regarding the function to do.

【0002】[0002]

【従来の技術及び考案が解決しようとする課題】[Problems to be solved by conventional techniques and devices]

従来、電子楽器によって自動演奏される楽曲を早送りや早戻し等を行う際に、 その楽曲の演奏位置を示すために、小節や、拍の位置を表示するLCD(liquid crystal display)やLED(light emitting diode)等の表示装置が用いられてい るが、その製造のためにかなりのコストアップを招いていた。 Conventionally, when fast-forwarding or fast-rewinding a song that is automatically played by an electronic musical instrument, an LCD (liquid crystal display) or LED (light) that displays the bar or beat position to indicate the playing position of the song is displayed. Although display devices such as emitting diodes) are used, the production thereof has caused a considerable increase in cost.

【0003】 本考案の課題は、このようなLCDやLED等に比較してはるかに低廉なコス トで、楽曲の演奏位置を、小節番号を告知する音声、及び小節内の拍毎に発音さ れるカウント音によって、ガイドする機能を有する自動演奏装置を実現すること にある。The problem of the present invention is that the cost of playing music is much lower than that of LCDs and LEDs, and the playing position of the music is pronounced for each bar in the bar and the sound for notifying the bar number. The goal is to realize an automatic performance device that has the function of guiding by the count sound generated.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は、まず、自動演奏データに基づいて楽曲を自動演奏する自動演奏手段 を有する。 The present invention firstly has an automatic playing means for automatically playing a music piece based on the automatic performance data.

【0005】 次に、自動演奏手段により自動演奏される楽曲の自動演奏データを、早送り及 び早戻しする自動演奏データ制御手段を有する。この手段は、例えば早送りスイ ッチが押されている間、自動演奏データが格納されているROMなどのメモリの アドレスを、通常の自動演奏時の数倍の早さで読み出す手段である。Next, there is provided automatic performance data control means for fast-forwarding and fast-rewinding the automatic performance data of the music automatically performed by the automatic performance means. This means is for reading out the address of a memory such as a ROM in which automatic performance data is stored while the fast-forward switch is being pressed, at a speed several times faster than during normal automatic performance.

【0006】 そして、自動演奏制御手段により早送り及び早戻しされる自動演奏データに基 づく楽曲の小節の頭及び拍の頭を検出する検出手段を有する。 この手段は、例えば48分音符長毎にカウントするカウンタのカウント値Aが 、1拍分の音符長の整数倍であるか否かを判定することにより拍の頭の位置を検 出し、また上記カウント値Aが、1小節分の音符長を表す(1拍の音符長)×( 拍子)の整数倍であるか否かを判定することにより小節の頭(区切り)を検出す る手段である。Further, the automatic performance control means has a detection means for detecting a bar head and a beat head of the music based on the automatic performance data fast-forwarded and fast-reversed. This means detects the position of the beat head by determining whether or not the count value A of a counter that counts every 48th note length is an integer multiple of the note length for one beat, and This is a means to detect the bar (delimiter) of the bar by judging whether the count value A is an integer multiple of (note length of one beat) × (beat) which represents the note length of one bar. .

【0007】 本考案は、更に、検出手段により検出された小節の頭の位置に対応する小節番 号を音声で告知する小節番号告知手段、及び検出手段により検出された各拍の頭 においてカウント音を発音するカウント音発音手段を有する。The present invention further provides a measure number notifying means for notifying by sound the measure number corresponding to the position of the measure head detected by the detecting means, and a count sound at the head of each beat detected by the detecting means. It has a count sound producing means for producing.

【0008】[0008]

【作用】[Action]

ユーザは、自動演奏手段により自動演奏される楽曲の自動演奏データを、例え ば早送りスイッチや早戻しスイッチなどを操作して、自動演奏制御手段による早 送り及び早戻し等を行うことができる。 The user can operate the automatic performance data of the music automatically played by the automatic performance means, for example, by operating a fast-forward switch or a fast-reverse switch to perform fast-forward and fast-reverse by the automatic-performance control means.

【0009】 このとき、ユーザは、検出手段によって検出された楽曲の小節の頭の位置に対 応する小節番号を音声で聴くことができると共に、各拍の頭において発音される カウント音で、その時の楽曲の演奏位置を知ることができる。At this time, the user can listen to the bar number corresponding to the position of the bar head of the music detected by the detecting means by voice, and at the same time, the count sound produced at the head of each beat can be used. You can know the performance position of the song.

【0010】[0010]

【実施例】【Example】

以下、図面を参照しながら、本考案を電子鍵盤楽器に適用した実施例につき詳 細に説明する。 An embodiment in which the present invention is applied to an electronic keyboard instrument will be described in detail below with reference to the drawings.

【0011】 図1は本実施例の全体構成図である。 図1において、CPU(中央演算制御装置)103は、ROM104に記憶さ れている制御プログラムに基づきRAM105をワークメモリとして使用しなが ら動作し、スイッチ群102及び鍵盤101を走査して各スイッチや鍵の操作状 態を取り込み、ROM104から自動演奏のための自動演奏データを読み出すと 共に、発音制御データを音源106に送って、楽音の生成動作及び自動演奏動作 を行う。FIG. 1 is an overall configuration diagram of this embodiment. In FIG. 1, a CPU (Central Processing Unit) 103 operates while using a RAM 105 as a work memory based on a control program stored in a ROM 104, scans a switch group 102 and a keyboard 101, and switches each switch. The key operation state is read, the automatic performance data for the automatic performance is read from the ROM 104, and at the same time, the tone generation control data is sent to the sound source 106 to perform the musical tone generation operation and the automatic performance operation.

【0012】 次に、音源106によって生成された楽音信号は、D/A変換器107によっ てアナログ信号に変換され、サウンドシステム108によって楽音が放音される 。Next, the tone signal generated by the sound source 106 is converted into an analog signal by the D / A converter 107, and the tone is emitted by the sound system 108.

【0013】 図2は、図1の全体構成図のスイッチ部102の外観図である。 図2において、ユーザは自動演奏させたい曲を曲選択スイッチ201によって 選択し、プレイスイッチ203を押すことによって自動演奏を行わせる。FIG. 2 is an external view of the switch unit 102 in the overall configuration diagram of FIG. In FIG. 2, the user selects a piece of music to be automatically played by the music selection switch 201 and presses the play switch 203 to perform the automatic performance.

【0014】 ユーザが自動演奏が行われている楽曲を早送りをさせるには、早送りスイッチ (F.FWD SW.)204を押し、また早戻しをさせるには、早戻しスイッ チ(F.BWD SW.)202を押す。The user can press the fast-forward switch (F.FWD SW.) 204 to fast-forward the music being automatically played, and the fast-reverse switch (F.BWD SW) to fast-reverse. .) Press 202.

【0015】 そうすると、自動演奏データが格納されているROM104のアドレスが、特 には図示しないアドレスカウンタによって、通常の自動演奏時の数倍の早さで読 み出され、あたかもテープレコーダの早送り、または巻き戻しのように、自動演 奏データが早送り、または早戻しされる。Then, the address of the ROM 104 in which the automatic performance data is stored is read out by an address counter (not shown) at a speed several times faster than that of a normal automatic performance, and it is as if the tape recorder fast forwards. Or, like rewind, the automatic performance data is fast forwarded or rewound.

【0016】 次に、図3は、本実施例の1曲分の自動演奏データのフォーマットを示す図で ある。 図3において、ヘッダのテンポ120は1分間の拍数を表し、次の拍子は、こ の曲が4拍子であることを示している。Next, FIG. 3 is a diagram showing a format of automatic performance data for one piece of music according to this embodiment. In FIG. 3, the tempo 120 in the header represents the number of beats per minute, and the next beat indicates that this song has four beats.

【0017】 次の1拍分の音符長は、例えば48分音符長を1としたときの12に対応する 音符長、即ち、4分音符長を表す。 次の欄は、自動演奏データを表す。まず、小節番号1(1小節目)のメロディ の最初の音の自動演奏データが示されている。最初の00は楽器の音色を、C4 はピッチ(音高)を、音符長48は最初の音符長を、また72は次のデータまで の時間で、何れも48分音符長を1としたときの時間を表している。The next note length for one beat represents, for example, a note length corresponding to 12 when the 48th note length is 1, that is, a quarter note length. The next column shows the automatic performance data. First, the automatic performance data of the first note of the melody of measure number 1 (1st measure) is shown. The first 00 is the timbre of the instrument, C4 is the pitch (pitch), note length 48 is the first note length, and 72 is the time until the next data. In both cases, the 48th note length is 1. Represents the time.

【0018】 それで、48は12(4分音符長)×4であるから全分音符長を、また72は 48+24であるから全音符長に2分音符長が加えられた時間に相当する。 この結果、全分音符長に相当する時間だけ自動演奏が行われたら、72−48 =24に相当する2分休止符があってから、次のデータが読み始められることに なる。Since 48 is 12 (quarter note length) × 4, it corresponds to the whole note length, and 72 is 48 + 24, which corresponds to the time when the half note length is added to the whole note length. As a result, if the automatic performance is performed for a time corresponding to the whole note length, the next data will be read after the half pause corresponding to 72-48 = 24.

【0019】 以上は1小節目の最初の音の自動演奏データであるが、同じ1小節目の次の音 に関しても、同様なデータが示されている。 このようにして、2小節目、3小節目・・・・・“END”と続き、1曲分の 自動演奏データが構成される。Although the above is the automatic performance data of the first sound of the first measure, similar data is also shown for the next sound of the same first measure. In this way, the automatic performance data for one song is constructed following the second measure, the third measure ... "END".

【0020】 次に、図4は、前述の小節番号や拍の頭の位置をユーザに知らせるための音声 のデータフォーマットを示し、これら11の数値データの組み合わせにより、“ 1”から“999”までの音声データが得られ、その音声データに基づく音声が 発音される。 <本実施例の動作> 次に、本実施例の動作について、図5〜図8の動作フローチャートを用いて説 明する。Next, FIG. 4 shows the data format of the voice for notifying the user of the above-mentioned bar number and the position of the head of the beat. By combining these 11 numerical data, from “1” to “999”. Voice data is obtained, and a voice based on the voice data is pronounced. <Operation of this Embodiment> Next, the operation of this embodiment will be described with reference to the operation flowcharts of FIGS.

【0021】 まず、図5は、図2のプレイスイッチ203が押されたときのシステムのメイ ン動作に関する動作フローチャートである。 まず、ステップS501において、楽曲のスタートポイントからの累積音符長 をテンポに応じたクロックによりカウントするカウンタAに、初期化処理として “0”が書き込まれると共に、CPU103によって、RAM105上に、次に 述べるレジスタのXとYのエリアが設定される。First, FIG. 5 is an operation flowchart regarding the main operation of the system when the play switch 203 of FIG. 2 is pressed. First, in step S501, "0" is written as initialization processing to the counter A that counts the cumulative note length from the start point of the music by the clock according to the tempo, and the CPU 103 writes the following on the RAM 105. The X and Y areas of the register are set.

【0022】 次に、ステップS502において、前述の図3の自動演奏データのヘッダ部分 が読み出され、ステップS501で設定されたXに1拍分の音符長が、また、Y に拍子がセットされる。Next, in step S502, the header portion of the automatic performance data shown in FIG. 3 is read out, and the note length for one beat is set in X and the time signature in Y 2 set in step S501. It

【0023】 その後、自動演奏データの1拍分の音符長、即ち、図3の場合は、12に対応 する8分音符長が発音処理され(ステップS503)、またAの値がインクリメ ントされる(ステップS504)。Thereafter, the note length of one beat of the automatic performance data, that is, the eighth note length corresponding to 12 in the case of FIG. 3 is sounded (step S503), and the value of A is incremented. (Step S504).

【0024】 次に、ステップS505において、早送りスイッチ(F.FWD SW.)2 04が押されたか否かが判定される。判定の結果がYESなら、図6のステップ S601へ進み、また判定がNOなら、次のステップS506において、早戻し スイッチ(F.BWD SW.)202が押されたか否かが判定される。判定の 結果がYESなら、図7のステップS701へ進み、また判定がNOなら、次の ステップS507において、自動演奏データのENDデータが読まれたか否かが 判定され、その判定がNOならば、ステップS503へ戻り、上述の動作が繰り 返される。Next, in step S505, it is determined whether or not the fast-forward switch (F.FWD SW.) 204 has been pressed. If the determination result is YES, the process proceeds to step S601 in FIG. 6, and if the determination is NO, in the next step S506, it is determined whether or not the fast-return switch (F.BWD SW.) 202 is pressed. If the determination result is YES, the process proceeds to step S701 in FIG. 7, and if the determination is NO, it is determined in the next step S507 whether or not the END data of the automatic performance data is read. If the determination is NO, Returning to step S503, the above-described operation is repeated.

【0025】 このようにして、自動演奏データの“END”データが読み出されると、ステ ップS507の判定がYESになり、自動演奏が停止される(ステップS508 )。In this way, when the "END" data of the automatic performance data is read, the determination in step S507 becomes YES, and the automatic performance is stopped (step S508).

【0026】 次に、前述の早送りスイッチ(F.FWD SW.)204が押されときの動 作について、図6の早送りモード時の動作フローチャートを用いて説明する。 まず、ステップS601において、自動演奏データのハイリリース処理によっ て発音が停止され、次のステップS602において、早送りスイッチ(F.FW D SW.)がONされている間の時間を、48分音符長に相当する時間毎にカ ウントするタイマーTがセットされ、初期化処理としてそのON時間を示すTに “0”が書き込まれる。なお、このタイマーTの累算動作は、インタラプト処理 によって行われる。Next, the operation when the above-described fast-forward switch (F.FWD SW.) 204 is pressed will be described using the operation flowchart in the fast-forward mode of FIG. First, in step S601, the pronunciation is stopped by the high release processing of the automatic performance data, and in the next step S602, the time during which the fast-forward switch (F.FW D SW.) Is turned on is set to the 48th note. A timer T that counts each time corresponding to the length is set, and "0" is written in T indicating the ON time as an initialization process. The accumulation operation of the timer T is performed by the interrupt processing.

【0027】 次に、ステップS603において、タイマーTの累算値ががTT(例えば0. 5秒)になったか否かが判定される。その判定がNOである間は、ステップS6 12へ進み、早送りスイッチ(F.FWD SW.)204がOFFになったか 否かが判定される(ステップS612)。Next, in step S603, it is determined whether the accumulated value of the timer T has reached TT (for example, 0.5 seconds). While the determination is NO, the process proceeds to step S612, and it is determined whether or not the fast-forward switch (F.FWD SW.) 204 is turned off (step S612).

【0028】 この場合、早送りスイッチ204がOFFにされると、ステップS612の判 定がYESになり、次のステップS613において、現在のAの演奏位置まで、 自動演奏データがヘッダから読み出され、その後図5のメイン動作フローチャー トのステップS503へ進む。In this case, when the fast-forward switch 204 is turned off, the determination in step S612 becomes YES, and in the next step S613, automatic performance data is read from the header up to the current performance position of A, After that, the process proceeds to step S503 of the main operation flow chart of FIG.

【0029】 このようにして、早送りスイッチ204がOFFされると、早送りされたため に読み出されなかった自動演奏データの中の制御データ、例えば音色変更データ 等がヘッダから読み出され、音色等が変更される。In this way, when the fast-forward switch 204 is turned off, the control data in the automatic performance data that has not been read because of the fast-forward, such as tone color change data, is read from the header, and the tone color is changed. Be changed.

【0030】 また、ステップS612の判定がNO、即ち、早送りスイッチ204が押され ている間は、ステップS603、S612間をループし、タイマーTの値がTT に達すると、ステップS603の判定がYESとなり、ステップS604におい て、前述のクロックをカウントしているカウンタのカウント値Aが、前述の1拍 分の音符長Xの整数倍であるか否かが判定される。Further, when the determination in step S612 is NO, that is, while the fast-forward switch 204 is being pressed, the process loops between steps S603 and S612, and when the value of the timer T reaches TT, the determination in step S603 is YES. Then, in step S604, it is determined whether or not the count value A of the counter for counting the clock is an integral multiple of the note length X for one beat.

【0031】 この判定処理は、本実施例では、早送りは1拍単位で行われるため、1拍に満 たない音符長があるときに、その端数を整理するために行われるものである。 まず、ステップS604の判定がNOの場合、即ちAがXの整数倍でなく拍の 頭にない場合は、次のステップS605において、A/Xの余りをAから引いて 得られた値にXを加えて、その値がAに代入され、Aが次の拍の頭に再設定され る。In the present embodiment, this determination process is performed in order to sort out the fraction when there is a note length that is less than one beat because fast-forwarding is performed in units of one beat. First, if the determination in step S604 is NO, that is, if A is not an integral multiple of X and is not at the beginning of the beat, then in the next step S605, the remainder of A / X is subtracted from A to obtain the value X Is added to A, and A is reset to the beginning of the next beat.

【0032】 次に、AがXの整数倍である場合は、ステップS606において、Aに1拍分 の音符長Xが加算されることによって、Aが次の拍の頭の位置に再設定される。 その後、ステップS607において、Aが表す場所に楽音データが、無いか否 かが判定される。判定の結果、Aが表す場所に楽音データが無ければ、楽音デー タの最終部分まで進んだことになり、その判定はYESで、早送りが止められ( ステップS610)、自動演奏が停止される(ステップS611)。Next, if A is an integer multiple of X, in step S606, the note length X of one beat is added to A, whereby A is reset to the position of the head of the next beat. It Then, in step S607, it is determined whether or not there is musical sound data in the place indicated by A. If there is no musical sound data in the place indicated by A as a result of the judgment, it means that the process has advanced to the final part of the musical sound data, and the judgment is YES, fast forward is stopped (step S610), and the automatic performance is stopped ( Step S611).

【0033】 また、ステップS607の判定がNOの場合、即ちAの場所にデータがある場 合は、次のステップS608において、Aが1小節の音符長を表す(1拍分の音 符長X)×(拍子Y)の整数倍であるか、即ちAの位置が小節の頭(区切り)に あるか否かが判定される。その判定がNO、つまりAの位置が小節の区切りでな い場合は、ステップS609において、拍の頭を表すカウント音の発音処理が行 われ、その後、ステップS602へ戻り、前述と同じ動作が、タイマーTがTT になる毎に繰り返され、Aの位置が小節の頭(区切り)にある場合を除き、拍の 頭を表すカウント音の発音処理が行われる。If the determination in step S607 is NO, that is, if there is data at the location A, then in the next step S608, A represents the note length of one bar (note length X for one beat X ) × (beat Y), that is, whether or not the position of A is at the beginning (delimiter) of the measure. If the determination is NO, that is, if the position of A is not a bar break, in step S609, a count tone representing the beginning of the beat is sounded, and then the process returns to step S602 and the same operation as described above is performed. This process is repeated every time the timer T reaches TT, and the count tone representing the beginning of the beat is generated except when the position of A is at the beginning (break) of the bar.

【0034】 このようにして、Aの位置が小節の区切りに来て、ステップS608の判定が YESになると、図8のステップS801に進み、Aの位置が、曲の始めから何 小節目にあるか、即ちAの位置に対応する小節番号を判定するために、Aが1小 節の音符長に相当する上記(X・Y)の何倍に当たるかが求められ、その値に“ 1”を加算してレジスタZに代入される。In this way, when the position of A comes to the bar of a measure and the determination in step S608 becomes YES, the process proceeds to step S801 of FIG. 8 and the position of A is at which measure from the beginning of the song. In other words, in order to determine the bar number corresponding to the position of A, it is necessary to find out how many times (X / Y) the above A corresponds to the note length of one bar, and set the value to "1". It is added and substituted in the register Z.

【0035】 次に、上記ZがI00小節以上であるか否かを判定するために、まず、ステッ プS802において、Z/100が演算され、その商が“1”以下であるか否か が判定される(ステップS803)。Next, in order to determine whether Z is 100 bars or more, first, in step S802, Z / 100 is calculated, and it is determined whether the quotient is “1” or less. It is determined (step S803).

【0036】 その商が“1”以下であれば、判定はYESとなり、次のステップS804に おいて、その商が“0”であるか否かが判定される。そして商が“0”の場合は 、次のステップS807へ進み、商が“1”の場合は、次のステップS805に おいて、図4に示す“ひゃく”の音声データが、ROM104(図1)から読み 出され、その発音処理が行われる。If the quotient is “1” or less, the determination is yes, and in the next step S804, it is determined whether the quotient is “0”. If the quotient is "0", the process proceeds to the next step S807. If the quotient is "1", the voice data of "haku" shown in FIG. 4 is stored in the ROM 104 (see FIG. 1) in the next step S805. ), And the pronunciation process is performed.

【0037】 また、ステップS803において、商が“1”以下でない場合は、その商に対 応する数値の音声データと、“ひゃく”の音声データが読み出され、発音処理が 行われる(ステップS806)。例えば、商が“4”ならば、図4に示すように 、数値データ4に対応する“よん”と“ひゃく”で“よんひゃく”と発音される 。If the quotient is not equal to or less than “1” in step S803, the voice data of the numerical value corresponding to the quotient and the voice data of “hyaku” are read out and the sound generation processing is performed (step S806). ). For example, if the quotient is "4", "yonhyaku" is pronounced as "yon" and "hyaku" corresponding to the numerical data 4 as shown in FIG.

【0038】 その後、ステップS807において、ステップS802の演算の余りが、“1 0”で徐算され、その商が“1”以下であるか否かが判定される(ステップS8 08)。After that, in step S807, the remainder of the calculation in step S802 is divided by “10”, and it is determined whether or not the quotient is “1” or less (step S8808).

【0039】 その商が“1”以下であれば、判定はYESとなり、次のステップS809に おいて、その商が“0”であるか否かが判定される。そして商が“0”の場合は 、次のステップS812へ進む。また、商が“1”の場合は、次のステップS8 10において、図4に示す音声データの“じゅう”が読み出され、発音処理が行 われる。If the quotient is “1” or less, the determination is yes, and in the next step S809, it is determined whether the quotient is “0”. When the quotient is “0”, the process proceeds to the next step S812. If the quotient is "1", in the next step S810, "10" of the voice data shown in FIG. 4 is read out and the sound generation processing is performed.

【0040】 次に、ステップS808において、商が“1”以下でない場合は、その商に対 応する数値の音声データと、“じゅう”の音声データが、ROM104から読み 出され、発音処理が行われる(ステップS811)。例えば、商が“3”ならば 、数値データ3に対応する音声データ“さん”と、音声データの“じゅう”が読 み出され、“さんじゅう”と発音される。Next, in step S808, if the quotient is not “1” or less, the voice data of the numerical value corresponding to the quotient and the voice data of “10” are read out from the ROM 104 and sound generation processing is performed. (Step S811). For example, if the quotient is “3”, the voice data “san” corresponding to the numerical data 3 and the voice data “10” are read and pronounced as “sanju”.

【0041】 その後、ステップS812において、ステップS807の演算の余りがあるか 否かが判定され、余り(この場合は、1の桁である)がない場合は、次のステッ プS814へ進み、また余りがある場合は、ステップS813において、その余 りに対応する数、例えば8ならば、その8の音声データ“はち”がROM104 から読み出され、発音処理が行われる。After that, in step S 812, it is determined whether or not there is a remainder in the operation in step S 807. If there is no remainder (in this case, the digit is 1), the process proceeds to the next step S 814, and If there is a surplus, in step S813, if the number corresponds to the surplus, for example, if it is 8, the voice data "8" of the 8 is read from the ROM 104 and sound generation processing is performed.

【0042】 以上のようにして、自動演奏曲の早送りが行われている間、その時の演奏位置 を示す小節ナンバーが音声でガイドされる。 次に、ステップS814において、早戻しスイッチ(F.BWD SW.)2 02が押されているか否かが判定され、早戻しスイッチ202が押されていれば 、図7のステップS702へ進み、また、同スイッチ202が押されていないな らば、図6のステップS602に戻り、前述と同様な動作が繰り返される。As described above, the bar number indicating the performance position at that time is guided by voice while the fast-forwarding of the automatic performance music is performed. Next, in step S814, it is determined whether or not the fast reverse switch (F.BWD SW.) 202 is pressed. If the fast reverse switch 202 is pressed, the process proceeds to step S702 in FIG. If the switch 202 is not pressed, the process returns to step S602 in FIG. 6 and the same operation as described above is repeated.

【0043】 次に、早戻しスイッチ202が押されときの動作について、図7の早戻しモー ド時の動作フローチャートを用いて説明する。 まず、ステップS701において、自動演奏データのハイリリース処理によっ て発音が停止され、次のステップS702において、早戻しスイッチ(F.BW D SW.)がONされている間の時間を、96分音符長に相当する時間毎にカ ウントするタイマーTがセットされ、初期化処理として、そのON時間を示すT に“0”が書き込まれる。なお、このタイマーTの累算動作は、インタラプト処 理によって行われる。Next, the operation when the fast-reverse switch 202 is pressed will be described with reference to the operation flowchart in the fast-reverse mode of FIG. First, in step S701, the sound generation is stopped by the high release processing of the automatic performance data, and in the next step S702, the time during which the fast-return switch (F.BW D SW.) Is ON is 96 minutes. A timer T that counts at each time corresponding to the note length is set, and as initialization processing, "0" is written in T 1 indicating the ON time. The accumulation operation of the timer T is performed by the interrupt processing.

【0044】 次に、ステップS703において、タイマーTの累算値ががTT(例えば0. 5秒)になったか否かが判定される。その判定がNOである間は、ステップS7 12へ進み、早戻しスイッチ202がOFFになったか否かが判定される(ステ ップS712)。Next, in step S703, it is determined whether the accumulated value of the timer T has reached TT (for example, 0.5 seconds). While the determination is NO, the process proceeds to step S712, and it is determined whether or not the fast return switch 202 is turned off (step S712).

【0045】 この場合、早戻しスイッチ202がOFFにされると、ステップS712の判 定がYESになり、次のステップS713において、現在のAの位置まで、自動 演奏データがヘッダから読み出され、図5のメイン動作フローチャートのステッ プS503へ進む。In this case, when the fast-reverse switch 202 is turned off, the determination in step S712 becomes YES, and in the next step S713, the automatic performance data is read from the header up to the current position A, The process proceeds to step S503 in the main operation flowchart of FIG.

【0046】 このようにして、早戻しスイッチ202がOFFされると、早戻しされたため に読み出されなかった自動演奏データの中の制御データ、例えば音色変更データ 等がヘッダから読み出され、音色等が変更される。In this way, when the fast-reverse switch 202 is turned off, the control data in the automatic performance data that has not been read because of the fast-reverse, such as tone color change data, is read from the header, and the tone color is changed. Etc. are changed.

【0047】 また、ステップS712の判定がNO、即ち、早戻しスイッチ202が押され ている間は、ステップS703、S712間のループ処理が行われ、タイマーT の値がTTに達すると、ステップS703の判定がYESになる。そして、ステ ップS704において、前述のクロックをカウントしているカウンタのカウント 値Aが、前述の1拍分の音符長Xの整数倍であるか否かが判定される。Further, when the determination in step S712 is NO, that is, while the fast-return switch 202 is being pressed, the loop process between steps S703 and S712 is performed, and when the value of the timer T reaches TT, step S703. Is YES. Then, in step S704, it is determined whether or not the count value A of the counter counting the clocks is an integral multiple of the note length X for one beat.

【0048】 この判定処理は、本実施例では、早戻しは1拍単位で行われるため、1拍に満 たない音符長があるときに、その端数を整理するために行われるものである。 まず、ステップS704の判定がNOの場合、即ちAがXの整数倍でない場合 は、次のステップS705において、A/Xの余りをAから引いて得られた値が Aに代入され、Aが再設定される。In the present embodiment, this determination process is performed in order to sort out the fraction when there is a note length that is less than one beat because fast rewind is performed in units of one beat. First, when the determination in step S704 is NO, that is, when A is not an integral multiple of X, in the next step S705, the value obtained by subtracting the remainder of A / X from A is substituted for A, and A is It will be reset.

【0049】 次に、AがXの整数倍である場合、即ち1拍に満たない端数がない場合は、ス テップS706において、Aから1拍分の音符長Xが減算された値がAに代入さ れることにより、1つ手前の拍の頭の位置に再設定される。Next, when A is an integral multiple of X, that is, when there is no fraction less than one beat, in step S706, the value obtained by subtracting the note length X of one beat from A is set to A. By being substituted, it is reset to the position of the head of the previous beat.

【0050】 その後、ステップS707において、A=0であるか否かが判定される。判定 の結果、A=0であれば、楽音データの開始部分まで戻ったことになり、その判 定はYESとなり、“いち”の音声データが読み出され、発音処理が行われ(ス テップS710)、早戻しが停止される(ステップS711)。After that, in step S707, it is determined whether or not A = 0. If the result of the determination is that A = 0, it means that the process has returned to the start portion of the musical sound data, the determination is YES, the voice data of "1" is read out, and sound generation processing is performed (step S710). ), The fast rewind is stopped (step S711).

【0051】 また、ステップS707の判定がNOの場合、即ちA=0でない場合は、次の ステップS708において、Aが1小節の音符長を表す(1拍分の音符長X)× (拍子Y)の整数倍であるか、即ちAの位置が小節の頭(区切り)にあるか否か が判定される。その判定がNO、つまりAの位置が小節の区切りでない場合は、 ステップS709において、カウント音の発音処理が行われ、その後、ステップ S702へ戻り、前述と同じ動作が、タイマーTがTTになる毎に繰り返され、 カウント音の発音処理が行われる。When the determination in step S707 is NO, that is, when A = 0 is not satisfied, in the next step S708, A represents the note length of one bar (note length X for one beat) × (beat Y). ), That is, whether or not the position of A is at the beginning (delimiter) of the measure. If the determination is NO, that is, if the position of A is not a bar division, a counting sound is generated in step S709, then the process returns to step S702, and the same operation as described above is performed every time the timer T becomes TT. Repeatedly, the count sound generation process is performed.

【0052】 その後、ステップS708の判定がYESになると、即ち、Aの位置が小節の 区切りである場合は、図8のステップS801に進み、前述の早送りモードの場 合と同様な音声処理動作に入る。After that, when the determination in step S708 is YES, that is, when the position of A is a bar division, the process proceeds to step S801 in FIG. 8 and the same voice processing operation as in the fast-forward mode is performed. enter.

【0053】 以上のようにして、自動演奏曲の早送りや早戻しが行われている間、現在の演 奏位置を示す小節ナンバーが音声でガイドされると共に、小節内の拍の頭におい て、その位置が小節の区切りである場合を除いて、カウント音が発音され、楽曲 の現在位置がガイドされる。As described above, while fast-forwarding and fast-rewinding the automatically performed music, the bar number indicating the current performance position is voice-guided, and at the beginning of the beat within the bar, A count tone is sounded and the current position of the song is guided, except when the position is a bar break.

【0054】[0054]

【考案の効果】[Effect of device]

本考案によれば、自動演奏される楽曲を早送り、または早戻しする際、そのと きの演奏位置を示す小節番号が小節の区切りで、音声によりユーザにガイドされ ると共に、小節の区切り以外の拍の頭においてカウント音が発音される。 According to the present invention, when fast-forwarding or fast-reversing an automatically-played music, the bar number indicating the performance position at that time is a bar of a bar, which is guided by the user by a voice and other than the bar of a bar. A count sound is emitted at the beginning of the beat.

【0055】 そのため、従来のようにコストのかかる表示装置を用いずとも、ユーザに自動 演奏曲の所望個所を容易に頭出しさせることができる、特に、自動演奏を用いた レッスン機能を必要とするビギナー向けの電子楽器を、低いコストで提供するこ とが可能となる。Therefore, the user can easily find out a desired portion of the automatically-played music without using a costly display device as in the related art, and particularly, a lesson function using the automatically-played music is required. It is possible to provide electronic musical instruments for beginners at low cost.

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

【図1】本考案の実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】スイッチ部の外観図である。FIG. 2 is an external view of a switch unit.

【図3】自動演奏データのフォーマットである。FIG. 3 is a format of automatic performance data.

【図4】音声データのフォーマットである。FIG. 4 is a format of audio data.

【図5】システムのメイン動作フローチャートである。FIG. 5 is a main operation flowchart of the system.

【図6】早送りモード時の動作フローチャートである。FIG. 6 is an operation flowchart in a fast-forward mode.

【図7】早戻しモード時の動作フローチャートである。FIG. 7 is an operation flowchart in a fast reverse mode.

【図8】音声発音処理に関する動作フローチャートであ
る。
FIG. 8 is an operation flowchart relating to voice pronunciation processing.

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

101 鍵盤 102 スイッチ部 103 CPU 104 ROM 105 RAM 106 音源 107 D/A変換器 108 サウンドシステム 101 keyboard 102 switch section 103 CPU 104 ROM 105 RAM 106 sound source 107 D / A converter 108 sound system

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 自動演奏データに基づいて楽曲を自動演
奏する自動演奏手段と、 該自動演奏手段により自動演奏される前記楽曲の自動演
奏データを早送り及び早戻しする自動演奏データ制御手
段と、 該自動演奏データ制御手段により早送り及び早戻しされ
る前記自動演奏データに基づく前記楽曲の各小節の頭を
検出する検出手段と、 該検出手段により検出された前記小節の頭の位置に対応
する小節番号を音声で告知する小節番号告知手段と、 を有することを特徴とする自動演奏装置。
1. An automatic performance means for automatically playing a music piece based on automatic performance data, an automatic performance data control means for fast-forwarding and fast-reversing the automatic performance data of the music piece automatically played by the automatic performance means, Detecting means for detecting the head of each bar of the music based on the automatic performance data fast-forwarded and rewound by the automatic performance data control means, and a bar number corresponding to the position of the bar head detected by the detection means An automatic performance device comprising: a measure number notifying means for notifying by voice.
【請求項2】 自動演奏データに基づいて楽曲を自動演
奏する自動演奏手段と、 該自動演奏手段により自動演奏される前記楽曲の自動演
奏データを早送り及び早戻しする自動演奏データ制御手
段と、 該自動演奏データ制御手段により早送り及び早戻しされ
る前記自動演奏データに基づく前記楽曲の各小節の頭及
び各拍の頭を検出する検出手段と、 該検出手段により検出された前記小節の頭の位置に対応
する小節番号を音声で告知する小節番号告知手段と、 前記検出手段により検出された前記楽曲の各拍の頭にお
いてカウント音を発音するカウント音発音手段と、 を有することを特徴とする自動演奏装置。
2. An automatic performance means for automatically playing a music piece based on the automatic performance data, and an automatic performance data control means for fast-forwarding and rewinding the automatic performance data of the music piece automatically played by the automatic performance means. Detecting means for detecting the head of each bar and the beat of each beat of the music based on the automatic performance data fast-forwarded and rewound by the automatic performance data control means, and the position of the head of the bar detected by the detection means And a measure number pronouncing means for pronouncing the measure number corresponding to the sound by a voice, and a count sound producing means for producing a count sound at the beginning of each beat of the music detected by the detecting means. Playing device.
JP4397893U 1993-08-11 1993-08-11 Automatic playing device Withdrawn JPH0714492U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4397893U JPH0714492U (en) 1993-08-11 1993-08-11 Automatic playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4397893U JPH0714492U (en) 1993-08-11 1993-08-11 Automatic playing device

Publications (1)

Publication Number Publication Date
JPH0714492U true JPH0714492U (en) 1995-03-10

Family

ID=12678813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4397893U Withdrawn JPH0714492U (en) 1993-08-11 1993-08-11 Automatic playing device

Country Status (1)

Country Link
JP (1) JPH0714492U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS513065A (en) * 1974-06-27 1976-01-12 Mikuni Jukogyo Ringuoenchutaini doshinkangosaseruhoho
JPS5744254U (en) * 1980-08-27 1982-03-11

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS513065A (en) * 1974-06-27 1976-01-12 Mikuni Jukogyo Ringuoenchutaini doshinkangosaseruhoho
JPS5744254U (en) * 1980-08-27 1982-03-11

Similar Documents

Publication Publication Date Title
CN1670818B (en) Music recorder on the basis of different sorts of music data
JP3339217B2 (en) Score display device
JP2009031549A (en) Melody display control device and karaoke device
JPH0714492U (en) Automatic playing device
JP2780637B2 (en) Performance training device
JPH1031495A (en) Karaoke device
JP4646140B2 (en) Electronic musical instrument with practice function
JP4891135B2 (en) Evaluation device
JP3998461B2 (en) Performance practice device, performance practice method, program and recording medium
JP4261457B2 (en) Electronic musical instruments
JPS5991493A (en) Music performer
JP5164401B2 (en) Automatic performance device and automatic performance program
JP3296202B2 (en) Performance operation instruction device
JPH0257319B2 (en)
JP2640587B2 (en) Automatic performance device with singing ability evaluation function
JPH0350279B2 (en)
JP3362070B2 (en) Automatic performance device
JP4350198B2 (en) Musical performance device
JPH10161656A (en) Tempo editing device
JPH046079Y2 (en)
JP2556640B2 (en) Automatic playing device
JP3503487B2 (en) Automatic performance device and storage medium
JPS63193194A (en) Automatic performance recorder/reproducer for electronic musical instrument
JP3517917B2 (en) Music playback device
JPS646558Y2 (en)

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19971106