JP3641999B2 - Music data distribution device and terminal device - Google Patents

Music data distribution device and terminal device Download PDF

Info

Publication number
JP3641999B2
JP3641999B2 JP2000101981A JP2000101981A JP3641999B2 JP 3641999 B2 JP3641999 B2 JP 3641999B2 JP 2000101981 A JP2000101981 A JP 2000101981A JP 2000101981 A JP2000101981 A JP 2000101981A JP 3641999 B2 JP3641999 B2 JP 3641999B2
Authority
JP
Japan
Prior art keywords
timbre
parameter
data
music data
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000101981A
Other languages
Japanese (ja)
Other versions
JP2001290476A (en
Inventor
隆宏 川嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2000101981A priority Critical patent/JP3641999B2/en
Publication of JP2001290476A publication Critical patent/JP2001290476A/en
Application granted granted Critical
Publication of JP3641999B2 publication Critical patent/JP3641999B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明が属する技術分野】
本発明は、楽曲データを配信する楽曲データ配信装置と、楽曲データの配信を受けることができる自動車電話機や携帯電話機等の端末装置に関するものである。
【0002】
【従来の技術】
アナログセルラーシステムやデジタルセルラーシステムとして知られているPDC(Personal Digital Cellular telecommunication system)等の携帯電話システムや、簡易型携帯電話システム(PHS:Personal Handyphone System)において、ユーザが携帯している電話端末装置に着信があった際には、着信をユーザに報知するために着信音が放音される。この着信音としては、従来ビープ音が放音されていたが、ビープ音が耳障りな音であることからビープ音に変わりメロディ音を着信音とすることが最近行われている。
【0003】
従来の電話端末装置では、メロディを再生することのできるメロディICを搭載することにより着信メロディを再生するようにしていた。このメロディICは、音源とシーケンサと楽譜データ記憶用ROMおよび音色データ記憶用ROMからなり、外部から再生指令を与えることにより楽譜データ記憶用ROMに記憶された楽譜データを、音色データ記憶用ROMから読み出した音色で再生してメロディを再生するようにしている。従って、メロディ音を発生することができるものの、メロディ音の音質としては満足できるものではなかった。
【0004】
【発明が解決しようとする課題】
これを解決するために、自動演奏することのできる楽曲再生装置を用いることが考えられる。このような自動演奏可能な楽曲再生装置は、中央処理装置(Central Processing Unit:CPU)、ROM(Read Only Memory)、RAM(Random Access Memory)、音源を備え、ROMに記憶された自動演奏プログラムをCPUが実行することにより、ROMあるいはRAMに記憶された楽曲データを読み出して、音源に対して発音パラメータを設定することにより楽曲を再生するようにしている。
このような楽曲再生装置を携帯電話機等の端末装置に搭載した際に、楽曲再生装置が再生する楽曲データは、一般にシーケンス・データと音色パラメータから構成される。従って、楽曲再生装置により着信メロディを再生するには、このような楽曲データが必要となる。
【0005】
この場合、シーケンス・データと音色パラメータからなる楽曲データの何曲かは端末装置にプリセットされるが、ユーザが任意の楽曲を着信メロディとしたい場合は、その楽曲のシーケンス・データをいちいち打ち込む必要があった。しかし、携帯電話機等の端末装置に備えられているキーは限られたキーしかないことから、このシーケンス・データの打ち込み作業は大変な作業になるという問題点があった。また、音色パラメータについては音色編集手段等が備えられていない場合は、任意の音色パラメータを設定することができなかった。
そこで、これを解決するために電話回線や各種ネットワークを通じて、ユーザが望む楽曲の楽曲データをダウンロードセンターからユーザ端末にダウンロードすることが提案されている。このダウンロードによれば、ユーザ端末はダウンロードセンターに接続することにより所望の楽曲データをユーザ端末にダウンロードすることができ、ダウンロードした楽曲データのいずれでも着信メロディとして選択することができるようになる。
【0006】
しかしながら、楽曲データはシーケンス・データと、そのシーケンス・データを再生する際に必要とされる音色パラメータとから構成されているため、シーケンス・データは異なっていても同じ音色パラメータを重複してダウンロードすることが生じるようになる。すると、ユーザ端末においては記憶手段に重複して同じ音色パラメータが記憶されることから、記憶領域を効率的に使用することができなくなる。また、ユーザ端末にダウンロードする通信時間も長くなり、トラヒックが混雑する原因になると共に、その分通信料金も高くなってしまうことになる。
【0007】
そこで、本発明は、楽曲データをダウンロードする際に、重複して音色パラメータをダウンロードしないようにした楽曲データ配信装置および端末装置を提供することを目的としている。
また、本発明は、音色パラメータの音色ナンバが一致してもバージョンが改訂されてよりよい音色パラメータとされる場合に対応できるようにした楽曲データ配信装置および端末装置を提供することを目的としている。
【0008】
【課題を解決するための手段】
前記目的を達成するために、本発明の楽曲データ配信装置は、楽曲データの配信要求を行った端末装置へ、シーケンス・データと音色パラメータとからなる楽曲データの配信を行う楽曲データ配信装置において、前記端末装置から所定の楽曲データの配信要求を受けると、前記楽曲データの音色パラメータの音色ナンバと前記音色パラメータのバージョン情報を抽出し、前記端末装置に対して前記音色ナンバの音色パラメータが記憶されているか否か、および、前記音色ナンバに該当する音色パラメータのバージョン情報の間い合わせを行う問い合わせ手段と、前記端末装置から前記問い合わせに対する通知を受けた際に、前記端末装置からの通知の内容から前記音色ナンバに対応する音色パラメータが記憶されているか否か、および、前記楽曲データの前記音色パラメータのバージョン情報を判定する判定手段と、該判定手段の判定に応じて前記端末装置へ配信するデータを決定する配信手段とを備え、前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていると共に、通知された前記バージョン情報が前記楽曲データの前記音色パラメータのバージョン情報と一致していると判定した場合は、前記配信手段が当該音色パラメータの配信は行わずシーケンスデータのみ配信し、前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていないと判定した場合は、前記配信手段が当該音色パラメータとシーケンスデータの配信を行い、前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていると共に、通知された前記バージョン情報が前記楽曲データの前記音色パラメータのバージョン情報と一致していないと判定した場合は、当該音色パラメータの差分とシーケンスデータを配信するようにしている。
【0010】
前記目的を達成することのできる本発明の端末装置は、楽曲データの配信要求先の楽曲データ配信装置から、シーケンス・データと音色パラメータとからなる楽曲データの配信を受ける端末装置において、配信要求した楽曲データにおける音色パラメータの配信を楽曲データ配信装置から受ける際に、前記楽曲データ配信装置からの問い合わせに対して、前記楽曲データの音色パラメータの音色ナンバの音色パラメータが記憶されているか否か、および、前記音色ナンバに該当する音色パラメータのバージョン情報を通知する通知手段と、該通知手段が通知した内容に応じて配信されたデータが記憶される記憶手段とを備え、前記通知手段が通知した内容が、前記音色ナンバに該当する音色パラメータが記憶されていると共に、そのバージョンが一致する通知の場合は、当該音色パラメータの配信は行われずシーケンスデータのみが配信されて前記記憶手段に記憶され、また、前記音色ナンバに対応する音色パラメータが記憶されていない通知の場合は、当該音色パラメータとシーケンスデータが配信されて前記記憶手段に記憶され、さらに、前記音色パラメータの音色ナンバに該当する音色パラメータが記憶されているが、そのバージョンが一致しない通知の場合は当該音色パラメータの差分とシーケンスデータが配信されて前記記憶手段に記憶されるようにしている。
【0012】
さらに、上記本発明の端末装置において、前記配信された音色パラメータの差分と、前記記憶手段に格納されている音色ナンバが一致する音色パラメータとから、バージョンアップされた音色パラメータを生成して、前記記憶手段に記憶するようにしてもよい。
【0013】
このような本発明によれば、楽曲データが配信される端末装置において、配信される楽曲データにおける音色パラメータの音色ナンバに該当する音色パラメータが格納されていない場合と、格納されていたとしてもその音色パラメータのバージョン情報が一致しない場合に、その音色パラメータを端末装置に配信するようにしている。従って、すでに端末装置に格納されている音色パラメータをダウンロードすることを防止することができる。また、配信される音色パラメータがバージョンアップされている場合も配信されるので、端末装置には最新の音色パラメータを格納することができるようになる。
なお、バージョンアップされた音色パラメータを配信する際に、その差分の音色パラメータのみを配信するようにすると、配信データ量を低減することができ、ダウンロード時間を短時間とすることができる。このように、差分の音色パラメータのみが配信された場合は、端末装置において既に格納されている音色ナンバが一致する音色パラメータと配信された差分の音色パラメータから、最新の音色パラメータを生成して記憶することができる。これにより、端末装置にはバージョンアップされた最新の音色パラメータを格納することができるようになる。
【0014】
【発明の実施の形態】
本発明の端末装置を携帯電話機とし本発明の楽曲データ配信装置をダウンロードセンターとして構築した、電話回線を使用したネットワークの概念図を図1に示す。
本発明の端末装置である携帯電話機1(101)を移動機とするセルラーシステムは、一般に小ゾーン方式が採用されてサービスエリア内に多数の無線ゾーンが配置されている。この各々の無線ゾーンを管理するのが基地局2a〜基地局2dであり、移動局である携帯電話機1(101)が一般電話機と通話する際には、携帯電話機1(101)が属する無線ゾーンを管理している基地局2cを介して移動交換局3に接続され、移動交換局3から一般電話網に接続されるようになる。このように、携帯電話機1(101)は、自機が属する無線ゾーンを管理する基地局2cと無線回線を介して接続されることにより他の電話機と通話を行うことができるようになる。
【0015】
このようなセルラーシステムによるネットワークの例が図1に示されており、携帯電話機1(101)は基地局2a〜基地局2dのうちの基地局2cが管理する無線ゾーン内に属している場合が示されている。携帯電話機1(101)と基地局2cとは通信中は無線回線により接続されており、通話を行う際や位置登録を行う際の上り信号は基地局2cで受信されて処理される。基地局2a〜基地局2dはそれぞれ異なる無線ゾーンを管理しているが、その無線ゾーンの周縁は相互に重なるようになっていてもよい。基地局2a〜基地局2dは多重化回線を介して移動交換局3に接続され、さらに、複数の移動交換局3は関門交換局4で集線されて一般電話交換局5aに接続される。複数設けられた関門交換局4は相互に中継伝送路で接続されている。一般電話交換局5a,5b,5c・・・は各地域毎に設置されており、一般電話交換局5a,5b,5c・・・間も中継伝送路で相互に接続されている。一般電話交換局5a,5b,5c・・・の各々には、多数の一般電話が接続されており、例えば、一般電話交換局5bには本発明の楽曲データ配信装置であるダウンロードセンター6が接続されている。
【0016】
ダウンロードセンター6には随時新曲やバージョンアップされた音色パラメータが追加されて多数の楽曲データが蓄積されており、本発明においては、一般電話網に接続されているダウンロードセンター6から、例えば携帯電話機1(101)に楽曲データをダウンロードすることができるようにされている。ここで、携帯電話機1がダウンロードセンター6に配信要求をして、楽曲データをダウンロードする場合の概略説明を行う。この際には、携帯電話機1はダウンロードセンター6の電話番号を発呼する。これにより、携帯電話機1−基地局2c−移動交換局3−関門交換局4−一般電話交換局5a−一般電話交換局5b−ダウンロードセンター6の経路で、ダウンロードセンター6と携帯電話機1とが接続される。次いで、携帯電話機1は表示部に表示されるメニューに従ってダイヤルボタン等を操作すれば、所望の曲名の楽曲データをダウンロードすることができる。この場合の、楽曲データとはシーケンス・データと音色パラメータとから構成されており、音色パラメータは音色を形成するための波形パラメータやエンベロープパラメータ等のパラメータ群から構成されている。また、音色パラメータは異なる音色パラメータ毎に一意の音色ナンバと対応づけられており、音色ナンバにより音色パラメータを指定することができる。
【0017】
すなわち、ダウンロードセンター6においては、楽曲データは図4に示すようにチャンネル1,チャンネル2,・・・・チャンネルnでチャンネル毎に指定されている音色パラメータを特定する音色ナンバと、再生時にこれらの音色パラメータを使用するシーケンス・データとからなるファイルと、音色ナンバで特定される音色パラメータのファイルとして格納されている。したがって、ダウンロードセンター6から楽曲データをダウンロードする際には、シーケンス・データと、少なくとも発音チャンネルは1チャンネル以上とされることから、1つ以上の音色パラメータとがダウンロードされるようになる。この場合の音色パラメータは、チャンネル毎に指定されている音色ナンバにより特定される音色パラメータである。ところで、この音色パラメータをダウンロードセンター6から携帯電話機1にダウンロードする際の、音色パラメータを配信する構成に本発明は特徴を有している。以下、その概略を説明する。
【0018】
携帯電話機1に設けられた記憶手段には、幾つかの楽曲データがプリセットされていると共に、すでにダウンロードされた楽曲データも記憶されている。従って、楽曲データを構成している幾つかの音色パラメータも記憶されていることになる。このように、すでに記憶されている音色パラメータを再生時に使用する新規のシーケンス・データをダウンロードセンター6から携帯電話機1にダウンロードする際に、すでに記憶されている音色パラメータと一致する音色パラメータをダウンロードすることは無駄なことである。そこで、本発明においては、すでに記憶されている音色パラメータと一致する音色パラメータをダウンロードせずに、未だ記憶されていない音色パラメータとシーケンス・データをダウンロードするようにしている。
【0019】
携帯電話機1にダウンロードしようとしている音色パラメータがすでに記憶されているか否かを検出するには、その音色パラメータを特定する音色ナンバを携帯電話機1に問い合わせる。携帯電話機1に、問い合わせた音色ナンバの音色パラメータが記憶されていれば、ダウンロードセンター6が携帯電話機1にシーケンス・データを配信する際に、その音色パラメータについては配信しないようにする。なお、音色パラメータはよりよい音色が作成されるようにバージョンアップされている。すなわち、音色ナンバが一致していても音色パラメータの一部が変更されている場合があり得る。そこで、携帯電話機1に問い合わせた音色ナンバの音色パラメータが記憶されていても、そのバージョンを示す情報が一致しない場合は、ダウンロードセンター6に格納されている音色パラメータがバージョンアップされているとして、その音色パラメータをシーケンス・データを配信する際に携帯電話機1に配信するようにする。これにより、最新の音色パラメータを携帯電話機1にセットすることができ、携帯電話機1においてはよりよい音色の楽音を再生することができるようになる。
【0020】
ところで、音色パラメータがバージョンアップされた際には、その音色パラメータの全てが変更されるものではなく、一部だけが変更される場合がほとんどである。そこで、バージョンアップされている音色パラメータをシーケンス・データと共に携帯電話機1に配信する際には、変更された部分だけからなる差分音色パラメータだけを携帯電話機1に配信するようにしてもよい。携帯電話機1においては、配信された差分音色パラメータと、音色ナンバが一致するすでに記憶されている音色パラメータとから、バージョンアップされた音色パラメータを生成して、当該音色ナンバの音色パラメータとして上書き保存するようにする。この際には、バージョン情報も書き換えるようにする。これにより、配信するデータ量を低減できるにも関わらず、最新の音色パラメータを携帯電話機1にセットすることができ、携帯電話機1においてはよりよい音色の楽音を再生することができるようになる。
以上の説明は携帯電話機1がダウンロードセンター6から楽曲データをダウンロードする際の説明であるが、携帯電話機101がダウンロードセンター6から楽曲データをダウンロードする際も同様とされる。
【0021】
次に、本発明の端末装置の実施の形態である携帯電話機1(101)の構成例を図2に示す。
図2において、携帯電話機1は、一般にリトラクタブルとされたアンテナ1aを備え、アンテナ1aは変調・復調機能を有する通信部13に接続されている。システム用の中央処理装置(Central Processing Unit:CPU)10は、電話機能プログラムを実行することにより携帯電話機1の各部の動作を制御するシステム制御部であり、動作時の経過時間を示したり、特定の時間間隔でタイマ割込を発生するタイマを備えている。また、システムCPU10は割込要求信号(IRQ)を受けた際に、後述する楽曲再生処理を補助する処理を行う。システムRAM11はダウンロードセンター6からダウンロードされたシーケンス・データおよび音色パラメータからなる楽曲データの格納エリアや、ユーザ設定データ格納エリア、および、システムCPU10のワークエリア等が設定されるRAM(Random Access Memory)である。システムROM12はシステムCPU10が実行する送信や着信の各種電話機能プログラムや楽曲再生処理を補助する処理等のプログラムや、プリセットされたシーケンス・データや音色パラメータ等の各種データが格納されているROM(Read Only Memory)である。
【0022】
また、通信部13は、アンテナ1aで受信された信号の復調を行うと共に、送信する信号を変調してアンテナ1aに供給している。通信部13で復調された受話信号は、音声処理部(コーダ/デコーダ)14において復号され、マイク21から入力された通話信号は音声処理部14において圧縮符号化される。音声処理部14は、送話用の音声を高能率圧縮符号化/復号化しており、例えばCELP(Code Excited LPC )系やADPCM(適応差分PCM符号化)方式のコーダ/デコーダとされている。楽曲再生部15は、音声処理部14からの受話信号を受話用スピーカ22から放音したり、楽曲データを再生して着信音/保留音として出力している。なお、着信音は着信用スピーカ23から放音され、保留音は受話信号とミキシングされて受話用スピーカ22から放音される。
【0023】
また、楽曲再生部15が楽曲データを再生している際に、内部に設けられたシーケンス・データの記憶手段に所定量の空きエリアが生じた場合は、楽曲再生部15は割込要求信号(IRQ)をシステムCPU10に与え、システムCPU10はシステムRAM11あるいはシステムROM12に記憶されているシーケンス・データの続きを読み出して楽曲再生部15に転送している。インタフェース(I/F)16は、パーソナルコンピュータ等の外部機器20からシーケンス・データと音色パラメータからなる楽曲データ等をダウンロードするためのインタフェースである。入力部17は携帯電話機1に備えられた「0」から「9」のダイヤルボタンや各種ボタンから構成される入力手段である。表示部18は電話機能のメニューや、ダイヤルボタン等のボタンの操作に応じた表示がされる表示器である。バイブレータ19は、着信時に着信音に代えて携帯電話機1の本体を振動させることにより、着信をユーザに知らせるバイブレータである。なお、各機能ブロックはバス24を介してデータや命令の授受を行っている。
【0024】
次に、図2に示す楽曲再生部15の構成例を図3に示す。
図3において、インタフェース30はバス24を介して各種データを受け取るインタフェースであり、シーケンス・データや音色パラメータを含む各種データと、受け取ったデータが何のデータであるかを示すインデックス・データ(INDEX)とを分離して、データはDATA出力から出力し、インデックス・データ(INDEX)はINDEX出力から出力している。FIFO(First-In First-Out)31はシーケンス・データを、例えば32ワード分格納できる記憶手段であり、先に書き込まれたシーケンス・データから順次読み出されるようにされている。FIFO31からシーケンス・データが読み出されて設定された所定量の空きエリアが発生した際には、FIFO31は割込要求信号(IRQ)をシステムCPU10に通知している。これを受けて、システムCPU10はシーケンス・データの続きを所定量だけインタフェース30を介してFIFO31に書き込むようにする。
【0025】
INDEXデコーダ32は、インデックス・データをデコードして書込パルス(WP)とIRQ Pointデータのラッチパルス(LP)をFIFO31に供給し、シーケンサ33が受け取るデータがインタフェース30のDATA出力から出力される際にシーケンサ33にその旨を示すインデックス・データAD1を供給し、音色パラメータ記憶部(Voice RAM)34に書き込まれる音色パラメータがインタフェース30のDATA出力から出力される際に音色パラメータ記憶部(Voice RAM)34にその旨を示すインデックス・データAD2を供給している。
シーケンサ33は、FIFO31に読出パルス(Read)を印加してFIFO31から順次シーケンス・データを読み出して解釈し、シーケンス・データ中の時間情報に対応してシーケンス・データに対応する発音パラメータを音源部35に設定している。また、インタフェース30のDATA出力から取り込まれた音色割当データで指定されたチャンネル毎の音色ナンバを音色パラメータ記憶部(Voice RAM)34に供給して、音色ナンバに対応する音色パラメータを音色パラメータ記憶部(Voice RAM)34から読み出して音源部35の各チャンネルに設定している。
【0026】
また、インタフェース30を介して取り込まれた楽曲データ中のテンポデータ(Tempo)と音色割当データは、テンポデータあるいは音色割当データであることを示すインデックス・データをINDEXデコーダ32がデコードしてシーケンサ33にインデックス・データAD1として供給することにより、シーケンサ33に取り込まれる。シーケンサ33は、取り込んだ音色割当データで指定された音色パラメータを音色パラメータ記憶部(Voice RAM)34から読み出して、音源部35に設定する。
また、音色割当データおよびテンポデータはユーザが編集可能とされている。
【0027】
音色パラメータ記憶部(Voice RAM)34は、インタフェース30のDATA出力から取り込まれた音色パラメータが書き込まれる記憶手段であり、例えば8音色分の音色パラメータを記憶できる小さな記憶容量を有している。音源部35は、例えば4チャンネルの楽音信号を同時に発音することができ、各チャンネルは音色割当データに従って音色パラメータ記憶部(Voice RAM)34から読み出された音色に設定され、シーケンサ33から供給される発音パラメータに従った音高と発音時間長の楽音信号を各チャンネル毎に生成している。生成された4チャンネル分の楽音信号は、所定の再生タイミング毎にディジタルアナログ変換器(DAC)36に供給されて、アナログの楽音信号とされる。この楽音信号は、ミキサ37において音声処理部14によりデコードされた受話信号とミキシングされる。
【0028】
なお、音色パラメータ記憶部(Voice RAM)34には、前述したようにシーケンス・データを再生する際に使用する1つ以上の音色パラメータが転送されて書き込まれるので、音色パラメータ記憶部(Voice RAM)34の記憶容量が、例えば8音色分の音色パラメータを記憶できる小さな記憶容量であっても、当該楽曲データを再生する際に必要な音色パラメータは全て音色パラメータ記憶部(Voice RAM)34に記憶されているようになる。従って、音色パラメータ記憶部(Voice RAM)34の記憶容量が少なくても、データ量が多くされる高音質の音色パラメータに基づいて高品質の音質の楽曲を再生することができるようになる。さらに、システムRAM11から所望の音色パラメータを選択して、音色パラメータ記憶部(Voice RAM)34に書き込むことにより、種々の音色の楽曲を再生することが可能となる。
【0029】
次に、図3に示す楽曲再生部15の動作を説明するにあたり、楽曲データ、シーケンス・データ、音色パラメータおよび音色割当データの構成について以下に、説明する。
楽曲データの構成を図4(a)に示す。楽曲データは、チャンネル1の音色を指定するCH1音色ナンバ、チャンネル2の音色を指定するCH2音色ナンバ、・・・チャンネルnの音色を指定するCHn音色ナンバと、シーケンス・データとから構成されている。音色ナンバが指定されるチャンネル数は、シーケンス・データを再生する際の同時発音数とされ、例えば最大4チャンネルとされている。このようなデータ構成の楽曲データがシステムRAM11に少なくとも1曲以上記憶されている。各チャンネルに指定される音色ナンバは、そのチャンネルの音色を指定する情報であり、各チャンネルに音色ナンバを設定することにより、音色ナンバで特定される音色パラメータの楽音が当該チャンネルで再生されるようになる。このことから、各チャンネルナンバと各チャンネルに設定される音色ナンバとからなるデータブロックを音色割当データという。この場合、音色パラメータの実体はシステムRAM11に設けた音色パラメータ格納領域に記憶されるようになり、図4(b)に示す音色ナンバと音色パラメータとを対応させた音色パラメータテーブルが用意される。楽曲データが読み出される際には音色パラメータテーブルを参照することにより、その音色ナンバで指定された音色パラメータを、音色パラメータ記憶領域から読み出して楽曲再生部15に与えるようにすればよい。このようにすると、シーケンス・データは異なるが同一の音色パラメータを使用する場合に、重複して音色パラメータを記憶する必要がなくなり、システムRAM11の記憶領域を有効に使用することができる。
【0030】
シーケンス・データは、音符データと休符データとが楽譜とおり配列されて構成され、音符データと休符データのデータ構成の一例を図5に示す。図5に示す1ワードで示される音符データは、音高を示すオクターブコードとノートコード、発音するチャンネルナンバと、次の音符または休符までの時間長であるインターバルと、発音長の情報から構成される。また、図5に示す1ワードで示される休符データは、休符の種類を示す休符データと、発音チャンネルのチャンネルナンバと、次の音符または休符までの時間長であるインターバルとから構成されている。
なお、音符データに再生する発音パラメータを指定する音色ナンバを付加するようにしてもよい。このようにすると、音符データ毎に音色を指定することができる。
【0031】
次に、音色パラメータ記憶部(Voice RAM)34に書き込まれる音色パラメータの構成例を図6に示す。
音色パラメータ記憶部(Voice RAM)34には、複数の音色パラメータを書き込むことができ、その音色パラメータ数nは、例えば最大「8」とされる。図6に示すように、音色パラメータ1、音色パラメータ2、・・・音色パラメータnは、波形パラメータと、エンベロープパラメータと、変調パラメータと、エフェクトパラメータからなり、それぞれのパラメータは各音色パラメータに特有のパラメータとされている。各音色パラメータにおける波形パラメータは、楽音波形を指示しており、例えば音源部35が波形テーブルを有するPCM音源とされていた場合は、波形テーブルの何れかの波形を指示するパラメータあるいは波形サンプルデータそのものとされ、音源部35がFM音源とされていた場合は、FM演算のアルゴリズムを指示するパラメータとされる。エンベロープパラメータは、アタックレート,ディケイレート,サスティンレベル,リリースレート等のパラメータであり、変調パラメータはビブラートやトレモロの深さや速さのパラメータであり、エフェクトパラメータはリバーブ、コーラス、バリエーション等のパラメータである。
【0032】
次に、音色割当データの構成例を図7に示す。図7に示すように、チャンネル1〜チャンネル4に割り当てられた音色が音色ナンバで示されている。すなわち、シーケンサ33がチャンネル毎に指定された音色ナンバを音色パラメータ記憶手段34に供給すると、音色ナンバに対応する音色パラメータが音色パラメータ記憶手段34から読み出されて音源部35の各チャンネルの音色としてそれぞれ設定されるようになる。
【0033】
ここで、システムCPU10が再生スタート指示を行うと、スタート指示(Start)がシーケンサ33に与えられて再生が開始される。システムCPU10が再生スタート指示を行う場合は、携帯電話機1(101)において再生キーを操作することによりBGMや通常再生がスタートされた場合、および、着信通知が受信されて着信音(着信メロディ)の再生がスタートされた場合である。また、保留操作キーを操作して保留音の再生がスタートされた場合も、システムCPU10が再生スタート指示を行う。システムCPU10は、再生スタート指示を行った際に再生指示スタートの原因となった用途(着信、BGM、通常再生、保留)毎にあらかじめ選択されている楽曲データを楽曲再生部15に送る。
【0034】
この際に、選択された楽曲データにおけるシーケンス・データの先頭から所定量のシーケンス・データがシステムCPU10からFIFO31に書き込まれ、音色割当データで指定されている1つ以上の音色パラメータが、システムCPU10の制御の基で音色パラメータ記憶部(Voice RAM)34に書き込まれるようになる。なお、シーケンス・データの書き込みは、INDEXデコーダ32がデコードした書込パルス(WP)をFIFO31に供給することにより、インタフェース30を介して取り込まれたシーケンス・データがFIFO31に書き込まれることにより行われる。また、音色パラメータの書き込みは、INDEXデコーダ32がデコードしたインデックス・データAD2を音色パラメータ記憶部(Voice RAM)34に供給することにより、インタフェース30を介して取り込まれた音色パラメータが音色パラメータ記憶部(Voice RAM)34に書き込まれることにより行われる。
【0035】
再生指示を受けたシーケンサ33は、FIFO31に書き込まれているシーケンス・データの先頭を読み出して解釈し、シーケンス・データに基づく発音パラメータを音源部35にセットする。同時に、音色割当データで指定された音色ナンバを音色パラメータ記憶部(Voice RAM)34に通知し、音色ナンバに対応する音色パラメータを音色パラメータ記憶部(Voice RAM)34から読み出して音源部35にセットする。これにより、音源部35からシーケンス・データに基づいて再生データを再生する準備が整うようになる。
ところで、インタフェース30を介して取り込まれた楽曲データ中のシーケンス・データは、そのインデックス・データをINDEXデコーダ32がデコードしてFIFO31に書込パルス(WP)を供給することにより、FIFO31には最大32ワード分のシーケンス・データが書き込まれるようになる。ただし、シーケンス・データは32ワードで全てではなく、32ワードのシーケンスデータは一曲のシーケンス・データの一部である。そこで、FIFO31に格納されているシーケンス・データのデータ量が所定量以下とされた際に、FIFO31は割込要求信号(IRQ)をシステムCPU10に通知して、続くシーケンス・データをFIFO31に書き込むようにしている。
【0036】
すなわち、音源部35が楽音を再生する際には、FIFO31から上記した音符データおよび休符データが順次読み出されるようになり、読み出された音符データおよび休符データはクリアされる。この結果、FIFO31には空きエリアが発生するようになる。再生スタート時には、FIFO31にはシーケンス・データの先頭の32ワード分しか書き込まれていないため、発生した空きエリアに続く次のシーケンス・データを書き込むようにすれば、データ量が多くされるシーケンス・データとされていてもFIFO31に繰り返しシーケンス・データを書き込むことにより、長時間再生されるシーケンス・データを再生することができるようになる。楽曲再生部15は、このような原理で楽曲データを再生しており、再生に先立ってFIFO31に何ワード分の空きエリアが発生した際に次のシーケンス・データをFIFO31に書き込むかを設定している。IRQ Pointデータは、このデータで示すワード分空きエリアが発生した時に、FIFO31に続くシーケンス・データを書き込むことを指示する割込要求信号(IRQ)をシステムCPU10に与えるためのデータであり、再生に先立ってIRQ Pointデータが設定される。この場合、IRQ Pointデータを「0」ワードに近く設定すると、割込頻度が増加するが、書込ワード数が少なくなるためシステムCPU10の処理は軽い処理とすることができる。一方、IRQ Pointデータを「32」ワードに近く設定すると、割込頻度は少なくなるが書込ワード数が多くなるためシステムCPU10の処理は重くなる。従って、システムCPU10の処理速度に応じてIRQ Pointデータを設定するのが好適である。
【0037】
ここで、シーケンサ33がFIFO33に読出パルス(Read)を印加して、FIFO31から先頭のシーケンス・データを読み出すと、シーケンサ33は読み出されたシーケンス・データ(音符データ)中のオクターブコードとノートコードの音高データと、チャンネルナンバで指定されたチャンネルに設定されている音色パラメータを音色パラメータ記憶部(Voice RAM)34から読み出して音源部35に供給する。そして、設定されたテンポ情報とインターバル情報に基づく発音タイミングに達すると、キーオンデータを音源部35に供給して、再生を開始させる。音源部35は、供給された音色パラメータの楽音を指定された音高で再生する。そして、シーケンス・データの発音長で示す終了タイミングにおいて、シーケンサ33は当該楽音のキーオフデータを当該チャンネルを指定して音源部35に設定する。これにより音源部35は、当該楽音の消音処理を行う。このような再生処理がシーケンス・データをFIFO31から読み出す毎に実行されることにより、音源部35から再生された楽音データがDAC36へ出力されていくようになる。
【0038】
そして、楽音再生の進行に伴いFIFO31において検出された空きエリアがIRQ Pointデータ値に等しくなった場合には、割込要求信号(IRQ)がシステムCPU10に与えられる。システムCPU10はこれを受けて、システムRAM11から次のシーケンス・データを(31−IRQ Point)ワード分読み出してバス24に送出する。このシーケンス・データは、インタフェース30を介してFIFO31の空きエリアに書き込まれる。このようなFIFO31への(31−IRQ Point)ワード分の次のシーケンス・データが書き込まれる処理が繰り返し実行されることにより、多くのデータからなるシーケンス・データであっても結果的にFIFO31に全てのデータが書き込まれることになる。FIFO31から読み出されたシーケンス・データは、音源部35において順次再生されて出力されることから、多くのデータとされる長時間の再生楽音を得ることのできる楽曲データを、例えば32ワード分しか記憶できないFIFO31を用いても再生することができるようになる。
【0039】
ここで、携帯電話機1に着信があった際に、楽曲再生部15で楽曲が再生されるように設定されていた場合は、携帯電話機1に着信があった際に、上記した楽曲再生処理が行われてDAC36によりアナログ信号に変換された楽音信号が着信音として着信用スピーカ23から放音される。また、携帯電話機1が保留操作された際に、楽曲再生部15で楽曲が保留音として再生されるように設定されていた場合は、携帯電話機1が保留された際に、上記した楽曲再生処理が行われてDAC36によりアナログ信号に変換された楽音信号が保留音として受話用スピーカ22から放音される。同時に、相手側の電話機に保留音を送信するために音源部35から出力される楽音信号が、音声処理部14に供給され、通信部13を介して送信されるようになる。
【0040】
次に、本発明の端末装置を携帯電話機とし本発明の楽曲データ配信装置をダウンロードセンターとして構築した、図1に示す電話回線を使用したネットワークにおいて、携帯電話機1がダウンロードセンター6に配信要求をして、楽曲データをダウンロードする際の、携帯電話機1とダウンロードセンター6とで行われる処理を図8を参照して説明する。
ユーザが携帯電話機1からダウンロードセンター6の電話番号を発呼することにより、携帯電話機1とダウンロードセンター6とが接続されたとする。ここで、ユーザは携帯電話機1の表示部18に表示されたメニューから楽曲データのダウンロード要求(S1)を行う。ダウンロードセンター6は、このダウンロード要求を受けて、格納されている楽曲データのリストを携帯電話機1に通知してダウンロードする楽曲データのナンバを要求する(S2)。ユーザは、この際に携帯電話機1の表示部18に表示された送られた楽曲データのリストから所望の楽曲データを選択する選曲処理(S3)を行う。この選曲処理により選曲された楽曲データの楽曲ナンバがダウンロードセンター6に通知される(S4)。
【0041】
ダウンロードセンター6は、楽曲ナンバを受信すると、その楽曲ナンバに該当する楽曲データを参照して、楽曲データ中の音色割当データを参照して各チャンネルの音色ナンバとそのバージョン情報を抽出する(S5)。この際に発音チャンネル数が複数チャンネルと設定されている場合は、全てのチャンネルにおける音色パラメータの音色ナンバとそのバージョン情報を抽出する。次いで、ダウンロードセンター6は携帯電話機1に、抽出された音色ナンバの音色パラメータがシステムRAM11あるいはシステムROM12に記憶されているか否か、および、記憶されている場合はそのバージョン情報を問い合わせる(S6)。携帯電話機1は、これを受けて問い合わされた音色ナンバと一致する音色パラメータがシステムRAM11あるいはシステムROM12に記憶されているか否かを検出し、検出された場合はその音色パラメータのバージョン情報を抽出する音色パラメータ問い合わせ処理を行う(S7)。そして携帯電話機1は、この音色パラメータ問い合わせ処理で得られた問い合わされた音色ナンバと一致する音色パラメータがシステムRAM11あるいはシステムROM12に記憶されているか否かの情報と、記憶されている音色パラメータのバージョン情報とをダウンロードセンター6へ通知する(S8)。
【0042】
ダウンロードセンター6は、この通知の内容から携帯電話機1へ送信するデータを決定する後述する音色パラメータ一致送信処理(S9)を行い、決定された送信データを携帯電話機1へ送信する(S10)。この音色パラメータ一致送信処理は、携帯電話機1にすでに記憶されている音色パラメータはダウンロードセンター6から配信せず、音色ナンバが一致する音色パラメータが記憶されているもののそのバージョン情報が一致しない場合に、差分の音色パラメータだけを配信するための処理である。少なくともシーケンス・データを含む楽曲データの配信を受けた携帯電話機1では、配信された楽曲データをシステムRAM11に記憶する記憶処理が行われる(S11)。
【0043】
この記憶処理では、配信された楽曲データ中の音色パラメータが音色パラメータ記憶領域に格納され、シーケンス・データと音色割当データとからなる楽曲データが、楽曲データ記憶領域に記憶される。この際に、音色割当データがない場合は、各チャンネルに指定された各音色パラメータの音色ナンバから音色割当データを生成する。また、音色パラメータは、そのバージョン情報と一緒に記憶される。なお、差分の音色パラメータが配信された場合は、その差分の音色パラメータと一致する音色ナンバの音色パラメータを、システムRAM11から読み出して、読み出された音色パラメータと差分の音色パラメータとを合成することにより、バージョンアップした音色パラメータを生成する。そして、生成された音色パラメータをその音色ナンバの音色パラメータとして、更新されたバージョン情報と共に音色パラメータ記憶領域へ記憶する。記憶処理が終了したら、携帯電話機1はダウンロードセンター6にダウンロード完了通知をし、接続を解除する(S12)。
【0044】
次に、ダウンロードセンター6で実行される音色パラメータ一致送信処理を、図9に示すフローチャートを参照しながら説明する。
この音色パラメータ一致送信処理が起動されると、ステップS21にてチャンネルナンバiが1に設定され、ステップS22にて携帯電話機1から受けた問い合わせの回答の内容から、配信される楽曲データにおけるチャンネル1の音色パラメータの音色ナンバと一致する音色ナンバが、携帯電話機1において検出されたか否かが判断される。ここで、一致する音色ナンバが携帯電話機1において検出されたと判断された場合は、ステップS23にてその音色ナンバの音色パラメータが携帯電話機1にすでに記憶されているか否かが携帯電話機1から受けた問い合わせの回答の内容から判断される。ここでも、その音色ナンバの音色パラメータが携帯電話機1にすでに記憶されていると判断された場合は、ステップS24にて、配信される楽曲データにおけるチャンネル1の音色パラメータのバージョン情報と、携帯電話機1に記憶されている音色パラメータのバージョン情報とが一致するか否かが、携帯電話機1から受けた問い合わせの回答の内容から判断される。
【0045】
このステップS24にて、両音色パラメータのバージョン情報が一致すると判断された場合は、その音色パラメータは既に携帯電話機1に記憶されているので、その音色パラメータを選択することなくステップS27に進む。これにより、その音色パラメータはダウンロードセンター6から配信されないことになる。また、ステップS22にて配信される楽曲データにおけるチャンネル1の音色パラメータの音色ナンバと一致する音色ナンバが、携帯電話機1において検出されなかったと判断された場合は、ステップS25にてその音色パラメータが選択されるようになる。さらに、ステップS23において、その音色ナンバの音色パラメータが携帯電話機1に記憶されていないと判断された場合も、ステップS25にてその音色パラメータが選択されるようになる。さらにまた、ステップS24にて両音色パラメータのバージョン情報が一致しないと判断された場合は、ステップS26に分岐して両音色パラメータの差分の音色パラメータが生成される。この場合、バージョン情報の違いに応じた差分音色パラメータをあらかじめ用意しておき、バージョン情報の違いに応じた差分音色パラメータを選択することにより生成するようにしてもよい。
【0046】
ステップS25あるいはステップS26の処理が終了すると、ステップS27に進み、ステップS27にて最後のチャンネルか否かが判断される。この場合は、iは1とされているのでNOと判断されステップS28に分岐する。ステップS28にてチャンネルナンバがインクリメントされ、ステップS22に戻り、ステップS22ないしステップS27の処理がチャンネル2に対して行われる。そして、ステップS22ないしステップS27の最後のチャンネルに対する処理が終了すると、ステップS29に進んでステップS25にて選択された音色パラメータ、ステップS26で生成された差分音色パラメータ、および、シーケンス・データとが携帯電話機1へ送信されるようになる。
このように、音色パラメータ一致送信処理では、チャンネル毎に処理をしているので、チャンネル毎に指定されている音色パラメータの送信態様が異なる場合がある。
【0047】
なお、FIFO31の記憶容量は32ワード分のシーケンス・データを記憶できる容量としたが、これに限るものではなくシステムRAM11より大幅に少ない記憶容量とされていればよい。さらに、音色パラメータ記憶部(Voice RAM)34は8音色分の音色パラメータを記憶できる記憶容量としたが、これに限るものではなく少なくとも発音チャンネル数以上の音色数を記憶できる記憶容量であれば、システムRAM11より大幅に少ない記憶容量でよい。
さらに、楽曲データを記憶手段に記憶しておく際に、シーケンス・データ+音色割当データと音色パラメータとに分けてそれぞれの記憶領域に記憶するようにしたが、本発明はこれに限るものではなく、シーケンス・データ+音色パラメータの形態で記憶するようにしてもよい。
【0048】
さらにまた、本発明の楽曲再生装置における音源部35の音源方式としては、FM音源方式、波形メモリ音源(PCM音源、ADPCM音源)方式、物理モデル音源方式等とすることができ、音源の構成としてはDSP等を用いたハードウェア音源でも、音源プログラムを実行させるソフトウェア音源でもよい。
さらにまた、シーケンス・データは図5に示すフォーマットとしたが、本発明はこれに限るものではなく、時間情報を付加したMIDI形態やSMF(Standard MIDI File)形式のシーケンス・データであってもよい。
【0049】
【発明の効果】
本発明は以上説明したように、楽曲データが配信される端末装置において、配信される楽曲データにおける音色パラメータの音色ナンバに該当する音色パラメータが格納されていない場合と、格納されていたとしてもその音色パラメータのバージョン情報が一致しない場合に、その音色パラメータを端末装置に配信するようにしている。従って、すでに端末装置に格納されている音色パラメータをダウンロードすることを防止することができる。また、配信される音色パラメータがバージョンアップされている場合も配信されるので、端末装置には最新の音色パラメータを格納することができるようになる。
なお、バージョンアップされた音色パラメータを配信する際に、その差分の音色パラメータのみを配信するようにすると、配信データ量を低減することができ、ダウンロード時間を短時間とすることができる。このように、差分の音色パラメータのみが配信された場合は、端末装置において既に格納されている音色ナンバが一致する音色パラメータと配信された差分の音色パラメータから、最新の音色パラメータを生成して記憶することができる。これにより、端末装置にはバージョンアップされた最新の音色パラメータを格納することができるようになる。
【図面の簡単な説明】
【図1】 本発明の端末装置を携帯電話機とし本発明の楽曲データ配信装置をダウンロードセンターとして構築した、電話回線を使用したネットワークの概念図である。
【図2】 本発明の端末装置の実施の形態である携帯電話機の構成例を示す図である。
【図3】 本発明の端末装置の実施の形態である携帯電話機における楽曲再生部の構成例を示す図である。
【図4】 楽曲データのデータ構成例を示す図である。
【図5】 シーケンス・データのデータ構成例を示す図である。
【図6】 楽曲再生部の音色パラメータ記憶部(Voice RAM)に書き込まれた音色パラメータの構成例を示す図である。
【図7】 音色割当データの構成例を示す図である。
【図8】 図1に示すネットワークにおいて、楽曲データのダウンロード時に本発明の端末装置である携帯電話機と本発明の楽曲データ配信装置であるダウンロードセンターとで行われる処理を説明するための図である。
【図9】 本発明の楽曲データ配信装置であるダウンロードセンターで行われる音色パラメータ一致送信処理のフローチャートである。
【符号の説明】
1 携帯電話機、1a アンテナ、2a,2b,2c,2d 基地局、3 移動交換局、4 関門交換局、5a,5b,5c 一般電話交換局、6 ダウンロードセンター、10 システムCPU、11 システムRAM、12 システムROM、13 通信部、14 音声処理部、15 楽曲再生部、16 インタフェース(I/F)、17 入力部、18 表示部、19 バイブレータ、20 外部機器、21 マイク、22 受話用スピーカ、23 着信用スピーカ、24 バス、30 インタフェース(I/F)、31 FIFO、32 INDEXデコーダ、33 シーケンサ、34 音色パラメータ記憶部(Voice RAM)、35音源部、36 ディジタルアナログ変換器(DAC)、37 ミキサ(MIX)、101 携帯電話機
[0001]
[Technical field to which the invention belongs]
The present invention relates to a music data distribution device that distributes music data and a terminal device such as an automobile telephone or a mobile phone that can receive the distribution of music data.
[0002]
[Prior art]
A telephone terminal device carried by a user in a mobile phone system such as a PDC (Personal Digital Cellular telecommunication system) known as an analog cellular system or a digital cellular system, or in a simple mobile phone system (PHS: Personal Handyphone System) When there is an incoming call, a ring tone is emitted to notify the user of the incoming call. As this ringing tone, a beep sound has been conventionally emitted. However, since the beep sound is annoying, it has recently been changed to a melody sound instead of a beep sound.
[0003]
In the conventional telephone terminal device, the incoming melody is reproduced by installing a melody IC that can reproduce the melody. The melody IC is composed of a sound source, a sequencer, a musical score data storage ROM, and a timbre data storage ROM, and the musical score data stored in the musical score data storage ROM is given from the timbre data storage ROM by giving a reproduction command from the outside. The melody is played with the read tone. Therefore, although the melody sound can be generated, the sound quality of the melody sound is not satisfactory.
[0004]
[Problems to be solved by the invention]
In order to solve this, it is conceivable to use a music reproducing device capable of performing automatically. Such an automatic performance music reproducing apparatus includes a central processing unit (CPU), a ROM (Read Only Memory), a RAM (Random Access Memory), a sound source, and an automatic performance program stored in the ROM. When the CPU executes, the music data stored in the ROM or RAM is read, and the music is reproduced by setting the sound generation parameters for the sound source.
When such a music playback device is installed in a terminal device such as a mobile phone, the music data played back by the music playback device is generally composed of sequence data and timbre parameters. Therefore, in order to reproduce the incoming melody by the music reproducing device, such music data is required.
[0005]
In this case, some pieces of music data composed of sequence data and timbre parameters are preset in the terminal device. However, if the user wants to use any music as an incoming melody, it is necessary to type in the music sequence data one by one. there were. However, since the keys provided in the terminal device such as a cellular phone have only a limited number of keys, there has been a problem that the sequence data input operation is a difficult operation. In addition, for a timbre parameter, if no timbre editing means is provided, an arbitrary timbre parameter cannot be set.
In order to solve this problem, it has been proposed to download music data of music desired by the user from the download center to the user terminal through a telephone line or various networks. According to this download, the user terminal can download desired music data to the user terminal by connecting to the download center, and any of the downloaded music data can be selected as an incoming melody.
[0006]
However, since music data is composed of sequence data and timbre parameters that are required to play back the sequence data, the same timbre parameters are downloaded in duplicate even if the sequence data is different. It comes to happen. Then, since the same timbre parameter is stored redundantly in the storage means in the user terminal, the storage area cannot be used efficiently. In addition, the communication time to be downloaded to the user terminal becomes longer, causing traffic congestion, and the communication charge increases accordingly.
[0007]
Therefore, an object of the present invention is to provide a music data distribution device and a terminal device that do not download timbre parameters redundantly when music data is downloaded.
It is another object of the present invention to provide a music data distribution device and a terminal device that can cope with a case where a version is revised to be a better timbre parameter even if the timbre number of the timbre parameter matches. .
[0008]
[Means for Solving the Problems]
To achieve the above object, a music data distribution device according to the present invention is a music data distribution device that distributes music data composed of sequence data and timbre parameters to a terminal device that has requested distribution of music data. Upon receiving a distribution request for predetermined music data from the terminal device, the timbre number of the timbre parameter of the music data and the version information of the timbre parameter are extracted, and the timbre parameter of the timbre number is stored in the terminal device. And the inquiry means for performing the interrogation of the version information of the timbre parameter corresponding to the timbre number, and the content of the notification from the terminal device when receiving the notification of the inquiry from the terminal device Determination means for determining whether or not a timbre parameter corresponding to the timbre number is stored, version information of the timbre parameter of the music data, and distributing to the terminal device according to the determination of the determination means Distribution means for determining data, wherein the determination means is a sound corresponding to the timbre number. When the parameter is stored and the notified version information is determined to match the version information of the timbre parameter of the music data, the distribution means does not distribute the timbre parameter and the sequence data And the determining means determines that the timbre parameter corresponding to the timbre number is not stored, the distributing means distributes the timbre parameter and sequence data, and the determining means When it is determined that the timbre parameter corresponding to the number is stored and the notified version information does not match the version information of the timbre parameter of the music data, the difference between the timbre parameter and the sequence data are obtained. I am trying to deliver.
[0010]
The terminal device of the present invention capable of achieving the above object is requested to be distributed in the terminal device receiving distribution of music data composed of sequence data and timbre parameters from a music data distribution device to which music data is requested to be distributed. When receiving the timbre parameter distribution in the music data from the music data distribution device, In response to an inquiry from the music data distribution device, a notification means for notifying whether or not a timbre parameter of a timbre number of a timbre parameter of the music data is stored, and version information of a timbre parameter corresponding to the timbre number And storage means for storing data distributed according to the content notified by the notification means, and the content notified by the notification means The tone parameter corresponding to the tone number is Memory And the version matches Notification If the timbre parameter is not delivered Only sequence data is distributed and stored in the storage means, Also, In the case of a notification in which a timbre parameter corresponding to the timbre number is not stored, the timbre parameter and sequence data are distributed and stored in the storage unit, and The tone parameter corresponding to the tone parameter tone number is Memory But the version does not match Notification If the difference between the timbre parameters And sequence data Delivered And stored in the storage means I am doing so.
[0012]
Furthermore, in the terminal device of the present invention, Delivery From the timbre parameter difference and the timbre parameter with the same timbre number stored in the storage means, an upgraded timbre parameter is generated, Store in the storage means You may make it do.
[0013]
According to the present invention, in the terminal device to which the music data is distributed, the case where the timbre parameter corresponding to the timbre number of the timbre parameter in the music data to be distributed is not stored and even if it is stored When the timbre parameter version information does not match, the timbre parameter is distributed to the terminal device. Therefore, it is possible to prevent the timbre parameters already stored in the terminal device from being downloaded. Further, since the distributed timbre parameters are also distributed, the latest timbre parameters can be stored in the terminal device.
Note that when distributing the upgraded timbre parameter, only the timbre parameter of the difference is distributed, so that the distribution data amount can be reduced and the download time can be shortened. As described above, when only the difference timbre parameter is distributed, the latest timbre parameter is generated and stored from the timbre parameter having the same timbre number stored in the terminal device and the distributed timbre parameter. can do. Thereby, the latest upgraded timbre parameter can be stored in the terminal device.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a conceptual diagram of a network using a telephone line in which the terminal device of the present invention is a mobile phone and the music data distribution device of the present invention is a download center.
In the cellular system using the mobile phone 1 (101) which is the terminal device of the present invention as a mobile device, a small zone method is generally adopted and a large number of wireless zones are arranged in a service area. Each of the wireless zones is managed by the base station 2a to the base station 2d. When the mobile phone 1 (101), which is a mobile station, communicates with a general phone, the wireless zone to which the mobile phone 1 (101) belongs Is connected to the mobile switching center 3 via the base station 2c that manages the mobile phone, and the mobile switching center 3 is connected to the general telephone network. As described above, the cellular phone 1 (101) can make a call with another phone by being connected to the base station 2c that manages the radio zone to which the mobile phone 1 (101) belongs via the radio line.
[0015]
An example of such a cellular network is shown in FIG. 1, and the mobile phone 1 (101) may belong to a wireless zone managed by the base station 2c among the base stations 2a to 2d. It is shown. The mobile phone 1 (101) and the base station 2c are connected via a wireless line during communication, and an uplink signal when making a call or performing location registration is received and processed by the base station 2c. The base station 2a to the base station 2d manage different radio zones, but the peripheral edges of the radio zones may overlap each other. The base stations 2a to 2d are connected to the mobile switching center 3 through multiplexed lines, and the plurality of mobile switching centers 3 are concentrated at the gateway switching center 4 and connected to the general telephone switching center 5a. A plurality of gateway exchanges 4 are connected to each other via a relay transmission path. The general telephone exchanges 5a, 5b, 5c,... Are installed in each area, and the general telephone exchanges 5a, 5b, 5c,. A large number of general telephones are connected to each of the general telephone exchanges 5a, 5b, 5c..., For example, the download center 6 which is a music data distribution apparatus of the present invention is connected to the general telephone exchange 5b. Has been.
[0016]
In the download center 6, new music and upgraded timbre parameters are added as needed to store a large amount of music data. In the present invention, for example, the mobile phone 1 is connected to the download center 6 connected to the general telephone network. The music data can be downloaded to (101). Here, an outline description will be given of a case where the mobile phone 1 makes a distribution request to the download center 6 and downloads music data. At this time, the mobile phone 1 calls the telephone number of the download center 6. As a result, the download center 6 and the mobile phone 1 are connected through the route of the mobile phone 1-base station 2c-mobile switching center 3-gateway switching center 4-general telephone switching center 5a-general telephone switching center 5b-download center 6. Is done. Next, the cellular phone 1 can download music data of a desired music title by operating a dial button or the like according to a menu displayed on the display unit. In this case, the music data is composed of sequence data and timbre parameters, and the timbre parameters are composed of parameter groups such as waveform parameters and envelope parameters for forming the timbre. The timbre parameter is associated with a unique timbre number for each different timbre parameter, and the timbre parameter can be specified by the timbre number.
[0017]
That is, in the download center 6, as shown in FIG. 4, the music data includes channel 1, channel 2,... Channel n, a tone number that specifies the tone parameter specified for each channel, and these at the time of playback. They are stored as a file composed of sequence data using timbre parameters and a timbre parameter file specified by a timbre number. Therefore, when music data is downloaded from the download center 6, sequence data and at least one tone generation channel are used, so that one or more timbre parameters are downloaded. In this case, the timbre parameter is a timbre parameter specified by a timbre number designated for each channel. By the way, the present invention is characterized in that the timbre parameters are distributed when the timbre parameters are downloaded from the download center 6 to the mobile phone 1. The outline will be described below.
[0018]
In the storage means provided in the mobile phone 1, several pieces of music data are preset, and already downloaded music data is also stored. Therefore, some timbre parameters constituting the music data are also stored. As described above, when new sequence data to be used at the time of reproduction of the already stored timbre parameter is downloaded from the download center 6 to the mobile phone 1, a timbre parameter that matches the already stored timbre parameter is downloaded. That is a waste. Accordingly, in the present invention, tone color parameters and sequence data that are not yet stored are downloaded without downloading tone color parameters that match the tone color parameters that are already stored.
[0019]
In order to detect whether or not the timbre parameter to be downloaded to the mobile phone 1 is already stored, the mobile phone 1 is inquired of the timbre number specifying the timbre parameter. If the timbre parameter of the timbre number inquired is stored in the mobile phone 1, when the download center 6 distributes the sequence data to the mobile phone 1, the timbre parameter is not distributed. The timbre parameter has been upgraded so that a better timbre can be created. That is, some timbre parameters may be changed even if the timbre numbers match. Therefore, even if the timbre parameter of the timbre number inquired of the mobile phone 1 is stored, if the information indicating the version does not match, it is assumed that the timbre parameter stored in the download center 6 has been upgraded. The timbre parameter is distributed to the mobile phone 1 when the sequence data is distributed. As a result, the latest timbre parameters can be set in the mobile phone 1, and the mobile phone 1 can reproduce a musical tone having a better timbre.
[0020]
By the way, when the timbre parameters are upgraded, not all of the timbre parameters are changed, and only a part of them is changed in most cases. Therefore, when the upgraded timbre parameter is delivered to the mobile phone 1 together with the sequence data, only the differential timbre parameter consisting only of the changed portion may be delivered to the mobile phone 1. In the mobile phone 1, a version-up timbre parameter is generated from the distributed difference timbre parameter and the already stored timbre parameter having the same timbre number, and is overwritten and saved as the timbre parameter of the timbre number. Like that. At this time, the version information is also rewritten. As a result, the latest timbre parameter can be set in the mobile phone 1 in spite of the reduction in the amount of data to be distributed, and the mobile phone 1 can reproduce a musical tone with a better timbre.
The above description is the description when the mobile phone 1 downloads music data from the download center 6, but the same applies when the mobile phone 101 downloads music data from the download center 6.
[0021]
Next, FIG. 2 shows a configuration example of the mobile phone 1 (101) which is an embodiment of the terminal device of the present invention.
In FIG. 2, a mobile phone 1 includes an antenna 1a that is generally retractable, and the antenna 1a is connected to a communication unit 13 having a modulation / demodulation function. A central processing unit (CPU) 10 for the system is a system control unit that controls the operation of each unit of the mobile phone 1 by executing a telephone function program, and indicates an elapsed time during operation or specifies a specific time. A timer that generates a timer interrupt at the time interval is provided. Further, when the system CPU 10 receives an interrupt request signal (IRQ), the system CPU 10 performs processing for assisting music reproduction processing described later. The system RAM 11 is a RAM (Random Access Memory) in which a music data storage area composed of sequence data and timbre parameters downloaded from the download center 6, a user setting data storage area, a work area of the system CPU 10, and the like are set. is there. The system ROM 12 stores various data such as various telephone function programs for transmission and reception executed by the system CPU 10 and processes for assisting music reproduction processing, and various data such as preset sequence data and timbre parameters. Only Memory).
[0022]
The communication unit 13 demodulates a signal received by the antenna 1a, modulates a signal to be transmitted, and supplies the modulated signal to the antenna 1a. The received signal demodulated by the communication unit 13 is decoded by the voice processing unit (coder / decoder) 14, and the call signal input from the microphone 21 is compressed and encoded by the voice processing unit 14. The voice processing unit 14 performs high-efficiency compression coding / decoding of voice for transmission, and is, for example, a CELP (Code Excited LPC) system or ADPCM (adaptive differential PCM coding) coder / decoder. The music reproduction unit 15 emits the reception signal from the audio processing unit 14 from the reception speaker 22 or reproduces the music data and outputs it as a ring tone / holding tone. The ring tone is emitted from the incoming speaker 23, and the hold tone is mixed with the received signal and emitted from the incoming speaker 22.
[0023]
Further, when the music reproducing unit 15 is reproducing the music data, if a predetermined amount of empty area occurs in the sequence data storage means provided therein, the music reproducing unit 15 sends an interrupt request signal ( IRQ) is given to the system CPU 10, and the system CPU 10 reads out the continuation of the sequence data stored in the system RAM 11 or the system ROM 12 and transfers it to the music reproducing unit 15. The interface (I / F) 16 is an interface for downloading music data including sequence data and timbre parameters from an external device 20 such as a personal computer. The input unit 17 is an input unit that includes dial buttons and various buttons “0” to “9” provided in the mobile phone 1. The display unit 18 is a display that displays a menu corresponding to a telephone function or a button operation such as a dial button. The vibrator 19 is a vibrator that informs the user of an incoming call by vibrating the main body of the mobile phone 1 instead of a ringtone when receiving an incoming call. Each functional block exchanges data and commands via the bus 24.
[0024]
Next, FIG. 3 shows a configuration example of the music reproducing unit 15 shown in FIG.
In FIG. 3, an interface 30 is an interface for receiving various data via the bus 24, and includes various data including sequence data and timbre parameters, and index data (INDEX) indicating what data the received data is. The data is output from the DATA output, and the index data (INDEX) is output from the INDEX output. A FIFO (First-In First-Out) 31 is storage means capable of storing sequence data, for example, for 32 words, and is sequentially read from the previously written sequence data. When a predetermined amount of vacant areas set by reading sequence data from the FIFO 31 occurs, the FIFO 31 notifies the system CPU 10 of an interrupt request signal (IRQ). In response to this, the system CPU 10 writes the continuation of the sequence data in the FIFO 31 through the interface 30 by a predetermined amount.
[0025]
The INDEX decoder 32 decodes the index data, supplies a write pulse (WP) and a latch pulse (LP) of IRQ Point data to the FIFO 31, and the data received by the sequencer 33 is output from the DATA output of the interface 30. The index data AD1 indicating that is supplied to the sequencer 33, and when the timbre parameter written in the timbre parameter storage section (Voice RAM) 34 is output from the DATA output of the interface 30, the timbre parameter storage section (Voice RAM). In FIG. 34, index data AD2 indicating that fact is supplied.
The sequencer 33 applies a read pulse (Read) to the FIFO 31 to sequentially read and interpret the sequence data from the FIFO 31, and generates a tone generation parameter corresponding to the sequence data corresponding to the time information in the sequence data. Is set. Further, the timbre number for each channel designated by the timbre assignment data fetched from the DATA output of the interface 30 is supplied to the timbre parameter storage section (Voice RAM) 34, and the timbre parameter corresponding to the timbre number is stored in the timbre parameter storage section. The data is read from the (Voice RAM) 34 and set for each channel of the sound source unit 35.
[0026]
The tempo data (Tempo) and timbre assignment data in the music data fetched via the interface 30 are decoded by the INDEX decoder 32 into the sequencer 33 after index data indicating tempo data or timbre assignment data. By being supplied as index data AD1, it is taken into the sequencer 33. The sequencer 33 reads the timbre parameter specified by the acquired timbre assignment data from the timbre parameter storage unit (Voice RAM) 34 and sets it in the sound source unit 35.
The timbre assignment data and tempo data can be edited by the user.
[0027]
The timbre parameter storage unit (Voice RAM) 34 is a storage means to which timbre parameters taken from the DATA output of the interface 30 are written, and has a small storage capacity capable of storing timbre parameters for eight timbres, for example. The tone generator 35 can simultaneously generate, for example, four channels of tone signals, and each channel is set to a timbre read from a timbre parameter storage unit (Voice RAM) 34 according to the timbre assignment data and supplied from the sequencer 33. A tone signal having a pitch and a duration of sound generation according to the sound generation parameters is generated for each channel. The generated tone signals for the four channels are supplied to a digital-analog converter (DAC) 36 at every predetermined reproduction timing to be analog tone signals. This musical sound signal is mixed with the reception signal decoded by the audio processing unit 14 in the mixer 37.
[0028]
In addition, since one or more timbre parameters used when reproducing sequence data are transferred and written in the timbre parameter storage section (Voice RAM) 34 as described above, the timbre parameter storage section (Voice RAM). Even if the storage capacity of 34 is a small storage capacity capable of storing, for example, timbre parameters for eight timbres, all timbre parameters necessary for reproducing the music data are stored in the timbre parameter storage section (Voice RAM) 34. Become like that. Therefore, even if the storage capacity of the timbre parameter storage unit (Voice RAM) 34 is small, it is possible to reproduce a high-quality sound quality musical piece based on a high-quality timbre parameter whose data amount is increased. Furthermore, by selecting a desired timbre parameter from the system RAM 11 and writing it in the timbre parameter storage unit (Voice RAM) 34, it becomes possible to reproduce music of various timbres.
[0029]
Next, the configuration of the music data, sequence data, timbre parameters, and timbre assignment data will be described below in describing the operation of the music playback section 15 shown in FIG.
The composition of the music data is shown in FIG. The music data is composed of a CH1 tone number that specifies the tone of channel 1, a CH2 tone number that specifies the tone of channel 2,... A CHn tone number that specifies the tone of channel n, and sequence data. . The number of channels for which the tone number is designated is the number of simultaneous sounds when the sequence data is reproduced, for example, a maximum of 4 channels. At least one piece of music data having such a data structure is stored in the system RAM 11. The timbre number specified for each channel is information that specifies the timbre of that channel. By setting the timbre number for each channel, the tone of the timbre parameter specified by the timbre number is played back on that channel. become. Therefore, a data block including each channel number and a timbre number set for each channel is referred to as timbre allocation data. In this case, the substance of the timbre parameter is stored in a timbre parameter storage area provided in the system RAM 11, and a timbre parameter table associating the timbre number and the timbre parameter shown in FIG. 4B is prepared. When the music data is read, the tone color parameter specified by the tone color number may be read from the tone color parameter storage area and given to the music playback unit 15 by referring to the tone color parameter table. In this way, when the same timbre parameter is used although the sequence data is different, it is not necessary to store the timbre parameter redundantly, and the storage area of the system RAM 11 can be used effectively.
[0030]
The sequence data is configured by arranging note data and rest data according to the musical score, and FIG. 5 shows an example of the data structure of the note data and rest data. The note data represented by one word shown in FIG. 5 is composed of an octave chord indicating a pitch, a note chord, a channel number to be sounded, an interval that is a time length until the next note or rest, and information on a pronunciation length. Is done. The rest data indicated by one word shown in FIG. 5 is composed of rest data indicating the type of rest, a channel number of the sound generation channel, and an interval that is a time length until the next note or rest. Has been.
It should be noted that a tone number for designating a tone generation parameter to be reproduced may be added to the note data. In this way, it is possible to specify a timbre for each note data.
[0031]
Next, FIG. 6 shows a configuration example of timbre parameters written in the timbre parameter storage unit (Voice RAM) 34.
A plurality of timbre parameters can be written in the timbre parameter storage unit (Voice RAM) 34, and the number of timbre parameters n is, for example, a maximum of “8”. As shown in FIG. 6, timbre parameter 1, timbre parameter 2,... Timbre parameter n includes a waveform parameter, an envelope parameter, a modulation parameter, and an effect parameter, and each parameter is specific to each timbre parameter. It is a parameter. The waveform parameter in each timbre parameter indicates a musical sound waveform. For example, when the sound source unit 35 is a PCM sound source having a waveform table, the parameter indicating any waveform in the waveform table or the waveform sample data itself When the sound source unit 35 is an FM sound source, the parameter is used to instruct an FM calculation algorithm. Envelope parameters are parameters such as attack rate, decay rate, sustain level, release rate, modulation parameters are parameters of depth and speed of vibrato and tremolo, effect parameters are parameters of reverb, chorus, variation, etc. .
[0032]
Next, a configuration example of timbre allocation data is shown in FIG. As shown in FIG. 7, the timbres assigned to channel 1 to channel 4 are indicated by timbre numbers. That is, when the sequencer 33 supplies the timbre number designated for each channel to the timbre parameter storage means 34, the timbre parameter corresponding to the timbre number is read from the timbre parameter storage means 34 and used as the timbre of each channel of the sound source unit 35. Each will be set.
[0033]
Here, when the system CPU 10 issues a reproduction start instruction, a start instruction (Start) is given to the sequencer 33 to start reproduction. When the system CPU 10 issues a playback start instruction, when the BGM or normal playback is started by operating the playback key on the mobile phone 1 (101), or when an incoming call notification is received and a ring tone (ring melody) is received. This is the case when playback is started. Also, when the reproduction of the hold sound is started by operating the hold operation key, the system CPU 10 issues a reproduction start instruction. The system CPU 10 sends the music data selected in advance to the music playback unit 15 for each use (incoming call, BGM, normal playback, hold) that caused the start of the playback instruction when the playback start instruction was issued.
[0034]
At this time, a predetermined amount of sequence data is written from the system CPU 10 to the FIFO 31 from the beginning of the sequence data in the selected music data, and one or more timbre parameters specified by the timbre allocation data are stored in the system CPU 10. Under the control, the tone color parameter storage unit (Voice RAM) 34 is written. The sequence data is written by supplying the write pulse (WP) decoded by the INDEX decoder 32 to the FIFO 31 so that the sequence data fetched through the interface 30 is written into the FIFO 31. The timbre parameters are written by supplying the index data AD2 decoded by the INDEX decoder 32 to the timbre parameter storage section (Voice RAM) 34, so that the timbre parameters taken in via the interface 30 are converted into the timbre parameter storage section ( Voice RAM) 34 is performed.
[0035]
Upon receiving the reproduction instruction, the sequencer 33 reads and interprets the beginning of the sequence data written in the FIFO 31, and sets a sound generation parameter based on the sequence data in the sound source unit 35. At the same time, the timbre number specified by the timbre assignment data is notified to the timbre parameter storage unit (Voice RAM) 34, and the timbre parameter corresponding to the timbre number is read from the timbre parameter storage unit (Voice RAM) 34 and set in the sound source unit 35. To do. As a result, preparation for reproducing the reproduction data from the sound source unit 35 based on the sequence data is completed.
By the way, the sequence data in the music data fetched via the interface 30 is decoded by the INDEX decoder 32 and supplied with a write pulse (WP) by the INDEX decoder 32, so that the FIFO 31 has a maximum of 32. Word sequence data is written. However, the sequence data is not all 32 words, and the 32-word sequence data is a part of the sequence data of one song. Therefore, when the data amount of the sequence data stored in the FIFO 31 is less than or equal to the predetermined amount, the FIFO 31 notifies the system CPU 10 of an interrupt request signal (IRQ) and writes the subsequent sequence data in the FIFO 31. I have to.
[0036]
That is, when the sound source unit 35 reproduces a musical tone, the above note data and rest data are sequentially read from the FIFO 31, and the read note data and rest data are cleared. As a result, an empty area is generated in the FIFO 31. At the start of playback, only the first 32 words of the sequence data are written in the FIFO 31, so if the next sequence data following the generated empty area is written, the sequence data increases in data amount. Even if the sequence data is repeatedly written in the FIFO 31, the sequence data that is reproduced for a long time can be reproduced. The music reproducing unit 15 reproduces the music data based on such a principle, and sets how many words of empty area are generated in the FIFO 31 before the reproduction, and the next sequence data is written in the FIFO 31. Yes. The IRQ Point data is data for giving an interrupt request signal (IRQ) for instructing the system CPU 10 to write sequence data following the FIFO 31 when an empty area corresponding to the word indicated by this data is generated. IRQ Point data is set in advance. In this case, if the IRQ Point data is set close to “0” words, the interrupt frequency increases, but since the number of write words decreases, the processing of the system CPU 10 can be light. On the other hand, if the IRQ Point data is set close to “32” words, the interrupt frequency is reduced but the number of write words is increased, so that the processing of the system CPU 10 becomes heavy. Therefore, it is preferable to set the IRQ Point data according to the processing speed of the system CPU 10.
[0037]
Here, when the sequencer 33 applies a read pulse (Read) to the FIFO 33 and reads the first sequence data from the FIFO 31, the sequencer 33 reads the octave code and note code in the read sequence data (note data). And the tone color parameters set for the channel designated by the channel number are read from the tone color parameter storage unit (Voice RAM) 34 and supplied to the sound source unit 35. When the sound generation timing based on the set tempo information and interval information is reached, key-on data is supplied to the sound source unit 35 to start reproduction. The sound source unit 35 reproduces the tone of the supplied tone color parameter at a specified pitch. Then, at the end timing indicated by the pronunciation length of the sequence data, the sequencer 33 sets the key-off data of the musical sound in the sound source unit 35 by designating the channel. Thereby, the sound source unit 35 performs a mute process for the musical sound. By executing such reproduction processing every time the sequence data is read from the FIFO 31, the musical sound data reproduced from the sound source unit 35 is output to the DAC 36.
[0038]
When the empty area detected in the FIFO 31 becomes equal to the IRQ Point data value as the musical tone reproduction proceeds, an interrupt request signal (IRQ) is given to the system CPU 10. In response to this, the system CPU 10 reads the next sequence data from the system RAM 11 for (31-IRQ Point) words and sends it to the bus 24. This sequence data is written into an empty area of the FIFO 31 via the interface 30. By repeatedly executing the process of writing the next sequence data for (31-IRQ Point) words to the FIFO 31 as described above, even if the sequence data is composed of a lot of data, all the data is eventually stored in the FIFO 31. Data will be written. Since the sequence data read from the FIFO 31 is sequentially reproduced and output by the sound source unit 35, music data that can be obtained as a lot of data for a long time can be obtained, for example, for only 32 words. Even if the FIFO 31 that cannot be stored is used, it can be played back.
[0039]
Here, when the mobile phone 1 is set to be played back by the music playback unit 15 when an incoming call is received, the music playback process described above is performed when the mobile phone 1 receives the incoming call. The musical tone signal that has been performed and converted into an analog signal by the DAC 36 is emitted from the incoming speaker 23 as a ringtone. In addition, when the mobile phone 1 is put on hold, if the music playback unit 15 is set to play the music as a hold sound, the music playback process described above is performed when the mobile phone 1 is put on hold. The musical tone signal converted into an analog signal by the DAC 36 is emitted from the receiving speaker 22 as a holding tone. At the same time, a musical tone signal output from the sound source unit 35 for transmitting a holding tone to the other party's telephone is supplied to the voice processing unit 14 and transmitted via the communication unit 13.
[0040]
Next, in the network using the telephone line shown in FIG. 1 in which the terminal device of the present invention is constructed as a mobile phone and the music data distribution device of the present invention is constructed as a download center, the mobile phone 1 makes a distribution request to the download center 6. A process performed by the mobile phone 1 and the download center 6 when downloading music data will be described with reference to FIG.
It is assumed that the mobile phone 1 and the download center 6 are connected by the user calling the telephone number of the download center 6 from the mobile phone 1. Here, the user makes a music data download request (S 1) from the menu displayed on the display unit 18 of the mobile phone 1. Upon receiving this download request, the download center 6 notifies the mobile phone 1 of a list of stored music data and requests the number of music data to be downloaded (S2). At this time, the user performs a music selection process (S3) for selecting desired music data from the sent music data list displayed on the display unit 18 of the mobile phone 1. The music number of the music data selected by this music selection process is notified to the download center 6 (S4).
[0041]
Upon receiving the music number, the download center 6 refers to the music data corresponding to the music number, and refers to the tone color allocation data in the music data to extract the tone number and version information of each channel (S5). . At this time, if the number of sound generation channels is set to a plurality of channels, the timbre number and the version information of the timbre parameter in all channels are extracted. Next, the download center 6 inquires the mobile phone 1 about whether or not the timbre parameter of the extracted timbre number is stored in the system RAM 11 or the system ROM 12, and if so, version information (S6). In response to this, the cellular phone 1 detects whether or not a timbre parameter matching the timbre number inquired is stored in the system RAM 11 or the system ROM 12, and if detected, extracts version information of the timbre parameter. A timbre parameter inquiry process is performed (S7). Then, the cellular phone 1 stores information on whether or not the timbre parameter that matches the timbre number inquired obtained in the timbre parameter inquiry process is stored in the system RAM 11 or the system ROM 12, and the version of the stored timbre parameter. Information is notified to the download center 6 (S8).
[0042]
The download center 6 performs timbre parameter matching transmission processing (S9) to determine data to be transmitted to the mobile phone 1 from the contents of the notification, and transmits the determined transmission data to the mobile phone 1 (S10). In this timbre parameter matching transmission process, a timbre parameter already stored in the mobile phone 1 is not distributed from the download center 6 and a timbre parameter with a matching timbre number is stored but its version information does not match. This is a process for distributing only the difference tone parameter. In the mobile phone 1 that has received distribution of music data including at least sequence data, a storage process for storing the distributed music data in the system RAM 11 is performed (S11).
[0043]
In this storage process, the timbre parameter in the distributed music data is stored in the timbre parameter storage area, and the music data composed of the sequence data and the timbre assignment data is stored in the music data storage area. At this time, if there is no timbre allocation data, timbre allocation data is generated from the timbre number of each timbre parameter designated for each channel. The timbre parameter is stored together with the version information. When the timbre parameter of the difference is delivered, the timbre parameter of the timbre number that matches the timbre parameter of the difference is read from the system RAM 11 and the read timbre parameter and the timbre parameter of the difference are synthesized. Thus, the upgraded timbre parameter is generated. The generated timbre parameter is stored in the timbre parameter storage area together with the updated version information as the timbre parameter of the timbre number. When the storage process is completed, the mobile phone 1 notifies the download center 6 of the download completion and releases the connection (S12).
[0044]
Next, the tone color parameter matching transmission process executed in the download center 6 will be described with reference to the flowchart shown in FIG.
When this timbre parameter coincidence transmission process is activated, the channel number i is set to 1 in step S21, and the channel 1 in the music data to be distributed is determined from the contents of the response to the inquiry received from the mobile phone 1 in step S22. It is determined whether or not a timbre number that matches the timbre number of the timbre parameter is detected in the mobile phone 1. Here, when it is determined that the matching timbre number is detected in the mobile phone 1, it is received from the mobile phone 1 whether or not the timbre parameter of the timbre number is already stored in the mobile phone 1 in step S23. Judgment is based on the content of the response to the inquiry. Again, if it is determined that the timbre parameter of the timbre number has already been stored in the mobile phone 1, the version information of the timbre parameter of channel 1 in the music data to be distributed and the mobile phone 1 are determined in step S24. Whether or not the version information of the timbre parameter stored in FIG. 2 matches is determined from the contents of the answer to the inquiry received from the mobile phone 1.
[0045]
If it is determined in step S24 that the version information of both timbre parameters match, the timbre parameter is already stored in the mobile phone 1, and therefore the process proceeds to step S27 without selecting the timbre parameter. As a result, the timbre parameter is not distributed from the download center 6. If it is determined that the timbre number that matches the timbre number of the timbre parameter of channel 1 in the music data distributed in step S22 is not detected by the mobile phone 1, the timbre parameter is selected in step S25. Will come to be. Further, when it is determined in step S23 that the timbre parameter of the timbre number is not stored in the mobile phone 1, the timbre parameter is selected in step S25. Furthermore, if it is determined in step S24 that the version information of both timbre parameters does not match, the process branches to step S26 to generate a timbre parameter that is the difference between the two timbre parameters. In this case, a difference tone color parameter corresponding to the difference in version information may be prepared in advance, and the difference tone color parameter corresponding to the difference in version information may be selected to be generated.
[0046]
When the process of step S25 or step S26 ends, the process proceeds to step S27, and it is determined whether or not it is the last channel in step S27. In this case, since i is 1, NO is determined and the process branches to step S28. In step S28, the channel number is incremented, the process returns to step S22, and the processes in steps S22 to S27 are performed for channel 2. When the processing for the last channel in steps S22 to S27 is completed, the process proceeds to step S29, and the timbre parameter selected in step S25, the difference timbre parameter generated in step S26, and the sequence data are carried. It is transmitted to the telephone 1.
As described above, in the timbre parameter matching transmission process, since the process is performed for each channel, the transmission mode of the timbre parameter specified for each channel may be different.
[0047]
The FIFO 31 has a storage capacity capable of storing sequence data for 32 words. However, the storage capacity is not limited to this, and it is sufficient that the storage capacity is significantly smaller than that of the system RAM 11. Furthermore, although the timbre parameter storage unit (Voice RAM) 34 has a storage capacity capable of storing timbre parameters for eight timbres, the present invention is not limited to this. A storage capacity significantly smaller than that of the system RAM 11 is sufficient.
Further, when the music data is stored in the storage means, the sequence data + tone color allocation data and the timbre parameters are separately stored in the respective storage areas. However, the present invention is not limited to this. Alternatively, it may be stored in the form of sequence data + tone color parameters.
[0048]
Furthermore, as a sound source method of the sound source unit 35 in the music reproducing device of the present invention, an FM sound source method, a waveform memory sound source (PCM sound source, ADPCM sound source) method, a physical model sound source method, etc. can be used. May be a hardware sound source using a DSP or the like, or a software sound source for executing a sound source program.
Furthermore, the sequence data has the format shown in FIG. 5, but the present invention is not limited to this, and may be sequence data in MIDI format or SMF (Standard MIDI File) format to which time information is added. .
[0049]
【The invention's effect】
As described above, according to the present invention, in the terminal device to which music data is distributed, the case where the timbre parameter corresponding to the timbre number of the timbre parameter in the music data to be distributed is not stored and even if it is stored When the timbre parameter version information does not match, the timbre parameter is distributed to the terminal device. Therefore, it is possible to prevent the timbre parameters already stored in the terminal device from being downloaded. Further, since the distributed timbre parameters are also distributed, the latest timbre parameters can be stored in the terminal device.
Note that when distributing the upgraded timbre parameter, only the timbre parameter of the difference is distributed, so that the distribution data amount can be reduced and the download time can be shortened. As described above, when only the difference timbre parameter is distributed, the latest timbre parameter is generated and stored from the timbre parameter having the same timbre number stored in the terminal device and the distributed timbre parameter. can do. Thereby, the latest upgraded timbre parameter can be stored in the terminal device.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram of a network using a telephone line in which a terminal device of the present invention is a mobile phone and a music data distribution device of the present invention is a download center.
FIG. 2 is a diagram showing a configuration example of a mobile phone which is an embodiment of the terminal device of the present invention.
FIG. 3 is a diagram showing a configuration example of a music playback unit in a mobile phone which is an embodiment of the terminal device of the present invention.
FIG. 4 is a diagram illustrating a data configuration example of music data.
FIG. 5 is a diagram illustrating a data configuration example of sequence data.
FIG. 6 is a diagram illustrating a configuration example of a timbre parameter written in a timbre parameter storage unit (Voice RAM) of a music playback unit.
FIG. 7 is a diagram showing a configuration example of timbre allocation data.
FIG. 8 is a diagram for explaining processing performed in the network shown in FIG. 1 by a mobile phone that is a terminal device of the present invention and a download center that is a music data distribution device of the present invention when downloading music data; .
FIG. 9 is a flowchart of a timbre parameter matching transmission process performed at a download center which is a music data distribution apparatus of the present invention.
[Explanation of symbols]
1 mobile phone, 1a antenna, 2a, 2b, 2c, 2d base station, 3 mobile switching center, 4 gateway switching office, 5a, 5b, 5c general telephone switching office, 6 download center, 10 system CPU, 11 system RAM, 12 System ROM, 13 Communication unit, 14 Audio processing unit, 15 Music playback unit, 16 Interface (I / F), 17 Input unit, 18 Display unit, 19 Vibrator, 20 External device, 21 Microphone, 22 Speaker for reception, 23 Wearing Trusted speaker, 24 buses, 30 interface (I / F), 31 FIFO, 32 INDEX decoder, 33 sequencer, 34 timbre parameter storage unit (Voice RAM), 35 sound source unit, 36 digital analog converter (DAC), 37 mixer ( MIX), 101 mobile phone

Claims (3)

楽曲データの配信要求を行った端末装置へ、シーケンス・データと音色パラメータとからなる楽曲データの配信を行う楽曲データ配信装置において、
前記端末装置から所定の楽曲データの配信要求を受けると、前記楽曲データの音色パラメータの音色ナンバと前記音色パラメータのバージョン情報を抽出し、前記端末装置に対して前記音色ナンバの音色パラメータが記憶されているか否か、および、前記音色ナンバに該当する音色パラメータのバージョン情報の間い合わせを行う問い合わせ手段と、
前記端末装置から前記問い合わせに対する通知を受けた際に、前記端末装置からの通知の内容から前記音色ナンバに対応する音色パラメータが記憶されているか否か、および、前記楽曲データの前記音色パラメータのバージョン情報を判定する判定手段と、
該判定手段の判定に応じて前記端末装置へ配信するデータを決定する配信手段とを備え、
前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていると共に、通知された前記バージョン情報が前記楽曲データの前記音色パラメータのバージョン情報と一致していると判定した場合は、前記配信手段が当該音色パラメータの配信は行わずシーケンスデータのみ配信し、
前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていないと判定した場合は、前記配信手段が当該音色パラメータとシーケンスデータの配信を行い、
前記判定手段が、前記音色ナンバに対応する音色パラメータが記憶されていると共に、通知された前記バージョン情報が前記楽曲データの前記音色パラメータのバージョン情報と一致していないと判定した場合は、当該音色パラメータの差分とシーケンスデータを配信するようにしたことを特徴とする楽曲データ配信装置。
In a music data distribution apparatus that distributes music data composed of sequence data and timbre parameters to a terminal device that has requested music data distribution,
Upon receiving a distribution request for predetermined music data from the terminal device, the timbre number of the timbre parameter of the music data and the version information of the timbre parameter are extracted, and the timbre parameter of the timbre number is stored in the terminal device. And inquiry means for interrogating version information of timbre parameters corresponding to the timbre number,
Whether or not a timbre parameter corresponding to the timbre number is stored from the content of the notification from the terminal device when the notification is received from the terminal device, and the timbre parameter version of the music data A determination means for determining information;
Distribution means for determining data to be distributed to the terminal device in accordance with the determination by the determination means,
When the determination means determines that the timbre parameter corresponding to the timbre number is stored and the notified version information matches the version information of the timbre parameter of the music data, the distribution The means does not distribute the timbre parameter, only the sequence data,
If the determination means determines that the timbre parameter corresponding to the timbre number is not stored, the distribution means distributes the timbre parameter and sequence data,
When the determination means determines that the timbre parameter corresponding to the timbre number is stored and the notified version information does not match the version information of the timbre parameter of the music data, the timbre A music data distribution device that distributes parameter differences and sequence data .
楽曲データの配信要求先の楽曲データ配信装置から、シーケンス・データと音色パラメータとからなる楽曲データの配信を受ける端末装置において、
配信要求した楽曲データにおける音色パラメータの配信を楽曲データ配信装置から受ける際に、前記楽曲データ配信装置からの問い合わせに対して、前記楽曲データの音色パラメータの音色ナンバの音色パラメータが記憶されているか否か、および、前記音色ナンバに該当する音色パラメータのバージョン情報を通知する通知手段と、
該通知手段が通知した内容に応じて配信されたデータが記憶される記憶手段とを備え、
前記通知手段が通知した内容が、前記音色ナンバに該当する音色パラメータが記憶されていると共に、そのバージョンが一致する通知の場合は、当該音色パラメータの配信は行われずシーケンスデータのみが配信されて前記記憶手段に記憶され、また、前記音色ナンバに対応する音色パラメータが記憶されていない通知の場合は、当該音色パラメータとシーケンスデータが配信されて前記記憶手段に記憶され、さらに、前記音色パラメータの音色ナンバに該当する音色パラメータが記憶されているが、そのバージョンが一致しない通知の場合は当該音色パラメータの差分とシーケンスデータが配信されて前記記憶手段に記憶されるようにしたことを特徴とする端末装置。
In a terminal device that receives distribution of music data composed of sequence data and timbre parameters from a music data distribution apparatus to which music data is requested to be distributed,
Whether or not the timbre parameter of the timbre number of the timbre parameter of the music data is stored in response to the inquiry from the music data distribution device when receiving the timbre parameter distribution in the music data requested for distribution from the music data distribution device And notification means for notifying version information of timbre parameters corresponding to the timbre number;
Storage means for storing data distributed according to the content notified by the notification means,
If the notification means stores a timbre parameter corresponding to the timbre number, and the notification matches that version, the timbre parameter is not distributed and only the sequence data is distributed. If the notification is stored in the storage means and the timbre parameter corresponding to the timbre number is not stored, the timbre parameter and the sequence data are distributed and stored in the storage means, and further, the timbre of the timbre parameter The timbre parameter corresponding to the number is stored , but in the case of a notification whose version does not match, the difference between the timbre parameter and the sequence data are distributed and stored in the storage means apparatus.
前記配信された音色パラメータの差分と、前記記憶手段に格納されている音色ナンバが一致する音色パラメータとから、バージョンアップされた音色パラメータを生成して、前記記憶手段に記憶するようにしたことを特徴とする請求項記載の端末装置。The upgraded timbre parameter is generated from the difference between the distributed timbre parameters and the timbre parameters having the same timbre number stored in the storage means, and stored in the storage means. The terminal device according to claim 2, wherein:
JP2000101981A 2000-04-04 2000-04-04 Music data distribution device and terminal device Expired - Fee Related JP3641999B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000101981A JP3641999B2 (en) 2000-04-04 2000-04-04 Music data distribution device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000101981A JP3641999B2 (en) 2000-04-04 2000-04-04 Music data distribution device and terminal device

Publications (2)

Publication Number Publication Date
JP2001290476A JP2001290476A (en) 2001-10-19
JP3641999B2 true JP3641999B2 (en) 2005-04-27

Family

ID=18615934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000101981A Expired - Fee Related JP3641999B2 (en) 2000-04-04 2000-04-04 Music data distribution device and terminal device

Country Status (1)

Country Link
JP (1) JP3641999B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3894062B2 (en) 2002-07-11 2007-03-14 ヤマハ株式会社 Music data distribution device, music data reception device, and program
JP2006048529A (en) * 2004-08-06 2006-02-16 Toshiba Corp Download method, download system, client system and server system
JP2010197527A (en) * 2009-02-24 2010-09-09 Yamaha Corp Device and program for processing musical content file

Also Published As

Publication number Publication date
JP2001290476A (en) 2001-10-19

Similar Documents

Publication Publication Date Title
JP3719057B2 (en) Telephone terminal device and communication method
JP3975639B2 (en) Telephone terminal device
EP1255243B1 (en) Portable telephone and music reproducing method
KR100578588B1 (en) Music reproducing apparatus
JP3982787B2 (en) Content data distribution method and telephone terminal device
JP3641999B2 (en) Music data distribution device and terminal device
JP3775241B2 (en) Telephone terminal device
JP3279293B2 (en) Music playback device, mobile phone device having music playback function, and music playback method
JP3279298B2 (en) Music playing device, mobile phone device having music playing function, and music playing method
JP3821352B2 (en) Telephone terminal device
JP2001060990A (en) Telephone terminal equipment and music data transferring method
JP2003022072A (en) Portable communication terminal and server device
JP2005108253A (en) Content data distribution method and music reproducing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040928

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050117

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees