JP6194589B2 - Music data reproducing apparatus and program for realizing music data reproducing method - Google Patents

Music data reproducing apparatus and program for realizing music data reproducing method Download PDF

Info

Publication number
JP6194589B2
JP6194589B2 JP2013025306A JP2013025306A JP6194589B2 JP 6194589 B2 JP6194589 B2 JP 6194589B2 JP 2013025306 A JP2013025306 A JP 2013025306A JP 2013025306 A JP2013025306 A JP 2013025306A JP 6194589 B2 JP6194589 B2 JP 6194589B2
Authority
JP
Japan
Prior art keywords
data
music data
type
music
reproduction
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.)
Expired - Fee Related
Application number
JP2013025306A
Other languages
Japanese (ja)
Other versions
JP2014153647A (en
Inventor
伸哉 濱口
伸哉 濱口
桂三 濱野
桂三 濱野
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 JP2013025306A priority Critical patent/JP6194589B2/en
Publication of JP2014153647A publication Critical patent/JP2014153647A/en
Application granted granted Critical
Publication of JP6194589B2 publication Critical patent/JP6194589B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、音楽データを選択して再生する音楽データ再生装置および音楽データ再生方法を実現するためのプログラムに関する。   The present invention relates to a music data reproducing apparatus and a music data reproducing method for selecting and reproducing music data.

音楽データを選択して再生する音楽データ再生装置は、従来から知られている。   2. Description of the Related Art Music data playback apparatuses that select and play music data are conventionally known.

音楽データには複数の種類があり、その代表的なものとして、ソングデータと伴奏スタイルデータがある。ソングデータは、ソングデータに含まれる先頭の演奏データから末尾の演奏データまでを順に再生することで、1曲分の楽曲を自動演奏するために用いられる。伴奏スタイルデータは、複数のセクション(「イントロ」、「メイン」、「エンディング」および「フィルイン」など)のそれぞれに対応した、所定長(たとえば、1小節長)の演奏データによって構成され、各セクションの演奏データを適宜繰り返し再生することで、伴奏を生成するために用いられる。   There are a plurality of types of music data, and typical examples include song data and accompaniment style data. The song data is used to automatically play a piece of music by sequentially reproducing from the first performance data to the last performance data included in the song data. The accompaniment style data is composed of performance data of a predetermined length (for example, one bar length) corresponding to each of a plurality of sections (such as “intro”, “main”, “ending” and “fill-in”). This is used to generate accompaniment by repeatedly reproducing the performance data as appropriate.

ソングデータと伴奏スタイルデータは、どちらも再生するためのデータであるが、再生用途が異なるため、再生ボタンを押したとき、ユーザが再生させたいと意図している音楽データの種類と、実際に再生される音楽データの種類とを一致させ、ユーザの操作性を向上させたい場合がある。また、ソングデータを再生する際に用いられる各種機能(以下「ソング機能」という)と伴奏スタイルデータを再生する際に用いられる各種機能(以下「スタイル機能」という)には、共通あるいは関連するものがある一方で、相違するものもある。   Song data and accompaniment style data are both data to be played back, but since the playback uses are different, the type of music data that the user intends to play when the play button is pressed, There is a case where it is desired to improve the operability of the user by matching the type of music data to be reproduced. In addition, various functions used when reproducing song data (hereinafter referred to as “song function”) and various functions used when reproducing accompaniment style data (hereinafter referred to as “style function”) are common or related. While there are other differences.

そこで、ソング機能とスタイル機能の間で異なる機能は言うまでもなく、共通あるいは関連する機能であっても、ソング機能用の操作子とスタイル機能用の操作子とを別々に、かつ機能毎にまとめて設けるようにした電子楽器がある(たとえば、非特許文献1参照)。   Therefore, it goes without saying that there are different functions between the song function and the style function, and even if it is a common or related function, the operator for the song function and the operator for the style function are grouped separately for each function. There is an electronic musical instrument provided (for example, see Non-Patent Document 1).

しかし、この従来の電子楽器では、共通あるいは関連する機能であっても別の操作子が設けられているので、操作パネル上に数多くの操作子が並ぶことになり、ユーザにとっては、使用したい操作子を探すのが大変である一方、製造メーカにとっては、部品点数の増加により製造コストが増大する。   However, since this conventional electronic musical instrument is provided with other controls even if they have common or related functions, a large number of controls are arranged on the operation panel. While it is difficult to find a child, the manufacturing cost increases for the manufacturer due to the increase in the number of parts.

そこで、ソングモードとスタイルモードを設け、ソング機能とスタイル機能の間で共通する機能はもちろん、共通しない機能も同じ操作子に割り当てるようにし、共通しない機能も、モードを切り替えることにより、それぞれの機能を操作できるようにした電子楽器もある(たとえば、非特許文献2参照)。ただし、この従来の電子楽器では、ソングデータを選択するボタンと伴奏スタイルデータを選択するボタンは、別々に設けられているが、それでも、前者の従来の電子楽器に比べ、操作子の数が少なくなっている。   Therefore, song mode and style mode are provided, and not only common functions between song functions and style functions, but also non-common functions are assigned to the same controller, and non-common functions can be switched by switching modes. There is also an electronic musical instrument that can be operated (see Non-Patent Document 2, for example). However, in this conventional electronic musical instrument, the button for selecting song data and the button for selecting accompaniment style data are provided separately, but there are still fewer operators than the former conventional electronic musical instrument. It has become.

クラビノーバ(登録商標)CVP−509/505/503/501 取扱説明書,2009年,ヤマハ株式会社,http://www2.yamaha.co.jp/manual/pdf/emi/japan/cla/cvp509_ja_om_d0.pdf(第12頁および第13頁)Clavinova (registered trademark) CVP-509 / 505/503/501 Instruction Manual, 2009, Yamaha Corporation, http://www2.yamaha.co.jp/manual/pdf/emi/japan/cla/cvp509_ja_om_d0.pdf (Pages 12 and 13) PSR−E433 取扱説明書,2012年7月1日,ヤマハ株式会社,http://www2.yamaha.co.jp/manual/pdf/emi/japan/port/psre433_ja_om_b0.pdf(第10頁および第11頁)PSR-E433 Instruction Manual, July 1, 2012, Yamaha Corporation, http://www2.yamaha.co.jp/manual/pdf/emi/japan/port/psre433_ja_om_b0.pdf (pages 10 and 11) page)

しかし、上記後者の従来の電子楽器では、操作対象となる機能がモードに応じて変動する操作子もあるので、ユーザは、現在のモードを常に把握して操作子を操作しなければ、正しい操作を行えないことがあった。   However, in the latter conventional electronic musical instrument, there is an operator whose function to be operated fluctuates depending on the mode. Therefore, if the user always grasps the current mode and does not operate the operator, the correct operation is performed. There was a case that could not be done.

本発明は、この点に着目してなされたものであり、操作子の数を減少させて製造コストを削減させつつ、種類の異なる音楽データをユーザが迷わず選択して再生することが可能となる音楽データ再生装置および音楽データ再生方法を実現するためのプログラムを提供することを目的とする。   The present invention has been made paying attention to this point, and it is possible to select and reproduce different types of music data without hesitation while reducing the manufacturing cost by reducing the number of operators. An object of the present invention is to provide a program for realizing the music data reproducing apparatus and the music data reproducing method.

上記目的を達成するため、請求項1に記載の音楽データ再生装置は、複数種類の音楽データのそれぞれに対応付けられた、音楽データの種類に関わらない固有のデータIDを記憶する記憶手段と、前記記憶手段に記憶された複数のデータIDのいずれかを指定する指定手段と、前記指定手段によって指定されたデータIDに対応する音楽データを再生する再生手段と、前記指定されたデータIDに応じて、前記再生手段の再生設定を前記指定されたデータIDに対応する音楽データの種類に合った再生設定に切り替えるように制御する制御手段とを有し、前記複数種類の音楽データには、メロディパートを含む複数のパートからなる第1種類の音楽データと、リピート再生するための、1または複数の伴奏パートからなる所定長のパターンである第2種類の音楽データが含まれ、前記制御手段は、前記第1種類の音楽データが指定されたときには、当該第1種類の音楽データを先頭から末尾まで再生する第1の再生設定へ切り替える一方、前記第2種類の音楽データが指定されたときには、当該第2種類の音楽データをリピート再生する第2の再生設定へ切り替えるように制御することを特徴とする。 In order to achieve the above object, the music data reproducing device according to claim 1 stores a storage unit that stores a unique data ID that is associated with each of a plurality of types of music data, regardless of the type of music data, In accordance with the designated data ID, designation means for designating one of a plurality of data IDs stored in the storage means, reproduction means for reproducing music data corresponding to the data ID designated by the designation means, Te, wherein the reproduction setting of reproduction means have a control means for controlling to switch to suits reproduction setting the type of music data corresponding to the specified data ID, the multiple kinds of music data, melody A first type of music data consisting of a plurality of parts including a part and a pattern of a predetermined length consisting of one or a plurality of accompaniment parts for repeat playback When the first type of music data is designated, the control means switches to the first reproduction setting for reproducing the first type of music data from the beginning to the end. On the other hand, when the second type of music data is designated, control is performed so that the second type of music data is switched to a second playback setting for repeated playback .

なお、請求項1に記載の音楽データ再生装置には、前記音楽データに対応付けられたデータIDを表示する表示手段を設けるようにしてもよい。 Note that the music data reproducing apparatus according to claim 1, may be provided with a display means for displaying the correlated et al data ID of the music data.

請求項2に記載の音楽データ再生装置は、請求項1の音楽データ再生装置において、デフォルト位置のデータIDを選択指示する選択指示手段をさらに有し、前記選択指示手段による選択指示がなされた場合、前記制御手段は、前記指定手段によって現在指定されているデータIDに対応する音楽データと同じ種類の音楽データであって、デフォルト位置にある音楽データを選択することを特徴とする。
請求項3に記載の音楽データ再生装置は、請求項2の音楽データ再生装置において、前記選択指示手段による選択指示がなされた場合、前記制御手段は、前記指定手段によって現在指定されているデータIDに対応する音楽データと同じ種類の音楽データであって、デフォルト位置にある音楽データのデータIDを前記表示部に表示させることを特徴とする。
The music data reproducing device according to claim 2 further comprises selection instruction means for instructing selection of a data ID at a default position in the music data reproducing apparatus according to claim 1 , wherein selection instruction by the selection instruction means is made. , the control unit may be the same type of music data and the music data corresponding to the data ID that is currently designated by said designation means and you to select the music data in the default position.
According to a third aspect of the present invention, there is provided the music data reproducing apparatus according to the second aspect, wherein when the selection instruction is given by the selection instruction means, the control means uses the data ID currently designated by the designation means. The music data of the same type as the music data corresponding to the data data, and the data ID of the music data at the default position is displayed on the display unit.

請求項に記載の音楽データ再生装置は、請求項1乃至3のいずれか1項に記載の音楽データ再生装置において、音楽データの一部のパートのミュートを指示するミュート指示手段をさらに有し、前記第2種類の音楽データは、音高を持たないリズムパートと、ユーザの演奏による演奏音の音高に応じた音高で発音する伴奏パートを含む複数のパートからなる音楽データを含み、前記制御手段は、前記ミュート指示手段によるミュート指示がなされたときに、前記第1種類の音楽データが指定されている場合には、当該第1種類の音楽データのメロディパートをミュートし、前記第2種類の音楽データが指定されている場合には、当該第2種類の音楽データの伴奏パートをミュートすることを特徴とする。 The music data reproducing device according to claim 4 further includes a mute instruction means for instructing to mute a part of the music data in the music data reproducing device according to any one of claims 1 to 3. The second type of music data includes music data composed of a plurality of parts including a rhythm part having no pitch and an accompaniment part that is pronounced at a pitch corresponding to the pitch of the performance sound played by the user, If the first type of music data is specified when the mute instruction is given by the mute instruction unit, the control unit mutes the melody part of the first type of music data, and When two types of music data are designated, the accompaniment part of the second type of music data is muted.

上記目的を達成するため、請求項6に記載のプログラムは、請求項1と同様の技術的思想によって実現できる。   In order to achieve the above object, the program according to claim 6 can be realized by the same technical idea as that of claim 1.

請求項1または6に記載の発明によれば、種類の異なる音楽データを1つの指定手段によって指定して選択することができるので、音楽データの種類毎に、音楽データを選択する操作子を別々に設けたり、モードスイッチを設けてユーザがモードを切り替えたりする必要がなくなる。これにより、操作子の数が減少して製造コストを削減できるとともに、ユーザの操作子に対する判別性が向上する。   According to the first or sixth aspect of the invention, since different types of music data can be designated and selected by one designation means, an operator for selecting music data is separately provided for each type of music data. Or a mode switch is not required for the user to switch modes. As a result, the number of operation elements can be reduced to reduce the manufacturing cost, and the discriminability for the user operation elements can be improved.

また、指定されたデータIDに応じて、音楽データの再生設定を指定されたデータIDに対応する音楽データの種類に合った再生設定に切り替えるようにしたので、ユーザは、データIDを指示した後、再生の指示を行うだけで、指示されたデータIDの音楽データを適切な再生設定で直ちに再生することができる。これにより、ユーザの操作性はさらに向上する。 Further, since the music data playback setting is switched to the playback setting corresponding to the type of music data corresponding to the specified data ID in accordance with the specified data ID , the user designates the data ID. The music data of the instructed data ID can be immediately reproduced with an appropriate reproduction setting simply by instructing the reproduction. Thereby, the user operability is further improved.

なお、請求項1または6に記載の発明に、前記指定手段によって指定されたデータIDを表示する構成を設けた場合には、データIDの指定時に視覚的なフィードバックがなされるので、ユーザの指定操作がより容易になり、また、現在指定されているデータIDが確認できるので、現在指定されている音楽データ(の種類)を推測することができる。ここで、どのように推測できるかの具体例としては、たとえば、後述する図3の音楽データが指定可能である場合、データIDが“0001”であれば、1曲目の音楽データであることや、データIDが若い番号であれば、「ソングデータ」であることなどを挙げることができる。   If the data ID specified by the specifying means is provided in the invention according to claim 1 or 6, visual feedback is made when the data ID is specified. Since the operation becomes easier and the currently designated data ID can be confirmed, the currently designated music data (type) can be estimated. Here, as a specific example of how it can be estimated, for example, when music data in FIG. 3 to be described later can be specified, if the data ID is “0001”, the music data of the first song is If the data ID is a young number, it may be “song data”.

請求項2に記載の発明によれば、選択指示手段による選択指示がなされた場合には、現在指定されているデータIDに対応する音楽データの種類と同じ種類の音楽データであって、デフォルト位置にある音楽データを選択するようにしたので、ユーザは、現在選択中の音楽データの種類を把握して、デフォルト位置の音楽データを選択し直さなくても、簡単な操作で、直ちに意図通りの音楽データを選択することができる。これにより、ユーザの操作性はさらに向上する。 According to the second aspect of the present invention, when the selection instruction is given by the selection instruction means, the music data is the same type as the type of the music data corresponding to the currently specified data ID, and the default position since so as to select the music data in, the user grasps the type of music data currently selected, without re-select music data default position, by a simple operation, immediately the intention Music data can be selected. Thereby, the user operability is further improved.

請求項に記載の発明によれば、ミュート指示手段によるミュート指示がなされたときに、第1種類の音楽データが指定されている場合には、当該第1種類の音楽データのメロディパートをミュートし、第2種類の音楽データが指定されている場合には、当該第2種類の音楽データの伴奏パートをミュートするようにした。つまり、音楽データの種類毎にモードを設けずに、音楽データの異なる種類間で共通あるいは関連する機能を1つの操作子に割り当て、当該機能を1つの操作子で行うことができるようにしたので、ユーザは現在のモードを常に把握して操作子を操作しなくても、意図通りの操作を迷わずに行うことができる。これにより、ユーザの機能選択の操作性はさらに向上する。 According to the fourth aspect of the present invention, when the first type of music data is specified when the mute instruction is given by the mute instruction means, the melody part of the first type of music data is muted. When the second type of music data is designated, the accompaniment part of the second type of music data is muted. That is, since a mode is not provided for each type of music data, a function that is common or related to different types of music data is assigned to one operator, and the function can be performed by one operator. Even if the user always knows the current mode and does not operate the operation element, the user can perform the intended operation without hesitation. Thereby, the operability of the user's function selection is further improved.

本発明の一実施の形態に係る音楽データ再生装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the music data reproducing apparatus which concerns on one embodiment of this invention. 図1の音楽データ再生装置のパネル面の一部を示す平面図である。It is a top view which shows a part of panel surface of the music data reproducing apparatus of FIG. 図1中の記憶装置に記憶された音楽データとそのフォーマットの一例を示す図である。It is a figure which shows an example of the music data memorize | stored in the memory | storage device in FIG. 1, and its format. 図1の音楽データ再生装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the music data reproduction apparatus of FIG. 図1の音楽データ再生装置、特に図4中の制御部が実行するデータID変更後処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of post-data-ID change processing executed by the music data reproducing device of FIG. 1, particularly, a control unit in FIG. 図1の音楽データ再生装置、特に図4中の制御部が実行するミュート設定切替処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of a mute setting switching process executed by the music data reproducing device of FIG. 1, particularly, a control unit in FIG. 図1の音楽データ再生装置、特に図4中の制御部が実行するデフォルトデータ選択処理の手順を示すフローチャートである。5 is a flowchart showing a procedure of default data selection processing executed by the music data playback device of FIG. 1, particularly the control unit in FIG. 4.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施の形態に係る音楽データ再生装置の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of a music data reproducing apparatus according to an embodiment of the present invention.

同図に示すように、本実施の形態の音楽データ再生装置は、音高情報を含む演奏データを入力するための鍵盤を含む演奏操作子1と、各種情報を入力するための複数のボタン(押しボタンスイッチ)を含む設定操作子2と、演奏操作子1の操作状態を検出する検出回路3と、設定操作子2の操作状態を検出する検出回路4と、装置全体の制御を司るCPU5と、該CPU5が実行する制御プログラム、各種テーブルデータおよび各種パラメータ等を記憶するROM6と、演奏データ、各種入力情報および演算結果等を一時的に記憶するRAM7と、各種情報等を表示する、たとえば小型の液晶ディスプレイ(LCD)および/または発光ダイオード(LED)等を備えた表示器8と、前記制御プログラムを含む各種アプリケーションプログラムや各種音楽データ、各種データ等を記憶する記憶装置9と、図示しない外部機器を接続し、この外部機器とデータの送受信を行う通信インターフェース(I/F)10と、演奏操作子1から入力された演奏データや、前記記憶装置9に記憶されたいずれかの音楽データを再生して得られた演奏データ等を楽音信号に変換するとともに、その楽音信号に各種効果を付与するための音源・効果回路11と、該音源・効果回路11からの楽音信号を音響に変換する、たとえば、DAC(digital-to-analog converter)やアンプ、スピーカ等のサウンドシステム12と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ13とにより構成されている。   As shown in the figure, the music data reproducing apparatus of the present embodiment includes a performance operator 1 including a keyboard for inputting performance data including pitch information, and a plurality of buttons ( A setting operation element 2 including a push button switch, a detection circuit 3 that detects an operation state of the performance operation element 1, a detection circuit 4 that detects an operation state of the setting operation element 2, and a CPU 5 that controls the entire apparatus. A ROM 6 that stores a control program executed by the CPU 5, various table data, various parameters, and the like, a RAM 7 that temporarily stores performance data, various input information, calculation results, and the like, and displays various information. Display 8 having a liquid crystal display (LCD) and / or a light emitting diode (LED), and various application programs including the control program And a storage device 9 for storing various music data, various data, and the like, and an external device (not shown), and a communication interface (I / F) 10 for transmitting / receiving data to / from the external device and the performance operator 1 Sound data and effects for converting performance data obtained by reproducing any music data stored in the storage device 9 into musical tone signals and adding various effects to the musical tone signals The circuit 11 and the sound signal from the sound source / effect circuit 11 are converted into sound, for example, a sound system 12 such as a DAC (digital-to-analog converter), an amplifier, a speaker, etc. And a timer 13 for measuring time.

上記構成要素3〜11は、バス14を介して相互に接続され、CPU5にはタイマ13が接続され、音源・効果回路11にはサウンドシステム12が接続されている。   The above components 3 to 11 are connected to each other via a bus 14, a timer 13 is connected to the CPU 5, and a sound system 12 is connected to the sound source / effect circuit 11.

記憶装置9は、たとえば、フレキシブルディスク(FD)、ハードディスク(HD)、CD−ROM、DVD(digital versatile disc)、光磁気ディスク(MO)および半導体メモリなどの記憶媒体とその駆動装置である。記憶媒体は、駆動装置から着脱可能であってもよいし、記憶装置9自体が、本実施の形態の音楽データ再生装置から着脱可能であってもよい。あるいは、記憶媒体も記憶装置9も着脱不可能であってもよい。なお記憶装置9(の記憶媒体)には、前述のようにCPU5が実行する制御プログラムも記憶でき、ROM6に制御プログラムが記憶されていない場合には、この記憶装置9に制御プログラムを記憶させておき、それをRAM7に読み込むことにより、ROM6に制御プログラムを記憶している場合と同様の動作をCPU5にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。   The storage device 9 is, for example, a storage medium such as a flexible disk (FD), a hard disk (HD), a CD-ROM, a DVD (digital versatile disc), a magneto-optical disk (MO), and a semiconductor memory, and a driving device thereof. The storage medium may be detachable from the drive device, or the storage device 9 itself may be detachable from the music data reproducing device of the present embodiment. Alternatively, neither the storage medium nor the storage device 9 may be detachable. The storage device 9 (the storage medium) can also store the control program executed by the CPU 5 as described above. If the control program is not stored in the ROM 6, the control program is stored in the storage device 9. By reading it into the RAM 7, the CPU 5 can be operated in the same manner as when the control program is stored in the ROM 6. In this way, control programs can be easily added and upgraded.

通信I/F10としては、たとえば、MIDI(musical instrument digital interface)信号などの音楽信号を専用に送受信する音楽専用有線I/F、USB(universal serial bus)やIEEE1394などの汎用近距離有線I/F、Ethernet(登録商標)などの汎用ネットワークI/F、無線LAN(local area network)やBluetooth(登録商標)などの汎用近距離無線I/Fを挙げることができる。本実施の形態では、通信I/F10としてUSBを採用しているが、これに代えて他の種類のI/Fを採用してもよいし、これに他の種類のI/Fを加えるようにしてもよい。   As the communication I / F 10, for example, a dedicated music I / F for transmitting and receiving music signals such as MIDI (musical instrument digital interface) signals, and a general-purpose short-distance wired I / F such as USB (universal serial bus) and IEEE1394. And general-purpose network I / F such as Ethernet (registered trademark), and general-purpose short-range wireless I / F such as wireless local area network (LAN) and Bluetooth (registered trademark). In this embodiment, the USB is adopted as the communication I / F 10, but other types of I / Fs may be used instead, and other types of I / Fs may be added thereto. It may be.

なお本実施の形態の音楽データ再生装置は、上述の構成から分かるように電子鍵盤楽器上に構築されたものであるが、これに限らず、鍵盤を外部接続した汎用的なパーソナルコンピュータ上に構築してもよい。また、鍵盤を必須の構成とせずに本発明を実現できるので、弦楽器タイプ、管楽器タイプ、打楽器タイプ等の形態を採用するようにしてもよい。さらに電子楽器に限らず、カラオケ機器やゲーム機器、通信機器などの電子機器にも本発明を適用することができる。   Note that the music data playback device of the present embodiment is built on an electronic keyboard instrument as can be seen from the above configuration, but is not limited to this, and is built on a general-purpose personal computer to which a keyboard is externally connected. May be. Further, since the present invention can be realized without using a keyboard as an essential configuration, forms such as a stringed instrument type, a wind instrument type, and a percussion instrument type may be employed. Furthermore, the present invention can be applied not only to electronic musical instruments but also to electronic devices such as karaoke equipment, game equipment, and communication equipment.

図2は、本実施の形態の音楽データ再生装置のパネル面の一部を示す平面図である。当該パネル面の一部には、同図に示すように、テンキー21、+(プラス)ボタン22、−(マイナス)ボタン23、START/STOP(スタート/ストップ)ボタン24、TEMPO(テンポ)ボタン25、MUTE(ミュート)ボタン26、PAUSE/FILL(ポーズ/フィル)ボタン27、および7セグメントLED8a(以下「LED8a」と略す)が設けられている。ボタン21〜27は、前記設定操作子2に属し、LED8aは、前記表示器8に属している。   FIG. 2 is a plan view showing a part of the panel surface of the music data reproducing apparatus of the present embodiment. A part of the panel surface includes a numeric keypad 21, a + (plus) button 22, a-(minus) button 23, a START / STOP button 24, and a TEMPO button 25, as shown in FIG. , A MUTE button 26, a PAUSE / FILL button 27, and a 7-segment LED 8a (hereinafter abbreviated as “LED 8a”). The buttons 21 to 27 belong to the setting operator 2, and the LED 8 a belongs to the display unit 8.

テンキー21は、本実施の形態では、再生対象の音楽データを選択する際に用いられる。各音楽データには、図3を用いて後述するように、固有のデータID(本実施の形態では、3桁の番号)が付与されているので、ユーザは、テンキー21を用いて3桁の番号を入力することで、再生したい音楽データを直接選択することができる。入力された番号は、LED8aに表示されるが、入力された番号に対応する音楽データがない場合もあり、その場合には、音楽データの選択は行われず、LED8aの表示は番号を入力する前の状態に戻る。あるいは、エラー表示(たとえば“−−−”)を出して、ユーザに正しいデータIDの入力を促してもよい。   In the present embodiment, the numeric keypad 21 is used when selecting music data to be reproduced. As will be described later with reference to FIG. 3, each music data is given a unique data ID (a three-digit number in the present embodiment). By inputting a number, music data to be played can be directly selected. The input number is displayed on the LED 8a, but there may be no music data corresponding to the input number. In this case, music data is not selected, and the LED 8a is displayed before the number is input. Return to the state. Alternatively, an error display (for example, “---”) may be issued to prompt the user to input a correct data ID.

音楽データが既に選択されている場合、つまりLED8aに有効な番号が表示されている場合には、ユーザは、+ボタン22または−ボタン23を押して、表示された番号を増加または減少させることにより、再生したい音楽データを選択することもできる。なお、この選択機能を、+ボタン22および−ボタン23ではなく、図示しないダイヤルスイッチに割り当て、ユーザがダイヤルスイッチを、たとえば時計方向または反時計方向に回転させることに応じて、表示された番号を増加または減少させて、再生したい音楽データを選択するようにしてもよい。   When the music data has already been selected, that is, when a valid number is displayed on the LED 8a, the user presses the + button 22 or the-button 23 to increase or decrease the displayed number. You can also select the music data you want to play. This selection function is assigned to a dial switch (not shown) instead of the + button 22 and the − button 23, and the displayed number is changed in response to the user rotating the dial switch, for example, clockwise or counterclockwise. The music data to be reproduced may be selected by increasing or decreasing.

START/STOPボタン24は、選択中の音楽データの再生の開始/停止を指示するためのものである。   The START / STOP button 24 is used to instruct start / stop of reproduction of the music data being selected.

TEMPOボタン25は、テンキー21あるいは+ボタン22および/または−ボタン23と協働して、選択中の音楽データのテンポを設定するものである。具体的には、ユーザがTEMPOボタン25を押した後所定時間内に、テンキー21、+ボタン22または−ボタン23を操作すると、テンキー21で入力されたテンポ値や、+ボタン22または−ボタン23で増加/減少されたテンポ値が設定される。また、ユーザがTEMPOボタン25を押した後所定時間内に、+ボタン22および−ボタン23を同時押しすると、現在設定されているテンポが、選択中の音楽データに予め備わっている固有のテンポ(初期テンポ)にリセットされる。   The TEMPO button 25 sets the tempo of the music data being selected in cooperation with the numeric keypad 21 or the + button 22 and / or the-button 23. Specifically, when the user operates the numeric keypad 21, the + button 22 or the-button 23 within a predetermined time after pressing the TEMPO button 25, the tempo value input with the numeric keypad 21, the + button 22 or the-button 23 is displayed. The tempo value increased / decreased by is set. Also, if the user simultaneously presses the + button 22 and the − button 23 within a predetermined time after pressing the TEMPO button 25, the currently set tempo becomes a unique tempo (provided in advance in the selected music data). The initial tempo is reset.

MUTEボタン26は、選択中の音楽データの一部のパートのミュート(消音)とその解除をトグルで切り替えるためのものである。この一部のパートは、選択中の音楽データの種類に応じて予め決まっている。具体的には、選択中の音楽データがソングデータであれば、メロディパート(本実施の形態ではパート1(図3参照))がミュートされ、伴奏スタイルデータであれば、伴奏パート(本実施の形態ではパート3〜8(図3参照))がミュートされる。   The MUTE button 26 is used to toggle between mute (mute) and release of a part of the music data being selected. This part is determined in advance according to the type of music data being selected. Specifically, if the music data being selected is song data, the melody part (part 1 (see FIG. 3 in this embodiment)) is muted, and if it is accompaniment style data, the accompaniment part (this embodiment) In the form, parts 3 to 8 (see FIG. 3) are muted.

PAUSE/FILLボタン27は、ソングデータの再生中はその一時停止を指示し、伴奏スタイルデータの再生中はフィルインセクションの演奏データの再生を指示するためのものである。   The PAUSE / FILL button 27 is for instructing to pause the song data during reproduction, and for reproducing the fill-in section performance data during reproduction of the accompaniment style data.

なお本実施の形態では、音楽データの3桁の番号を表示する表示器として、7セグメントLED8aを採用したが、これに限らず、ドットマトリックスLED、7セグメントLCDあるいはドットマトリックスLCDなど、どのような方式のものを採用してもよい。また本実施の形態の音楽データ再生装置は、表示器8として、このLED8aの他に、他の情報を表示する小型のLCD(図示せず)やLEDを備えていることを想定しているが、これに限らず、表示器8はLED8aのみとしてもよい。   In this embodiment, the 7-segment LED 8a is used as a display for displaying the 3-digit number of the music data. However, the present invention is not limited to this. You may employ | adopt the thing of a system. In addition, the music data reproducing apparatus according to the present embodiment assumes that the display 8 includes a small LCD (not shown) or LED for displaying other information in addition to the LED 8a. Not only this but the indicator 8 is good also as only LED8a.

図3は、記憶装置9に記憶された音楽データとそのフォーマットの一例を示す図である。同図に示すように、記憶装置9には、音楽データとして、15曲のソングデータ#1〜#15と20タイプの伴奏スタイルデータ#1〜#20が予め記憶されている。なお、各音楽データのフォーマットとして、本実施の形態では説明の都合上、SMF(standard MIDI file)形式のMIDIデータを採用している。もちろん、他のフォーマットのMIDIデータを採用するようにしてもよいし、MIDIのフォーマットを採らない他のフォーマット、たとえばOSC(Open Sound Control)などの演奏情報であってもよい。また、オーディオトラック(パート)を含むようにしてもよいし、オーディオトラックのみで構成されていてもよい。   FIG. 3 is a diagram showing an example of music data stored in the storage device 9 and its format. As shown in the figure, the storage device 9 stores in advance 15 pieces of song data # 1 to # 15 and 20 types of accompaniment style data # 1 to # 20 as music data. As the format of each music data, in the present embodiment, for convenience of explanation, SMF (standard MIDI file) format MIDI data is adopted. Of course, MIDI data in other formats may be adopted, or other formats that do not adopt the MIDI format, for example, performance information such as OSC (Open Sound Control) may be used. Further, the audio track (part) may be included, or the audio track (part) may be included.

前述のようにして、ユーザがテンキー21、+ボタン22または−ボタン23を用いて、いずれかの音楽データを選択すると、選択された音楽データ、つまりソングデータまたは伴奏スタイルデータが記憶装置9から読み出され、前記RAM7の所定位置に確保された音楽データ格納領域(図示せず)に格納される。なお、ソングデータおよび伴奏スタイルデータの記憶場所は、記憶装置9に限らず、前記ROM6またはRAM7であってもよく、ソングデータと伴奏スタイルデータとで、記憶場所が異なっていてもよい。   As described above, when the user selects any music data using the numeric keypad 21, the + button 22 or the-button 23, the selected music data, that is, song data or accompaniment style data is read from the storage device 9. And stored in a music data storage area (not shown) secured at a predetermined position in the RAM 7. The storage location of the song data and the accompaniment style data is not limited to the storage device 9 but may be the ROM 6 or the RAM 7, and the storage location may be different between the song data and the accompaniment style data.

ソングデータおよび伴奏スタイルデータのそれぞれには、前述のように、固有の3桁の番号(データID)が付与されている。図示例では、ソングデータ#1〜#15に“001”〜“015”が付与され、伴奏スタイルデータ#1〜#20に“016”〜“035”が付与されている。このように固有番号は、先頭のソングデータ#1から末尾の伴奏スタイルデータ#20まで、抜けのない通し番号が付与されているが、これに限らず、抜けがあってもよい。もちろん、抜けのない番号が付与されていたとしても、3桁の番号がすべて埋まっている訳ではないので、ユーザがテンキー21を用いて番号を入力すると、記憶されていない音楽データが選択指示されることもある。この場合には、前述のように、当該選択指示された音楽データは選択されない。一方、ユーザが+ボタン22または−ボタン23を用いて音楽データを選択するときには、固有番号に抜けがあったとしても、音楽データはその並び順に従って1つずつ選択されて行く。そしてユーザが、末尾の伴奏スタイルデータ#20が選択された状態で+ボタン22を押すと、選択対象の音楽データは末尾の伴奏スタイルデータ#20から先頭のソングデータ#1に移り、先頭のソングデータ#1が選択された状態で−ボタン23を押すと、選択対象の音楽データは先頭のソングデータ#1から末尾の伴奏スタイルデータ#20に移る。   As described above, a unique three-digit number (data ID) is assigned to each of the song data and the accompaniment style data. In the illustrated example, “001” to “015” are assigned to song data # 1 to # 15, and “016” to “035” are assigned to accompaniment style data # 1 to # 20. As described above, the unique numbers are assigned serial numbers from the first song data # 1 to the last accompaniment style data # 20. However, the number is not limited to this, and may be omitted. Of course, even if a number with no omission is given, not all three-digit numbers are filled, so when the user inputs a number using the numeric keypad 21, music data that is not stored is selected and instructed. Sometimes. In this case, as described above, the music data instructed to be selected is not selected. On the other hand, when the user selects music data using the + button 22 or the-button 23, the music data is selected one by one according to the arrangement order even if there is a missing unique number. When the user presses the + button 22 with the tail accompaniment style data # 20 selected, the music data to be selected moves from the tail accompaniment style data # 20 to the top song data # 1, and the top song When the-button 23 is pressed while the data # 1 is selected, the music data to be selected moves from the first song data # 1 to the last accompaniment style data # 20.

各ソングデータは、同じフォーマットで構成されているので、図3には、ソングデータ#1のフォーマットのみが図示されている。ソングデータ#1は、演奏データ31およびメタデータ32によって構成されている。演奏データ31は、複数パート(たとえば、16パート)の演奏データによって構成されている。各パートの演奏データは、ノートオン/オフ、ノートナンバ、ベロシティ等のデータを含むノートイベントデータ、ピッチベンドデータやボリュームデータ等のイベントデータと、該イベントデータの再生タイミングを示すタイミングデータとを一組とする複数組からなるシーケンスによって構成され、その末尾にはエンドデータが付加されている。本実施の形態では、パート1がメロディパートであり、その他のパートが伴奏パートである。一方、メタデータ32は、曲名、(初期)テンポ、拍子および歌詞などを含んでいる。   Since each song data is configured in the same format, only the format of the song data # 1 is shown in FIG. The song data # 1 is composed of performance data 31 and metadata 32. The performance data 31 is composed of performance data of a plurality of parts (for example, 16 parts). The performance data of each part is a set of note event data including data such as note on / off, note number and velocity, event data such as pitch bend data and volume data, and timing data indicating the reproduction timing of the event data. And end data is added to the end of the sequence. In the present embodiment, part 1 is a melody part, and the other parts are accompaniment parts. On the other hand, the metadata 32 includes a song title, (initial) tempo, time signature, lyrics, and the like.

ある1つのソングデータが選択されると、そのソングデータ全体が記憶装置9から読み出されて、前記音楽データ格納領域に格納される。これに続いて、音楽データ格納領域内のソングデータに含まれるメタデータ内のテンポが読み出され、再生テンポの初期値として、シーケンサ104(その詳細は、図4を用いて後述)の設定部104bに設定される。   When a certain piece of song data is selected, the entire song data is read from the storage device 9 and stored in the music data storage area. Subsequently, the tempo in the metadata included in the song data in the music data storage area is read out, and the setting unit of the sequencer 104 (details will be described later with reference to FIG. 4) as the initial value of the playback tempo. 104b is set.

各伴奏スタイルデータも、同じフォーマットで構成されているので、図3には、伴奏スタイルデータ#1のフォーマットのみが図示されている。伴奏スタイルデータ#1は、メインセクションの演奏データ33、フィルインセクションの演奏データ34およびメタデータ35によって構成されている。メインセクションの演奏データ33もフィルインセクションの演奏データ34も、複数パート(たとえば、8パート)の演奏データによって構成されている。パートには、打楽器音(リズム)を生成するための音高を変化させないパート(RHYパート)と、リズムと連動して多彩な装飾音を施した伴奏音を生成するための音高を変化させるパート(ACMP(accompaniment)パート)がある。図示例では、RHYパートとしてパート1,2の2パート、ACMPパートとしてパート3〜8の6パートが設けられているが、各パート数は、これに限られる訳ではない。また、メインセクションの演奏データ33とフィルインセクションの演奏データ34の各パート数は、本実施の形態では、いずれも8パートとするが、パート数はこれに限られる訳ではなく、さらに、メインセクションとフィルインセクションとで、パート数を異ならせてもよい。また、メインセクションとフィルインセクションだけでなく、イントロセクション、エンディングセクション、ブレイクセクションなどの他のセクションがあってもよいし、複数種類のメインセクションがあってもよい。なお、各演奏データ34,35の各パートの演奏データの内容(フォーマット)は、ソングデータ31の各パートの演奏データの内容(フォーマット)と同様であるので、その説明は繰り返さない。一方、メタデータ35は、(初期)テンポおよびコード変換データなどを含んでいる。コード変換データは、前記鍵盤に対するユーザの押鍵に応じて、各セクションのACMPパートの音高を変換するためのデータである。このコード変換データは、本実施の形態では公知のものを採用しており、また、ACMPパートの音高変換も、この公知のコード変換データを使って一般的に行われているので、コード変換データがどのようなものであり、コード変換データをどう使って、ACMPパートの音高をどう変換するかについての説明は省略する。   Since each accompaniment style data is also configured in the same format, only the format of accompaniment style data # 1 is shown in FIG. The accompaniment style data # 1 includes performance data 33 for the main section, performance data 34 for the fill-in section, and metadata 35. The performance data 33 of the main section and the performance data 34 of the fill-in section are composed of performance data of a plurality of parts (for example, 8 parts). The part changes the pitch to generate a percussion instrument sound (rhythm) that does not change the pitch (RHY part) and the accompaniment sound with various decorative sounds in conjunction with the rhythm. There is a part (ACMP (accompaniment) part). In the illustrated example, two parts 1 and 2 are provided as RHY parts, and six parts 3 to 8 are provided as ACMP parts. However, the number of parts is not limited to this. The number of parts of the performance data 33 of the main section and the performance data 34 of the fill-in section is 8 in this embodiment, but the number of parts is not limited to this. The number of parts may be different in the fill-in section. In addition to the main section and the fill-in section, there may be other sections such as an intro section, an ending section, a break section, and a plurality of types of main sections. The contents (format) of the performance data of each part of the performance data 34, 35 are the same as the contents (format) of the performance data of each part of the song data 31, and therefore the description thereof will not be repeated. On the other hand, the metadata 35 includes (initial) tempo and code conversion data. The chord conversion data is data for converting the pitch of the ACMP part of each section according to the user's key depression on the keyboard. This chord conversion data is a known one in this embodiment, and the pitch conversion of the ACMP part is generally performed using this known chord conversion data. A description of what the data is, how to use the chord conversion data, and how to convert the pitch of the ACMP part is omitted.

ある1つの伴奏スタイルデータが選択されると、ソングデータが選択された場合と同様に、その伴奏スタイルデータ全体が記憶装置9から読み出されて、音楽データ格納領域に格納される。しかし、ソングデータが選択された場合と異なり、当該格納された伴奏スタイルデータに含まれるメタデータ内のテンポは、通常は読み出されず、シーケンサ104の設定部104bのテンポ設定は変動しない。この詳細については、後述する。   When one piece of accompaniment style data is selected, the entire accompaniment style data is read from the storage device 9 and stored in the music data storage area, as in the case where song data is selected. However, unlike when song data is selected, the tempo in the metadata included in the stored accompaniment style data is not normally read, and the tempo setting of the setting unit 104b of the sequencer 104 does not change. Details of this will be described later.

図4は、本実施の形態の音楽データ再生装置の機能構成を示すブロック図である。同図に示すように、本実施の形態の音楽データ再生装置は、演奏操作部101、設定操作部102、制御部103、シーケンサ104、記憶部105、表示部106、音源部107および出力部108によって構成されている。   FIG. 4 is a block diagram showing a functional configuration of the music data reproducing apparatus according to the present embodiment. As shown in the figure, the music data reproducing apparatus of the present embodiment includes a performance operation unit 101, a setting operation unit 102, a control unit 103, a sequencer 104, a storage unit 105, a display unit 106, a sound source unit 107, and an output unit 108. It is constituted by.

演奏操作部101は、演奏操作子1(の、特に鍵盤)および検出回路3によって構成され、設定操作部102は、設定操作子2(の、特に図2のボタン21〜27)および検出回路4によって構成される。   The performance operation unit 101 includes a performance operator 1 (particularly a keyboard) and a detection circuit 3, and the setting operation unit 102 includes a setting operator 2 (particularly the buttons 21 to 27 in FIG. 2) and the detection circuit 4. Consists of.

制御部103は、主としてCPU5、ROM6およびRAM7によって構成され、CPU5が後述する図5〜図7の処理を含む制御処理を実行することによって実現される。   The control unit 103 is mainly configured by the CPU 5, the ROM 6, and the RAM 7, and is realized by the CPU 5 executing control processes including the processes of FIGS.

シーケンサ104も、主としてCPU5、ROM6およびRAM7によって構成され、CPU5がシーケンサプログラム(図示せず)を実行することによって実現される。シーケンサ104は、再生部104aと設定部104bを備え、選択された音楽データに含まれる演奏データを再生部104aによって再生する。そのとき、再生部104aは、設定部104bに設定されているテンポで当該演奏データを再生する。設定部104bに設定されているテンポ値は、前述のように変更することができる。   The sequencer 104 is also mainly composed of the CPU 5, the ROM 6 and the RAM 7, and is realized by the CPU 5 executing a sequencer program (not shown). The sequencer 104 includes a playback unit 104a and a setting unit 104b, and the playback unit 104a plays back the performance data included in the selected music data. At that time, the playback unit 104a plays back the performance data at the tempo set in the setting unit 104b. The tempo value set in the setting unit 104b can be changed as described above.

記憶部105は、記憶装置9によって構成され、複数の音楽データを記憶する。音楽データには、図3を用いて前述したように、ソングデータと伴奏スタイルデータの2種類のデータがあり、各音楽データには固有のデータID、つまり3桁の番号が付与されている。なお、データIDは、各音楽データがそのデータ内に持つようにしてもよいし、各音楽データとは別に、たとえばテーブルなどによって管理するようにしてもよい。要するに、データIDと各音楽データとが1対1に対応付けられていれば、データIDの持ち方は問わない。また、各音楽データの内容(データフォーマット)については、前述したので、これ以上繰り返さない。   The storage unit 105 includes the storage device 9 and stores a plurality of music data. As described above with reference to FIG. 3, there are two types of music data, song data and accompaniment style data. Each music data is given a unique data ID, that is, a three-digit number. The data ID may be included in each music data, or may be managed by a table or the like separately from each music data. In short, as long as the data ID and each music data are associated with each other in one-to-one manner, the data ID can be held in any way. Also, since the contents (data format) of each music data have been described above, they will not be repeated any more.

表示部106は、表示器8(の、特に図2のLED8a)に相当し、選択された音楽データのデータIDを表示する。   The display unit 106 corresponds to the display 8 (in particular, the LED 8a in FIG. 2), and displays the data ID of the selected music data.

音源部107は、前記音源・効果回路11に相当し、シーケンサ104が音楽データを再生して出力した演奏データや、ユーザが演奏操作部101から入力した演奏データ等を楽音信号に変換し、その楽音信号に適宜各種効果を付与する。   The sound source unit 107 corresponds to the sound source / effect circuit 11 and converts the performance data output by the sequencer 104 reproducing and outputting music data, the performance data input by the user from the performance operation unit 101, and the like into musical sound signals. Appropriate effects are applied to the musical sound signal.

出力部108は、前記サウンドシステム12に相当し、音源部107から供給された楽音信号を音響に変換する。本実施の形態では、音響はスピーカから発生するようにしたが、これに限らず、ヘッドフォン(のスピーカ)から発生するようにしてもよい。   The output unit 108 corresponds to the sound system 12 and converts the musical sound signal supplied from the sound source unit 107 into sound. In the present embodiment, the sound is generated from the speaker. However, the present invention is not limited to this, and the sound may be generated from the headphone (speaker).

以上のように構成された音楽データ再生装置が実行する制御処理を、図4〜図7を参照して詳細に説明する。   A control process executed by the music data reproducing apparatus configured as described above will be described in detail with reference to FIGS.

本実施の形態の音楽データ再生装置は、
(1)種類の異なる音楽データ(のデータID)を共通の操作子で選択できる音楽データ選択処理;
(2)上記(1)の音楽データ選択処理によって新たな音楽データ(のデータID)が選択され、現在選択中の音楽データが当該新たに選択された音楽データに変更されると、その変更された音楽データの種類に合った(適切な)再生が行えるようにシーケンサ104(の設定部104b)を自動的に設定するデータID変更後処理;
(3)異なる種類の音楽データ間で共通あるいは関連する再生制御機能ではあるが、音楽データの種類が異なる毎に内容の異なる再生制御処理を共通の操作子による操作指示で行う再生制御処理;
(4)所定の操作子による操作指示に応じて、現在選択中の音楽データの種類毎に異なるデフォルト位置の音楽データを選択できるデフォルト音楽データ選択処理;
を含む各種制御処理を実行する。
The music data playback device of this embodiment is
(1) Music data selection processing in which different types of music data (data IDs) can be selected with a common operator;
(2) When new music data (data ID) is selected by the music data selection process of (1) above, and the currently selected music data is changed to the newly selected music data, the change is made. Data ID change post-processing that automatically sets the sequencer 104 (the setting unit 104b) so as to perform (appropriate) reproduction according to the type of the music data;
(3) A playback control function that is a playback control function that is common or related between different types of music data, but that performs playback control processing with different contents every time the type of music data is different, by operating instructions using a common operator;
(4) A default music data selection process capable of selecting music data at a different default position for each type of music data currently selected according to an operation instruction by a predetermined operator;
Various control processes including are executed.

たとえば、ユーザが本実施の形態の音楽データ再生装置の電源スイッチ(図示せず)をオンすると、本実施の形態の音楽データ再生装置に電源が供給される。これにより、本実施の形態の音楽データ再生装置は起動し、前回の起動時の最後に選択された音楽データがそのまま選択され、そのデータID(3桁の番号)が表示部106(図2ではLED8a)に表示される。なお、本実施の形態の音楽データ再生装置を購入して初めて起動するなど、前回選択した音楽データがない場合には、初期設定として定められた音楽データ(たとえば、先頭の音楽データ、つまり図3ではソングデータ#1)が選択される。   For example, when the user turns on a power switch (not shown) of the music data playback device of the present embodiment, power is supplied to the music data playback device of the present embodiment. As a result, the music data reproducing apparatus of the present embodiment is activated, the music data selected at the end of the previous activation is selected as it is, and the data ID (three-digit number) is displayed on the display unit 106 (in FIG. 2). LED8a). If there is no previously selected music data, such as when the music data playback device of this embodiment is purchased and activated for the first time, the music data defined as the initial setting (for example, the first music data, that is, FIG. 3). Then, song data # 1) is selected.

今、図2に示すように、データIDが“001”のソングデータ#1が選択されているとする。この状態で、ユーザが、たとえば+ボタン22を押すと、前記(1)の音楽データ選択処理が起動され、制御部103は、“001”から+ボタン22が押された回数だけ増加方向に位置するデータIDの音楽データを選択する。図3を用いて前述したように、記憶部105には、データIDが“001”〜“035”の35個の音楽データが記憶されているので、ユーザが+ボタン22を、たとえば15回押すと、データID“016”の音楽データ、つまり伴奏スタイルデータ#1が選択され、そのデータID“016”が表示部106に表示される。なお前述のように、先頭の音楽データ(図3ではソングデータ#1)から末尾の音楽データ(図3では伴奏スタイルデータ#20)までのデータID(固有番号)に抜けがある場合には、+ボタン22の操作回数と、選択前のデータIDと選択後のデータIDの差分とは対応しないことがある。また、音楽データの選択は、+ボタン22の他に、−ボタン23やテンキー21を操作することで行うこともできる。これも前述した通りである。   Now, as shown in FIG. 2, it is assumed that song data # 1 having a data ID “001” is selected. In this state, for example, when the user presses the + button 22, the music data selection process (1) is started, and the control unit 103 is positioned in the increasing direction by the number of times the + button 22 is pressed from “001”. Select the music data of the data ID to be used. As described above with reference to FIG. 3, 35 pieces of music data having data IDs “001” to “035” are stored in the storage unit 105, so that the user presses the + button 22 15 times, for example. Then, the music data with the data ID “016”, that is, accompaniment style data # 1, is selected, and the data ID “016” is displayed on the display unit 106. As described above, if there is a missing data ID (unique number) from the first music data (song data # 1 in FIG. 3) to the last music data (accompaniment style data # 20 in FIG. 3), The number of operations of the + button 22 may not correspond to the difference between the data ID before selection and the data ID after selection. Music data can also be selected by operating the − button 23 or the numeric keypad 21 in addition to the + button 22. This is also as described above.

このようにして音楽データ(データID)が変更されると、制御部103は、変更後の音楽データを記憶部105から読み出して、RAM7上の前記音楽データ格納領域に格納する。そして制御部103は、前記(2)のデータID変更後処理を起動する。   When the music data (data ID) is changed in this way, the control unit 103 reads the changed music data from the storage unit 105 and stores it in the music data storage area on the RAM 7. Then, the control unit 103 activates the data ID post-change process (2).

図5は、このデータID変更後処理の手順を示すフローチャートである。同図において、制御部103は、変更後の音楽データ、つまり音楽データ格納領域に格納された音楽データの種類を判定する(ステップS1)。ここで、音楽データの種類の判定方法は、音楽データの種類が判定できれば、どのような方法を用いてもよいが、たとえば、次のような方法が考えられる。すなわち、
(11)データIDと音楽データの種類とを対応付けるテーブルを予め用意しておき、音楽データが変更されると、そのデータIDに基づいてテーブルを検索し、音楽データの種類を判定する方法;
(12)各音楽データは、本実施の形態では前述のように、ファイル形式で記憶されているので、その拡張子を音楽データの種類毎に異なるように記載しておき、拡張子で音楽データの種類を判定する方法;
(13)音楽データの構造(具体的には、ソングデータは複数パートからなる演奏データが1つだけ含むのに対して、伴奏スタイルデータは複数パートからなる演奏データを複数(本実施の形態では、2つ)含む)を解析し、その解析結果から音楽データの種類を判定する方法;
(14)各音楽データのメタデータ内に当該音楽データの種類を記載しておき、それを読み出して音楽データの種類を判定する方法;
などである。
FIG. 5 is a flowchart showing the procedure of the post-data ID change process. In the figure, the control unit 103 determines the type of music data after the change, that is, the type of music data stored in the music data storage area (step S1). Here, as a method for determining the type of music data, any method may be used as long as the type of music data can be determined. For example, the following method is conceivable. That is,
(11) A method of preparing a table for associating a data ID with a type of music data in advance, and when the music data is changed, searching the table based on the data ID to determine the type of the music data;
(12) Since each music data is stored in the file format in the present embodiment as described above, the extension is described so as to be different for each type of music data, and the music data is indicated by the extension. How to determine the type of
(13) Structure of music data (specifically, song data includes only one piece of performance data consisting of a plurality of parts, whereas accompaniment style data includes a plurality of pieces of performance data consisting of a plurality of parts (in this embodiment, 2) including), and determining the type of music data from the analysis result;
(14) A method of determining the type of music data by describing the type of the music data in the metadata of each music data and reading it out;
Etc.

前記ステップS1の判定の結果、異なる種類(形式)の音楽データに変更された場合には、制御部103は、シーケンサ104に指示して、設定部104bの再生設定を切り替える(ステップS2→S3)。一方、同じ種類(形式)の音楽データに変更された場合には、制御部103は、本データID変更後処理を終了する。   If the result of determination in step S1 is that the music data has been changed to a different type (format), the control unit 103 instructs the sequencer 104 to switch the playback setting of the setting unit 104b (step S2 → S3). . On the other hand, when the music data is changed to the same type (format), the control unit 103 ends the post-data ID change processing.

音楽データがソングデータから伴奏スタイルデータに変更された場合には、異なる種類の音楽データに変更されたので、制御部103は、シーケンサ104に指示して、設定部104bを伴奏スタイルデータに合った設定に変更する。具体的には、制御部103は、リピート再生をオンに設定するように指示する。   When the music data is changed from the song data to the accompaniment style data, since the music data is changed to a different type of music data, the control unit 103 instructs the sequencer 104 to match the setting unit 104b with the accompaniment style data. Change to settings. Specifically, the control unit 103 instructs to set repeat playback to ON.

一方、音楽データが伴奏スタイルデータからソングデータに変更された場合には、この場合も異なる種類の音楽データに変更されたので、制御部103は、シーケンサ104に指示して、設定部104bをソングデータに合った設定に変更する。具体的には、制御部103は、リピート再生をオフに設定し、さらにチェーン再生(1曲分のソングデータの再生が終了すると、次のソングデータを自動的に読み込んで再生する機能)をオンに設定するように指示する。   On the other hand, when the music data is changed from the accompaniment style data to the song data, since the music data is also changed to a different type of music data in this case, the control unit 103 instructs the sequencer 104 to set the setting unit 104b to the song data. Change the setting to match the data. Specifically, the control unit 103 turns off repeat playback, and turns on chain playback (the function to automatically read and play the next song data when playback of the song data for one song is completed). To set to.

なお、データIDが変更された場合、設定部104bのテンポ設定は、ステップS3の処理とは別の処理(図示せず)により、次のようにして行われる。すなわち、
(21)ソングデータから別のソングデータに変更された場合:別のソングデータ内のテンポ値に変更;
(22)ソングデータから伴奏スタイルデータに変更された場合:伴奏スタイルデータ内のテンポ値に変更;
(23)伴奏スタイルデータからソングデータに変更された場合:ソングデータ内のテンポ値に変更;
(24)伴奏スタイルデータから別の伴奏スタイルデータに変更された場合:テンポ値は変更しない;
である。この(24)の場合に、設定部104bのテンポ設定を変更しないのは、伴奏スタイルデータは、ユーザによって指定されたテンポで再生するのが基本だからである。一方、上記(22)の場合に、設定部104bのテンポ設定を変更するのは、変更時点では、ユーザによって指定された、伴奏スタイルデータを再生するためのテンポが存在しないからである。
When the data ID is changed, the tempo setting of the setting unit 104b is performed as follows by a process (not shown) different from the process of step S3. That is,
(21) When the song data is changed to another song data: the song data is changed to a tempo value in another song data;
(22) When changed from song data to accompaniment style data: changed to tempo value in accompaniment style data;
(23) When accompaniment style data is changed to song data: changed to tempo value in song data;
(24) When the accompaniment style data is changed to another accompaniment style data: the tempo value is not changed;
It is. In the case of (24), the tempo setting of the setting unit 104b is not changed because the accompaniment style data is basically reproduced at the tempo specified by the user. On the other hand, in the case of (22), the tempo setting of the setting unit 104b is changed because there is no tempo for reproducing accompaniment style data specified by the user at the time of change.

このようにして、ある音楽データが選択され、その音楽データに合った再生を行うことができるような設定がなされた状態で、ユーザが前記START/STOPボタン24を押すと、シーケンサ104の再生部104aは、設定部104bの設定に従って、その音楽データに合った再生を行う。以下、音楽データとしてソングデータ#1と伴奏スタイルデータ#1が選択された場合に、再生部104aが実行する各再生処理を具体的に説明する。   When the user presses the START / STOP button 24 in such a state that certain music data is selected and playback suitable for the music data is performed, the playback unit of the sequencer 104 104a performs reproduction according to the music data in accordance with the setting of the setting unit 104b. Hereinafter, each playback process executed by the playback unit 104a when song data # 1 and accompaniment style data # 1 are selected as music data will be described in detail.

まず、ソングデータ#1が選択された状態で、再生開始が指示されると、再生部104aは、音楽データ格納領域に格納されているソングデータ#1の演奏データ31(図3参照)の先頭データをパート毎に読み出す。各パートの先頭データは、必ずしもタイミングデータではないが、ここではタイミングデータとする。再生部104aは、この各パートのタイミングデータの値を、設定部104bに設定されているテンポ値に応じた時間毎に“1”ずつデクリメントして行く。このデクリメント処理は、本実施の形態では、図示しないタイマ割込み処理中で行われる。そして、タイマ割込み処理は、クロックの立ち上がり(あるいは立ち下がり)に応じて起動され、クロックは、再生部104a(CPU5)がテンポに応じた周期を前記タイマ13(図1参照)に設定し、そのスタートを指示すると、タイマ13によって生成される。その結果、各パートのタイミングデータの値は、設定部104bに設定されているテンポ値に応じた時間毎に“1”ずつデクリメントされて行く。   First, when playback start is instructed while song data # 1 is selected, the playback unit 104a starts the performance data 31 (see FIG. 3) of song data # 1 stored in the music data storage area. Read data for each part. The head data of each part is not necessarily timing data, but here is timing data. The playback unit 104a decrements the timing data value of each part by “1” for each time corresponding to the tempo value set in the setting unit 104b. In the present embodiment, this decrement process is performed during a timer interrupt process (not shown). The timer interrupt processing is started in response to the rising edge (or falling edge) of the clock, and the playback unit 104a (CPU 5) sets the period corresponding to the tempo in the timer 13 (see FIG. 1). When the start is instructed, it is generated by the timer 13. As a result, the value of the timing data of each part is decremented by “1” every time corresponding to the tempo value set in the setting unit 104b.

デクリメントが進み、あるパートのタイミングデータの値が“0”になると、再生部104aは、そのパートについて当該タイミングデータと組になっているイベントデータを読み出し、そのイベントデータの内容に応じた楽音処理を音源部107に指示する。このイベントデータ(複数個あることもある)の次に位置する演奏データは、次の組のタイミングデータであるので、再生部104aは、このタイミングデータを読み出して、同様に所定時間毎のデクリメントを行う。再生部104aは、このような各パート毎の処理をエンドデータが読み出されるまで行う。そして、全パートにおける最後のエンドデータが読み出されると、再生部104aは、ソングデータ#1の再生を停止する。もちろん、全パートにおける最後のエンドデータが読み出されるまでに、ユーザがSTART/STOPボタン24を押すと、制御部103は直ちに、シーケンサ104に対して再生停止を指示する。これに応じて再生部104aは、ソングデータ#1の再生を停止する。   When the decrement advances and the value of the timing data of a part becomes “0”, the playback unit 104a reads the event data paired with the timing data for the part, and performs musical tone processing according to the content of the event data To the sound source unit 107. Since the performance data positioned next to the event data (there may be a plurality of event data) is the next set of timing data, the reproduction unit 104a reads the timing data and similarly decrements every predetermined time. Do. The reproducing unit 104a performs such processing for each part until the end data is read. When the last end data in all the parts is read, the reproducing unit 104a stops reproducing the song data # 1. Of course, if the user presses the START / STOP button 24 before the last end data in all parts is read, the control unit 103 immediately instructs the sequencer 104 to stop reproduction. In response to this, the playback unit 104a stops playback of the song data # 1.

再生部104aがソングデータ#1の再生を行っているときに、ユーザがPAUSE/FILLボタン27を押すと、制御部103は、前記(3)の再生制御処理を起動し、シーケンサ104に対して再生の一時停止を指示する。これに応じて再生部104aは、ソングデータ#1の再生を一時停止する。一方、ソングデータ#1の再生が一時停止されている状態で、ユーザが再度、PAUSE/FILLボタン27を押すと、制御部103は直ちに、シーケンサ104に対して一時停止の解除を指示する。これに応じて再生部104aは、ソングデータ#1の一時停止状態を解除して、一時停止した位置からソングデータ#1の再生を再開する。   If the user presses the PAUSE / FILL button 27 while the playback unit 104a is playing back song data # 1, the control unit 103 activates the playback control process (3) and Instruct to pause playback. In response to this, the playback unit 104a pauses playback of the song data # 1. On the other hand, when the user presses the PAUSE / FILL button 27 again while the reproduction of the song data # 1 is paused, the control unit 103 immediately instructs the sequencer 104 to cancel the pause. In response to this, the playback unit 104a cancels the pause state of the song data # 1, and resumes the playback of the song data # 1 from the paused position.

また、再生部104aがソングデータ#1の再生を行っているときに、ユーザがMUTEボタン26を押すと、制御部103は、前記(3)の再生制御処理を起動し、この(3)再生制御処理に含まれるミュート設定切替処理に処理を進める。図6は、このミュート設定切替処理の手順を示すフローチャートである。同図において、現在選択中の音楽データはソングデータ#1であるので、制御部103は、シーケンサ104の設定部104bに対して、ソングデータ#1の演奏データ31のパート1のミュートオンを指示する(ステップS11→S12)。これにより、設定部104bにミュートオンが設定されるので、これ以降、再生部104aは、パート1の演奏データを再生しているときに、楽音を発音するイベントデータを読み出したとしても、音源部107に対してその発音を指示しない。その結果、パート1の楽音のみが消音され、パート1のみがミュートされる。ソングデータのパート1には、本実施の形態では前述のように、メロディパートが割り当てられているので、パート1のみがミュートされると、ユーザは、伴奏パート(パート2〜16)の再生に合わせて、メロディだけ演奏するという使い方ができる。   When the user presses the MUTE button 26 while the playback unit 104a is playing back song data # 1, the control unit 103 activates the playback control process of (3), and this (3) playback The process proceeds to the mute setting switching process included in the control process. FIG. 6 is a flowchart showing the procedure of the mute setting switching process. In the figure, since the currently selected music data is song data # 1, the control unit 103 instructs the setting unit 104b of the sequencer 104 to mute on part 1 of the performance data 31 of the song data # 1. (Step S11 → S12). As a result, since the mute on is set in the setting unit 104b, the playback unit 104a thereafter reads out the event data that produces a musical sound while playing the performance data of part 1, and the sound source unit 107 does not instruct the pronunciation. As a result, only the musical sound of part 1 is muted and only part 1 is muted. In this embodiment, as described above, a melody part is assigned to part 1 of the song data. Therefore, when only part 1 is muted, the user plays back the accompaniment parts (parts 2 to 16). At the same time, it can be used to play only the melody.

一方、パート1がミュートされている状態で、ユーザがMUTEボタン26を押すと、制御部103は、シーケンサ104の設定部104bに対してミュートオフを指示する(ステップS12)。これにより、設定部104bにミュートオフが設定されるので、これ以降、再生部104aは、パート1についても、他のパートと同様に、楽音を発音するイベントデータを読み出した場合には、音源部107に対してその発音を指示する。その結果、パート1のミュートが解除される。   On the other hand, when the user presses the MUTE button 26 while the part 1 is muted, the control unit 103 instructs the setting unit 104b of the sequencer 104 to mute off (step S12). As a result, the mute-off is set in the setting unit 104b. Thereafter, the playback unit 104a also reads out the event data for generating a musical tone for the part 1 as with the other parts. 107 is instructed to pronounce it. As a result, the muting of part 1 is released.

次に、伴奏スタイルデータ#1が選択された状態で、再生開始が指示されると、再生部104aは、音楽データ格納領域に格納されている伴奏スタイルデータ#1のメインセクションの演奏データ33(図3参照)の先頭データをパート毎に読み出す。演奏データ33に含まれる各組のタイミングデータおよびイベントデータの再生方法は、ソングデータ#1の演奏データ31に含まれる各組のタイミングデータおよびイベントデータについてのそれとほとんど変わらないので、再生方法の詳細な説明は省略する。ただし前述のように、伴奏スタイルデータ#1の再生中に、ユーザが鍵盤を押鍵した場合には、再生部104aは、押鍵音の音高とコード変換データ35b(図4参照)に基づいて、ACMPパート(図3の演奏データ33では、パート3〜8)の演奏データ中、読み出されたイベントデータのノートナンバを変換する。この制御は、フィルインセクションの演奏データ34の再生処理内でも、同様に行われる。   Next, when playback start is instructed while accompaniment style data # 1 is selected, the playback unit 104a performs performance data 33 (in the main section of the accompaniment style data # 1 stored in the music data storage area). 3) is read out for each part. The reproduction method of the timing data and event data of each set included in the performance data 33 is almost the same as that of the timing data and event data of each set included in the performance data 31 of the song data # 1, so the details of the reproduction method The detailed explanation is omitted. However, as described above, when the user presses the keyboard during playback of the accompaniment style data # 1, the playback unit 104a uses the pitch of the key pressing sound and the chord conversion data 35b (see FIG. 4). Thus, the note number of the read event data is converted in the performance data of the ACMP part (parts 3 to 8 in the performance data 33 of FIG. 3). This control is performed in the same manner in the reproduction process of the performance data 34 in the fill-in section.

メインセクションの演奏データ33についての再生処理が進み、全パートの最後のエンドデータが読み出されると、前述のように設定部104bにはリピート再生のオンが設定されているので、再生部104aは、再度演奏データ33の先頭に戻って、演奏データ33の再生を継続する。   When the playback process for the performance data 33 in the main section proceeds and the last end data of all the parts is read, the repeater 104a is set on the repeater 104a because the setting unit 104b is set to ON as described above. Returning to the beginning of the performance data 33 again, the reproduction of the performance data 33 is continued.

再生部104aがメインセクションの演奏データ33の再生を行っているときに、ユーザがPAUSE/FILLボタン27を押すと、制御部103は、前記(3)の再生制御処理を起動し、シーケンサ104に対して再生対象の変更を指示する。これに応じて再生部104aは、再生対象を現在のメインセクションの演奏データ33からフィルインセクションの演奏データ34に変更する。そして再生部104aは、メインセクションの演奏データ33についての再生処理と同様の再生処理をフィルインセクションの演奏データ34について実行する。フィルインセクションの演奏データ34の再生は、本実施の形態では1回だけ行われる(もちろん、この回数は1回に限られない)ので、フィルインセクションの演奏データ34の全パートの最後のエンドデータが読み出されると、再生部104aは、再生対象を現在のフィルインセクションの演奏データ34からメインセクションの演奏データ33に自動的に変更する。このようにして、メインセクションの演奏データ33が繰り返し再生されている途中で適宜、フィルインセクションの演奏データ34の再生が挿入されるという再生態様が続いて行く。そして、伴奏スタイルデータ#1の再生を停止したい場合には、ユーザは、START/STOPボタン24を押す。   When the user presses the PAUSE / FILL button 27 while the playback unit 104a is playing back the performance data 33 of the main section, the control unit 103 activates the playback control process (3) and Instruct to change the playback target. In response to this, the playback unit 104a changes the playback target from the current performance data 33 of the main section to the performance data 34 of the fill-in section. Then, the playback unit 104a executes a playback process similar to the playback process for the performance data 33 of the main section for the performance data 34 of the fill-in section. Since the performance data 34 in the fill-in section is reproduced only once in this embodiment (of course, this number is not limited to one), the last end data of all the parts of the performance data 34 in the fill-in section is stored. When read, the playback unit 104a automatically changes the playback target from the performance data 34 of the current fill-in section to the performance data 33 of the main section. In this way, the playback mode in which the playback of the performance data 34 of the fill-in section is appropriately inserted while the performance data 33 of the main section is being repeatedly played back is continued. When the user wants to stop the reproduction of the accompaniment style data # 1, the user presses the START / STOP button 24.

再生部104aが伴奏スタイルデータ#1の再生を行っているときに、ユーザがMUTEボタン26を押すと、制御部103は、前記(3)の再生制御処理を起動し、前記図6のミュート設定切替処理に処理を進める。同図において、現在選択中の音楽データは伴奏スタイルデータ#1であるので、制御部103は、シーケンサ104に対して、伴奏スタイルデータ#1の演奏データ33または34のACMPパートのミュートオンを指示する(ステップS11→S13)。これにより、設定部104bにミュートオンが設定されるので、これ以降、再生部104aは、ACMPパートの演奏データを再生しているときに、楽音を発音するイベントデータを読み出したとしても、音源部107に対してその発音を指示しない。その結果、ACMPパートの楽音のみが消音され、ACMPパートのみがミュートされる。ACMPパートのみがミュートされると、RHYパートのみが再生されるので、ユーザは、打楽器音をメトロノーム代わりに使いたいときに便利である。   If the user presses the MUTE button 26 while the playback unit 104a is playing back the accompaniment style data # 1, the control unit 103 activates the playback control process (3), and the mute setting shown in FIG. The process proceeds to the switching process. In the figure, since the currently selected music data is accompaniment style data # 1, the control unit 103 instructs the sequencer 104 to mute on the ACMP part of the performance data 33 or 34 of the accompaniment style data # 1. (Step S11 → S13). As a result, since the mute on is set in the setting unit 104b, the reproduction unit 104a thereafter reads out the event data that produces a musical sound while reproducing the performance data of the ACMP part. 107 does not instruct the pronunciation. As a result, only the tone of the ACMP part is muted and only the ACMP part is muted. When only the ACMP part is muted, only the RHY part is played back, which is convenient when the user wants to use percussion instrument sound instead of the metronome.

一方、ACMPパートがミュートされている状態で、ユーザがMUTEボタン26を押すと、制御部103は、シーケンサ104に対してミュートオフを指示する(ステップS13)。これにより、設定部104bにミュートオフが設定されるので、これ以降、再生部104aは、ACMPパートについても、RHYパートと同様に、楽音を発音するイベントデータを読み出した場合には、音源部107に対してその発音を指示する。その結果、ACMPパートのミュートが解除される。   On the other hand, when the user presses the MUTE button 26 while the ACMP part is muted, the control unit 103 instructs the sequencer 104 to mute off (step S13). As a result, the mute-off is set in the setting unit 104b. Henceforth, the playback unit 104a also reads out the event data for generating a musical tone for the ACMP part as in the RHY part. Is instructed to pronounce it. As a result, the ACMP part is unmuted.

なお本実施の形態では、図6のミュート設定切替処理を音楽データの再生中に実行する例について説明したが、音楽データの再生前に実行し、ミュートオン/オフを切り替えた後、切替後のミュート設定で音楽データを再生することもできる。   In the present embodiment, the example in which the mute setting switching process of FIG. 6 is executed during the reproduction of music data has been described. However, the mute setting switching process is executed before reproduction of music data, and after mute on / off is switched, Music data can also be played with the mute setting.

以上のようにして(1)〜(3)の各処理が実行され、各種ソングデータや各種伴奏スタイルデータが再生された後、デフォルト位置の音楽データ、特に現在選択されている音楽データと同じ種類のデフォルト位置の音楽データを再度選択したい場合がある。たとえば、色々な伴奏スタイルデータを再生して試しに聞いてみたが、最初に再生したものがよかったので、その伴奏スタイルデータを再度選択して再生したい場合である。この場合、最初の伴奏スタイルデータは、データIDが最初、つまり“001”のものではないので、ユーザは、どの伴奏スタイルデータが最初のものであるか分からなくなってしまう可能性がある。このような状況に対処するために、本実施の形態の音楽データ再生装置では、ユーザが+ボタン22と−ボタン23を同時に押すと、現在選択されている音楽データと同じ種類の音楽データであって、デフォルト位置にあるものが直ちに選択されるようにした。なお、デフォルト位置は、必ずしも各種類の音楽データの先頭とは限らないが、本実施の形態では、デフォルト位置の音楽データは、ソングデータの場合にはソングデータ#1であり、伴奏スタイルデータの場合には伴奏スタイルデータ#1であるとする。   After the processes (1) to (3) are executed as described above and various song data and various accompaniment style data are reproduced, the same type as the music data at the default position, particularly the currently selected music data. You may want to re-select the music data at the default location. For example, when various accompaniment style data are reproduced and asked for trial, it is preferable that the accompaniment style data is selected again and replayed because the one that was reproduced first was good. In this case, since the first accompaniment style data has a data ID that is not the first, that is, “001”, the user may not know which accompaniment style data is the first. In order to cope with such a situation, in the music data reproducing apparatus of the present embodiment, when the user simultaneously presses the + button 22 and the − button 23, the music data of the same type as the currently selected music data is stored. The one in the default position is now selected immediately. Although the default position is not necessarily the beginning of each type of music data, in the present embodiment, the music data at the default position is song data # 1 in the case of song data, and the accompaniment style data In this case, it is assumed that the accompaniment style data is # 1.

音楽データの再生が停止中に、ユーザが+ボタン22と−ボタン23を同時に押すと、制御部103は、前記(4)のデフォルト音楽データ選択処理を起動する。図7は、このデフォルトデータ選択処理の手順を示すフローチャートである。同図において、現在選択中の音楽データがソングデータである場合には、制御部103は、デフォルト位置のソングデータ、本実施の形態ではソングデータ#1を読み込み(ステップS21→S22)、当該ソングデータに対応するデータIDを表示部106、つまりLED8aに表示する(ステップS23)。これにより、LED8aには“001”が表示される。一方、現在選択中の音楽データが伴奏スタイルデータである場合には、制御部103は、デフォルト位置の伴奏スタイルデータ、本実施の形態では伴奏スタイルデータ#1を読み込み(ステップS21→S24)、当該伴奏スタイルデータに対応するデータIDをLED8aに表示する(ステップS25)。これにより、LED8aには“016”が表示される。   If the user simultaneously presses the + button 22 and the − button 23 while the reproduction of music data is stopped, the control unit 103 activates the default music data selection process (4). FIG. 7 is a flowchart showing the procedure of the default data selection process. In the figure, when the currently selected music data is song data, the control unit 103 reads the song data at the default position, in this embodiment, song data # 1 (steps S21 → S22), and the song The data ID corresponding to the data is displayed on the display unit 106, that is, the LED 8a (step S23). As a result, “001” is displayed on the LED 8a. On the other hand, if the currently selected music data is accompaniment style data, the control unit 103 reads accompaniment style data at the default position, which is accompaniment style data # 1 in this embodiment (steps S21 → S24). The data ID corresponding to the accompaniment style data is displayed on the LED 8a (step S25). Thereby, “016” is displayed on the LED 8a.

以上説明したように、本実施の形態の音楽データ再生装置では、音楽データの種類毎にモードを設けずに、音楽データの異なる種類間で共通あるいは関連する機能を1つの操作子に割り当て、当該操作については音楽データの種類に拘わらず1つの操作子で行うことができるようにしたので、ユーザは現在のモードを常に把握して操作子を操作しなくても、意図通りの操作を迷わずに行うことができる。これにより、ユーザの機能選択の操作性が向上する。   As described above, in the music data playback device of the present embodiment, a function common to or related to different types of music data is assigned to one operator without providing a mode for each type of music data. Since the operation can be performed with one operator regardless of the type of music data, the user does not hesitate to operate as intended even if the user always knows the current mode and does not operate the operator. Can be done. Thereby, the operability of the user's function selection is improved.

また、音楽データの種類に拘わらず、共通の操作子で音楽データを選択可能に構成したので、音楽データの種類毎に、音楽データを選択する操作子を別々に設けたり、モードスイッチを設けてユーザがモードを切り替えたりする必要がなくなる。これにより、操作子の数が減少して製造コストを削減できるとともに、ユーザの操作子に対する判別性が向上する。   In addition, since music data can be selected with a common operator regardless of the type of music data, a separate operator for selecting music data is provided for each type of music data, or a mode switch is provided. The user does not need to switch modes. As a result, the number of operation elements can be reduced to reduce the manufacturing cost, and the discriminability for the user operation elements can be improved.

さらに、音楽データが変更されると、シーケンサ104(の再生部104a)が変更後の音楽データに合った(適切な)再生を行うことができるような設定に、シーケンサ104(の設定部104b)を自動的に設定するようにしたので、ユーザは、音楽データを変更した後、START/STOPボタン24を押すだけで、変更後の音楽データを直ちに再生することができる。これにより、ユーザの操作性はさらに向上する。   Further, when the music data is changed, the sequencer 104 (the setting unit 104b) is set so that the sequencer 104 (the reproducing unit 104a) can perform (appropriate) reproduction according to the changed music data. Is automatically set, the user can immediately play the changed music data by simply pressing the START / STOP button 24 after changing the music data. Thereby, the user operability is further improved.

また、ユーザが+ボタン22および−ボタン23を同時に押すことにより、現在選択中の音楽データと同じ種類の音楽データであって、デフォルト位置にあるものを選択可能に構成したので、ユーザは、現在選択中の音楽データの種類を把握して、デフォルト位置の音楽データを選択し直さなくても、簡単な操作で、直ちに意図通りの音楽データを選択することができる。これにより、ユーザの操作性はさらに向上する。   In addition, since the user presses the + button 22 and the − button 23 at the same time, the music data of the same type as the currently selected music data can be selected at the default position. By grasping the type of music data being selected and re-selecting music data at the default position, it is possible to immediately select the music data as intended by a simple operation. Thereby, the user operability is further improved.

なお本実施の形態では、音楽データの種類として、ソングデータと伴奏スタイルデータの2種類を例に挙げて説明したが、再生用の音楽データであれば、その種類はこれに限られず、たとえば、アルペジオやフレーズデータなどでもよいし、オーディオデータでもよい。選択できる音楽データの種類数も、2種類に限らず、3種類以上であってもよく、3種類以上の音楽データを区別なく選択できるようにしてもよい。   In the present embodiment, the two types of music data, song data and accompaniment style data, have been described as examples. However, the type of music data is not limited to this, and for example, Arpeggio, phrase data, or audio data may be used. The number of types of music data that can be selected is not limited to two, but may be three or more, or three or more types of music data may be selected without distinction.

また本実施の形態では、伴奏スタイルデータのセクションの種類として、メインセクションとフィルインセクションの2種類を例に挙げて説明したが、これに、イントロセクションやエンディングセクションなどの他のセクションを加え、これらセクションの演奏データを適宜選択して再生できるように構成してもよい。   In this embodiment, two types of accompaniment style data sections, the main section and fill-in section, have been described as examples. However, other sections such as an intro section and an ending section are added to these sections. You may comprise so that the performance data of a section can be selected suitably and can be reproduced | regenerated.

さらに本実施の形態では、ソングデータの音高変化については言及していないが、ソングデータに対しては、トランスポーズ可能に構成してもよい。   Furthermore, although the present embodiment does not mention the pitch change of the song data, the song data may be configured to be transposed.

なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.

この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。   As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.

また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

5…CPU(制御手段),6…ROM(記憶手段),7…RAM(記憶手段),8a…LED(表示手段),9…記憶装置(記憶手段),21…テンキー(指定手段、選択指示手段),22…+ボタン(指定手段、選択指示手段),23…−ボタン(指定手段),26…MUTEボタン(ミュート指示手段) 5 ... CPU (control means), 6 ... ROM (storage means), 7 ... RAM (storage means), 8a ... LED (display means), 9 ... Storage device (storage means), 21 ... Numeric keypad (designating means, selection instruction) Means), 22... + Button (designation means, selection instruction means), 23... -Button (designation means), 26... MUTE button (mute instruction means)

Claims (5)

複数種類の音楽データのそれぞれに対応付けられた、音楽データの種類に関わらない固有のデータIDを記憶する記憶手段と、
前記記憶手段に記憶された複数のデータIDのいずれかを指定する指定手段と、
前記指定手段によって指定されたデータIDに対応する音楽データを再生する再生手段と、
前記指定されたデータIDに応じて、前記再生手段の再生設定を前記指定されたデータIDに対応する音楽データの種類に合った再生設定に切り替えるように制御する制御手段と
を有し、
前記複数種類の音楽データには、メロディパートを含む複数のパートからなる第1種類の音楽データと、リピート再生するための、1または複数の伴奏パートからなる所定長のパターンである第2種類の音楽データが含まれ、
前記制御手段は、前記第1種類の音楽データが指定されたときには、当該第1種類の音楽データを先頭から末尾まで再生する第1の再生設定へ切り替える一方、前記第2種類の音楽データが指定されたときには、当該第2種類の音楽データをリピート再生する第2の再生設定へ切り替えるように制御することを特徴とする音楽データ再生装置。
Storage means for storing a unique data ID associated with each of a plurality of types of music data regardless of the type of music data;
Designation means for designating any of a plurality of data IDs stored in the storage means;
Reproduction means for reproducing music data corresponding to the data ID designated by the designation means;
In response to said specified data ID, have a control means for controlling the playback settings to switch the suits reproduction setting the type of music data corresponding to the specified data ID the reproducing means,
The plurality of types of music data include a first type of music data including a plurality of parts including a melody part, and a second type of pattern having a predetermined length including one or a plurality of accompaniment parts for repeat playback. Music data included,
When the first type of music data is designated, the control means switches to the first reproduction setting for reproducing the first type of music data from the beginning to the end, while the second type of music data is designated. If so, the music data reproducing apparatus is controlled so as to switch to the second reproduction setting for repeating reproduction of the second type of music data .
デフォルト位置のデータIDを選択指示する選択指示手段をさらに有し、
前記選択指示手段による選択指示がなされた場合、前記制御手段は、前記指定手段によって現在指定されているデータIDに対応する音楽データと同じ種類の音楽データであって、デフォルト位置にある音楽データを選択することを特徴とする請求項1に記載の音楽データ再生装置。
A selection instruction means for selecting and instructing the data ID of the default position;
When the selection instruction is given by the selection instruction means, the control means is the same kind of music data as the music data corresponding to the data ID currently designated by the designation means, and the music data at the default position is selected. The music data reproducing apparatus according to claim 1, wherein the music data reproducing apparatus is selected.
前記音楽データに対応付けられたデータIDを表示する表示部をさらに有し、
前記選択指示手段による選択指示がなされた場合、前記制御手段は、前記指定手段によって現在指定されているデータIDに対応する音楽データと同じ種類の音楽データであって、デフォルト位置にある音楽データのデータIDを前記表示部に表示させることを特徴とする請求項2に記載の音楽データ再生装置。
A display unit for displaying a data ID associated with the music data;
When the selection instruction is given by the selection instruction means, the control means is the same type of music data as the music data corresponding to the data ID currently designated by the designation means, and the music data at the default position is stored. 3. The music data reproducing apparatus according to claim 2, wherein a data ID is displayed on the display unit.
音楽データの一部のパートのミュートを指示するミュート指示手段をさらに有し、
前記第2種類の音楽データは、音高を持たないリズムパートと、ユーザの演奏による演奏音の音高に応じた音高で発音する伴奏パートを含む複数のパートからなる音楽データを含み、
前記制御手段は、前記ミュート指示手段によるミュート指示がなされたときに、前記第1種類の音楽データが指定されている場合には、当該第1種類の音楽データのメロディパートをミュートし、前記第2種類の音楽データが指定されている場合には、当該第2種類の音楽データの伴奏パートをミュートすることを特徴とする請求項1乃至3のいずれか1項に記載の音楽データ再生装置。
A mute instruction means for instructing to mute a part of the music data;
The second type of music data includes music data composed of a plurality of parts including a rhythm part having no pitch and an accompaniment part that produces a pitch according to the pitch of the performance sound produced by the user,
If the first type of music data is specified when the mute instruction is given by the mute instruction unit, the control unit mutes the melody part of the first type of music data, and two if the music data is specified, the music data reproducing apparatus according to any one of claims 1 to 3, characterized in that muting the accompaniment part of the second type of music data.
音楽データ再生方法をコンピュータに実行させるためのプログラムであって、
前記音楽データ再生方法は、
複数種類の音楽データのそれぞれに対応付けられた、音楽データの種類に関わらない固有のデータIDを記憶する記憶手段に記憶された複数のデータIDのいずれかを指定する指定手段によって指定されたデータIDに対応する音楽データを再生する再生ステップと、
前記指定されたデータIDに応じて、前記再生ステップにおける再生設定を前記指定されたデータIDに対応する音楽データの種類に合った再生設定に切り替えるように制御する制御ステップと
を有し、
前記複数種類の音楽データには、メロディパートを含む複数のパートからなる第1種類の音楽データと、リピート再生するための、1または複数の伴奏パートからなる所定長のパターンである第2種類の音楽データが含まれ、
前記制御ステップは、前記第1種類の音楽データが指定されたときには、当該第1種類の音楽データを先頭から末尾まで再生する第1の再生設定へ切り替える一方、前記第2種類の音楽データが指定されたときには、当該第2種類の音楽データをリピート再生する第2の再生設定へ切り替えるように制御することを特徴とするプログラム。
A program for causing a computer to execute a music data reproduction method,
The music data playback method includes:
Data specified by a specifying unit that specifies one of a plurality of data IDs stored in a storage unit that stores a unique data ID that is associated with each of a plurality of types of music data regardless of the type of music data. A reproduction step of reproducing music data corresponding to the ID;
In response to said specified data ID, have a control step of controlling so as to switch the playback setting the suits reproduction setting the type of music data corresponding to the specified data ID in the reproduction step,
The plurality of types of music data include a first type of music data including a plurality of parts including a melody part, and a second type of pattern having a predetermined length including one or a plurality of accompaniment parts for repeat playback. Music data included,
When the first type of music data is designated, the control step switches to the first reproduction setting for reproducing the first type of music data from the beginning to the end, while the second type of music data is designated. And a program for controlling to switch to the second reproduction setting for repeating reproduction of the second type of music data .
JP2013025306A 2013-02-13 2013-02-13 Music data reproducing apparatus and program for realizing music data reproducing method Expired - Fee Related JP6194589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013025306A JP6194589B2 (en) 2013-02-13 2013-02-13 Music data reproducing apparatus and program for realizing music data reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013025306A JP6194589B2 (en) 2013-02-13 2013-02-13 Music data reproducing apparatus and program for realizing music data reproducing method

Publications (2)

Publication Number Publication Date
JP2014153647A JP2014153647A (en) 2014-08-25
JP6194589B2 true JP6194589B2 (en) 2017-09-13

Family

ID=51575535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013025306A Expired - Fee Related JP6194589B2 (en) 2013-02-13 2013-02-13 Music data reproducing apparatus and program for realizing music data reproducing method

Country Status (1)

Country Link
JP (1) JP6194589B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7419830B2 (en) * 2020-01-17 2024-01-23 ヤマハ株式会社 Accompaniment sound generation device, electronic musical instrument, accompaniment sound generation method, and accompaniment sound generation program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3724409B2 (en) * 2001-10-29 2005-12-07 ヤマハ株式会社 Music playback device in portable terminal and music playback program used in mobile terminal

Also Published As

Publication number Publication date
JP2014153647A (en) 2014-08-25

Similar Documents

Publication Publication Date Title
JP2006284817A (en) Electronic musical instrument
JP2006243102A (en) Device and program for supporting performance
WO2018088382A1 (en) Keyboard instrument
JP4379291B2 (en) Electronic music apparatus and program
JP6728702B2 (en) Electronic audio equipment
JP6194589B2 (en) Music data reproducing apparatus and program for realizing music data reproducing method
JP6024403B2 (en) Electronic music apparatus, parameter setting method, and program for realizing the parameter setting method
JP5109426B2 (en) Electronic musical instruments and programs
JP6790362B2 (en) Electronic acoustic device
JP3649014B2 (en) Performance data file playback setting control device
JP5707691B2 (en) Electronic keyboard instrument
TW202101421A (en) Assisting apparatus for empty beat epenthesis of electronic organ and generation method for timbre switching signal being electrically connected to a pedal apparatus and an electronic organ
JP5292806B2 (en) Musical sound generating apparatus and program
JP6665541B2 (en) Electroacoustic device
JP3887957B2 (en) Karaoke equipment
JP4240145B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP4835434B2 (en) Performance pattern playback device and computer program therefor
JP2007072387A (en) Music performance assisting device and program
JP6398173B2 (en) Electronic musical instrument, program and pronunciation pitch selection method
JP4075808B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP2017015957A (en) Musical performance recording device and program
JP3933154B2 (en) Electronic musical instruments
JP2009198657A (en) Musical performance training apparatus and musical performance training program
JP4835433B2 (en) Performance pattern playback device and computer program therefor
JP5572912B2 (en) Musical sound generating apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160923

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170613

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20170622

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170718

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170731

R151 Written notification of patent or utility model registration

Ref document number: 6194589

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees