JP2008233557A - Electronic musical instrument and program - Google Patents

Electronic musical instrument and program Download PDF

Info

Publication number
JP2008233557A
JP2008233557A JP2007073341A JP2007073341A JP2008233557A JP 2008233557 A JP2008233557 A JP 2008233557A JP 2007073341 A JP2007073341 A JP 2007073341A JP 2007073341 A JP2007073341 A JP 2007073341A JP 2008233557 A JP2008233557 A JP 2008233557A
Authority
JP
Japan
Prior art keywords
data
performance data
server device
performance
music content
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.)
Granted
Application number
JP2007073341A
Other languages
Japanese (ja)
Other versions
JP5109425B2 (en
Inventor
Masahiro Shimizu
正宏 清水
Shigehiko Mizuno
成彦 水野
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 JP2007073341A priority Critical patent/JP5109425B2/en
Publication of JP2008233557A publication Critical patent/JP2008233557A/en
Application granted granted Critical
Publication of JP5109425B2 publication Critical patent/JP5109425B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic musical instrument capable of presenting musical performance data synchronized with a music content distributed by streaming from a server device. <P>SOLUTION: A playback position of the music content being played back through stream distribution from the server device is acquired, and the acquired playback position of the music content is converted into a musical music position for controlling generation of a musical sound based upon musical performance data, based upon tempo map data, having been acquired from the server device, related to the music content. While the playback position and/or playback tempo are changed to meet the converted musical music position, the musical performance data associated with the music content distributed by pseudo-streaming from the server device are played back to be represented in a predetermined form. Consequently, a user can receive presentation of the musical performance data on a musical performance guide etc., synchronized with the music content distributed by streaming and based upon the musical performance data distributed by pseudo-streaming. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、外部のサーバ装置から通信ネットワークを介したデータ配信を受けることができる電子楽器及びプログラムに関する。特に、ストリーム配信されるデータに基づき発生される楽音の進行にあわせて、擬似ストリーム配信されるデータに基づいての演奏ガイドなどの演奏データの提示を同期して行うことができるようにした電子楽器及びプログラムに関する。   The present invention relates to an electronic musical instrument and a program that can receive data distribution from an external server device via a communication network. In particular, an electronic musical instrument capable of synchronously presenting performance data such as a performance guide based on pseudo-streamed data in accordance with the progress of musical sounds generated based on stream-distributed data And the program.

最近では、通信ネットワークを介した外部のサーバ装置(サーバコンピュータ)からのデータ配信をユーザ側の機器で受け、該配信されたデータをユーザ側の機器で適宜に利用することが広く行われている。電子楽器においても例外でなく、通信ネットワークを介して接続された外部のサーバ装置からストリーム配信されたデータに基づき楽音を発生すること、あるいは擬似ストリーム配信された演奏データ(例えばMIDIデータ)に基づき、楽音を生成することなどができるようになっているものがある。こうした通信ネットワークを介して外部のサーバ装置からデータ配信を受ける技術としては、例えば下記に示す特許文献1又は特許文献2に記載されている技術がその一例である。特許文献1には映像データやオーディオデータ等をストリーム配信する技術が記載されており、一方、特許文献2にはMIDIデータを擬似ストリーム(又はプログレッシブダウンロードとも呼ぶ)配信する技術が記載されている。
特開2005−148565号公報 特開2004−045706号公報
Recently, data distribution from an external server device (server computer) via a communication network is widely received by a user-side device, and the distributed data is appropriately used by a user-side device. . An electronic musical instrument is not an exception, and generates musical sounds based on data streamed from an external server device connected via a communication network, or based on performance data (eg, MIDI data) distributed pseudo-streamed, Some of them are capable of generating musical sounds. As a technique for receiving data distribution from an external server device via such a communication network, for example, the technique described in Patent Document 1 or Patent Document 2 shown below is an example. Patent Document 1 describes a technique for distributing video data, audio data, and the like in a stream, while Patent Document 2 describes a technique for distributing MIDI data in a pseudo stream (also referred to as progressive download).
JP-A-2005-148565 Japanese Patent Laid-Open No. 2004-045706

ところで、ユーザは例えば伴奏を聴きながら、あるいは演奏家によって演奏されたお手本となる模範演奏を聴きながら、マニュアル演奏でのメロディ等の演奏練習を行いたい場合がある。そうした場合、伴奏やお手本となる模範演奏の進行にあわせてメロディの演奏ガイドを行う必要があるために、従来においては電子楽器が予め外部のサーバ装置から必要なデータの配信を受けておき(所謂ダウンロード配信)、それらのデータが全てダウンロードされた後にデータの再生を行うことにより、伴奏やお手本となる模範演奏等の発生とメロディの演奏ガイドとを同期制御するようにしている。ただし、この場合には、電子楽器が外部のサーバ装置からダウンロードした多数のデータを記憶できるだけの十分な記憶容量がある記憶手段(ハードディスク)を有している必要があるが、一般的な既存の電子楽器はパソコンなどに比べると記憶容量の少ない記憶手段しか有していないものが多い。   By the way, there are cases where the user wants to practice playing a melody or the like in a manual performance while listening to an accompaniment or listening to an exemplary performance performed by a performer. In such a case, since it is necessary to perform a melody performance guide as the accompaniment and the model performance as a model progress, conventionally, the electronic musical instrument has received distribution of necessary data from an external server device in advance (so-called By downloading and distributing the data after all of the data has been downloaded, the accompaniment and the model performance as a model and the melody performance guide are controlled synchronously. However, in this case, the electronic musical instrument needs to have storage means (hard disk) having a storage capacity sufficient to store a large amount of data downloaded from an external server device. Many electronic musical instruments have only a storage means with a smaller storage capacity than a personal computer.

そこで、十分な記憶容量がある記憶手段(ハードディスク)を必要とする記憶済みのデータに基づき発生される楽音の進行にあわせて演奏ガイドを行うのではなく、外部のサーバ装置からストリーム配信されるデータに基づき発生される楽音の進行にあわせて演奏ガイドを行うようにするとよい。その場合、外部のサーバ装置において楽音発生のためのデータと演奏ガイドのためのデータとを同じタイミング毎にまとめてパケット化したストリーム配信用のデータを作成しておき、これを電子楽器に対してストリーム配信することで、電子楽器側での楽音の発生と演奏ガイドとの同期制御を行うようにすることが考えられる。しかし、演奏ガイドは該当する箇所の楽音を発生させるよりも先んじて行う必要があり、そうした時間的な微調整を行いながら上記したようなストリーム配信用のデータを作成するには時間がかかり面倒であるだけでなく、そうしたデータを作成すること自体が難しく現実的でない。したがって、外部のサーバ装置からのストリーム配信により発生される楽音の進行にあわせて演奏ガイドを行うことができる電子楽器は非常に有用であるが、従来そうしたものはなかった。なお、この明細書において、楽音という場合、音楽的な音に限るものではなく、音声あるいはその他任意の音を含んでいてもよい意味あいで用いるものとする。   Therefore, instead of performing a performance guide in accordance with the progress of musical sounds generated based on stored data that requires storage means (hard disk) having sufficient storage capacity, data stream-distributed from an external server device It is advisable to perform a performance guide in accordance with the progress of the musical sound generated based on the music. In that case, the data for generating the sound and the data for playing the guide are collectively packetized at the same timing in the external server device, and the data for stream delivery is created, and this is sent to the electronic musical instrument. It is conceivable to synchronize the generation of musical sounds on the electronic musical instrument side and the performance guide by distributing the stream. However, it is necessary to perform the performance guide prior to generating the musical sound of the corresponding part, and it is time consuming and troublesome to create the data for stream delivery as described above while making such fine time adjustment. Not only that, creating such data itself is difficult and impractical. Therefore, an electronic musical instrument that can perform a performance guide in accordance with the progress of musical sounds generated by stream distribution from an external server device is very useful, but there has never been such an instrument. In this specification, the term “musical sound” is not limited to musical sound, but is used in the sense that it may include voice or any other sound.

本発明は上述の点に鑑みてなされたもので、通信ネットワークを介したストリーム配信されるデータに基づく楽音再生に同期させて、通信ネットワークを介した擬似ストリーム配信されるデータに基づく演奏ガイドなどの演奏データの提示を行うことができるようにした、電子楽器及びプログラムを提供しようとするものである。   The present invention has been made in view of the above-described points, such as a performance guide based on data distributed in a pseudo stream via a communication network in synchronization with music reproduction based on data distributed via a communication network. The present invention intends to provide an electronic musical instrument and a program capable of presenting performance data.

本発明に係る電子楽器は、多数の音楽コンテンツを、前記音楽コンテンツの再生に基づき生成される楽音に対応する演奏データと、再生すべき楽音のテンポ及びその変化を示すテンポマップデータとにそれぞれ関連付けて記憶する機能を有するとともに、該記憶した音楽コンテンツ、演奏データ、テンポマップデータをそれぞれ配信する機能を有するサーバ装置を通信ネットワークを介して接続する接続手段と、前記サーバ装置に記憶済みの多数の音楽コンテンツのうち、いずれかを指定する指定手段と、前記サーバ装置から、前記指定した音楽コンテンツに関連付けられたテンポマップデータを取得するデータ取得手段と、前記指定した音楽コンテンツの配信を開始するよう、前記サーバ装置に対して指示する指示手段と、前記サーバ装置から前記指示に応じてストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生する第1の再生手段と、前記サーバ装置から前記指示に応じて擬似ストリーム配信される演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生する第2の再生手段と、前記再生中の音楽コンテンツの再生位置を取得する取得手段と、前記取得済みのテンポマップデータに基づき、前記取得した音楽コンテンツの再生位置を、演奏データに基づく楽音の生成を制御するための音楽的な曲位置に変換する変換手段と、前記変換された音楽的な曲位置に基づき、前記再生中の演奏データの再生位置及び/又は再生テンポを変更する変更手段と、前記演奏データの再生に従って所定の態様で演奏データを提示する演奏データ提示手段とを具えてなり、前記サーバ装置からストリーム配信される音楽コンテンツの再生に同期させて、前記サーバ装置から擬似ストリーム配信される演奏データを再生して所定の態様で演奏データを提示することを特徴とする。   The electronic musical instrument according to the present invention associates a large number of music contents with performance data corresponding to the musical sound generated based on the reproduction of the music content, and tempo map data indicating the tempo of the musical sound to be reproduced and the change thereof. Connection means for connecting a server device having a function of storing the stored music content, performance data, and tempo map data via a communication network, and a number of devices stored in the server device. The designation means for designating one of the music contents, the data acquisition means for obtaining tempo map data associated with the designated music content from the server device, and the distribution of the designated music content are started. , Instruction means for instructing the server device, and the server device Receiving a music content streamed in response to the instruction, and simultaneously playing back the music content that has been received simultaneously, and a pseudo-stream distribution in response to the instruction from the server device A second playback means for sequentially playing back the performance data at a stage when a part of the performance data is downloaded while downloading the performance data; an acquisition means for acquiring a playback position of the music content being played; Based on the acquired tempo map data, conversion means for converting the playback position of the acquired music content into a musical song position for controlling generation of musical sound based on performance data; and the converted musical Changing means for changing the playback position and / or playback tempo of the performance data being played back based on the position of the correct music; Performance data presenting means for presenting performance data in a predetermined manner according to the reproduction of the data, and the performance delivered in a pseudo stream from the server device in synchronization with the reproduction of the music content streamed from the server device Data is reproduced and performance data is presented in a predetermined manner.

本発明によると、通信ネットワークを介して接続されたサーバ装置からストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生するとともに、前記サーバ装置から擬似ストリーム配信される前記音楽コンテンツに関連する演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生する場合において、前記再生中の音楽コンテンツの再生位置を取得し、サーバ装置から取得済みの前記音楽コンテンツに関連付けられたテンポマップデータに基づき、前記取得した音楽コンテンツの再生位置を、前記演奏データに基づく楽音の生成を制御するための音楽的な曲位置に変換する。そして、この変換された音楽的な曲位置にあわせるようにして再生位置及び/又は再生テンポを変更しながら前記演奏データを再生し、これに従って所定の態様で演奏データの提示を行う。これにより、前記サーバ装置からストリーム配信される音楽コンテンツの再生に同期させて、前記サーバ装置から擬似ストリーム配信される演奏データを再生して演奏ガイドなどの演奏データの提示が行われる。こうすると、ユーザが十分な記憶容量のある記憶手段を有していない電子楽器を利用する場合であっても、電子楽器を通信ネットワークを介してサーバ装置に接続するだけで、伴奏やお手本となる模範演奏を参考にしながら、また伴奏やお手本となる模範演奏の進行に同期した演奏ガイドなどの演奏データの提示を受けながらの効果的な演奏練習を、ユーザはいつでも簡単且つすぐに行うことができる。さらには、サーバ装置に、予め音楽コンテンツと演奏ガイドとを同期するための専用のストリーム配信用データを生成しておく必要もない。   According to the present invention, while receiving music content that is stream-distributed from a server device connected via a communication network, the music content that has already been received is reproduced in sequence, and pseudo-stream distribution is performed from the server device. In a case where the performance data is sequentially reproduced at a stage where a part of the performance data is downloaded while downloading the performance data related to the music content, the reproduction position of the music content being reproduced is acquired, and the server Based on the tempo map data associated with the music content acquired from the device, the playback position of the acquired music content is converted into a musical song position for controlling the generation of musical sounds based on the performance data. Then, the performance data is reproduced while changing the reproduction position and / or reproduction tempo so as to match the converted musical song position, and the performance data is presented in a predetermined manner according to the reproduction. Thereby, in synchronization with the reproduction of the music content stream-distributed from the server device, the performance data distributed from the server device is reproduced and performance data such as a performance guide is presented. In this way, even if the user uses an electronic musical instrument that does not have a storage means with a sufficient storage capacity, simply connecting the electronic musical instrument to the server device via the communication network provides an accompaniment or a model. The user can easily and quickly perform effective performance practice at any time while referring to the model performance and receiving performance data such as a performance guide synchronized with the progress of the model performance as an accompaniment or model. . Furthermore, it is not necessary to previously generate dedicated stream delivery data for synchronizing the music content and the performance guide in the server device.

本発明は、装置の発明として構成し実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記憶媒体の形態で実施することもできる。   The present invention may be constructed and implemented not only as an apparatus invention but also as a method invention. Further, the present invention can be implemented in the form of a program of a processor such as a computer or a DSP, or can be implemented in the form of a storage medium storing such a program.

この発明によれば、通信ネットワークを介して接続されたサーバ装置からテンポマップデータを取得し、テンポマップデータに基づき前記サーバ装置から擬似ストリーム配信される演奏データの再生位置及び/又は再生テンポを、通信ネットワークを介して接続されたサーバ装置からストリーム配信され再生中の音楽コンテンツにあわせて変更し、これに基づき演奏データをユーザに提示することができるという効果を得る。特に演奏データの提示として演奏ガイドを行うようにすると、ユーザは再生中の音楽コンテンツを参考にしながら、該再生中の音楽コンテンツの進行に同期した演奏ガイドを受けての効果的な演奏練習を行うことが容易にできるようになり、より効果的である。そして、その演奏ガイドを演奏すべき時間位置に応じて楽譜形式などで表示する場合、演奏データを擬似ストリームとして一括取得するので、演奏すべき時間的位置の前後まで表示できるといった格別の効果を得ることができる。また、演奏データの提示として電子楽器の鍵盤の演奏データに対応する鍵を駆動させたり、音源を駆動させたりすることにより、ユーザにとっては再生中の音楽コンテンツにあわせた演奏が行われているように感じられ、それを楽しむことができるという効果も得られる。   According to the present invention, tempo map data is acquired from a server device connected via a communication network, and the playback position and / or playback tempo of performance data distributed from the server device based on the tempo map data is reproduced. There is an effect that it can be changed according to the music content being stream-distributed and reproduced from the server device connected via the communication network, and performance data can be presented to the user based on this. In particular, when performing a performance guide as presentation of performance data, the user refers to the music content being played back, and performs an effective performance practice by receiving a performance guide synchronized with the progress of the music content being played back. Can be made easier and more effective. When the performance guide is displayed in a musical score format or the like according to the time position where the performance is to be performed, the performance data is collectively acquired as a pseudo stream, so that it is possible to display a special effect such that the performance data can be displayed before and after the time position where the performance guide should be performed. be able to. In addition, by playing a key corresponding to the performance data on the keyboard of the electronic musical instrument or driving a sound source as presentation of performance data, it seems that the user is performing according to the music content being played back. It can be felt and enjoyed.

以下、この発明の実施の形態を添付図面に従って詳細に説明する。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

図1は、この発明に係る電子楽器の全体構成を示したハード構成ブロック図である。本実施例に示す電子楽器は、マイクロプロセッサユニット(CPU)1、リードオンリメモリ(ROM)2、ランダムアクセスメモリ(RAM)3からなるマイクロコンピュータによって制御される。CPU1は、この電子楽器全体の動作を制御するものである。このCPU1に対して、データ及びアドレスバス1Dを介してROM2、RAM3、演奏操作検出回路4、設定操作検出回路5、表示回路6、音源回路7、効果回路8、外部記憶装置9、通信ネットワークインタフェース(I/F)10、MIDIインタフェース(I/F)11がそれぞれ接続されている。更に、CPU1には、タイマ割込み処理(インタラプト処理)における割込み時間や各種時間を計時するタイマ1Aが接続されている。例えば、タイマ1Aはクロックパルスを発生し、発生したクロックパルスをCPU1に対して処理タイミング命令として与えたり、あるいはCPU1に対してインタラプト命令として与える。CPU1は、これらの命令に従って各種処理を実行する。   FIG. 1 is a hardware configuration block diagram showing the overall configuration of an electronic musical instrument according to the present invention. The electronic musical instrument shown in this embodiment is controlled by a microcomputer including a microprocessor unit (CPU) 1, a read only memory (ROM) 2, and a random access memory (RAM) 3. The CPU 1 controls the operation of the entire electronic musical instrument. For this CPU 1, via a data and address bus 1D, ROM 2, RAM 3, performance operation detection circuit 4, setting operation detection circuit 5, display circuit 6, tone generator circuit 7, effect circuit 8, external storage device 9, communication network interface (I / F) 10 and MIDI interface (I / F) 11 are connected to each other. Further, the CPU 1 is connected to a timer 1A for measuring the interrupt time and various times in the timer interrupt process (interrupt process). For example, the timer 1A generates a clock pulse, and gives the generated clock pulse to the CPU 1 as a processing timing command or to the CPU 1 as an interrupt command. The CPU 1 executes various processes according to these instructions.

ROM2は、CPU1により実行される各種プログラムや各種データを格納するものである。RAM3は、CPU1が所定のプログラムを実行する際に発生する各種データを一時的に記憶するワーキングメモリとして、あるいは現在実行中のプログラムやそれに関連するデータを記憶するメモリ等として使用される。RAM3の所定のアドレス領域がそれぞれの機能に割り当てられ、レジスタやフラグ、テーブル、メモリなどとして利用される。詳しくは後述するが、この実施例では、通信ネットワークXを介して電子楽器本体に接続された外部のサーバ装置10Aからダウンロード配信又は擬似ストリーム配信された、サーバ装置10Aが記憶済みの演奏練習可能な曲(音楽コンテンツ)をユーザに対して一覧提示するためのソングリストデータ(後述する図2参照)や、ユーザが演奏練習したい任意の曲に関する演奏データ(例えばMIDIデータ)及びそれに対応付けられたテンポマップデータ(後述する図3参照)などを、あるいはサーバ装置10Aからストリーム配信されたディジタルオーディオデータ(例えばMP3データ)などを、一時的に記憶することができるようになっている。   The ROM 2 stores various programs executed by the CPU 1 and various data. The RAM 3 is used as a working memory that temporarily stores various data generated when the CPU 1 executes a predetermined program, or as a memory that stores a currently executed program and related data. A predetermined address area of the RAM 3 is assigned to each function and used as a register, flag, table, memory, or the like. As will be described in detail later, in this embodiment, the server device 10A, which is downloaded or pseudo-streamed from the external server device 10A connected to the electronic musical instrument main body via the communication network X, can perform the performance practice stored. Song list data (see FIG. 2 to be described later) for displaying a list of songs (music contents) to the user, performance data (for example, MIDI data) related to an arbitrary song that the user wants to practice, and a tempo associated therewith Map data (see FIG. 3 described later) or the like, or digital audio data (for example, MP3 data) stream-distributed from the server device 10A can be temporarily stored.

演奏操作子4Aは楽音の音高を選択するための複数の鍵を備えた例えば鍵盤等のようなものであり、各鍵に対応してキースイッチを有しており、この演奏操作子4A(鍵盤等)はユーザ自身の手弾きによるマニュアル演奏に使用することができるのは勿論のこと、通信ネットワークXを介して電子楽器本体に接続された外部のサーバ装置10Aに対して曲(例えば、お手本となる模範演奏や伴奏など)の再生開始/停止を指示する指示手段などとして使用することもできる。演奏操作検出回路4は、演奏操作子4Aの各鍵の押圧及び離鍵を検出することによって検出出力を生じる。設定操作子(スイッチ等)5Aは、例えばユーザが演奏練習したい曲の選択を行うためのスイッチ、ユーザが演奏練習を始めたい曲の位置やパートなどを指定するためのスイッチ、通信ネットワークXを介して接続された外部のサーバ装置10Aに対してユーザ所望の曲の再生の開始/停止を指示するスイッチ(後述するように、電子楽器はサーバ装置10Aに対する曲の再生開始指示に応じて、サーバ装置10Aからストリーム配信を受けて楽音を発生する)などがある。勿論、設定操作子5Aは他にも、音高、音色、効果等を選択・設定・制御するために用いる数値データ入力用のテンキーや文字データ入力用のキーボード、あるいはディスプレイ6Aに表示される所定のポインティングデバイスを操作するために用いるマウスなどの各種操作子を含んでいてよい。設定操作検出回路5は、上記各スイッチの操作状態を検出し、その操作状態に応じたスイッチ情報をデータ及びアドレスバス1Dを介してCPU1に出力する。   The performance operator 4A is, for example, a keyboard provided with a plurality of keys for selecting the pitch of a musical tone, and has a key switch corresponding to each key. The keyboard or the like can be used for manual performance by the user's own hand-playing, as well as music (for example, a model) to the external server device 10A connected to the electronic musical instrument body via the communication network X. It can also be used as an instruction means for instructing the start / stop of reproduction of a model performance or accompaniment). The performance operation detection circuit 4 generates a detection output by detecting pressing and release of each key of the performance operator 4A. The setting operation element (switch, etc.) 5A includes, for example, a switch for selecting a song that the user wants to practice, a switch for designating the position and part of the song that the user wants to practice, and the communication network X. A switch for instructing the external server device 10A connected to start / stop playback of a user-desired song (as will be described later, the electronic musical instrument responds to a song playback start instruction to the server device 10A according to the server device 10A). 10A to receive a stream distribution and generate a musical sound). Of course, the setting operator 5A is also a numeric keypad for inputting numeric data, a keyboard for inputting character data, or a predetermined display displayed on the display 6A. Various operators such as a mouse used for operating the pointing device may be included. The setting operation detection circuit 5 detects the operation state of each switch, and outputs switch information corresponding to the operation state to the CPU 1 via the data and address bus 1D.

表示回路6は例えば液晶表示パネル(LCD)やCRT等から構成されるディスプレイ6Aに、例えばソングリストデータに基づく本電子楽器で演奏練習可能な曲を提示する曲一覧画面(図示せず)や、演奏データの再生に応じた曲位置に対応する例えば楽譜等の表示を利用した演奏ガイド、現在設定されているマニュアル演奏環境、あるいはCPU1の制御状態などを表示したりする。ユーザは該ディスプレイ6Aに表示されるこれらの各種情報を参照することで、例えば演奏練習したい曲の選択やマニュアル演奏に関する演奏環境の設定、あるいはマニュアル演奏の練習などを容易に行うことができるようになる。   The display circuit 6 has a song list screen (not shown) that presents songs that can be practiced with the electronic musical instrument based on song list data, for example, on a display 6A composed of a liquid crystal display panel (LCD), a CRT, etc. For example, a performance guide using display of a musical score or the like corresponding to a music position corresponding to the reproduction of performance data, a currently set manual performance environment, a control state of the CPU 1 or the like is displayed. By referring to these various types of information displayed on the display 6A, the user can easily select, for example, a song to be practiced, set a performance environment related to manual performance, or practice manual performance. Become.

音源回路7は複数のチャンネルで楽音信号の同時発生が可能であり、データ及びアドレスバス1Dを経由して与えられた、ユーザによる演奏操作子4Aのマニュアル操作に応じて発生される演奏情報、予め記憶されている演奏データに従って発生される演奏情報、あるいは外部のサーバ装置10Aからストリーム配信されたディジタルオーディオデータ等を入力し、これらの演奏情報やデータ等に基づいて楽音信号を発生する。音源回路7から発生された楽音信号は、効果回路8などを介して効果付与されてアンプやスピーカなどを含むサウンドシステム8Aから発音される。この音源回路7と効果回路8とサウンドシステム8Aの構成には、従来のいかなる構成を用いてもよい。例えば、音源回路7はFM、PCM、物理モデル、フォルマント合成等の各種楽音合成方式のいずれを採用してもよく、CPU1によるソフトウェア処理で構成してもよいし、また専用のハードウェアで構成してもよい。   The tone generator circuit 7 can simultaneously generate musical tone signals on a plurality of channels, and provides performance information generated in response to manual operation of the performance operator 4A by the user, which is given via the data and address bus 1D. Performance information generated according to the stored performance data, digital audio data streamed from the external server device 10A, or the like is input, and a musical tone signal is generated based on the performance information and data. The musical sound signal generated from the sound source circuit 7 is given an effect via the effect circuit 8 and the like, and is generated from the sound system 8A including an amplifier and a speaker. Any conventional configuration may be used for the sound source circuit 7, the effect circuit 8, and the sound system 8A. For example, the tone generator circuit 7 may employ any of various tone synthesis methods such as FM, PCM, physical model, formant synthesis, etc., and may be configured by software processing by the CPU 1 or by dedicated hardware. May be.

外部記憶装置9は、各種データやCPU1が実行する各種制御プログラム等を記憶する。なお、上述したROM2に制御プログラムが記憶されていない場合、この外部記憶装置9(例えばハードディスク)に制御プログラムを記憶させておき、それをRAM3に読み込むことにより、ROM2に制御プログラムを記憶している場合と同様の動作をCPU1にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。なお、外部記憶装置9はハードディスク(HD)に限られず、フレキシブルディスク(FD)、コンパクトディスク(CD‐ROM・CD‐RAM)、光磁気ディスク(MO)、あるいはDVD(Digital Versatile Disk)等の着脱自在な様々な形態の外部記憶媒体を利用する記憶装置であればどのようなものであってもよい。あるいは、フラッシュメモリなどの半導体メモリであってもよい。   The external storage device 9 stores various data and various control programs executed by the CPU 1. When no control program is stored in the ROM 2, the control program is stored in the ROM 2 by storing the control program in the external storage device 9 (for example, a hard disk) and reading it into the RAM 3. The CPU 1 can be operated in the same manner as in the case. In this way, control programs can be easily added and upgraded. The external storage device 9 is not limited to a hard disk (HD), but a flexible disk (FD), a compact disk (CD-ROM / CD-RAM), a magneto-optical disk (MO), a DVD (Digital Versatile Disk), etc. Any storage device may be used as long as the storage device uses various external storage media. Alternatively, a semiconductor memory such as a flash memory may be used.

通信ネットワークインタフェース(I/F)10は、例えばLANやインターネット、電話回線等の有線あるいは無線の通信ネットワークXに接続されており、該通信ネットワークXを介して外部のサーバ装置10A(サーバコンピュータ)と接続されて、当該サーバ装置10Aから制御プログラムあるいは各種データなどを電子楽器側に取り込むためのインタフェースである。こうした通信ネットワークインタフェース10は、有線あるいは無線のものいずれかでなく双方を具えていてよい。サーバ装置10Aは各種データを多数記憶し、通信ネットワークXを介して接続された電子楽器に対して、電子楽器からの要求に応じて記憶済みの多数の各種データの中から該当するデータを、データ種類に応じてストリーム配信又は擬似ストリーム配信することができるようになっている。なお、ROM2や外部記憶装置9(例えば、ハードディスク)等に制御プログラムや各種データが記憶されていない場合には、サーバ装置10Aから制御プログラムや各種データをダウンロードすることができることは言うまでもない。   The communication network interface (I / F) 10 is connected to a wired or wireless communication network X such as a LAN, the Internet, a telephone line, etc., and is connected to an external server device 10A (server computer) via the communication network X. It is an interface for connecting to the electronic musical instrument side a control program or various data from the server device 10A. Such a communication network interface 10 may include both of them, not wired or wireless. The server apparatus 10A stores a large amount of various data, and for the electronic musical instrument connected via the communication network X, the corresponding data is stored in the data stored in response to a request from the electronic musical instrument. Stream delivery or pseudo-stream delivery can be performed according to the type. Needless to say, when the control program and various data are not stored in the ROM 2 or the external storage device 9 (for example, hard disk), the control program and various data can be downloaded from the server device 10A.

MIDIインタフェース(I/F)11は、外部接続された他のMIDI機器11A等からMIDI形式の演奏データ(MIDIデータ)を当該電子楽器へ入力したり、あるいは当該電子楽器からMIDI形式の演奏データを他のMIDI機器11A等へ出力するためのインタフェースである。他のMIDI機器11Aは、ユーザによるマニュアル演奏操作に応じてMIDI形式のデータを発生する機器であればよく、鍵盤型、ギター型、管楽器型、打楽器型、身振り型等どのようなタイプの操作子を具えた(若しくは、操作形態からなる)機器であってもよい。   The MIDI interface (I / F) 11 inputs performance data (MIDI data) in MIDI format from the externally connected MIDI device 11A or the like to the electronic musical instrument, or receives performance data in MIDI format from the electronic musical instrument. This is an interface for outputting to another MIDI device 11A or the like. The other MIDI device 11A may be any device that generates data in MIDI format in response to a manual performance operation by a user. Any type of operation device such as a keyboard type, a guitar type, a wind instrument type, a percussion instrument type, a gesture type, etc. (Or comprising an operation form).

なお、電子楽器は演奏操作子4Aやディスプレイ6Aあるいは音源回路7などを1つの装置本体に内蔵したものに限らず、それぞれが別々に構成され、MIDIインタフェースや各種ネットワーク等の通信手段を用いて各装置を接続するように構成されたものであってもよいことは言うまでもない。さらに、本発明に係る電子楽器は上記したような形態に限らず、パーソナルコンピュータやカラオケ装置やゲーム装置など、演奏操作子としても機能するスイッチやボタンあるいはパッドなどのユーザによるマニュアル操作に応じて楽音を発生するものであれば、どのような形態の装置・機器に適用してもよい。   Note that the electronic musical instrument is not limited to one in which the performance operator 4A, the display 6A, the sound source circuit 7 and the like are built in one apparatus body, but each is configured separately, and each of the electronic musical instruments is configured using communication means such as a MIDI interface or various networks. Needless to say, the apparatus may be configured to be connected. Furthermore, the electronic musical instrument according to the present invention is not limited to the above-described form, and a musical tone is generated according to a user's manual operation such as a switch, button, or pad that also functions as a performance operator such as a personal computer, a karaoke device, or a game device. As long as it generates the above, it may be applied to any form of apparatus or device.

図1に示した電子楽器においては、ディスプレイ6Aを駆動して楽譜表示を利用した演奏ガイドや、図示しない鍵盤LEDを駆動して自動的に点灯/消灯を繰り返す演奏ガイドなどを、通信ネットワークXを介して接続されたサーバ装置10Aからストリーム配信される音楽コンテンツをリアルタイムに再生(分析/再構成)することにより発生される楽音の進行にあわせて行うことができるようになっている。そこで、こうしたサーバ装置10Aからの音楽コンテンツのストリーム配信に応じた楽音の発生と、サーバ装置10Aからの演奏データの擬似ストリーム配信に応じた演奏ガイドとを同期して行う演奏ガイド機能の概要について、図2を用いて説明する。   In the electronic musical instrument shown in FIG. 1, a communication guide using a musical score display by driving the display 6A, a performance guide that automatically turns on / off by driving a keyboard LED (not shown), etc. The music content stream-distributed from the server device 10A connected via the network can be played in accordance with the progress of the musical sound generated by reproducing (analyzing / reconstructing) the music content in real time. Therefore, an outline of the performance guide function that performs in synchronism with the generation of musical sounds according to the stream distribution of the music content from the server apparatus 10A and the performance guide according to the pseudo stream distribution of the performance data from the server apparatus 10A. This will be described with reference to FIG.

図2は、演奏ガイド機能の一実施例を模式的に示すブロック図である。図中における矢印はデータや信号の流れを示すものであり、サーバ装置10Aから電子楽器EMに対してストリーム配信されるデータの流れについては点線で示し、擬似ストリーム配信又はダウンロード配信されるデータの流れについては実線で示している。なお、演奏ガイド機能を実現する構成としては図2に示す以外のハードウェア等を有する場合もあるが、ここでは必要最小限の資源を用いた場合について説明する。   FIG. 2 is a block diagram schematically showing an embodiment of the performance guide function. The arrows in the figure indicate the flow of data and signals. The flow of data that is stream-distributed from the server apparatus 10A to the electronic musical instrument EM is indicated by dotted lines, and the flow of data that is pseudo-stream or download-distributed Is indicated by a solid line. In addition, although the structure which implement | achieves a performance guide function may have hardware etc. other than what is shown in FIG. 2, the case where the minimum required resource is used is demonstrated here.

サーバ装置10Aは、多数の音楽コンテンツ及びそれに関連するデータ等を記憶するコンテンツ記憶機能、通信ネットワークXを介して接続された外部機器に対して記憶済みの音楽コンテンツ及びそれに関連するデータ等を配信するデータ配信機能を有する。記憶部DCは前記コンテンツ記憶機能を実現するものであり、ここでは多数の音楽コンテンツを記憶すると共に、該記憶済みの多数の音楽コンテンツを曲名やアーティスト名等の曲を特定できる情報で一覧表示するためのソングリスト(Songlist)PLCを記憶する。記憶部DCにおける音楽コンテンツの具体的な記憶方法の一例としては、各音楽コンテンツを曲ジャンル等で分類できるように、曲ジャンル等の分類毎に対応付けられたフォルダSF(Song1,Song2,Song3・・・)に分けて、曲データセットファイルSD(Song1.html)として記憶する。1つの曲データセットファイルSD(Song1.html)は、複数のデータ(ファイル)と関連付けがなされている。各データの関連付けの方法としてはいくつかの方法がある。例えば、関連付ける各データへのリンクパスで構成される関連付けファイルを別に用意する、各データに付与するデータファイル名を共通にする一方で拡張子を各データ毎に異ならせる、コンテンツ名を冠した1つのフォルダに関連付ける各データをまとめておく、等の方法がある。勿論、上記方法に限らず、関連付ける複数のデータをユーザが容易に管理/特定することができる方法であれば、どのような方法であってもよい。   The server apparatus 10A delivers a content storage function for storing a large number of music contents and related data, and the stored music contents and related data to external devices connected via the communication network X. Has a data distribution function. The storage unit DC realizes the content storage function. Here, the storage unit DC stores a large number of music contents, and displays a list of the stored many music contents as information such as song names and artist names. A song list PLC for storing the song list is stored. As an example of a specific method for storing music contents in the storage unit DC, folders SF (Song1, Song2, Song3,...) Associated with each category of song genre so that each music content can be classified by song genre etc. ..) and is stored as a song data set file SD (Song1.html). One song data set file SD (Song1.html) is associated with a plurality of data (files). There are several methods for associating each data. For example, a separate association file composed of a link path to each piece of data to be associated is prepared, the data file name assigned to each piece of data is made common, and the extension is different for each piece of data. There is a method of collecting each data associated with one folder. Of course, the method is not limited to the above method, and any method may be used as long as the user can easily manage / specify a plurality of data to be associated.

前記互いに関連付けられる複数のデータは、ディジタルオーディオデータ(Song1.mp3)、MIDI等の演奏データ(Song1.mid)、テンポマップデータ(Song1.map)である。ディジタルオーディオデータ(Song1.mp3)はお手本となる模範演奏あるいは伴奏を発生するためのデータ(音楽コンテンツ)であって、演奏家や先生(音楽教師)などによる実際の生演奏に応じて自然楽器や電子楽器等から発生される楽音をサンプリング化しながら録音し、該録音済みのサンプリング化した楽音に対してデータ圧縮化などを施す(施さなくてもよい)ことによって生成されるデータである(つまり、MIDIなどの演奏データでない)。ディジタルオーディオデータは、典型的には曲の全パートを分けることなくミックスした状態のままで記憶されていてよいが、右手パート、左手パート、それらのマイナスワンあるいはユーザが弾かない伴奏パートなどの、パート毎に分かれたマルチチャンネルデータとして記憶されていてもよいし、あるいは前記パート毎にそれぞれが別々のデータとして記憶されていてもよい。こうしたディジタルオーディオデータにおいては、曲の再生位置の情報を、サンプリング周波数とサンプルカウントの組み合わせや、曲頭からの経過時間などで特定できるよう規定する。   The plurality of data associated with each other is digital audio data (Song1.mp3), performance data such as MIDI (Song1.mid), and tempo map data (Song1.map). Digital audio data (Song1.mp3) is data (music content) for generating a model performance or accompaniment that serves as a model. Depending on the actual live performance by a musician or teacher (music teacher), It is data generated by recording a musical tone generated from an electronic musical instrument or the like while sampling, and applying data compression to the recorded musical tone that has been recorded (ie, it may not be performed) (that is, Not performance data such as MIDI). Digital audio data may typically be stored in a mixed state without separating all parts of the song, such as right hand parts, left hand parts, their minus ones, or accompaniment parts that the user does not play, It may be stored as multi-channel data divided for each part, or may be stored as separate data for each part. In such digital audio data, information on the reproduction position of a song is specified so that it can be specified by a combination of a sampling frequency and a sample count, an elapsed time from the beginning of the song, or the like.

演奏データ(Song1.mid)は、関連付けられたディジタルオーディオデータに基づく曲等の楽音(ディジタルオーディオ信号)を電子楽器を制御して発生させることができる、例えばMIDIデータである。また、演奏データは演奏ガイドを行うために電子楽器を制御する際に必要とされる制御データでもある。テンポマップデータ(Song1.map)は、電子楽器における、サーバ装置10Aからストリーム配信される音楽コンテンツをリアルタイムに再生(分析/再構成)することによる楽音の発生と、サーバ装置10Aから擬似ストリーム配信される演奏データの再生(分析/再構成)に基づく演奏ガイドとを同期させて行うためのデータである。具体的には、ディジタルオーディオデータに規定されるサンプルカウントや時間といった音楽コンテンツにおける再生位置を特定する情報を、演奏データに規定される曲のテンポ、あるいは拍や小節といった音楽的な曲位置を特定する情報に変換するためのデータである。こうしたテンポマップデータは公知のどのようなものであってもよく、その一例を図3に示す。図3は、テンポマップデータのデータ構成の一実施例を示す概念図である。   The performance data (Song1.mid) is, for example, MIDI data that can generate musical sounds (digital audio signals) such as songs based on the associated digital audio data by controlling an electronic musical instrument. The performance data is also control data required when controlling the electronic musical instrument to perform the performance guide. Tempo map data (Song1.map) is generated in the electronic musical instrument by generating (synthesizing / reconstructing) music content stream-distributed from the server device 10A in real time and pseudo-stream distribution from the server device 10A. This is data for performing in synchronization with a performance guide based on reproduction (analysis / reconstruction) of performance data. Specifically, information specifying the playback position in music content such as sample count and time specified in digital audio data, music tempo specified in performance data, or musical song position such as beat and measure It is data for conversion into information to be performed. Such tempo map data may be any known data, and an example thereof is shown in FIG. FIG. 3 is a conceptual diagram showing an embodiment of the data structure of tempo map data.

テンポマップデータは、コンテンツ製作者がすでに収録してある演奏家や先生(音楽教師)などによる演奏の映像または音声等を再生し、その再生楽音を聴きながら一拍ごとに公知の専用装置(図示せず)のスイッチをタッピングし、そのタッピング操作の時間間隔に従いテンポの変化を記録することにより生成される。ただし、一般的に、ユーザが無理なく正確にスイッチをタッピングできる一拍間隔でのテンポ変化の記録では、曲中でのテンポ変化を捉えるには時間間隔が粗すぎるため、より細かい時間間隔で補完しながらテンポ変化を時系列に記録する。例えば、図3(a)に示すテンポマップデータのように、曲の先頭から1/24拍毎に、その時間間隔内に含まれるサンプル数を時系列に記録する。実施の演奏に応じて発生された楽音を録音する際のサンプリング周波数が48KHzであって、曲の演奏テンポが120beat/minである場合には、1/24拍に含まれるサンプル数は「1000」サンプルに相当する。ただし、図3(a)に示す例においては、1拍毎の微妙なタイミングのずれを補完するための補完値(ここでは2サンプル)が考慮されている。   The tempo map data reproduces the video or audio of the performance by the musicians or teachers (music teachers) already recorded by the content creator, and listens to the reproduced musical tone for each known beat device (see Fig. (Not shown), and a change in tempo is recorded according to the time interval of the tapping operation. However, in general, when recording a tempo change at one beat intervals that allows the user to tap the switch accurately and reasonably, the time interval is too coarse to capture the tempo change in the song, so it is supplemented with a finer time interval. While recording tempo changes in time series. For example, like the tempo map data shown in FIG. 3A, the number of samples included in the time interval is recorded in time series every 1/24 beat from the beginning of the song. If the sampling frequency for recording the musical sound generated according to the performance is 48 KHz and the performance tempo of the song is 120 beats / min, the number of samples included in 1/24 beat is “1000”. Corresponds to the sample. However, in the example shown in FIG. 3A, a complementary value (two samples in this case) is taken into consideration to compensate for a subtle timing shift for each beat.

一方、図3(b)に示すテンポマップデータは、曲毎のテンポと拍子と持続小節数を示す時系列データからなる。図3(b)に示すテンポマップデータに従うと、曲の先頭から最初の200小節まではテンポ=120,拍子=4/4、次の160小節ではテンポ=140,拍子=4/4、更に次の200小節ではテンポ=140,拍子=3/4、そして最後の200小節ではテンポ=120,拍子=4/4で曲(詳しくはディジタルオーディオデータ)が再生されることを示している。電子楽器では、このようなテンポマップデータをサーバ装置10Aから音楽コンテンツ(ディジタルオーディオデータ)及び演奏データ(MIDIデータ)の配信前に先んじて取り込んでおき、これをベースにして前記サーバ装置10Aから擬似ストリーム配信される演奏データに基づく演奏ガイドの制御を、前記サーバ装置10Aからストリーム配信される音楽コンテンツに基づき発生する楽音の進行にあわせて行う(詳しくは後述する)。なお、この実施例に示すテンポマップデータにおいては、曲の先頭の持続小節数には「−」符号が付加されている。この「−」符号は、サーバ装置10Aからストリーム配信される音楽コンテンツの再生開始から、サーバ装置10Aから擬似ストリーム配信される演奏データの再生開始(演奏ガイドの開始)までの空白期間を挿入することを意味し、「−」符号に続く数値が、その空白期間の長さ(小節数)を示している。   On the other hand, the tempo map data shown in FIG. 3B is composed of time-series data indicating the tempo, time signature, and number of continuous bars for each song. According to the tempo map data shown in FIG. 3 (b), the tempo is 120 and the time signature is 4/4 from the beginning of the song to the first 200 bars, the tempo is 140 and the time is 4/4 in the next 160 bars, and the next This means that the 200 bars of tempo = 140, time signature = 3/4, and the last 200 bars, tune = 120, time signature = 4/4, the music (specifically, digital audio data) is reproduced. In the electronic musical instrument, such tempo map data is taken in from the server device 10A prior to distribution of music content (digital audio data) and performance data (MIDI data), and based on this, it is simulated from the server device 10A. The performance guide control based on the stream-delivered performance data is performed in accordance with the progress of the musical sound generated based on the music content stream-distributed from the server device 10A (details will be described later). In the tempo map data shown in this embodiment, a “−” sign is added to the number of continuous measures at the beginning of a song. This “-” sign inserts a blank period from the start of playback of music content streamed from the server apparatus 10A to the start of playback of performance data distributed from the server apparatus 10A (start of performance guide). The numerical value following the “−” sign indicates the length (number of bars) of the blank period.

図2の説明に戻って、データ転送部FFはデータ配信機能を実現するものであり、ここではサーバ装置10Aから通信ネットワークXを介して接続された電子楽器EMに対して、記憶部DCに記憶しているデータ(ソングリストデータ、ディジタルオーディオデータ、テンポマップデータ、演奏データ)を必要に応じて、各データ毎に予め決められた配信態様で送信するものである。例えば、データ転送部FFは、通信ネットワークXを介して電子楽器EMが接続されることに応じて、ソングリストデータを電子楽器EMに対して送信する。また、通信ネットワークXを介して接続された電子楽器EMからの曲選択指示に応じて、該選択された曲に関連付けられたテンポマップデータをダウンロード配信し、さらに電子楽器EMからの再生開始指示に応じて、前記選択された曲のディジタルオーディオデータのストリーム配信と、前記選択された曲に関連付けられた演奏データの擬似ストリーム配信とを開始する。   Returning to the description of FIG. 2, the data transfer unit FF implements a data distribution function. Here, the electronic musical instrument EM connected from the server device 10 </ b> A via the communication network X is stored in the storage unit DC. The data (song list data, digital audio data, tempo map data, performance data) are transmitted in a distribution manner determined in advance for each data as required. For example, the data transfer unit FF transmits song list data to the electronic musical instrument EM in response to the electronic musical instrument EM being connected via the communication network X. Further, in accordance with a song selection instruction from the electronic musical instrument EM connected via the communication network X, tempo map data associated with the selected music is downloaded and distributed, and further, a reproduction start instruction is issued from the electronic musical instrument EM. In response, the digital audio data stream distribution of the selected song and the pseudo-stream distribution of performance data associated with the selected song are started.

サーバ装置10Aによるディジタルオーディオデータのストリーミング配信は、公知のように、例えばRTP(Real-time Transport Protocol)に従って行われる。すなわち、サーバ装置10Aは、ディジタルオーディオデータを予め決まっている固定サンプル数ずつに分け、この固定サンプル数をペイロード(パケットの中身の情報)としたパケットを生成する。このパケットには、適当な値を初期値としてデータパケットの配信毎に1つずつその値が増えるシーケンスナンバー(連番)からなるヘッダが付される。あるいは、サンプリングクロックをもとにしたタイムスタンプからなるヘッダが付される。サーバ装置10Aは、前記生成したパケット(RTPデータパケット)を電子楽器EMに対して次々と配信する。例えば、サンプリング周波数が48kHzの非圧縮オーディオデータを160サンプル毎にパケット化するものとすると、3.3ミリ秒ごとに160サンプル分のオーディオデータを含んだパケットが電子楽器EMに対して配信され、その配信される各パケットに付されているヘッダはシーケンス番号N(初期値)、N+1、N+2、・・・、あるいはタイムスタンプM、M+160、M+320、・・・となる。上記パケット通信によるデータ配信はRTPに従うものであることから(従ってUDP(User Datagram Protocol)にも従う)、サーバ装置10Aが送信したパケットを電子楽器EM側で受け取れなかった場合であっても(つまりパケットロス)、サーバ装置10Aは該当のパケットの再送を行わない。   As is well known, streaming distribution of digital audio data by the server device 10A is performed according to, for example, RTP (Real-time Transport Protocol). That is, the server apparatus 10A divides the digital audio data into predetermined fixed sample numbers, and generates a packet using the fixed sample number as a payload (packet contents information). A header consisting of a sequence number (serial number) is added to this packet with an appropriate value as an initial value, and the value is incremented by one for each delivery of the data packet. Alternatively, a header consisting of a time stamp based on the sampling clock is added. The server device 10A distributes the generated packets (RTP data packets) to the electronic musical instrument EM one after another. For example, assuming that uncompressed audio data with a sampling frequency of 48 kHz is packetized every 160 samples, a packet containing 160 samples of audio data is delivered to the electronic musical instrument EM every 3.3 milliseconds. The header attached to each packet is a sequence number N (initial value), N + 1, N + 2,..., Or a time stamp M, M + 160, M + 320,. Since the data distribution by the packet communication conforms to RTP (and therefore conforms to UDP (User Datagram Protocol)), even if the packet transmitted by the server device 10A cannot be received on the electronic musical instrument EM side (that is, Packet loss), the server apparatus 10A does not retransmit the corresponding packet.

他方、電子楽器EMは上述した図1に示すような構成であって、ユーザによるマニュアル演奏を実現できるだけでなく、通信ネットワークXを介して接続された前記サーバ装置10Aからストリーム配信される音楽コンテンツ(ディジタルオーディオデータ)に基づき再生される曲の進行にあわせて、ディスプレイ6Aに楽譜を表示する、あるいは図示しない鍵盤LEDを点灯/消灯したりするなどの演奏ガイドを、前記サーバ装置10Aからの演奏データの擬似ストリーム配信を受けて行うことができるようになっている。データ転送部FRは、サーバ装置10Aにおける上記したデータ転送部FFからソングリストデータ、ディジタルオーディオデータ、テンポマップデータ、演奏データを受信する。記憶部DEは、サーバ装置10Aから送られたソングリストデータ、テンポマップデータ及び演奏データを記憶する(図中において斜線で示す)。ソングリストデータは、通信ネットワークXを介して電子楽器EMとサーバ装置10Aとが接続されることに応じて自動的に取得されて記憶される。ユーザインタフェース部YIは、前記記憶部DEに記憶されたソングリストデータに基づき前記サーバ装置10Aに記憶されている多数の音楽コンテンツをディスプレイ6Aに一覧表示するよう、表示回路6等を制御する。ユーザは、ディスプレイ6Aに表示された曲(音楽コンテンツ)の一覧をもとに、演奏練習したい曲選択を行うことができる。テンポマップデータ及び演奏データは、ユーザが選択した曲に関連するものだけが取得されて記憶される。   On the other hand, the electronic musical instrument EM is configured as shown in FIG. 1 described above, and not only can a manual performance by a user be realized, but also music contents (streamed from the server device 10A connected via the communication network X) ( The performance data from the server device 10A is used as a performance guide such as displaying a musical score on the display 6A or turning on / off a keyboard LED (not shown) in accordance with the progress of the music reproduced based on the digital audio data). Can be received upon receiving the pseudo stream distribution. The data transfer unit FR receives song list data, digital audio data, tempo map data, and performance data from the data transfer unit FF in the server device 10A. The storage unit DE stores song list data, tempo map data, and performance data sent from the server device 10A (indicated by hatching in the drawing). The song list data is automatically acquired and stored in response to the connection of the electronic musical instrument EM and the server device 10A via the communication network X. The user interface unit YI controls the display circuit 6 and the like so that a large number of music contents stored in the server device 10A are displayed in a list on the display 6A based on the song list data stored in the storage unit DE. The user can select a song to be practiced based on a list of songs (music contents) displayed on the display 6A. Only the tempo map data and performance data related to the song selected by the user are acquired and stored.

再生部PEは、前記サーバ装置10Aからストリーム配信される音楽コンテンツ(ディジタルオーディオデータ)を再生し、楽音(ディジタルオーディオ信号)を生成する。すなわち、電子楽器EMは、サーバ装置10Aからストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生する。具体的には、サーバ装置10Aから次々と配信されるパケットをデータ転送部FRにより受信することに応じて、該受信したパケット内のペイロードをバッファリングし、バッファリングしたデータをリアルタイムに分析/再構成して楽音を生成する。電子楽器EMはパケットの受信処理において、ヘッダ内のシーケンス番号(あるいはタイムスタンプ)を監視しており、この監視によって通信ネットワークXにおける通信の混み具合(通信トラフィック量)によりパケットの到着に入れ替わりが生じたとしても、正しい順番で楽音を生成することができるようになっている。ここで、再生処理をするタイミングになっても、次に再生すべき順番のパケットが到着していない場合には、パケット生成時に用いられた所定の固定サンプル数分(例えば160サンプル分)だけ無音の楽音を生成する。つまり、到着していないパケットに続く次のパケットが先に到着していたとしても、それを前倒しで再生することはない。   The reproduction unit PE reproduces music content (digital audio data) streamed from the server device 10A and generates musical sounds (digital audio signals). That is, the electronic musical instrument EM sequentially reproduces the received music content while receiving the music content streamed from the server device 10A. Specifically, in response to receiving successively delivered packets from the server apparatus 10A by the data transfer unit FR, the payload in the received packet is buffered, and the buffered data is analyzed / reviewed in real time. Configure to generate music. The electronic musical instrument EM monitors the sequence number (or time stamp) in the header in the packet reception process, and this monitoring causes a change in the arrival of the packet due to the communication congestion (communication traffic amount) in the communication network X. Even so, it is possible to generate musical sounds in the correct order. If the next packet to be reproduced has not arrived at the timing of the reproduction process, silence is generated for a predetermined number of fixed samples (for example, 160 samples) used at the time of packet generation. Generate musical sounds. That is, even if the next packet following the packet that has not arrived has arrived first, it is not reproduced ahead of schedule.

計測部Kは、前記再生部PEにより生成された楽音(ディジタルオーディオ信号)のサンプル数をカウントし、サンプルカウント値を記憶部DEに記憶する。この計測部Kにおけるディジタルオーディオ信号からのサンプル数のカウント方法は公知のどのような方法であってもよいことから、ここではその説明を省略する。楽音出力部OTは、前記生成された楽音を発音する。MIDI再生部MPは、サーバ装置10Aから擬似ストリーム配信され記憶部DEに記憶された演奏データを、受け取り済みのものから再生できる分だけ順次に再生する。すなわち、サーバ装置10Aから擬似ストリーム配信される演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生する。また、このMIDI再生部MPは演奏データの再生時に、変換部CVから曲位置及び/又はテンポ更新情報を受信すると、曲位置及び/又は曲の再生テンポを変更した上で演奏データを再生する。変換部CVは、再生部PEによるディジタルオーディオデータの再生に応じて随時に更新されながら記憶部DEに記憶されるサンプルカウント値に基づき、ディジタルオーディオデータにおける楽音の曲位置及びテンポ情報を、演奏データにおける楽音の曲位置及びテンポ情報に変換する。MIDI再生部MPでの演奏データの再生により発生された信号(オーディオ信号)は、演奏ガイド制御部G(演奏データ提示部)に送られる。   The measuring unit K counts the number of samples of the musical sound (digital audio signal) generated by the reproducing unit PE and stores the sample count value in the storage unit DE. Since any known method for counting the number of samples from the digital audio signal in the measurement unit K may be used, the description thereof is omitted here. The musical tone output unit OT generates the generated musical tone. The MIDI playback unit MP sequentially plays back the performance data distributed from the server device 10A by the pseudo stream and stored in the storage unit DE as much as it can be played back from the received one. That is, the performance data is sequentially reproduced when a part of the performance data is downloaded while downloading the performance data distributed in the pseudo stream from the server device 10A. Further, when the MIDI playback unit MP receives the music position and / or tempo update information from the conversion unit CV during playback of the performance data, the MIDI playback unit MP changes the music position and / or the playback tempo of the music and plays back the performance data. The conversion unit CV converts the musical composition position and tempo information of the digital audio data into performance data based on the sample count value stored in the storage unit DE while being updated at any time according to the reproduction of the digital audio data by the reproduction unit PE. Is converted into musical position and tempo information of musical tone. A signal (audio signal) generated by playing the performance data in the MIDI playback section MP is sent to the performance guide control section G (performance data presentation section).

演奏ガイド制御部G(演奏データ提示部)は、前記MIDI再生部MPでの演奏データの再生により発生された信号(オーディオ信号)に基づき演奏ガイドなどの演奏データの提示を行うようユーザインタフェース部YIを制御する。演奏ガイドを行う場合、ユーザインタフェース部YIはディスプレイ6Aの表示や図示しない鍵盤LEDの点灯/消灯等を制御する。すなわち、MIDI再生部MPによる演奏データの再生時においては、演奏ガイド制御部Gからの制御指示に応じて、曲の進行にあわせてディスプレイ6Aの表示を更新したり、図示しない鍵盤LED等を点灯制御したりする。このように、ユーザインタフェース部YIは演奏ガイド制御部Gからの制御指示に基づき、表示回路6や鍵盤LED等の演奏ガイドを行う機器を駆動して、サーバ装置10Aからストリーム配信される音楽コンテンツ(ディジタルオーディオデータ)を再生することに応じて発生される楽音の進行にあわせた(同期した)演奏ガイドを行う。   The performance guide control unit G (performance data presentation unit) is a user interface unit YI that presents performance data such as a performance guide based on a signal (audio signal) generated by the reproduction of performance data by the MIDI playback unit MP. To control. When performing a performance guide, the user interface unit YI controls display on the display 6A, lighting / extinguishing of a keyboard LED (not shown), and the like. That is, when the performance data is played back by the MIDI playback section MP, the display on the display 6A is updated in accordance with the progress of the music according to the control instruction from the performance guide control section G, or a keyboard LED (not shown) is turned on. Or control. In this way, the user interface unit YI drives a device for performing performance guides such as the display circuit 6 and the keyboard LED based on the control instruction from the performance guide control unit G, and the music content streamed from the server device 10A ( A performance guide that matches (synchronizes) with the progress of the musical sound generated in response to the reproduction of (digital audio data) is performed.

次に、サーバ装置10Aからの音楽コンテンツのストリーム配信に応じた楽音の発生と、サーバ装置10Aからの演奏データの擬似ストリーム配信に応じた演奏ガイドとを同期して行う具体的な処理(演奏ガイド制御処理)について、図4及び図5を用いて説明する。ただし、ここでは図示の都合上、上記処理を処理順に前半・後半の2つの処理に分けて図示した。図4は、「演奏ガイド制御処理」における前半処理の一実施例を示すフローチャートである。図5は、「演奏ガイド制御処理」における前半処理に後続する後半処理の一実施例を示すフローチャートである。以下、図4及び図5に示したフローチャートに従って、「演奏ガイド制御処理」について説明する。   Next, specific processing (performance guide) is performed in which the generation of musical sounds according to the stream distribution of the music content from the server device 10A and the performance guide according to the pseudo stream distribution of the performance data from the server device 10A are synchronized. The control process will be described with reference to FIGS. However, here, for convenience of illustration, the above processing is divided into the first half and the second half in the order of processing. FIG. 4 is a flowchart showing an embodiment of the first half process in the “performance guide control process”. FIG. 5 is a flowchart showing an embodiment of the second half process subsequent to the first half process in the “performance guide control process”. Hereinafter, the “performance guide control process” will be described with reference to the flowcharts shown in FIGS. 4 and 5.

図4に示すように、ステップS1は、通信ネットワークXを介して接続されたサーバ装置10Aから、該サーバ装置10Aが記憶している多数の音楽コンテンツの一覧(詳しくは、曲名などを記載したソングリストデータ)を取得する。ステップS2は、前記取得したソングリストデータに基づきディスプレイ6Aに曲(音楽コンテンツ)一覧を表示して、ユーザに対して演奏練習したい曲の選択を促す。ステップS3は、ユーザによる演奏練習したい曲の選択操作に応じて、通信ネットワークXを介して接続されたサーバ装置10Aに対し、該選択された曲に関連付けられたテンポマップデータを送信するよう要求し、サーバ装置10Aからダウンロード配信されるテンポマップデータを取得する。ステップS4は、ユーザ操作に応じて、演奏練習を開始する曲の位置(演奏開始位置)、演奏練習したい曲の演奏パートを取得する。ステップS5は、演奏ガイド及び演奏データ再生のテンポと、演奏ガイド及び演奏データ再生を開始する演奏位置を初期化する。ステップS6は、ユーザ操作を待って、サーバ装置10Aに対して、演奏練習したい曲に選ばれた曲の再生を開始するよう要求する。具体的には、再生開始指示を送信する。ステップS7は、サーバ装置10Aから、演奏練習したい曲に選ばれた曲の音楽コンテンツ及び関連付けられた演奏データの配信を受け、これらのデータを取得する。すなわち、サーバ装置10Aでは前記再生開始指示を受信すると、演奏練習したい曲に選ばれた音楽コンテンツ(ディジタルオーディオデータ)のストリーム配信を開始すると共に、演奏練習したい曲に選ばれた音楽コンテンツに関連付けられている演奏データの擬似ストリーム配信を開始するので、電子楽器EMはこれらのデータ配信に従って各データを取得する。また、電子楽器EMはストリーム配信された音楽コンテンツの取得に応じて、ユーザによる再生指示等がなくても、取得した音楽コンテンツの再生を自動的に行う。   As shown in FIG. 4, in step S1, a list of a large number of music contents stored in the server device 10A from the server device 10A connected via the communication network X (specifically, a song describing a song name and the like) List data). In step S2, a list of songs (music contents) is displayed on the display 6A based on the acquired song list data, and the user is prompted to select a song to practice. The step S3 requests the server apparatus 10A connected via the communication network X to transmit tempo map data associated with the selected song in response to the user's operation for selecting the song that the user wants to practice. The tempo map data downloaded and distributed from the server device 10A is acquired. In step S4, in response to a user operation, the position of the music for which performance practice is to be started (performance start position) and the performance part of the music for which performance practice is desired are acquired. In step S5, the performance guide and performance data playback tempo and the performance position at which the performance guide and performance data playback are started are initialized. Step S6 waits for a user operation and requests the server apparatus 10A to start playback of a song selected as a song to be practiced. Specifically, a reproduction start instruction is transmitted. Step S7 receives the distribution of the music content of the song selected as the song to be practiced and the associated performance data from the server device 10A, and acquires these data. That is, when the server device 10A receives the playback start instruction, it starts streaming distribution of the music content (digital audio data) selected for the song to be played and is associated with the music content selected for the song to be played. Since the pseudo-stream distribution of the performance data is started, the electronic musical instrument EM acquires each data according to the data distribution. In addition, the electronic musical instrument EM automatically reproduces the acquired music content in response to the acquisition of the stream-distributed music content without a user's instruction for reproduction.

図5に示すように、ステップS8は、サーバ装置10Aからストリーム配信されるパケットに欠落があるか否か、つまりサーバ装置10Aが送信したパケットのうち電子楽器EM側で受け取れなかったパケット(パケットロス)があるか否かを判定する。このパケットの欠落は、該当のパケット到着のタイムアウトを検出することで判断する。パケットに欠落がないと判定した場合には(ステップS8のno)、受信したパケットを正しい順序に従って各パケット内に含まれるディジタルオーディオデータの再生を行うと共に、再生したディジタルオーディオデータを計測してサンプルカウント値を更新する(ステップS9)。ステップS10は、前記ステップS3においてサーバ装置10Aからダウンロード済みのテンポマップデータを用いて、前記計測したサンプルカウント値に従い現在再生中の曲の音楽的な曲位置(例えば小節、拍等)を求める。前記サンプルカウント値は、現在再生中の音楽コンテンツの再生位置であり、音楽コンテンツに基づく楽音の生成を制御するための、音楽コンテンツにおける制御単位である。一方、音楽的な曲位置は、演奏データに基づく楽音の生成を制御するための、演奏データにおける制御単位である。すなわち、ここでは音楽コンテンツの制御単位である現在再生中の音楽コンテンツの再生位置を、演奏データの制御単位である音楽的な曲位置に変換する。   As shown in FIG. 5, in step S8, whether or not there is a missing packet streamed from the server apparatus 10A, that is, a packet (packet loss) that was not received on the electronic musical instrument EM side among the packets transmitted by the server apparatus 10A. ) Is determined. This packet loss is determined by detecting the timeout of arrival of the corresponding packet. When it is determined that there is no missing packet (no in step S8), the digital audio data included in each packet is reproduced in the correct order for the received packet, and the reproduced digital audio data is measured and sampled. The count value is updated (step S9). In step S10, using the tempo map data downloaded from the server device 10A in step S3, the musical song position (eg, bar, beat, etc.) of the currently played song is obtained according to the measured sample count value. The sample count value is a playback position of the music content currently being played back, and is a control unit in the music content for controlling the generation of a musical sound based on the music content. On the other hand, the musical song position is a control unit in the performance data for controlling the generation of musical sounds based on the performance data. That is, here, the playback position of the currently played music content, which is the control unit of the music content, is converted into a musical song position, which is the control unit of the performance data.

ステップS11は、前記求めた音楽的な曲位置に応じて、演奏データに基づき再生中の曲のカレントポジション(再生位置)、テンポを更新する。例えば、所定時間経過後にサーバ装置10Aからのストリーム配信に応じて再生されている曲と曲位置が一致するように、演奏データに基づく再生中の曲の再生位置や再生テンポを更新する。ステップS12は、前記更新したカレントポジション及びテンポに応じて、再生中の演奏データのカレントポジション(再生位置)、テンポを変更するとともに、演奏データの再生に基づいて演奏ガイドを行う。すなわち、サーバ装置10Aからのストリーム配信に応じて再生されている曲の再生位置及び曲の再生テンポと、サーバ装置10Aから擬似ストリーム配信された演奏データに基づく演奏ガイド位置と演奏ガイドのためのテンポとを一致させて、ストリーム配信に応じて発せられる楽音に同期した演奏ガイドを行うようにする。なお、演奏データ内にテンポ情報が定義されていても、そのテンポ情報は無視する。ステップS13は、ユーザによるマニュアル演奏操作に応じて楽音を発生する。ステップS14は、曲の終端つまり演奏データの終わりまで再生位置が達したか否かを判定する。曲の終端まで再生が行われたと判定した場合、つまり再生が終了した場合には(ステップS14のyes)、当該処理を終了する。一方、曲の終端まで再生が行われていないと判定した場合には(ステップS14のno)、ステップS8の処理に戻って、上記ステップS8〜ステップS14の処理を繰り返し実行する。   Step S11 updates the current position (playback position) and tempo of the song being played based on the performance data in accordance with the obtained musical song position. For example, the playback position and playback tempo of the song being played based on the performance data are updated so that the song position matches the song being played according to the stream distribution from the server device 10A after a predetermined time has elapsed. In step S12, the current position (reproduction position) and tempo of the performance data being reproduced are changed according to the updated current position and tempo, and a performance guide is performed based on the reproduction of the performance data. That is, the playback position and playback tempo of the song being played in response to the stream distribution from the server apparatus 10A, the performance guide position based on the performance data distributed from the server apparatus 10A and the tempo for the performance guide And the performance guide synchronized with the musical sound emitted in response to the stream distribution is performed. Even if tempo information is defined in the performance data, the tempo information is ignored. Step S13 generates a musical sound in response to a manual performance operation by the user. In step S14, it is determined whether or not the reproduction position has reached the end of the song, that is, the end of the performance data. When it is determined that the playback has been performed up to the end of the song, that is, when the playback has ended (yes in step S14), the processing ends. On the other hand, when it is determined that the reproduction has not been performed up to the end of the music (no in step S14), the process returns to step S8, and the processes in steps S8 to S14 are repeatedly executed.

一方、上記ステップS8において、パケットに欠落があると判定した場合には(ステップS8のyes)、欠落したパケット内に含まれていたサンプル数だけ、サンプルカウント値を更新し(ステップS15)、また演奏データの再生を一時停止する。すなわち、次に再生すべき順番のパケットが到着していない場合(パケットロスがある場合)には、パケット生成時に用いられた所定の固定サンプル数分(例えば160サンプル分)だけ無音の楽音が生成されることから、この無音である時間分だけ演奏データの再生を一時停止して、無音部分の演奏ガイドを行わないことは勿論のこと、発生される楽音より演奏ガイドを必要以上に先に進行して行わないないようにする。上記ステップS15及びS16の処理後は、ステップS8の処理へ戻る。 On the other hand, if it is determined in step S8 that the packet is missing (yes in step S8), the sample count value is updated by the number of samples included in the missing packet (step S15). Pauses playback of performance data. In other words, if the next packet to be played back has not arrived (if there is a packet loss), silent music is generated for the predetermined number of fixed samples (for example, 160 samples) used at the time of packet generation. As a result, the performance data is paused for the duration of silence, and the performance guide is advanced more than necessary before the generated music. Do not do it. After the processes in steps S15 and S16, the process returns to step S8.

以上のようにして、本発明に係る電子楽器は、通信ネットワークを介して接続されたサーバ装置からストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生する。また、前記サーバ装置から擬似ストリーム配信される前記音楽コンテンツに関連する演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生し、これに基づき演奏ガイドを行う。これらの処理を同時に行う場合に、前記再生中の音楽コンテンツの再生位置を取得し、予めサーバ装置から取得済みの前記音楽コンテンツに関連付けられたテンポマップデータに基づき、前記取得した音楽コンテンツの再生位置を、前記演奏データに基づく楽音の生成を制御するための音楽的な曲位置に変換する。そして、この変換された音楽的な曲位置にあわせるようにして、再生位置及び/又は再生テンポを変更しながら前記演奏データを再生する。これにより、前記サーバ装置からストリーム配信される音楽コンテンツの再生に同期させて、前記サーバ装置から擬似ストリーム配信される演奏データを再生しての演奏ガイドが行われる。こうすると、ユーザが十分な記憶容量のある記憶手段を有していない電子楽器を利用する場合であっても、電子楽器を通信ネットワークを介してサーバ装置に接続するだけで、伴奏やお手本となる模範演奏等を参考にしながら、また伴奏やお手本となる模範演奏の進行に同期した演奏ガイドなどの演奏データの提示を受けながらの効果的な演奏練習を、ユーザはいつでもどこででも簡単且つすぐに行うことができる。さらには、サーバ装置に、予め音楽コンテンツと演奏ガイドなどの演奏データの提示とを同期するための専用の配信データを生成しておく必要がない。   As described above, the electronic musical instrument according to the present invention sequentially receives the music content received at the same time while receiving the music content stream-distributed from the server device connected via the communication network. In addition, while downloading performance data related to the music content distributed in a pseudo stream from the server device, the performance data is sequentially reproduced when a part of the performance data is downloaded, and a performance guide is based on the performance data. I do. When performing these processes simultaneously, the playback position of the music content being played back is acquired, and the playback position of the acquired music content is acquired based on tempo map data associated with the music content acquired in advance from the server device. Are converted into musical song positions for controlling the generation of musical sounds based on the performance data. Then, the performance data is reproduced while changing the reproduction position and / or reproduction tempo so as to match the converted musical musical position. As a result, a performance guide is performed by reproducing the performance data distributed from the server device in synchronization with the reproduction of the music content distributed from the server device. In this way, even if the user uses an electronic musical instrument that does not have a storage means with a sufficient storage capacity, simply connecting the electronic musical instrument to the server device via the communication network provides an accompaniment or a model. Users can easily and quickly perform performance performance anywhere and anytime while referring to model performances and receiving performance data such as performance guides that are synchronized with the progression of model performances that serve as examples and accompaniment. be able to. Furthermore, it is not necessary to previously generate dedicated distribution data for synchronizing the music content and presentation of performance data such as a performance guide in the server device.

なお、サーバ装置による音楽コンテンツのストリーム配信に応じた楽音の発生、電子楽器による演奏データの再生に応じた演奏ガイド、ユーザの演奏操作子(鍵盤)操作による電子楽器の楽音生成は、右手/左手/両手などの練習パートを指定することでパート切り替えをするようにすると、演奏練習がより効果的に行えることができ便利である。
なお、外部のサーバ装置からストリーム配信する音楽コンテンツとしては、ディジタルオーディオデータに限らない。例えば、お手本となる模範の演奏操作を録画した動画データ(楽音+映像)であってもよい。この場合、電子楽器は、ディジタルオーディオ信号のサンプル数をカウントするのではなく、動画データに含まれる動画情報であるフレーム数をカウントし、該カウントしたフレーム数に従ってサーバ装置における動画データの再生との同期を行うようにするとよい。さらに、音楽コンテンツの内容としては、お手本となる模範演奏や伴奏に限らず、例えば演奏家や演奏指導者等による音声による演奏指示や演奏時における留意点など、どのような内容であってもよい。
なお、外部のサーバ装置から擬似ストリーム配信する演奏データとしてはMIDIデータに限らず、電子楽器において演奏ガイドなどの演奏データの提示を行うことができるものであればどのようなものであってもよい。例えば、演奏データは論理楽譜データであってもよい。楽譜を利用した演奏ガイドを行う場合には、データサイズが必然的に大きくなるビットマップデータを利用するよりも、ビットマップデータに比較してデータサイズが小さい論理楽譜データを用いると、曲の進行に対して楽譜表示の更新が少なくてすむ。したがって、このような論理楽譜データをサーバ装置から取得して演奏ガイドを行う場合には、特に本発明が効果的である。
Note that the generation of musical sounds according to the stream distribution of music content by the server device, the performance guide according to the reproduction of performance data by the electronic musical instrument, and the generation of musical sounds of the electronic musical instrument by the user's performance operation (keyboard) operation / It is convenient that you can practice performance more effectively by switching the parts by specifying practice parts such as both hands.
Note that the music content stream-distributed from an external server device is not limited to digital audio data. For example, it may be video data (musical sound + video) in which a model performance operation as a model is recorded. In this case, the electronic musical instrument does not count the number of samples of the digital audio signal, but counts the number of frames, which is moving image information included in the moving image data, and the reproduction of the moving image data in the server device according to the counted number of frames. It is recommended to synchronize. Furthermore, the content of the music content is not limited to a model performance or accompaniment as a model, but may be any content such as a voice instruction by a performer or performance instructor or points to be noted during performance. .
Note that the performance data delivered from the external server device to the pseudo stream is not limited to MIDI data, and any performance data such as a performance guide can be presented on an electronic musical instrument. . For example, the performance data may be logical score data. When performing musical performance guides using musical scores, using logical musical score data with a smaller data size compared to bitmap data rather than using bitmap data, which inevitably increases the data size, the progression of the song In contrast, the score display needs to be updated less. Therefore, the present invention is particularly effective when performing performance guidance by acquiring such logical score data from the server device.

なお、サーバ装置に記憶される音楽コンテンツ、ソングリストデータ、演奏データ及びテンポマップデータ等の各種データの作成・更新・変更、あるいはそれらの各データの対応付け設定などを、ユーザが電子楽器から任意に行うことができるようになっていてもよい。
なお、演奏データの提示はユーザに対して次に演奏すべき演奏操作子を提示することができる演奏ガイドの態様は勿論のこと、それ以外のどのような提示態様であってもよく、上記した以外にも、例えば自機が有する演奏操作子(鍵盤)4Aを駆動して自動的に押鍵動作を行う、音源回路7を駆動して楽音を発生する、などの提示態様であってもよい。また、演奏ガイドは演奏すべき時間的位置に応じて楽譜形式などで表示するようにしてもよいが、その場合、擬似ストリームとして一括取得した演奏データを用い、演奏すべき時間的位置の前後まで表示するようにするとよい。
In addition, the user can arbitrarily create, update, and change various data such as music contents, song list data, performance data, and tempo map data stored in the server device, or set correspondence between these data from the electronic musical instrument. You may be able to do that.
The performance data may be presented in any other manner of presentation as well as a performance guide that can present the performance operator to be performed next to the user. In addition, for example, a presentation mode such as driving the performance operator (keyboard) 4A of the own device to automatically perform a key pressing operation, driving the tone generator circuit 7 to generate a musical sound, or the like may be used. . In addition, the performance guide may be displayed in the form of a musical score according to the time position where the performance is to be performed. In this case, the performance data obtained as a batch is used as a pseudo stream and before and after the time position where the performance is to be performed. It should be displayed.

この発明に係る電子楽器の全体構成を示したハード構成ブロック図である。1 is a block diagram of a hardware configuration showing an overall configuration of an electronic musical instrument according to the present invention. 演奏ガイド連動機能の一実施例を模式的に示したブロック図である。It is the block diagram which showed typically one Example of the performance guide interlocking | linkage function. テンポマップデータの一実施例を示す概念図である。It is a conceptual diagram which shows one Example of tempo map data. 演奏ガイド制御処理の前半処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of the first half process of a performance guide control process. 演奏ガイド制御処理の前半処理の一実施例を示すフローチャートである。It is a flowchart which shows one Example of the first half process of a performance guide control process.

符号の説明Explanation of symbols

1…CPU、1A・・・タイマ、2…ROM、3…RAM、4・・・演奏操作検出回路、5…設定操作検出回路、4A…演奏操作子、5A…設定操作子、6…表示回路、6A…ディスプレイ、7…音源回路、8…効果回路、8A…サウンドシステム、9…外部記憶装置、10…通信ネットワークインタフェース、10A…サーバ装置、11…MIDIインタフェース、11A…MIDI機器、1D…通信バス、X…通信ネットワーク、EM・・・電子楽器、DC(DE)・・・記憶部、SF・・・ソングフォルダ、SD・・・ソングファイル、PLC・・・ソングリスト、FF(FR)・・・データ転送部、K・・・計測部、CV・・・変換部、PE・・・再生部、MP・・・MIDI再生部、YI・・・ユーザインタフェース部、G・・・演奏ガイド制御部、OT・・・楽音出力部 DESCRIPTION OF SYMBOLS 1 ... CPU, 1A ... Timer, 2 ... ROM, 3 ... RAM, 4 ... Performance operation detection circuit, 5 ... Setting operation detection circuit, 4A ... Performance operation element, 5A ... Setting operation element, 6 ... Display circuit , 6A ... display, 7 ... sound source circuit, 8 ... effect circuit, 8A ... sound system, 9 ... external storage device, 10 ... communication network interface, 10A ... server device, 11 ... MIDI interface, 11A ... MIDI device, 1D ... communication Bus, X ... Communication network, EM ... Electronic musical instrument, DC (DE) ... Memory, SF ... Song folder, SD ... Song file, PLC ... Song list, FF (FR) ..Data transfer unit, K ... Measurement unit, CV ... Conversion unit, PE ... Play unit, MP ... MIDI playback unit, YI ... User interface unit, G ... Performance guide control Part OT ··· tone output section

Claims (2)

多数の音楽コンテンツを、前記音楽コンテンツの再生に基づき生成される楽音に対応する演奏データと、再生すべき楽音のテンポ及びその変化を示すテンポマップデータとにそれぞれ関連付けて記憶する機能を有するとともに、該記憶した音楽コンテンツ、演奏データ、テンポマップデータをそれぞれ配信する機能を有するサーバ装置を通信ネットワークを介して接続する接続手段と、
前記サーバ装置に記憶済みの多数の音楽コンテンツのうち、いずれかを指定する指定手段と、
前記サーバ装置から、前記指定した音楽コンテンツに関連付けられたテンポマップデータを取得するデータ取得手段と、
前記指定した音楽コンテンツの配信を開始するよう、前記サーバ装置に対して指示する指示手段と、
前記サーバ装置から前記指示に応じてストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生する第1の再生手段と、
前記サーバ装置から前記指示に応じて擬似ストリーム配信される演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生する第2の再生手段と、
前記再生中の音楽コンテンツの再生位置を取得する取得手段と、
前記取得済みのテンポマップデータに基づき、前記取得した音楽コンテンツの再生位置を、演奏データに基づく楽音の生成を制御するための音楽的な曲位置に変換する変換手段と、
前記変換された音楽的な曲位置に基づき、前記再生中の演奏データの再生位置及び/又は再生テンポを変更する変更手段と、
前記演奏データの再生に従って所定の態様で演奏データを提示する演奏データ提示手段と
を具えてなり、
前記サーバ装置からストリーム配信される音楽コンテンツの再生に同期させて、前記サーバ装置から擬似ストリーム配信される演奏データを再生して所定の態様で演奏データを提示することを特徴とする電子楽器。
A function of storing a large number of music contents in association with performance data corresponding to musical sounds generated based on the reproduction of the music contents, and tempo map data indicating the tempo of the musical sounds to be reproduced and changes thereof, respectively. Connection means for connecting a server device having a function of distributing the stored music content, performance data, and tempo map data via a communication network;
A designation means for designating any one of a large number of music contents stored in the server device;
Data acquisition means for acquiring tempo map data associated with the designated music content from the server device;
Instruction means for instructing the server device to start distribution of the designated music content;
A first reproduction means for sequentially reproducing the music content that has already been received while receiving the music content that is stream-distributed according to the instruction from the server device;
Second playback means for sequentially playing back the performance data when a part of the performance data is downloaded while downloading performance data distributed in a pseudo stream according to the instruction from the server device;
Obtaining means for obtaining a reproduction position of the music content being reproduced;
Conversion means for converting the playback position of the acquired music content based on the acquired tempo map data into a musical song position for controlling generation of musical sound based on performance data;
Changing means for changing the playback position and / or playback tempo of the performance data being played based on the converted musical song position;
Comprising performance data presenting means for presenting performance data in a predetermined manner according to reproduction of the performance data,
An electronic musical instrument, wherein performance data is reproduced in a predetermined manner by reproducing performance data distributed from the server device in synchronization with reproduction of music content stream-distributed from the server device.
コンピュータに、
多数の音楽コンテンツを、前記音楽コンテンツの再生に基づき生成される楽音に対応する演奏データと、再生すべき楽音のテンポ及びその変化を示すテンポマップデータとにそれぞれ関連付けて記憶する機能を有するとともに、該記憶した音楽コンテンツ、演奏データ、テンポマップデータをそれぞれ配信する機能を有するサーバ装置を通信ネットワークを介して接続する手順と、
前記サーバ装置に記憶済みの多数の音楽コンテンツのうち、いずれかを指定する手順と、
前記サーバ装置から、前記指定した音楽コンテンツに関連付けられたテンポマップデータを取得する手順と、
前記指定した音楽コンテンツの配信を開始するよう、前記サーバ装置に対して指示する手順と、
前記サーバ装置から前記指示に応じてストリーム配信される音楽コンテンツを受信しながら、同時に受信済みの前記音楽コンテンツを順次に再生する手順と、
前記サーバ装置から前記指示に応じて擬似ストリーム配信される演奏データをダウンロードしながら、前記演奏データの一部がダウンロードされた段階で前記演奏データを順次に再生する手順と、
前記再生中の音楽コンテンツの再生位置を取得する手順と、
前記取得済みのテンポマップデータに基づき、前記取得した音楽コンテンツの再生位置を、演奏データに基づく楽音の生成を制御するための音楽的な曲位置に変換する手順と、
前記変換された音楽的な曲位置に基づき、前記再生中の演奏データの再生位置及び/又は再生テンポを変更する手順と、
前記演奏データの再生に従って所定の態様で演奏データを提示する手順と
を実行させるためのプログラム。
On the computer,
A function of storing a large number of music contents in association with performance data corresponding to musical sounds generated based on the reproduction of the music contents, and tempo map data indicating the tempo of the musical sounds to be reproduced and changes thereof, respectively. Connecting a server device having a function of delivering the stored music content, performance data, and tempo map data via a communication network;
A procedure for designating any one of a large number of music contents stored in the server device;
Obtaining tempo map data associated with the designated music content from the server device;
A procedure for instructing the server device to start distributing the designated music content;
A procedure for sequentially playing back the music content that has been received simultaneously while receiving the music content that is streamed in response to the instruction from the server device;
A procedure of sequentially playing the performance data when a part of the performance data is downloaded while downloading the performance data distributed in a pseudo stream according to the instruction from the server device;
Obtaining a playback position of the music content being played;
A procedure for converting the playback position of the acquired music content into a musical song position for controlling generation of musical sound based on performance data based on the acquired tempo map data;
Changing the playback position and / or playback tempo of the performance data being played based on the converted musical song position;
A program for executing a procedure for presenting performance data in a predetermined manner in accordance with reproduction of the performance data.
JP2007073341A 2007-03-20 2007-03-20 Electronic musical instruments and programs Expired - Fee Related JP5109425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007073341A JP5109425B2 (en) 2007-03-20 2007-03-20 Electronic musical instruments and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007073341A JP5109425B2 (en) 2007-03-20 2007-03-20 Electronic musical instruments and programs

Publications (2)

Publication Number Publication Date
JP2008233557A true JP2008233557A (en) 2008-10-02
JP5109425B2 JP5109425B2 (en) 2012-12-26

Family

ID=39906401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007073341A Expired - Fee Related JP5109425B2 (en) 2007-03-20 2007-03-20 Electronic musical instruments and programs

Country Status (1)

Country Link
JP (1) JP5109425B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010151936A (en) * 2008-12-24 2010-07-08 Yamaha Corp Electronic keyboard instrument and program for attaining method for controlling the same
JP2013542480A (en) * 2010-08-23 2013-11-21 ザ パブリック レコード,インコーポレイテッド A virtual studio that finds and develops general talent
WO2014136206A1 (en) * 2013-03-05 2014-09-12 パイオニア株式会社 Musical-performance-data correction device, musical-performance-data correction method, audio recording/playback device, computer program, and recording medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09288484A (en) * 1996-04-19 1997-11-04 Yamaha Corp Recording and reproducing device and recording method of recording medium
WO2000054249A1 (en) * 1999-03-08 2000-09-14 Faith, Inc. Data reproducing device, data reproducing method, and information terminal
JP2002062884A (en) * 2001-06-27 2002-02-28 Yamaha Corp Method and terminal for data transmission and reception, and storage medium stored with program regarding method for data transmission and reception
JP2003271156A (en) * 2002-03-15 2003-09-25 Yamaha Corp Synchronization adjusting device and program for realizing synchronization adjusting method
JP2005173136A (en) * 2003-12-10 2005-06-30 Yamaha Corp Music system, and music data transmitting and receiving apparatus
JP2007298786A (en) * 2006-05-01 2007-11-15 Nintendo Co Ltd Musical sound reproduction program and musical sound reproduction apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09288484A (en) * 1996-04-19 1997-11-04 Yamaha Corp Recording and reproducing device and recording method of recording medium
WO2000054249A1 (en) * 1999-03-08 2000-09-14 Faith, Inc. Data reproducing device, data reproducing method, and information terminal
JP2002062884A (en) * 2001-06-27 2002-02-28 Yamaha Corp Method and terminal for data transmission and reception, and storage medium stored with program regarding method for data transmission and reception
JP2003271156A (en) * 2002-03-15 2003-09-25 Yamaha Corp Synchronization adjusting device and program for realizing synchronization adjusting method
JP2005173136A (en) * 2003-12-10 2005-06-30 Yamaha Corp Music system, and music data transmitting and receiving apparatus
JP2007298786A (en) * 2006-05-01 2007-11-15 Nintendo Co Ltd Musical sound reproduction program and musical sound reproduction apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010151936A (en) * 2008-12-24 2010-07-08 Yamaha Corp Electronic keyboard instrument and program for attaining method for controlling the same
JP2013542480A (en) * 2010-08-23 2013-11-21 ザ パブリック レコード,インコーポレイテッド A virtual studio that finds and develops general talent
WO2014136206A1 (en) * 2013-03-05 2014-09-12 パイオニア株式会社 Musical-performance-data correction device, musical-performance-data correction method, audio recording/playback device, computer program, and recording medium
JPWO2014136206A1 (en) * 2013-03-05 2017-02-09 パイオニア株式会社 Performance data correction device, performance data correction method, recording / playback device, computer program, and recording medium

Also Published As

Publication number Publication date
JP5109425B2 (en) 2012-12-26

Similar Documents

Publication Publication Date Title
US8697975B2 (en) Musical performance-related information output device, system including musical performance-related information output device, and electronic musical instrument
JP2011516907A (en) Music learning and mixing system
JP5151245B2 (en) Data reproducing apparatus, data reproducing method and program
JP6729052B2 (en) Performance instruction device, performance instruction program, and performance instruction method
JP5109425B2 (en) Electronic musical instruments and programs
JP3915807B2 (en) Automatic performance determination device and program
KR101453177B1 (en) Mixing data delivery server
CN112119456B (en) Arbitrary signal insertion method and arbitrary signal insertion system
JP5109426B2 (en) Electronic musical instruments and programs
JP2006126710A (en) Playing style determining device and program
JP2008187549A (en) Support system for playing musical instrument
JP2018112725A (en) Music content transmitting device, music content transmitting program and music content transmitting method
JP3552675B2 (en) Waveform generation method and apparatus
JP2018112724A (en) Performance guide device, performance guide program and performance guide method
JP4161714B2 (en) Karaoke equipment
KR102524870B1 (en) Device for serving dance image based on midi sound and method for the same, and recording medium readable by computing device
JP2019040167A (en) Karaoke device and control method thereof
JP2008244888A (en) Communication device, communication method, and program
JP4033146B2 (en) Karaoke equipment
JP2004302232A (en) Karaoke playing method and karaoke system for processing choral song and vocal ensemble song
JP2008197501A (en) Electronic instrument and performance data utilization program
JP3876896B2 (en) Waveform generation method and apparatus
JP4067007B2 (en) Arpeggio performance device and program
JP5505012B2 (en) Electronic music apparatus and program
JP3829707B2 (en) Waveform generating apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120405

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: 20120911

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120924

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151019

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees