JP4229058B2 - Terminal device and recording medium - Google Patents
Terminal device and recording medium Download PDFInfo
- Publication number
- JP4229058B2 JP4229058B2 JP2004358444A JP2004358444A JP4229058B2 JP 4229058 B2 JP4229058 B2 JP 4229058B2 JP 2004358444 A JP2004358444 A JP 2004358444A JP 2004358444 A JP2004358444 A JP 2004358444A JP 4229058 B2 JP4229058 B2 JP 4229058B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- music
- terminal device
- music piece
- piece
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
- Electrophonic Musical Instruments (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Description
本発明は、端末装置において楽曲データから楽曲を再生する技術に関する。 The present invention relates to a technique for reproducing music from music data in a terminal device.
携帯電話機等の携帯端末において、発音用シーケンスデータあるいはADPCM(Adaptive Differential Pulse Code Modulation)データのような発音データ等、様々なデータ形式(フォーマット)の発音データを再生する技術が開発されている(例えば、特許文献1参照)。このようなデータ形式で記述された楽曲データを携帯電話機等の携帯端末にあらかじめ記憶、あるいは楽曲データ配信サーバ等に通信回線を介して楽曲データをダウンロードして記憶するようにして、これを用いて、携帯電話機等の携帯端末に、いわゆる着信メロディ等の楽曲を再生させることができる。
ところで上述の形式の発音データを携帯端末で再生させようとする際には、携帯端末にあらかじめ再生させようとする発音データが記憶されている必要がある。ここで、この発音データのデータサイズが大きい場合には大きいサイズのままで記憶あるいはダウンロードされることになる。したがって、メモリの記憶容量やデータ通信の転送速度等のリソースが乏しい携帯端末においては、このような発音データは多くのリソースを消費し、場合によってはリソースが不足してしまうという問題があった。また、このようにリソースが制限された環境においては、転送できるデータサイズに制限があるため高品質の楽曲を再生させることは難しく、着信メロディ等のコンテンツ提供者が、再生される楽曲の高品質化を望むユーザの要求に応えられないという問題もあった。
本発明は上述の事情に鑑みてなされたものであり、小さなデータサイズで、高品質の楽曲を記憶、配信可能な楽曲データを再生する楽曲再生システムを提供することを目的とする。
By the way, when the pronunciation data in the above format is to be reproduced on the portable terminal, the pronunciation data to be reproduced on the portable terminal needs to be stored in advance. Here, when the data size of the sound generation data is large, it is stored or downloaded in the large size. Therefore, in a portable terminal with scarce resources such as a memory storage capacity and a data communication transfer speed, such sound generation data consumes a lot of resources, and in some cases, the resources are insufficient. Also, in such an environment where resources are limited, it is difficult to play high quality music because there is a limit on the size of data that can be transferred. There was also a problem that it was not possible to meet the demands of users who wanted to make it easier.
The present invention has been made in view of the above circumstances, and an object thereof is to provide a music reproduction system that reproduces music data that can store and distribute high-quality music with a small data size.
上述の課題を解決するため、本発明は、楽曲を再生する機能およびネットワークに接続する機能を有する端末装置に、楽曲の再生を指示する楽曲データであって、データ内の所定の位置に、楽曲の少なくとも一部分に対応する楽曲素片データの前記ネットワーク内の所在を示す所在情報が記載された構造を有する楽曲データを提供する。
好ましい態様において、前記楽曲データは複数チャンネルからなる構造を有し、前記データ内の所定の位置は、前記楽曲素片を再生すべきチャンネルと再生すべき時間に対応した位置である。
別の好ましい態様において、前記所在情報は、再生すべき楽曲素片を記憶するサーバのサーバ名とその楽曲素片のファイル名とを含む。
In order to solve the above-described problems, the present invention provides music data that instructs a terminal device having a function of playing music and a function of connecting to a network to play music, and the music is placed at a predetermined position in the data. Music data having a structure in which location information indicating the location in the network of music piece data corresponding to at least a part of the music piece data is provided.
In a preferred embodiment, the music data has a structure composed of a plurality of channels, and the predetermined position in the data is a position corresponding to a channel to be played back and a time to be played back.
In another preferred aspect, the location information includes a server name of a server that stores a musical piece to be reproduced and a file name of the musical piece.
また、本発明は、上記の楽曲データを記憶する第1の記憶手段と、前記所在情報により示される楽曲素片データの少なくとも1部分を、前記ネットワークを介して取得する通信手段と、前記通信手段により取得した楽曲素片データを記憶する第2の記憶手段と、前記第1の記憶手段に記憶されている楽曲データおよび前記第2の記憶手段に記憶されている楽曲素片データに従って楽曲を再生する楽曲再生手段とを有する端末装置を提供する。
好ましい態様において、この端末装置は、前記第2の記憶手段の空き容量を監視する監視手段と、前記監視手段により監視される空き容量があらかじめ決められた条件を満足したときに前記楽曲素片データの取得を指示するダウンロード要求を生成するダウンロード要求生成手段とをさらに有する。
別の好ましい態様において、前記通信手段は、前記楽曲データを送信または受信する機能を有する。
以上の態様において、前記端末装置は携帯可能な端末装置であってもよい。
Further, the present invention provides a first storage means for storing the music data, a communication means for acquiring at least a part of music piece data indicated by the location information via the network, and the communication means. The second storage means for storing the music piece data acquired by the above, the music data stored in the first storage means and the music piece according to the music piece data stored in the second storage means A terminal device having a music reproducing means for performing is provided.
In a preferred aspect, the terminal device includes a monitoring unit that monitors the free space of the second storage unit, and the music piece data when the free space monitored by the monitoring unit satisfies a predetermined condition. Download request generating means for generating a download request instructing acquisition of the download request.
In another preferred aspect, the communication means has a function of transmitting or receiving the music data.
In the above aspect, the terminal device may be a portable terminal device.
本発明によれば、楽曲の一部分の楽曲素片データがネットワークを介して取得されるので、記憶容量の限られた端末においても高品質の楽曲(音声)を再生することが可能となる。 According to the present invention, music piece data of a part of a music piece is acquired via a network, so that a high-quality music piece (voice) can be reproduced even on a terminal having a limited storage capacity.
以下、図面を参照して本発明の一実施形態について説明する。
<1.構成>
図1は、本実施形態に係る楽曲配信システム1の構成を示すブロック図である。配信サーバ10は、mp3データ等のストリームオーディオデータを記録したデータベースDB1を有する。配信サーバ10はインターネット等のネットワーク70を介して他の機器と通信可能である。配信サーバ20はデータベースDB2を有し、配信サーバ10と同様の機能を有する。携帯電話機、PDA(Personal Digital Assistance)等の携帯端末50は、基地局30、基地局40およびネットワーク70を介して他の機器と通信可能である。すなわち、携帯端末50は、基地局30(あるいは基地局40)およびネットワーク70を介して配信サーバ10あるいは配信サーバ20と通信することができる。携帯端末60も携帯端末50と同様の機能を有する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
<1. Configuration>
FIG. 1 is a block diagram showing a configuration of a music distribution system 1 according to the present embodiment. The
図2は、携帯端末50のハードウェア構成を示すブロック図である。CPU(Central Processing Unit)51は、RAM(Random Access Memory)55を作業エリアとして、ROM(Read Only Memory)52に記憶されているプログラムを読み出して実行する。CPU51はまた、携帯端末50の各構成要素を制御する機能を有する。本実施形態に係る携帯端末50は携帯電話機であって、マイクから集音された音声を音声処理部54によってアナログ/デジタル変換し、デジタル変換された音声データを通信部53を介して無線送信する機能を有する。また、携帯端末50はネットワーク70を介して送信された音声データを通信部53により受信する。受信された音声データは音声処理部54によりデジタル/アナログ変換され、スピーカから音声として出力される。さらに、携帯端末50は、音声データだけでなく、mp3データ等のストリームオーディオデータや、SMF(Standard MIDI File)あるいはSMAF(Synthetic music Mobile Application Format)等の演奏制御データや、電子メールメッセージや、アプリケーションソフトウェア等のデータ(コンテンツ)を通信部53を介して通信することができる。これらのデータはRAM55に保存される。
FIG. 2 is a block diagram illustrating a hardware configuration of the
表示部56はLCD(Liquid Crystal Display)等の表示装置を有し、CPU51の制御下で文字や画像を表示する。携帯端末50の使用者は、表示部56に表示された文字や画像を見ながら、テンキーや十字キー等からなる入力部57を操作することにより携帯端末50に対し指示入力を行うことができる。バイブレータ58は、CPU51の制御下で振動し、使用者に着信等を通知する機能を有する。音源部100については以下で詳細に説明する。以上の各構成要素は、バス99を介して相互に接続されている。
The
図3は、音源部100の構成を示すブロック図である。音源部100は、SMFあるいはSMAF等の演奏制御データおよびmp3データ等の波形圧縮データを再生する機能を有する。演奏制御データの再生が指示されると、CPU51はRAM55に記憶されている演奏制御データ(の一部)を音源部100に供給する。演奏制御データはI/F101を介してFIFO(First-In First-Out)102にそのデータの先頭から順次所定量が取り込まれ一時記憶される。FIFO102は、演奏制御データを限られた量だけ格納できる記憶手段であり、先に書き込まれた演奏制御データから順次読み出されるようにされている。シーケンサ103は、FIFO102から順次演奏制御データを読み出し、演奏制御データ中の時間情報(デュレーション)に従って音源制御データを随時生成する。シーケンサ103は、生成した音源制御データを音源104に出力する。音源104は、音源制御データに従ってデジタル音声データを出力する。音声データはDAC(Digital Analog Converter)120でアナログ音声信号に変換され、スピーカ59から音声として出力される。FIFO102内に記憶されている演奏制御データが読み出されてFIFO102内に設定された所定量の空き領域が発生すると、FIFO102は割込要求信号(Interrupt ReQuest、IRQ)を図示せぬ専用信号線を介してCPU51に送り、後続する演奏制御データの転送をCPU51に要求する。CPU51は、後続する演奏制御データを所定量FIFO102に供給する。
FIG. 3 is a block diagram illustrating a configuration of the
一方、波形圧縮データの再生が指示されると、CPU51はRAM55に記憶されている波形圧縮データ(の一部)を音源部100に供給する。波形圧縮データはI/F111を介してFIFO112にそのデータの先頭から順次所定量が取り込まれ一時記憶される。FIFO112は、波形圧縮データを限られた量だけ格納できる記憶手段であり、先に書き込まれた波形圧縮データから順次読み出されるようにされている。デコーダ113は、mp3データ、ADPCMデータ等の波形圧縮データを伸張し、波形データ(デジタル音声データ)に変換する。デコーダ113は、変換した波形データを出力する。波形データはDAC120によりアナログ音声信号に変換され、スピーカ59から音声として出力される。FIFO112内に記憶されている波形圧縮データが読み出されてFIFO112内に設定された所定量の空き領域が発生すると、FIFO112は割込要求信号(IRQ)を図示せぬ専用信号線を介してCPU51に送り、後続する波形圧縮データの転送をCPU51に要求する。CPU51は、後続する波形圧縮データを所定量FIFO112に供給する。なお、本実施形態において、デコーダ113はmp3データおよびADPCMデータの2種類のフォーマットのデータをデコードできる機能を有している。別の態様において、音源部100が、mp3データをデコードするmp3デコーダとADPCMデータをデコードするADPCMデコーダとを別個に有する構成としてもよい。また、データフォーマットはmp3形式およびADPCM形式に限られず、wma形式等他のフォーマットの波形圧縮データを用いてもよい。なお、この場合は音源部100が、使用されるデータフォーマットに適したデコーダを有する必要がある。
On the other hand, when the reproduction of the waveform compressed data is instructed, the
このように、音源部100は、演奏制御データを再生する処理系統(I/F101、FIFO102、シーケンサ103、音源104)と、mp3データ等の波形圧縮データを再生する処理系統(I/F111、FIFO112、デコーダ113)との2つの再生系統を有する。演奏制御データおよび波形圧縮データは、それぞれに対応する再生系統で処理され、デジタル音声データが生成される。2つの再生系統で生成された音声データは加算器105によって加算され、同期してスピーカ59から音声として出力される。
As described above, the
図4は、本実施形態に係る楽曲データD1の構成を示す図である。楽曲データD1は、パート1〜5の5つのパート(チャンネル)から構成されるフォーマットとされている。各パートのデータは、デュレーションデータとイベントデータのペアを有するシーケンスデータである。あるイベントデータに対応するデュレーションデータは、1つ前のイベントの開始時刻から、そのイベントの開始時刻までのデュレーション(時間)を示すデータである。イベントデータは、音源部100等の出力デバイスに対する制御内容を示すデータである。図4において、パート1、3、5はイベントデータとしてMIDIイベントを有するMIDI(Musical Instruments Digital Interface)データである。パート2は、イベントデータとしてADPCM形式の発音データを有する埋め込みオーディオデータである。また、パート4は、イベントデータとしてmp3形式の音声データ等のストリームオーディオデータの記憶場所を示すURL(Uniform Resource Locator)を示すデータ(URLイベント)と、デュレーションデータとしてそのストリームオーディオデータの再生を開始すべき時間を示すデータとを有している。URLイベントは、例えば、「http://aaa.bbb.co.jp/sing-1.mp3」等、配信サーバ名と配信対象のファイル名の情報を含んでいる。携帯端末50は、このURLで指定される配信サーバから指定されるデータ(ストリームオーディオデータ)をダウンロードして再生する。
FIG. 4 is a diagram showing a configuration of the music data D1 according to the present embodiment. The music data D1 has a format composed of five parts (channels) 1 to 5. The data of each part is sequence data having a pair of duration data and event data. The duration data corresponding to certain event data is data indicating the duration (time) from the start time of the previous event to the start time of the event. The event data is data indicating control contents for the output device such as the
携帯端末50は楽曲データD1をRAM55に記憶している。楽曲データD1は携帯端末50の出荷時にあらかじめ記憶されているものであってもよいし、出荷後にサーバから通信回線を介してダウンロードして記憶したものであってもよい。携帯端末50はRAM55から楽曲データD1を読み出し、音源部100に出力する。音源部100は、前述のように楽曲データD1に従って楽曲を再生する。楽曲データD1は、MIDIデータ、埋め込みオーディオデータ、サーバからダウンロードしたストリームオーディオデータが混在する楽曲データである。本実施形態に係る携帯端末50は、前述のようにMIDIデータ(演奏制御データ)と、埋め込みオーディオデータおよびストリームオーディオデータ(波形圧縮データ)とを同期して再生することができる。本実施形態においては、このようなデータ形式の楽曲データフォーマットを採用したことにより、異なる形式のデータを同期して再生することが可能である。
The portable terminal 50 stores the music data D1 in the
図5は、配信サーバ10のハードウェア構成を示すブロック図である。配信サーバ10は、CPU11、ROM12、RAM13、I/F14、入力部15、表示部16、記憶部17を有するコンピュータ装置である。記憶部17はHDD等の記憶装置で構成され、上述のmp3形式の音声データ等のストリームオーディオデータを記録したデータベースDB1を記憶している。配信サーバ10はI/F14を介してインターネット等のネットワーク70に接続されており、ネットワーク70を介して受信したダウンロード要求に応じて、記憶部17に記憶しているストリームオーディオデータを送信する機能を有する。配信サーバ20も配信サーバ10と同様のハードウェア構成を有している。なお、配信サーバ10に記憶されるストリームオーディオデータはmp3形式のデータに限られず、ADPCM形式、wma形式等他のフォーマットで記述されたデータであってもよい。
FIG. 5 is a block diagram illustrating a hardware configuration of the
<2.動作>
続いて、楽曲配信システム1の動作について説明する。
図6は、楽曲配信システム1の動作を示すフローチャートである。携帯端末50において楽曲データD1の再生が指示されると(ステップS101:YES)、CPU51は、楽曲データD1の再生に先立って、楽曲データD1がURLイベントデータを有するか否か検索する(ステップS102)。楽曲データD1がURLイベントデータを有する場合(ステップS103:YES)、CPU51は、URLイベントデータにより示されるデータ(URLイベントデータが複数ある場合は、楽曲データD1の再生において最も早く現れるデータ)をダウンロードする旨を指示するダウンロード要求を生成する。CPU51は、URLイベントデータにより示される配信サーバを宛先として、生成したダウンロード要求を、通信部53を介して送信する(ステップS104)。本実施形態において、URLイベントデータは、配信サーバ10に記憶されているmp3形式のストリームオーディオデータD2(以下、mp3データD2)を示している。したがって、CPU51は、配信サーバ10に対しmp3データD2のダウンロード要求を送信する。ここで、ダウンロード要求は、携帯端末50が受信可能なデータのサイズを示すデータサイズ情報DS1を含んでいる。
なお、楽曲データD1がURLイベントデータを有さない場合(ステップS103:NO)、CPU51はステップS104および後述するS105の処理を行わずに、後述するステップS106へ処理を移行する。
<2. Operation>
Next, the operation of the music distribution system 1 will be described.
FIG. 6 is a flowchart showing the operation of the music distribution system 1. When reproduction of music data D1 is instructed on portable terminal 50 (step S101: YES),
If the music data D1 does not have URL event data (step S103: NO), the
ダウンロード要求を受信すると、配信サーバ10のCPU11は、データベースDB1からmp3データD2を検索する。mp3データD2を発見すると、CPU11は、データベースDB1からmp3データD2を抽出する。CPU11は、抽出したmp3データD2の先頭から、ダウンロード要求に含まれるデータサイズ情報DS1により指定されるサイズのデータとなるように、mp3データD2の一部のデータを抽出する。以下、このmp3データD2のうち一部分のデータを楽曲素片データD3という。
CPU11は、抽出した楽曲素片データD3を、I/F14およびネットワーク70を介して、ダウンロード要求の送信元である携帯端末50に送信する。
When receiving the download request, the
The
楽曲素片データD3を受信すると、携帯端末50のCPU51は、受信した楽曲素片データD3をRAM55に記憶する。RAM55には、楽曲素片データ用の記憶領域M1が確保されている。CPU51は、記憶領域M1に楽曲素片データD3を記憶する。また、CPU51は、mp3データD2のうち、ダウンロード済みのデータの位置(すなわち、次にダウンロードを開始するデータの先頭位置)を示す情報であるアドレスP3をRAM55に記憶させる。記憶領域M1に楽曲素片データD3が記憶されると(ステップS105:YES)、CPU51は、楽曲データD1を順次音源部100に出力する。こうして楽曲データD1の再生が開始される(ステップS106)。なお、以下で説明するように処理はステップS107〜S109へと進行するが、楽曲の再生が終了するまで、これらのステップにおいても楽曲は再生され続けている。
When the music piece data D3 is received, the
音源部100は、図4に示される各パートのデータを時間情報(デュレーション)に従って順次再生して音声として出力する。パート1、3、5に関しては、MIDIデータ(演奏制御データ)が順次FIFO102に供給され、各パートのMIDIデータに対応する音声が再生される。パート2に関しては、ADPCMデータ(圧縮波形データ)が順次FIFO112に供給され、それに対応する音声が再生される。そしてパート4においてURLイベントに到達すると、音源部100はCPU51に対して楽曲素片データD3の転送を要求する。CPU51は、その要求に従って記憶領域M1から楽曲素片データD3を順次音源部100へ出力する。楽曲素片データD3はmp3形式の圧縮波形データであるから、音源部100において圧縮波形データの再生系統(I/F111、FIFO112、デコーダ113)により再生される。こうして、楽曲素片データD3に応じたストリームオーディオが再生される。楽曲素片データD3は、音源部100のFIFO112の記憶容量に応じて順次供給される。ここで、CPU51は、記憶領域M1の残存容量を監視している。
図7は、記憶領域M1の残存容量の監視方法を説明する図である。CPU51は、記憶領域M1においてまだ音源部100に出力されていないデータの先頭アドレス(以下、アドレスP1という)および、まだ音源部100に出力されていないデータの最後尾アドレス(以下、アドレスP2という)を変数としてRAM55に記憶している(図7(a))。ここで、アドレスP1はいわばデータの読み込み点であり、アドレスP2はいわばデータの書き込み点である。
The
FIG. 7 is a diagram illustrating a method for monitoring the remaining capacity of the storage area M1. The
楽曲素片データD3が音源部100に出力されるにつれ、アドレスP1は順次後部に移動する。ここで、記憶領域M1の先頭からアドレスP1までの領域(図7(b)の白い部分)は、既にデータが転送済みであるので空き領域となっている。CPU51は、一定の時間間隔で、アドレスP1およびアドレスP2からこの空き領域の容量すなわち記憶領域M1の残存容量を算出する。
再び図6を参照して説明すると、CPU51は、算出した記憶領域M1の残存容量があらかじめ決められた値(例えば、記憶領域M1の記憶容量の半分の値)を超えたか否か監視している(ステップS107)。残存容量があらかじめ決められた値を超えていない場合(ステップS107:NO)、CPU51は、次に説明するステップS108の処理を行わずに、後述するステップS109の処理を行う。
As the music piece data D3 is output to the
Referring to FIG. 6 again, the
残存容量があらかじめ決められた値を超えた場合(ステップS107:YES)、楽曲素片データの転送が行われる(ステップS108)。具体的には次のとおりである。CPU51は、mp3データD2のうち楽曲素片データD3に後続するデータのダウンロード要求を生成する。このダウンロード要求は、記憶領域M1の残存容量(すなわち記憶領域M1の記憶容量の半分の値)を示すデータサイズ情報DS2を含んでいる。このダウンロード要求はまた、mp3データD2のうち、ダウンロードを開始する位置を示す情報であるアドレスP3も含んでいる。CPU51は、生成したダウンロード要求を、URLイベントデータが示す配信サーバ10に送信する。
When the remaining capacity exceeds a predetermined value (step S107: YES), the music piece data is transferred (step S108). Specifically, it is as follows. CPU51 produces | generates the download request | requirement of the data which follow music piece data D3 among mp3 data D2. This download request includes data size information DS2 indicating the remaining capacity of the storage area M1 (that is, a value half the storage capacity of the storage area M1). This download request also includes an address P3 which is information indicating the position where the download is started in the mp3 data D2. The
ダウンロード要求を受信すると、配信サーバ10のCPU11は、mp3データD2のうち、アドレスP3で指定される位置から、データサイズ情報DS2で指定されるサイズのデータを抽出する(以下、楽曲素片データD4という)。CPU11は、抽出した楽曲素片データD4を、ダウンロード要求の送信元である携帯端末50に送信する。
When the download request is received, the
楽曲素片データD3に後続する楽曲素片データである楽曲素片データD4を受信すると、携帯端末50のCPU51は、楽曲素片データD4を記憶領域M1のうち、アドレスP2の次の位置から始まる空き領域に記憶する。図7(b)に示されるように、アドレスP2が記憶領域M1の最後尾に位置していた場合は、記憶領域M1の先頭から楽曲素片データD4を記憶する(図7(c))。この際、CPU51は、RAM55に記憶されているアドレスP3の値を更新する。なお、このダウンロード処理の間も楽曲素片データD3の再生処理は継続しているので、アドレスP1は後部に進んでいる。
When the music piece data D4, which is music piece data subsequent to the music piece data D3, is received, the
楽曲素片データD3の再生処理がさらに進行し、記憶領域M1の空き容量が再びあらかじめ決められた値に達した場合(図7(d))、CPU51は、楽曲素片データD4をダウンロードしたときと同じように、楽曲素片データD4に後続するデータのダウンロード要求を生成し、配信サーバ10からデータ(楽曲素片データD5)をダウンロードする。CPU51は、ダウンロードした楽曲素片データD5を記憶領域M1の空き領域に記憶する(図7(e))。楽曲素片データD5を記憶領域M1に記憶すると、CPU51は、楽曲の再生が終了したか否か判断する(ステップS109)。楽曲の再生が終了した場合(ステップS109:YES)、CPU51は、楽曲配信システム1の動作を終了する。楽曲の再生が終了していない場合(ステップS109:NO)、CPU51は、ステップS107、108の処理を繰り返し実行する。なお、前述のように、ステップS107〜S109においてはURLイベントを有するパート4だけでなく他のパートも、楽曲の再生が終了するまで再生され続けている。
When the reproduction processing of the music piece data D3 further proceeds and the free space in the storage area M1 reaches a predetermined value again (FIG. 7D), the
CPU51は、以上の処理を、mp3データD2の先頭から最後尾までの再生が完了するまで繰り返し実行する。mp3データD2の再生が完了したら、CPU51は、楽曲データD1内のさらに別のURLイベントデータに到達するまで待つ。別のURLイベントデータに到達した場合は、CPU51は、mp3データD2の場合と同様にダウンロードおよび再生処理を行う。
The
以上のようにして、mp3データD2は、記憶領域M1の記憶容量に応じて楽曲素片データに分割され、一部ずつダウンロードされる。ダウンロード処理の間も再生処理は並列して行われているので、携帯端末50は、楽曲を途切れさせることなくmp3データD2を再生することができる。また、パート1〜3、5のMIDIデータ、ADPCMデータも並列して再生される。したがって、本実施形態に係る携帯端末50は、MIDI等の演奏制御データ、ADPCM等の埋め込みオーディオデータ、およびサーバからダウンロードしたストリームオーディオデータが混在した楽曲データを再生可能である。
すなわち、携帯電話機のように使用可能なリソースが限られた環境において、例えば伴奏部分はMIDI等の演奏制御データによって再生し、ヴォーカル等の演奏制御データでは再生が困難なパートはサーバからダウンロードするストリームデータによって再生することができる。これにより、携帯端末50において、限られたリソースで高品質な楽曲を再生することができる。
As described above, the mp3 data D2 is divided into music piece data according to the storage capacity of the storage area M1, and downloaded part by part. Since the reproduction process is performed in parallel during the download process, the
That is, in an environment where resources that can be used are limited, such as a mobile phone, for example, an accompaniment part is played back by performance control data such as MIDI, and a part that is difficult to play back by performance control data such as vocals is downloaded from a server Can be played back by data. Thereby, the
<3.変形例>
本発明は上述の実施形態に限定されるものでなく、種々の変形実施が可能である。
上述の実施形態においては、楽曲素片データのダウンロードの際に、記憶領域M1の残存記憶容量に関する情報を配信サーバ10に送信し、配信サーバ10が残存容量に応じたサイズのデータを携帯端末50に送信する態様について説明したが、楽曲素片データのダウンロード方法はこれに限定されるものではない。例えば、以下のような方法によって楽曲素片データのダウンロードを行ってもよい。携帯端末50は、ダウンロード開始位置を示す情報(アドレスP3)のみを配信サーバ10に送信する。配信サーバ10は、アドレスP3で示される位置からデータを送信する。携帯端末50のCPU51は、記憶領域M1の容量を監視し、記憶領域M1が楽曲素片データで満たされたらダウンロード停止要求を配信サーバ10に送信する。
<3. Modification>
The present invention is not limited to the above-described embodiment, and various modifications can be made.
In the above-described embodiment, when downloading music piece data, information related to the remaining storage capacity of the storage area M1 is transmitted to the
上述の実施形態においては、記憶領域M1の空き容量が、記憶領域M1の記憶容量の半分になったときに後続する楽曲素片データのダウンロード要求を生成する構成としたが、ダウンロード要求を生成するタイミング、空き容量のしきい値はこれに限定されるものではない。記憶領域M1の記憶容量の1/3、1/4等、記憶容量と通信回線の環境に応じて任意に設定することができる。また、CPU51が、通信回線の速度等の通信環境情報に基づき、空き容量のしきい値を決定する構成としてもよい。あるいは、ユーザに空き容量のしきい値を指定させる構成としてもよい。
In the embodiment described above, the download request for the subsequent music piece data is generated when the free capacity of the storage area M1 becomes half of the storage capacity of the storage area M1, but the download request is generated. The threshold values for timing and free space are not limited to these. It can be arbitrarily set according to the storage capacity and the communication line environment, such as 1/3 or 1/4 of the storage capacity of the storage area M1. Alternatively, the
楽曲データは上述の実施形態で示した形式のものに限られない。例えば、演奏制御データとしてSMF形式あるいはSMAF形式のデータを用いてもよいし、埋め込みオーディオデータ、ストリームオーディオデータとして、wma形式等他の形式のデータを用いてもよい。また、演奏制御データや埋め込みオーディオデータのパートを持たず、URLイベントのパートだけで楽曲データを構成してもよいし、楽曲データがURLイベントのパートを複数有してもよい。さらに、URLイベントのパートがデュレーションを持たずに(またはデュレーションの時間が0)、1つのURLイベントだけで構成されていてもよい。 The music data is not limited to the format shown in the above embodiment. For example, data in SMF format or SMAF format may be used as performance control data, and data in other formats such as wma format may be used as embedded audio data and stream audio data. Further, the music data may be composed of only the URL event part without the performance control data and the embedded audio data part, or the music data may have a plurality of URL event parts. Further, the URL event part may have only one URL event without having a duration (or a duration of 0).
1…楽曲配信システム、10…配信サーバ、11…CPU、12…ROM、13…RAM、14…I/F、15…入力部、16…表示部、17…記憶部、20…配信サーバ、30…基地局、50…携帯端末、51…CPU、52…ROM、53…通信部、54…音声処理部、55…RAM、56…表示部、57…入力部、58…バイブレータ、59…スピーカ、60…携帯端末、70…ネットワーク、99…バス、100…音源部、101…I/F、102…FIFO、103…シーケンサ、104…音源、105…加算器、111…I/F、112…FIFO、113…デコーダ、120…DAC
DESCRIPTION OF SYMBOLS 1 ... Music distribution system, 10 ... Distribution server, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... I / F, 15 ... Input part, 16 ... Display part, 17 ... Memory | storage part, 20 ... Distribution server, 30 ... base station, 50 ... mobile terminal, 51 ... CPU, 52 ... ROM, 53 ... communication unit, 54 ... audio processing unit, 55 ... RAM, 56 ... display unit, 57 ... input unit, 58 ... vibrator, 59 ... speaker, 60 ... portable terminal, 70 ... network, 99 ... bus, 100 ... sound source unit, 101 ... I / F, 102 ... FIFO, 103 ... sequencer, 104 ... sound source, 105 ... adder, 111 ... I / F, 112 ...
Claims (10)
前記所在情報により示される楽曲素片データの一部分を、先頭から順次前記ネットワークを介して取得する通信手段と、
前記通信手段により取得した楽曲素片データの一部分と、前記楽曲素片データの一部分が再生されている間に取得された後続する楽曲素片データを記憶する第2の記憶手段と、
前記第1の記憶手段に記憶されている楽曲データのうち前記楽曲素片データ以外の部分を再生するとともに、前記タイミング情報により特定されるタイミングで前記第2の記憶手段に記憶されている楽曲素片データを再生する楽曲再生手段と
を有する端末装置。 A piece of music including timing information indicating a specific timing during the reproduction time of the music, and location information indicating the location in the network of music piece data corresponding to a part of the music described in correspondence with the timing information First storage means for storing data;
A communication means for acquiring a part of the music piece data indicated by the location information sequentially from the top via the network;
A second storage means for storing a part of the music piece data obtained by the communication means and a subsequent music piece data obtained while the part of the music piece data is being reproduced ;
Of the music data stored in the first storage means, a part other than the music piece data is reproduced, and the music element stored in the second storage means at a timing specified by the timing information. A terminal device comprising: music reproduction means for reproducing one piece of data.
前記タイミング情報が、前記イベントの開始時刻を示すデュレーションであり、
前記所在情報が、前記イベントに記載されている
ことを特徴とする請求項1に記載の端末装置。 The music data includes an event,
The timing information is a duration indicating a start time of the event,
The terminal device according to claim 1, wherein the location information is described in the event.
前記所在情報が、前記楽曲素片を再生すべきチャンネルに記載されていることを特徴とする請求項1に記載の端末装置。 The music data has a structure consisting of a plurality of channels,
The terminal device according to claim 1, wherein the location information is described in a channel on which the musical piece is to be reproduced.
前記監視手段により監視される空き容量があらかじめ決められた条件を満足したときに前記楽曲素片データの取得を指示するダウンロード要求を生成するダウンロード要求生成手段と
をさらに有する請求項1に記載の端末装置。 Monitoring means for monitoring the free capacity of the second storage means;
The terminal according to claim 1, further comprising: a download request generation unit that generates a download request instructing acquisition of the piece of music piece data when a free space monitored by the monitoring unit satisfies a predetermined condition. apparatus.
前記楽曲素片データは、前記ダウンロード要求に含まれるデータサイズ情報により指定されるサイズを有する
ことを特徴とする請求項1に記載の端末装置。 The communication means transmits a download request including data size information indicating the size of data that can be received by the terminal device to a device specified by the location information,
The terminal device according to claim 1, wherein the music piece data has a size specified by data size information included in the download request.
前記楽曲素片データは、前記ダウンロード要求に含まれるデータサイズ情報により指定されるサイズを有する
ことを特徴とする請求項1に記載の端末装置。 The communication means transmits a download request including data size information indicating the remaining capacity of the second storage means to a device specified by the location information,
The terminal device according to claim 1, wherein the music piece data has a size specified by data size information included in the download request.
前記楽曲データは、前記楽曲データを再生する楽曲再生手段と、前記ネットワークを介して通信する通信手段と、記憶手段とを有する端末装置に、
前記通信手段が、前記所在情報により示される楽曲素片データの一部分を、先頭から順次前記ネットワークを介して取得する処理と、
前記記憶手段が、前記通信手段により取得された楽曲素片データの一部分と、前記楽曲素片データの一部分が再生されている間に取得された後続する楽曲素片データを記憶する処理と、
前記楽曲再生手段が、前記記憶手段に記憶されている楽曲データのうち前記楽曲素片データ以外の部分を再生するとともに、前記タイミング情報により特定されるタイミングで前記楽曲素片データを再生する処理と
を実行させることを特徴とするコンピュータ読み取り可能な記録媒体。
Data including timing information indicating a specific timing during the reproduction time of the music, and location information indicating the location in the network of the music piece data corresponding to a part of the music described in correspondence with the timing information A computer-readable recording medium on which music data having a structure is recorded,
The music data is stored in a terminal device having music playback means for playing back the music data, communication means for communicating via the network, and storage means.
The communication means acquires a part of the music piece data indicated by the location information sequentially from the top via the network;
A process in which the storage means stores a part of the music piece data acquired by the communication means and a subsequent music piece data acquired while the part of the music piece data is being reproduced ;
A process in which the music reproduction means reproduces a part other than the music piece data in the music data stored in the storage means, and reproduces the music piece data at a timing specified by the timing information; The computer-readable recording medium characterized by performing the above.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004358444A JP4229058B2 (en) | 2004-12-10 | 2004-12-10 | Terminal device and recording medium |
KR1020050120404A KR100650462B1 (en) | 2004-12-10 | 2005-12-09 | Music data structure, terminal apparatus and music reproducing method |
CNB2005101314223A CN100429657C (en) | 2004-12-10 | 2005-12-12 | Music data structure,terminal device and music replaying method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004358444A JP4229058B2 (en) | 2004-12-10 | 2004-12-10 | Terminal device and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006163280A JP2006163280A (en) | 2006-06-22 |
JP4229058B2 true JP4229058B2 (en) | 2009-02-25 |
Family
ID=36665345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004358444A Expired - Fee Related JP4229058B2 (en) | 2004-12-10 | 2004-12-10 | Terminal device and recording medium |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP4229058B2 (en) |
KR (1) | KR100650462B1 (en) |
CN (1) | CN100429657C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8205223B2 (en) | 2000-04-12 | 2012-06-19 | Lg Electronics Inc. | Method and video device for accessing information |
US20010052133A1 (en) | 2000-04-12 | 2001-12-13 | Lg Electronics Inc. | Apparatus and method for providing and obtaining product information through a broadcast signal |
KR101301039B1 (en) * | 2006-10-19 | 2013-08-28 | 엘지전자 주식회사 | Method for providing contents data using a network |
JP4872734B2 (en) * | 2007-03-16 | 2012-02-08 | ヤマハ株式会社 | Distribution apparatus and program |
ES2956362T3 (en) | 2014-05-28 | 2023-12-20 | Fraunhofer Ges Forschung | Data processor and user control data transport to audio decoders and renderers |
CN105070298B (en) * | 2015-07-20 | 2019-07-30 | 科大讯飞股份有限公司 | The methods of marking and device of polyphony musical instrument |
JP6443772B2 (en) * | 2017-03-23 | 2018-12-26 | カシオ計算機株式会社 | Musical sound generating device, musical sound generating method, musical sound generating program, and electronic musical instrument |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3255059B2 (en) * | 1996-12-19 | 2002-02-12 | 日本電気株式会社 | Communication karaoke system |
JP2000339345A (en) * | 1999-03-25 | 2000-12-08 | Sony Corp | Retrieval system, retrieval device, retrieval method, input device and input method |
DE19950001A1 (en) * | 1999-10-15 | 2001-04-19 | Deutsche Telekom Mobil | Method for selection, transmission and playback of pieces of music by participants in a digital mobile communication system |
ES2277419T3 (en) * | 1999-12-03 | 2007-07-01 | Telefonaktiebolaget Lm Ericsson (Publ) | A METHOD FOR SIMULTANEOUSLY PRODUCING AUDIO FILES ON TWO PHONES. |
JP2002091452A (en) * | 2000-09-11 | 2002-03-27 | Nec Corp | System for distributing data and method for the same |
-
2004
- 2004-12-10 JP JP2004358444A patent/JP4229058B2/en not_active Expired - Fee Related
-
2005
- 2005-12-09 KR KR1020050120404A patent/KR100650462B1/en not_active IP Right Cessation
- 2005-12-12 CN CNB2005101314223A patent/CN100429657C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
KR100650462B1 (en) | 2006-11-30 |
CN1786964A (en) | 2006-06-14 |
KR20060065544A (en) | 2006-06-14 |
JP2006163280A (en) | 2006-06-22 |
CN100429657C (en) | 2008-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2436872C (en) | Methods and apparatuses for programming user-defined information into electronic devices | |
US6979769B1 (en) | Data reproducing device, data reproducing method, and information terminal | |
KR100650462B1 (en) | Music data structure, terminal apparatus and music reproducing method | |
JP2006048529A (en) | Download method, download system, client system and server system | |
US7102070B2 (en) | Musical tone reproducing apparatus and method and portable terminal apparatus | |
JP2004222124A (en) | Moving picture distribution server | |
JP4232445B2 (en) | File delivery apparatus, file delivery method and program | |
JP2008046951A (en) | System and method for generating electronic document, server device, terminal device, program for server device, and program for terminal device | |
KR20010076533A (en) | Implementation Method Of Karaoke Function For Portable Hand Held Phone And It's Using Method | |
JP4595828B2 (en) | Audio playback device | |
JP4400363B2 (en) | Sound source system, computer-readable recording medium recording music files, and music file creation tool | |
JP2004348012A (en) | Karaoke system for portable terminal | |
JP2006106039A (en) | Information processor | |
KR20060050071A (en) | Musical data editing and reproduction apparatus, and portable information terminal therefor | |
JP2003280645A (en) | Method for compressing music data | |
JP2008182319A (en) | Stream data reproduction system and reproducing method, and portable terminal device | |
JP2006033017A (en) | Mobile telephone, mobile telephone server, and mobile telephone system | |
JP2006191306A (en) | Data distribution system | |
JP2007013523A (en) | Voice recording/reproducing device and method | |
JP2005107320A (en) | Data generator for voice reproduction | |
JP2005189941A (en) | Message system and message transmitting/receiving method and message transmitting/receiving program | |
JP2021056942A (en) | Content distribution system | |
JP2006148844A (en) | Portable terminal equipment and program | |
JP2011209506A (en) | Karaoke terminal | |
JP2008042833A (en) | Music data delivery system and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060524 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071225 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080225 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080507 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080707 |
|
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: 20081111 |
|
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: 20081124 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121212 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131212 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |