JP2008225375A - Combining method and combining device, and program - Google Patents

Combining method and combining device, and program Download PDF

Info

Publication number
JP2008225375A
JP2008225375A JP2007067372A JP2007067372A JP2008225375A JP 2008225375 A JP2008225375 A JP 2008225375A JP 2007067372 A JP2007067372 A JP 2007067372A JP 2007067372 A JP2007067372 A JP 2007067372A JP 2008225375 A JP2008225375 A JP 2008225375A
Authority
JP
Japan
Prior art keywords
data
image data
lyrics
page
background image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007067372A
Other languages
Japanese (ja)
Other versions
JP4796985B2 (en
Inventor
Koji Giga
公二 儀賀
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.)
Xing Inc
Original Assignee
Xing Inc
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 Xing Inc filed Critical Xing Inc
Priority to JP2007067372A priority Critical patent/JP4796985B2/en
Publication of JP2008225375A publication Critical patent/JP2008225375A/en
Application granted granted Critical
Publication of JP4796985B2 publication Critical patent/JP4796985B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a combining method for suitably arranging lyrics data in each page, and alleviating a processing load when the lyrics data are distributed and reproduced. <P>SOLUTION: A format file in which a format is stored when the lyrics data are displayed in a server computer. For example, a font size and a spacing between lines etc. are stored in the format file. The lyrics data are converted according to the format stored in the format file and developed in a random access memory (RAM). The developed lyrics data composed of a plurality of lines is divided into a plurality of pages by a dividing means so that the data can be accommodated in a display area in the line direction of each page of a background image data. The converting means of the server computer converts the lyrics data of each page which is divided by the dividing means, to an image data. Finally, the image data of each page converted by the converting means is combined with each page of the background image data by the combining means. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データに合成する合成方法、合成装置及びコンピュータを合成装置として機能させるためのプログラムに関する。   The present invention relates to a synthesizing method, a synthesizing device, and a program for causing a computer to function as a synthesizing device.

近年、携帯端末機に音声データ及び歌詞データを配信するサービスが普及している。ユーザは携帯端末機にダウンロードした歌詞データを表示し、併せて音声データを再生することで、カラオケを楽しむことができる。またカラオケにおいては一般に歌詞データの表示にあわせて背景画像が表示される。特許文献1にはサーバから配信されたカラオケ曲データおよび静止画の制御データと、携帯無線端末に装着された外部記憶媒体内にあらかじめ保存される静止画データとを、携帯無線端末内で合成するカラオケ配信システムが開示されている。
特開2002−244676号公報
In recent years, services for distributing voice data and lyrics data to portable terminals have become widespread. The user can enjoy karaoke by displaying the lyrics data downloaded to the portable terminal and playing back the voice data. In karaoke, a background image is generally displayed along with the display of lyrics data. Patent Document 1 synthesizes karaoke song data and still image control data distributed from a server with still image data stored in advance in an external storage medium attached to the portable wireless terminal in the portable wireless terminal. A karaoke distribution system is disclosed.
JP 2002-244676 A

しかしながら、特許文献1に記載のカラオケ配信システムでは携帯端末機において合成処理等を実行するため、歌詞データの表示の度に各種処理が必要となり処理負担及び処理時間の増大を招いていた。また曲によっては非常に歌詞が長いものも存在する。この場合、表示すべきページ数も併せて増加するが、ページ数があまりに多いと携帯端末機の機種または規格によっては全ての歌詞データが表示しきれなくなるという問題もあった。   However, in the karaoke distribution system described in Japanese Patent Laid-Open No. 2004-228688, since the composition processing or the like is executed in the mobile terminal, various processes are required each time the lyric data is displayed, resulting in an increase in processing load and processing time. Some songs have very long lyrics. In this case, the number of pages to be displayed also increases. However, if the number of pages is too large, there is a problem that all the lyrics data cannot be displayed depending on the model or standard of the portable terminal.

本発明は斯かる事情に鑑みてなされたものであり、その目的は、歌詞データに対する書式に従い歌詞データを展開し、1ページ内に収まる歌詞データ毎に歌詞データを分断し、分断した歌詞データを画像データへ変換し、最後に背景画像データと合成することにより、適切に歌詞データを各ページに配置することができ、また歌詞データを配信及び再生する際の処理負担を軽減することが可能な合成方法、合成装置及びコンピュータを合成装置として機能させるためのプログラムを提供することにある。   The present invention has been made in view of such circumstances. The purpose of the present invention is to expand the lyrics data according to the format of the lyrics data, divide the lyrics data for each lyric data within one page, By converting to image data and finally combining with background image data, the lyrics data can be properly arranged on each page, and the processing burden when distributing and playing the lyrics data can be reduced A synthesis method, a synthesis apparatus, and a program for causing a computer to function as a synthesis apparatus.

本発明の他の目的は、ページ数の上限値を超える場合に、補助書式ファイルに記憶した書式に従い歌詞データを展開することにより、様々な機種及び規格に対応することが可能な合成装置を提供することにある。   Another object of the present invention is to provide a synthesizer capable of supporting various models and standards by expanding lyrics data in accordance with the format stored in the auxiliary format file when the upper limit of the number of pages is exceeded. There is to do.

本発明に係る合成方法は、複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データに合成装置により合成する合成方法において、前記歌詞データを表示する際の書式を書式ファイルに記憶しておくステップと、該書式ファイルに記憶した書式に従い、前記合成装置の制御部により前記歌詞データをメモリ上に展開する展開ステップと、該展開ステップによりメモリ上に展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう、前記制御部により前記複数ページに分断する分断ステップと、該分断ステップにより分断した各ページの歌詞データを画像データへ変換する変換ステップと、該変換ステップにより変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成ステップとを備えることを特徴とする。   The composition method according to the present invention is a composition method in which lyrics data composed of a plurality of lines is composed with background image data for a portable terminal composed of a plurality of pages by a composition device, and the lyrics data is displayed in a format. In the format file, in accordance with the format stored in the format file, an expansion step in which the lyrics data is expanded on the memory by the control unit of the synthesizer, and a plurality of the expansion on the memory by the expansion step A dividing step of dividing the plurality of pages by the control unit so that the lyrics data composed of rows is within a display area in the row direction of each page of the background image data, and the lyrics data of each page divided by the dividing step A conversion step for converting the image data into image data, and the image data related to each page converted by the conversion step Characterized in that it comprises a synthesizing step of synthesizing on each page of the background image data.

本発明に係る合成装置は、複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データに合成する合成装置において、前記歌詞データを表示する際の書式を記憶する書式ファイルと、該書式ファイルに記憶した書式に従い前記歌詞データを展開する展開手段と、該展開手段により展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう複数ページに分断する分断手段と、該分断手段により分断した各ページの歌詞データを画像データへ変換する変換手段と、該変換手段により変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成手段とを備えることを特徴とする。   A synthesizing apparatus according to the present invention stores a format for displaying the lyrics data in a synthesizing apparatus that synthesizes lyrics data composed of a plurality of lines with background image data for a portable terminal composed of a plurality of pages. A format file, an expansion means for expanding the lyric data in accordance with the format stored in the format file, and a plurality of lines of lyric data expanded by the expansion means within the display area in the row direction of each page of the background image data Dividing means for dividing the image into a plurality of pages so as to fit in the image, conversion means for converting the lyrics data of each page divided by the dividing means into image data, and image data relating to each page converted by the conversion means for the background image data And synthesizing means for synthesizing each of the pages.

本発明に係る合成装置は、前記分断手段は、前記展開手段により展開した複数行からなる歌詞データが、前記背景画像データの行方向における表示領域限界に達する前の行末尾に改ページコマンドを挿入することにより、前記歌詞データを複数ページに分断するよう構成してあることを特徴とする。   In the synthesizing apparatus according to the present invention, the dividing means inserts a page break command at the end of a line before the lyrics data composed of a plurality of lines developed by the developing means reaches the display area limit in the row direction of the background image data. By doing so, the lyrics data is configured to be divided into a plurality of pages.

本発明に係る合成装置は、背景画像データのページ数の上限値を記憶する手段と、前記書式ファイルとは書式が異なる補助書式ファイルと、前記分断手段により分断された歌詞データのページ数が前記上限値を超えるか否かを判断する上限値判断手段を備え、前記展開手段は、前記上限値判断手段により上限値を超えると判断した場合に、補助書式ファイルに記憶した書式に従い前記歌詞データを展開するよう構成してあることを特徴とする。   The synthesizing apparatus according to the present invention includes means for storing an upper limit value of the number of pages of background image data, an auxiliary format file having a format different from that of the format file, and the number of pages of lyrics data divided by the dividing means. An upper limit value judging means for judging whether or not the upper limit value is exceeded, and when the developing means judges that the upper limit value is exceeded by the upper limit value judging means, the lyric data is stored in accordance with the format stored in the auxiliary format file. It is configured to expand.

本発明に係る合成装置は、前記書式ファイルは、少なくとも歌詞データのフォントサイズ及び行間を記憶していることを特徴とする。   The synthesizing apparatus according to the present invention is characterized in that the format file stores at least a font size and line spacing of lyrics data.

本発明に係るプログラムは、複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データにコンピュータにより合成するプログラムにおいて、コンピュータに、前記歌詞データを表示する際の書式を書式ファイルに記憶しておくステップと、該書式ファイルに記憶した書式に従い、前記コンピュータの制御部により前記歌詞データをメモリ上に展開する展開ステップと、該展開ステップによりメモリ上に展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう、前記制御部により前記複数ページに分断する分断ステップと、該分断ステップにより分断した各ページの歌詞データを画像データへ変換する変換ステップと、該変換ステップにより変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成ステップとを実行させることを特徴とする。   A program according to the present invention is a program for synthesizing lyrics data composed of a plurality of lines with background image data for a portable terminal composed of a plurality of pages by a computer, and a format for displaying the lyrics data on the computer In the format file, in accordance with the format stored in the format file, an expansion step in which the lyric data is expanded on the memory by the control unit of the computer, and a plurality of lines expanded in the memory by the expansion step A dividing step of dividing the plurality of pages by the control unit so that the lyric data consisting of the background image data falls within a display area in the row direction of each page of the background image data, and the lyrics data of each page divided by the dividing step Conversion step for converting to image data, and conversion by the conversion step The image data of the page, characterized in that to execute a combining step of combining each page of the background image data.

本発明にあっては、合成装置に歌詞データを表示する際の書式を記憶した書式ファイルを用意しておく。書式ファイルには例えば、歌詞データのフォントサイズ及び行間等が記憶される。そして書式ファイルに記憶した書式に従い歌詞データを展開手段により展開する。展開手段により展開した複数行からなる歌詞データが、背景画像データの各ページの行方向における表示領域内に収まるよう、分断手段により複数ページに分断する。具体的には、展開手段により展開した複数行からなる歌詞データが、背景画像データの行方向における表示領域限界に達する前の行末尾に改ページコマンドを挿入する。   In the present invention, a format file storing a format for displaying lyrics data on the synthesizer is prepared. The format file stores, for example, the font size and line spacing of the lyrics data. Then, the lyrics data is expanded by the expansion means according to the format stored in the format file. The lyric data composed of a plurality of lines developed by the developing means is divided into a plurality of pages by the dividing means so that it falls within the display area in the row direction of each page of the background image data. Specifically, a page break command is inserted at the end of the line before the lyrics data composed of a plurality of lines expanded by the expansion means reaches the display area limit in the line direction of the background image data.

合成装置の変換手段は、分断手段により分断した各ページの歌詞データを画像データへ変換する。最後に、変換手段により変換した各ページに係る画像データを、合成手段により背景画像データの各ページに合成する。   The converting means of the synthesizer converts the lyric data of each page divided by the dividing means into image data. Finally, the image data related to each page converted by the conversion unit is combined with each page of the background image data by the combining unit.

本発明にあっては、背景画像データのページ数の上限値を記憶しておく。また書式ファイルとは書式が異なる補助書式ファイルをあらかじめ用意しておく。上限値判断手段は、分断手段により分断された歌詞データのページ数が、記憶した上限値を超えるか否かを判断する。そして展開手段は、上限値判断手段により上限値を超えると判断した場合に、補助書式ファイルに記憶した書式に従い歌詞データを展開する。補助書式ファイルに従い展開された歌詞データは分断処理され、背景画像データに合成される。   In the present invention, the upper limit value of the number of pages of background image data is stored. An auxiliary format file having a format different from that of the format file is prepared in advance. The upper limit value determining means determines whether or not the number of pages of the lyrics data divided by the dividing means exceeds the stored upper limit value. The expansion means expands the lyrics data in accordance with the format stored in the auxiliary format file when the upper limit determination means determines that the upper limit is exceeded. The lyrics data developed in accordance with the auxiliary format file is divided and combined with the background image data.

本発明にあっては、書式ファイルに記憶した書式に従い歌詞データを展開手段により展開し、複数行からなる歌詞データが、背景画像データの各ページの行方向における表示領域内に収まるよう、分断手段により複数ページに分断する。変換手段は、分断手段により分断した各ページの歌詞データを画像データへ変換し、合成手段により背景画像データの各ページに合成する。これにより、複数ページにわたる歌詞データを最適な位置にて複数ページに分断することが可能となる。また歌詞データ及び背景画像データが一体の画像データとして構成されるためユーザへの配信が容易となる。   In the present invention, the lyric data is expanded by the expansion means in accordance with the format stored in the format file, and the lyric data is divided so that the lyric data consisting of a plurality of lines fits within the display area in the row direction of each page of the background image data. To divide into multiple pages. The converting means converts the lyrics data of each page divided by the dividing means into image data, and combines it with each page of the background image data by the combining means. Thereby, it becomes possible to divide the lyrics data over a plurality of pages into a plurality of pages at an optimum position. Further, since the lyrics data and the background image data are configured as integrated image data, distribution to the user is facilitated.

本発明にあっては、背景画像データのページ数の上限値を記憶しておく。また書式ファイルとは書式が異なる補助書式ファイルをあらかじめ用意しておく。上限値判断手段は、分断手段により分断された歌詞データのページ数が、記憶した上限値を超えるか否かを判断する。そして展開手段は、上限値判断手段により上限値を超えると判断した場合に、補助書式ファイルに記憶した書式に従い歌詞データを展開する。これにより、歌詞が長く、また機種または規格によりページ数の上限値が存在する場合でも、最適な書式に基づく分断処理が実行されるので、歌詞データが途中で途切れるという事態を未然に回避することが可能となる等、本発明は優れた効果を奏する。   In the present invention, the upper limit value of the number of pages of background image data is stored. An auxiliary format file having a format different from that of the format file is prepared in advance. The upper limit value determining means determines whether or not the number of pages of the lyrics data divided by the dividing means exceeds the stored upper limit value. The expansion means expands the lyrics data in accordance with the format stored in the auxiliary format file when the upper limit determination means determines that the upper limit is exceeded. As a result, even if the lyrics are long and there is an upper limit on the number of pages depending on the model or standard, the segmentation process based on the optimal format is executed, so it is possible to avoid the situation where the lyrics data is interrupted in the middle. Thus, the present invention has excellent effects.

実施の形態1
図1は調整システムの概要を示す模式図である。調整システムは調整装置1、通信網N、歌詞データベース(以下歌詞DB)10及び携帯端末機2、2、2、・・・を含んで構成される。調整装置1は、例えばサーバコンピュータが用いられる。以下では調整装置1をサーバコンピュータ1であるものとして説明する。携帯端末機2は例えば、携帯電話機、PDA(Personal Digital Assistance)、表示部を備える可搬型オーディオプレーヤまたは可搬型ゲーム機等であり、一般のカラオケ店舗に設置されるモニタより小型の表示画面を備える可搬型の携帯端末機である。本実施の形態においては、携帯端末機2を携帯電話機2であるものとして説明する。
Embodiment 1
FIG. 1 is a schematic diagram showing an outline of an adjustment system. The adjustment system includes an adjustment device 1, a communication network N, a lyrics database (hereinafter referred to as lyrics DB) 10, and portable terminals 2, 2, 2,. For example, a server computer is used as the adjustment device 1. Below, the adjustment apparatus 1 is demonstrated as what is the server computer 1. FIG. The portable terminal 2 is, for example, a mobile phone, a PDA (Personal Digital Assistance), a portable audio player or a portable game machine having a display unit, and has a display screen smaller than a monitor installed in a general karaoke store. It is a portable portable terminal. In the present embodiment, the mobile terminal 2 will be described as the mobile phone 2.

サーバコンピュータ1と携帯電話機2、2、2、・・・とはインターネット及び携帯電話網等の通信網Nを介して接続されている。歌詞DB10には複数の歌詞データ及び音声データが記憶されている。サーバコンピュータ1は、携帯電話機2からのリクエストに応じて選択された歌詞データを背景画像データに合成すべく調整処理を行う。調整処理の後、合成された画像データ及び歌詞データに対応する音声データはサーバコンピュータ1から携帯電話機2へ送信される。携帯電話機2は受信した画像データの表示及び音声データの再生を行う。   The server computer 1 and the mobile phones 2, 2, 2,... Are connected via a communication network N such as the Internet and a mobile phone network. The lyrics DB 10 stores a plurality of lyrics data and audio data. The server computer 1 performs adjustment processing to synthesize lyrics data selected in response to a request from the mobile phone 2 with background image data. After the adjustment process, audio data corresponding to the synthesized image data and lyrics data is transmitted from the server computer 1 to the mobile phone 2. The mobile phone 2 displays received image data and reproduces audio data.

図2はサーバコンピュータ1のハードウェア構成を示すブロック図である。サーバコンピュータ1は、制御部としてのCPU(Central Processing Unit)11、RAM(Random Access Memory)12、入力部13、表示部14、通信部16及び記憶部15を含んで構成される。CPU11は、バス17を介してサーバコンピュータ1のハードウェア各部と接続されていて、それらを制御すると共に、記憶部15に格納された制御プログラム15Pに従って、種々のソフトウェア的機能を実行する。制御プログラム15Pは、C言語等のプログラミング言語で記述されている。   FIG. 2 is a block diagram showing a hardware configuration of the server computer 1. The server computer 1 includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, an input unit 13, a display unit 14, a communication unit 16, and a storage unit 15 as control units. The CPU 11 is connected to the hardware units of the server computer 1 via the bus 17 and controls them, and executes various software functions according to the control program 15P stored in the storage unit 15. The control program 15P is described in a programming language such as C language.

通信部16はファイアウォールとしての機能を果たすゲートウェイ等であり、携帯電話機2との間で必要な情報を送受信する。記憶部15は例えばハードディスクで構成され、内部には上述した制御プログラム15Pの他、書式ファイル152及び背景画像ファイル151が記憶されている。背景画像ファイル151には複数種類の背景画像データが記憶されている。背景画像データは例えばjpeg(Joint Photographic Experts Group)等のフォーマットで複数種類記憶されており後述するように、ユーザが好みの画像を選択できる。書式ファイル152は例えばテキストデータである歌詞データを表示する際のフォントサイズ、フォント、行間等の情報を記憶している。なお、背景画像ファイル151及び書式ファイル152の詳細については後述する。   The communication unit 16 is a gateway or the like that functions as a firewall, and transmits and receives necessary information to and from the mobile phone 2. The storage unit 15 is configured by a hard disk, for example, and stores therein a format file 152 and a background image file 151 in addition to the control program 15P described above. The background image file 151 stores a plurality of types of background image data. A plurality of types of background image data are stored in a format such as jpeg (Joint Photographic Experts Group), and the user can select a favorite image as will be described later. The format file 152 stores information such as font size, font, and line spacing when displaying lyrics data, which is text data, for example. Details of the background image file 151 and the format file 152 will be described later.

歌詞DB10には複数の歌詞データ及び音声データが記憶されている。CPU11は歌詞DB10のフィールドのキーを関連付けたスキーマにおいてSQL(Structured Query Language)等を用いて対話することにより、必要な情報の記憶、検索等の処理を実行する。図3は歌詞DB10のレコードレイアウトを示す説明図である。歌詞DB10は、歌詞IDフィールド、歌詞データフィールド及び音声データフィールドを含んで構成される。   The lyrics DB 10 stores a plurality of lyrics data and audio data. The CPU 11 performs processing such as storage and retrieval of necessary information by interacting using SQL (Structured Query Language) or the like in the schema associated with the key of the field of the lyrics DB 10. FIG. 3 is an explanatory diagram showing a record layout of the lyrics DB 10. The lyrics DB 10 includes a lyrics ID field, a lyrics data field, and an audio data field.

歌詞IDフィールドには、歌詞データ及び音声データを特定するための固有の識別情報(以下、歌詞IDという)が記憶されている。歌詞データフィールドには、歌詞IDに対応づけて例えばテキスト形式で歌詞データが記憶されている。さらに音声データフィールドには、歌詞ID及び歌詞データに対応づけて、当該歌詞データのメロディとなる音声データが、例えばmmfまたはmld等のデータ形式で記憶されている。   The lyric ID field stores unique identification information (hereinafter referred to as lyric ID) for specifying the lyric data and the audio data. In the lyric data field, lyric data is stored in a text format, for example, in association with the lyric ID. Further, in the voice data field, voice data that is a melody of the lyrics data is stored in a data format such as mmf or mld in association with the lyrics ID and the lyrics data.

図に示すように歌詞ID「T1」、「T2」及び「T3」で示す複数の歌詞データ及び音声データが記憶されている。これら歌詞データ及び音声データは、業務用カラオケで用いられている歌詞データ及び音声データを、通信部16を介して歌詞DB10にダウンロードしたものである。なお、図示しない記録媒体読み取り装置に、業務用カラオケの歌詞データ及び音声データが記録されたCD−ROM等を挿入し、歌詞DB10にこれらの内容を記憶するようにしても良い。なお、歌詞DB10はサーバコンピュータ1からアクセスが可能なデータベースサーバ内に記憶する形態を示したが、サーバコンピュータ1の記憶部15に歌詞DB10を格納しても良いことはもちろんである。   As shown in the figure, a plurality of lyrics data and voice data indicated by lyrics IDs “T1”, “T2” and “T3” are stored. These lyric data and audio data are obtained by downloading the lyric data and audio data used in commercial karaoke to the lyrics DB 10 via the communication unit 16. Note that a CD-ROM or the like on which lyric data and voice data for commercial karaoke are recorded may be inserted into a recording medium reading device (not shown), and the contents thereof may be stored in the lyric DB 10. Note that the lyrics DB 10 is stored in a database server accessible from the server computer 1, but the lyrics DB 10 may be stored in the storage unit 15 of the server computer 1.

図4は携帯電話機2のハードウェア構成を示すブロック図である。携帯電話機2は、制御部としてのCPU21、RAM22、入力部23、表示部24、通信部26、マイク28、スピーカ29、時計部210及び記憶部25を含んで構成される。CPU21は、バス27を介して携帯電話機2のハードウェア各部と接続されていて、それらを制御すると共に、記憶部25に格納された制御プログラム25Pに従って、種々のソフトウェア的機能を実行する。   FIG. 4 is a block diagram showing a hardware configuration of the mobile phone 2. The mobile phone 2 includes a CPU 21 as a control unit, a RAM 22, an input unit 23, a display unit 24, a communication unit 26, a microphone 28, a speaker 29, a clock unit 210, and a storage unit 25. The CPU 21 is connected to the hardware units of the mobile phone 2 via the bus 27, controls them, and executes various software functions according to the control program 25P stored in the storage unit 25.

表示部24は例えば液晶ディスプレイ等であり、入力部23はプッシュボタン等により構成される。なお、タッチパネルのように表示部24と入力部23とを一体的に構成するようにしても良い。スピーカ29は音声データ、通話データ、またはマイク28から入力された音声に係る音声信号を増幅して出力する。マイク28は外部から入力された音声信号を電気信号へ変換する。変換後の電気信号は図示しないA/D変換器によりデジタルデータへ変換されてCPU21へ出力される。通信部26は高周波送受信部及びアンテナ等を備え、音声データ、文字データ等を含む各種データの送受信を行う。時計部210は日時情報をCPU21へ出力する。   The display unit 24 is, for example, a liquid crystal display, and the input unit 23 is configured by a push button or the like. In addition, you may make it comprise the display part 24 and the input part 23 integrally like a touchscreen. The speaker 29 amplifies and outputs audio data, call data, or an audio signal related to audio input from the microphone 28. The microphone 28 converts an audio signal input from the outside into an electric signal. The converted electrical signal is converted into digital data by an A / D converter (not shown) and output to the CPU 21. The communication unit 26 includes a high-frequency transmission / reception unit and an antenna, and performs transmission / reception of various data including voice data, character data, and the like. The clock unit 210 outputs date / time information to the CPU 21.

記憶部25には制御プログラム25P、ブラウザ251、及び再生アプリケーション252が記憶されている。ブラウザ251はHTTP(Hyper Text Transfer Protocol)により通信部26を介して送受信されるHTML(HyperText Markup Language)ファイルを解析して表示部24に表示する。再生アプリケーション252は音楽データの再生と、歌詞データが背景画像データに合成された画像データの表示との同期を行うソフトウェアである。再生アプリケーション252は音楽データの再生と共に複数ページからなる画像データの第1ページ目の表示を行う。そして時計部210から出力される日時情報を参照して、所定時間の経過後画像データのページの切り替えを行う。CPU21は再生アプリケーション252のプログラムに従い、音声をマイク28から出力し、時計部210からの日時情報を参照して、表示部24に表示する画像データのページ切り替えを行う。   The storage unit 25 stores a control program 25P, a browser 251, and a playback application 252. The browser 251 analyzes an HTML (HyperText Markup Language) file transmitted / received via the communication unit 26 by HTTP (Hyper Text Transfer Protocol) and displays the file on the display unit 24. The playback application 252 is software that synchronizes playback of music data and display of image data in which lyrics data is combined with background image data. The reproduction application 252 displays the first page of image data including a plurality of pages along with reproduction of music data. Then, referring to the date and time information output from the clock unit 210, the page of the image data is switched after a predetermined time has elapsed. The CPU 21 outputs audio from the microphone 28 according to the program of the reproduction application 252 and refers to date / time information from the clock unit 210 to switch pages of image data to be displayed on the display unit 24.

図5は背景画像ファイル151のレコードレイアウトを示す説明図である。サーバコンピュータ1の記憶部15には背景画像ファイル151が格納されている。背景画像ファイル151は背景画像IDフィールド、背景画像データフィールド、表示領域(行)フィールド及び表示領域(列)フィールドを含んで構成される。背景画像IDフィールドには、背景画像データを特定するための固有の識別情報(以下、背景画像ID)が記憶されている。背景画像データフィールドには背景画像IDに対応づけて、歌詞データの背景となる背景画像データが記憶されている。   FIG. 5 is an explanatory diagram showing a record layout of the background image file 151. A background image file 151 is stored in the storage unit 15 of the server computer 1. The background image file 151 includes a background image ID field, a background image data field, a display area (row) field, and a display area (column) field. The background image ID field stores unique identification information (hereinafter referred to as background image ID) for specifying the background image data. In the background image data field, background image data serving as the background of the lyrics data is stored in association with the background image ID.

表示領域(行)フィールドには歌詞データを表示することが可能な表示部24の縦(行)方向画素数を記憶している。また表示領域(列)フィールドには歌詞データを表示することが可能な表示部24の横(列)方向の画素数を記憶している。例えば、背景画像ID「IM1」の背景画像は、歌詞データの表示領域が、行方向350画素、列方向220画素である。なお、背景画像ファイル151は歌詞DB10内に記憶するようにしても良い。   The display area (row) field stores the number of pixels in the vertical (row) direction of the display unit 24 capable of displaying lyrics data. The display area (column) field stores the number of pixels in the horizontal (column) direction of the display unit 24 capable of displaying the lyrics data. For example, the background image with the background image ID “IM1” has a lyrics data display area of 350 pixels in the row direction and 220 pixels in the column direction. The background image file 151 may be stored in the lyrics DB 10.

図6は表示部24に表示される画像データのイメージを示す説明図である。表示部24上には歌詞データに係る画像データと背景画像データとを合成した合成画像データが表示される。背景画像データは表示部24の表示領域に合わせて表示される。背景画像データは背景となる画像データ上に例えば透過画像データ241を貼り合わせた形態としている。透過画像データ241は背景となる画像データが視認できるような透過率としている。透過画像データ241は、歌詞が背景となる画像により視認することが困難となる事態を防止するために張り合わされるものであり、例えば、歌詞が黒色の場合、透過画像データ241は透過率25%の白色画像が用いられる。   FIG. 6 is an explanatory diagram showing an image of image data displayed on the display unit 24. On the display unit 24, synthesized image data obtained by synthesizing the image data related to the lyrics data and the background image data is displayed. The background image data is displayed in accordance with the display area of the display unit 24. The background image data has a form in which, for example, transparent image data 241 is pasted on image data serving as a background. The transmission image data 241 has such a transmittance that the image data as the background can be visually recognized. The transmission image data 241 is pasted to prevent a situation in which it is difficult to visually recognize the lyrics due to the background image. For example, when the lyrics are black, the transmission image data 241 has a transmittance of 25%. White images are used.

背景画像データ上の透過画像データ241内に歌詞データに係る画像が表示され、矩形上の透過画像データ241で規定する領域が歌詞データの表示領域である。サーバコンピュータ1のCPU11は歌詞データに係る画像が、透過画像データ241内である歌詞データに係る画像の表示領域内に適切に収まるよう調整処理を実行する。図6に示す表示領域のx軸方向は列(横)方向を示し、また表示領域のy軸方向は行(縦)方向を示す。xy座標系における(0,0)は原点であり、x軸方向の表示領域はx=0からx=Xまでである。またy軸方向の表示領域はy=0からy=Yまでである。従って表示領域は(0,0)、(X,0)、(X,Y)及び(0,Y)となる。図5に示す例では背景画像ID「IM1」の画像はXが220であり、Yが350である。   An image related to the lyrics data is displayed in the transparent image data 241 on the background image data, and an area defined by the transparent image data 241 on the rectangle is a display area for the lyrics data. The CPU 11 of the server computer 1 executes adjustment processing so that the image related to the lyric data appropriately fits within the display area of the image related to the lyric data in the transparent image data 241. The x-axis direction of the display area shown in FIG. 6 indicates the column (horizontal) direction, and the y-axis direction of the display area indicates the row (vertical) direction. (0, 0) in the xy coordinate system is the origin, and the display area in the x-axis direction is from x = 0 to x = X. The display area in the y-axis direction is from y = 0 to y = Y. Accordingly, the display areas are (0, 0), (X, 0), (X, Y), and (0, Y). In the example shown in FIG. 5, the image of the background image ID “IM1” has X of 220 and Y of 350.

図7は改行処理のイメージを示す説明図である。サーバコンピュータ1のCPU11は背景画像ファイル151から対象となる背景画像データ及び表示領域を読み出す。またCPU11は歌詞DB10から対象となる歌詞データを読み出す。さらにCPU11は書式ファイル152からフォント、フォントサイズ、各行の表示開始位置、行間等の書式を読み出す。CPU11は読み出した歌詞データを書式に従い変換する。CPU11は書式を変換した後の各行の歌詞データが、読み出した列方向の表示領域内に収まるか否かを判断する。   FIG. 7 is an explanatory diagram showing an image of line feed processing. The CPU 11 of the server computer 1 reads the target background image data and the display area from the background image file 151. Further, the CPU 11 reads out the target lyrics data from the lyrics DB 10. Further, the CPU 11 reads the format such as the font, font size, display start position of each line, line spacing, etc. from the format file 152. The CPU 11 converts the read lyrics data according to the format. The CPU 11 determines whether or not the lyric data of each line after the format conversion is within the read display area in the column direction.

具体的にはCPU11は、書式ファイル152に従い変換した1行の歌詞データを画像データへ変換し、列方向の画素数が背景画像ファイル151に記憶された列方向の表示領域に係る画素数内に収まるか否かを判断する。例えば、背景画像が「IM1」である場合、列方向の表示領域の画素数は220であるので、書式変換した歌詞データの画像データの列方向画素数が、220を超えるか否かにより判断する。なお、CPU11は画像データへ変換することなく、書式に従い変換した1行の歌詞データの文字数及びフォントサイズから、背景画像ファイル151に記憶した列方向の表示領域内に収まるか否かにより判断してもよい。表示領域内に収まる場合は、予め歌詞データに付与されている改行コマンドに従い改行処理が行われる。その一方で、1行が表示領域内に収まらない場合は、1行の歌詞データを複数行に分割する処理を行う。   Specifically, the CPU 11 converts one line of lyrics data converted according to the format file 152 into image data, and the number of pixels in the column direction falls within the number of pixels related to the display area in the column direction stored in the background image file 151. Judge whether it fits. For example, when the background image is “IM1”, the number of pixels in the display area in the column direction is 220. Therefore, the determination is made based on whether or not the number of pixels in the column direction of the image data of the lyric data subjected to format conversion exceeds 220. . Note that the CPU 11 does not convert the image data into the image data, but determines whether it fits within the display area in the column direction stored in the background image file 151 from the number of characters and the font size of the lyrics data in one line converted according to the format. Also good. When it falls within the display area, line feed processing is performed in accordance with a line feed command previously assigned to the lyrics data. On the other hand, when one line does not fit in the display area, a process of dividing one line of lyrics data into a plurality of lines is performed.

図7aは歌詞データ1行が「AAA BBB CCCC DD EEEEE FFFF GGG」である例を示す。歌詞データの1行は一の文字ブロック「AAA」と他の文字ブロック「BBB」との間にスペースが挿入されている。図7aの例では各文字ブロック間にスペース(1)〜(6)が挿入されている状態を示す。また歌詞データ1行の末尾、本例では文字ブロック「GGG」末尾には改行コマンドが挿入されている。なお、改行コマンドは図示していない。   FIG. 7 a shows an example in which one line of lyrics data is “AAA BBB CCCC DD EEEEE FFFF GGG”. In one line of the lyrics data, a space is inserted between one character block “AAA” and another character block “BBB”. The example of FIG. 7a shows a state in which spaces (1) to (6) are inserted between character blocks. In addition, a line feed command is inserted at the end of one line of lyrics data, in this example, at the end of the character block “GGG”. The line feed command is not shown.

図7aの横軸(x軸)は列方向の画素数を示し、x軸上のXは背景画像の列方向の表示領域を示す。図7aの例では1行分の歌詞データが列方向の表示領域Xを超えている。この場合CPU11は、1行分の歌詞データ内に含まれる歌詞を分割するための分割情報を抽出する。分割情報は歌詞を分割するためのものであり、例えばスペース、読点、句点、ピリオド、クエッションマーク及びエクスクラメーションマーク等である。なお、以下では説明を容易にするために分割情報を文字ブロック間に挿入されるスペースであるものとして説明し、また1行分の歌詞データを2行に分割する例を説明する。   The horizontal axis (x-axis) in FIG. 7a indicates the number of pixels in the column direction, and X on the x-axis indicates the display region in the column direction of the background image. In the example of FIG. 7a, the lyric data for one row exceeds the display area X in the column direction. In this case, the CPU 11 extracts division information for dividing the lyrics included in the lyrics data for one line. The division information is used to divide lyrics, such as a space, a punctuation mark, a punctuation mark, a period, a question mark, and an exclamation mark. In the following description, for easy explanation, the division information is described as a space inserted between character blocks, and an example in which lyrics data for one line is divided into two lines will be described.

CPU11はテキスト中に存在するスペース(1)〜(6)を抽出し、スペース(1)〜(6)に改行コマンドを挿入する。図7bはスペース(1)により1行の歌詞データを2行の歌詞データへ分割した図であり、図7cはスペース(2)により1行の歌詞データを2行の歌詞データへ分割した図であり、図7dはスペース(3)により1行の歌詞データを2行の歌詞データへ分割した図であり、図7eはスペース(4)により1行の歌詞データを2行の歌詞データへ分割した図であり、図7fはスペース(5)により1行の歌詞データを2行の歌詞データへ分割した図であり、図7gはスペース(6)により1行の歌詞データを2行の歌詞データへ分割した図である。このようにして候補となる歌詞データb〜gが作成される。   The CPU 11 extracts spaces (1) to (6) existing in the text, and inserts a line feed command into the spaces (1) to (6). FIG. 7b is a diagram in which one line of lyric data is divided into two lines of lyric data by a space (1), and FIG. 7c is a figure in which one line of lyric data is divided into two lines of lyric data by a space (2). Yes, FIG. 7d is a diagram in which one line of lyric data is divided into two lines of lyric data by a space (3), and FIG. 7e is a figure in which one line of lyric data is divided into two lines of lyric data by a space (4). FIG. 7f is a diagram in which one line of lyric data is divided into two lines of lyric data by a space (5), and FIG. 7g is one line of lyric data into two lines of lyric data by a space (6). FIG. In this way, candidate lyrics data b to g are created.

CPU11はスペースにより分割された2行分の歌詞データが表示領域内に収まるか否かを判断する。図7bにおいては2行目の文字ブロック「GGG」において、表示領域を超えており、また図7gにおいては1行目の文字ブロック「FFFF」において、表示領域を超えている。CPU11は表示領域を超える歌詞データb及びgは候補から削除する。CPU11は複数行にわたって表示される歌詞データの表示バランスがよい歌詞データを候補である歌詞データc、d、e、fから選択する。   The CPU 11 determines whether or not the lyric data for two lines divided by the space fit within the display area. In FIG. 7b, the character block “GGG” on the second line exceeds the display area, and in FIG. 7g, the character block “FFFF” on the first line exceeds the display area. The CPU 11 deletes the lyrics data b and g exceeding the display area from the candidates. The CPU 11 selects lyric data having a good display balance of lyric data displayed over a plurality of lines from the lyric data c, d, e, and f as candidates.

CPU11は歌詞データの各行の表示領域の差を算出し、その差が最小である歌詞データを選択する。具体的にはCPU11は各行の文字数の差を算出する、または、各行の歌詞データを画像データへ変換し、列方向の画素数の差を算出する。図7の例では各行の表示領域の差が最小であるのは図7eの歌詞データである。つまり、スペース(4)に改行コマンドを挿入した場合が、最も見栄えが良くなる。なお、必ずしもこの差が最小である歌詞データを選択する必要はなく、次に差の小さい歌詞データ、本例では図7d、を選択するようにしても良い。CPU11はスペース(4)の後に改行コマンドを挿入し、2行に分割した歌詞データを記憶部15に記憶する。   The CPU 11 calculates the difference between the display areas of each line of the lyric data and selects the lyric data having the smallest difference. Specifically, the CPU 11 calculates the difference in the number of characters in each line, or converts the lyrics data in each line into image data, and calculates the difference in the number of pixels in the column direction. In the example of FIG. 7, it is the lyrics data of FIG. 7e that has the smallest difference in the display area of each row. That is, when a line feed command is inserted into the space (4), it looks best. It is not always necessary to select the lyric data having the smallest difference, and the lyric data having the next smallest difference, in this example, FIG. 7d may be selected. The CPU 11 inserts a line feed command after the space (4) and stores the lyrics data divided into two lines in the storage unit 15.

本例では分割する行数の上限値を2としたが、3以上としても良い。この場合、オペレータは入力部13から最大値を入力する。CPU11は入力された最大値を受け付け記憶部15に記憶する。上限値が3である場合も同様に、スペースに基づき、3行分全ての組み合わせに係る候補の歌詞データを作成し、各行の歌詞データの差の総和が最小となる歌詞データを選択すればよい。また本実施の形態においては各行の表示領域の差または差の総和に基づき最適なスペースを選択する構成を説明したが、他の構成としても良い。例えば、各行の表示領域の分散または標準偏差が最小となるスペースを分割する位置として選択するようにしても良い。   In this example, the upper limit value of the number of lines to be divided is 2, but it may be 3 or more. In this case, the operator inputs the maximum value from the input unit 13. The CPU 11 receives the input maximum value and stores it in the storage unit 15. Similarly, when the upper limit value is 3, based on the space, candidate lyric data related to all combinations of three lines is created, and the lyric data that minimizes the sum of the differences between the lyric data of each line may be selected. . In the present embodiment, the configuration in which the optimum space is selected based on the difference between the display areas of each row or the sum of the differences has been described. However, other configurations may be used. For example, you may make it select as a position which divides | segments the space where dispersion | distribution or standard deviation of the display area of each line becomes the minimum.

以上のハードウェア構成において改行処理の手順等を、フローチャートを用いて説明する。図8及び図9は改行処理の手順を示すフローチャートである。CPU11は合成の対象となる歌詞データを歌詞DB10から読み出し、また背景画像データを背景画像ファイル151から読み出す(ステップS81)。CPU11は記憶部15に記憶した書式ファイル152を読み出す(ステップS82)。CPU11は読み出した書式に従い、ステップS81で読み出した歌詞データの書式を変換する(ステップS83)。これにより、歌詞データ各行の列方向の表示領域が決定される。   The procedure of line feed processing in the above hardware configuration will be described using a flowchart. 8 and 9 are flowcharts showing the procedure of line feed processing. The CPU 11 reads out lyrics data to be synthesized from the lyrics DB 10 and reads out background image data from the background image file 151 (step S81). CPU11 reads the format file 152 memorize | stored in the memory | storage part 15 (step S82). In accordance with the read format, the CPU 11 converts the format of the lyrics data read in step S81 (step S83). Thereby, the display area in the column direction of each row of the lyrics data is determined.

CPU11はステップS81で読み出した背景画像データの列方向の表示領域を背景画像ファイル151から読み出す。CPU11は書式変換した1行分の歌詞データが列方向の表示領域内に収まるか否かを判断する(ステップS84)。CPU11は、1行分の歌詞データが列方向の表示領域内に収まらないと判断した場合(ステップS84でNO)、1行分の歌詞データのテキストを参照し分割情報たるスペースを抽出する(ステップS85)。CPU11は分割する行数の上限値を記憶部15から読み出す(ステップS86)。   The CPU 11 reads the display area in the column direction of the background image data read in step S81 from the background image file 151. The CPU 11 determines whether or not the lyric data for one line whose format has been converted fits in the display area in the column direction (step S84). If the CPU 11 determines that the lyric data for one line does not fit within the display area in the column direction (NO in step S84), the CPU 11 refers to the text of the lyric data for one line and extracts a space as division information (step) S85). CPU11 reads the upper limit of the number of lines to divide from the memory | storage part 15 (step S86).

CPU11は読み出した上限値を限度に、1行の歌詞データを抽出したスペースで分割し、複数行からなる複数の候補となる歌詞データを作成する(ステップS87)。CPU11は候補となる歌詞データが列方向の表示領域内に収まるか否かを判断する(ステップS88)。CPU11は候補となる歌詞データが列方向の表示領域内に収まらないと判断した場合(ステップS88でNO)、この収まらない当該候補歌詞データを候補から削除し(ステップS89)、ステップS88へ移行する。一方、CPU11は候補となる歌詞データが列方向の表示領域内に収まると判断した場合(ステップS88でYES)、分割した各行の表示領域の差の総和を算出する(ステップS810)。なお、上限値が2の場合は総和ではなく、CPU11は各行の表示領域の差を算出する。   The CPU 11 divides the lyric data of one line by the extracted space with the read upper limit as a limit, and creates lyric data as a plurality of candidates consisting of a plurality of lines (step S87). The CPU 11 determines whether or not the candidate lyric data is within the display area in the column direction (step S88). If the CPU 11 determines that the candidate lyric data does not fit within the display area in the column direction (NO in step S88), the candidate lyric data that does not fit is deleted from the candidates (step S89), and the process proceeds to step S88. . On the other hand, if the CPU 11 determines that the lyrics data as candidates fall within the display area in the column direction (YES in step S88), the CPU 11 calculates the sum of the differences between the display areas of the divided lines (step S810). If the upper limit value is 2, the CPU 11 calculates the difference between the display areas of each row, not the sum.

CPU11はステップS810の処理をステップS88の条件を満たす全ての候補歌詞データについて行う。CPU11は差の総和が最小の候補歌詞データを選択する(ステップS811)。CPU11は選択した候補歌詞データの分割したスペースに改行コマンドを挿入する(ステップS812)。すなわち分割する対象となった行の末尾に改行コマンドを付加する。CPU11は以上の処理により分割した歌詞データを記憶部15に記憶する(ステップS813)。   CPU11 performs the process of step S810 about all the candidate lyric data which satisfy | fill the conditions of step S88. The CPU 11 selects candidate lyrics data with the smallest sum of differences (step S811). The CPU 11 inserts a line feed command into the divided space of the selected candidate lyrics data (step S812). In other words, a line feed command is added to the end of the line to be split. The CPU 11 stores the lyrics data divided by the above processing in the storage unit 15 (step S813).

CPU11はステップS813の処理の後、及び、ステップS84において1行分の歌詞データが列方向の表示領域内に収まると判断した場合(ステップS84でYES)、全ての行について上述した処理を実行したか否かを判断する(ステップS91)。CPU11は全ての行について処理を実行していないと判断した場合(ステップS91でNO)、次の行へ処理を移行し(ステップS92)、再度ステップS84以降の処理を実行する。   CPU11 performed the process mentioned above about all the lines after the process of step S813, and when it is judged in step S84 that the lyric data for one line fits in the display area of a column direction (it is YES at step S84). Whether or not (step S91). If the CPU 11 determines that the processing has not been executed for all the rows (NO in step S91), the CPU 11 shifts the processing to the next row (step S92), and executes the processing after step S84 again.

CPU11は全ての行について処理を実行したと判断した場合(ステップS91でYES)、改行処理後の歌詞データを画像データへ変換する(ステップS93)。CPU11は変換後の歌詞データに係る画像データとステップS81で読み出した背景画像データとを合成する処理を行う(ステップS94)。なお、歌詞データに係る画像データの貼り付け位置は、例えば図6に示す座標値(0,0)とすれば良い。CPU11は合成画像データを背景画像ID及び歌詞IDに対応づけて記憶する(ステップS95)。以上の処理が各歌詞データ及び各背景画像データの組み合わせにおいて実行される。これにより、複数種類の背景画像ID及び歌詞IDそれぞれに対して最適な改行処理が実行された合成画像データが記憶される。   If the CPU 11 determines that the process has been executed for all the lines (YES in step S91), the lyrics data after the line feed process is converted into image data (step S93). The CPU 11 performs a process of synthesizing the image data related to the converted lyrics data and the background image data read out in step S81 (step S94). Note that the pasting position of the image data related to the lyrics data may be, for example, the coordinate value (0, 0) shown in FIG. The CPU 11 stores the composite image data in association with the background image ID and the lyrics ID (step S95). The above processing is executed for each combination of lyrics data and background image data. Thereby, the composite image data in which the optimum line feed processing is executed for each of the plurality of types of background image IDs and lyrics IDs is stored.

図10及び図11は合成画像データの配信処理の手順を示すフローチャートである。携帯電話機2のCPU21はブラウザ251を起動し、サーバコンピュータ1のURLを入力することによりサーバコンピュータ1に対する接続要求を行う(ステップS101)。サーバコンピュータ1のCPU11は接続要求を受けて、歌詞DB10から歌詞データを読み出し(ステップS102)、歌詞データの選択画面を送信する。この歌詞データの選択画面は、読み出した複数の歌詞データのタイトル、歌手名、歌詞の1フレーズ及び歌詞IDを含む情報がHTML(HyperText Markup Language)形式で記述されている。CPU11は読み出した複数の歌詞データのタイトル、歌手名、歌詞の1フレーズ及び歌詞IDを含む情報をHTML形式で作成した歌詞データ選択画面を携帯電話機2へ送信する(ステップS103)。   10 and 11 are flowcharts showing the procedure of the composite image data distribution process. The CPU 21 of the mobile phone 2 activates the browser 251 and makes a connection request to the server computer 1 by inputting the URL of the server computer 1 (step S101). The CPU 11 of the server computer 1 receives the connection request, reads out the lyrics data from the lyrics DB 10 (step S102), and transmits a lyrics data selection screen. In this lyric data selection screen, information including the title, singer name, one phrase of lyric and lyric ID is written in HTML (HyperText Markup Language) format. The CPU 11 transmits to the mobile phone 2 a lyric data selection screen in which information including the title, singer name, one lyric phrase and lyric ID of the read lyric data is created in the HTML format (step S103).

携帯電話機2のCPU21は送信された歌詞データ選択画面を受信する(ステップS104)。CPU21は入力部23から配信を希望する歌詞データの選択を受け付ける(ステップS105)。CPU21は入力部23を介してユーザが選択した配信を希望する歌詞データに係る歌詞IDをサーバコンピュータ1へ送信する(ステップS106)。サーバコンピュータ1のCPU11は歌詞IDを受信する(ステップS107)。これにより、歌詞データの選択が終了する。   The CPU 21 of the mobile phone 2 receives the transmitted lyrics data selection screen (step S104). The CPU 21 accepts selection of lyrics data desired to be distributed from the input unit 23 (step S105). The CPU 21 transmits the lyrics ID related to the lyrics data desired to be distributed selected by the user via the input unit 23 to the server computer 1 (step S106). The CPU 11 of the server computer 1 receives the lyrics ID (step S107). Thereby, the selection of the lyrics data is completed.

続いてCPU11は背景画像ファイル151から背景画像データ及び背景画像IDを読み出す(ステップS108)。CPU11は背景画像データのサムネイル画像を作成する。そして、CPU11は背景画像を選択するための背景画像選択画面を作成する。この背景画像選択画面は、複数の背景画像データのサムネイル画像及び各サムネイル画像に対応する背景画像IDを含むHTML文書により構成される。CPU11は作成した背景画像選択画面を携帯電話機2へ送信する(ステップS109)。   Subsequently, the CPU 11 reads the background image data and the background image ID from the background image file 151 (step S108). The CPU 11 creates a thumbnail image of background image data. Then, the CPU 11 creates a background image selection screen for selecting a background image. This background image selection screen is composed of an HTML document including thumbnail images of a plurality of background image data and a background image ID corresponding to each thumbnail image. The CPU 11 transmits the created background image selection screen to the mobile phone 2 (step S109).

携帯電話機2のCPU21は背景画像選択画面を受信する(ステップS110)。CPU21はブラウザ251に背景画像選択画面を表示する。ユーザは歌詞の背景として希望する一の背景画像に係るサムネイルを入力部23から選択する。CPU21は入力部23から入力された背景画像の選択を受け付ける(ステップS111)。CPU21は選択されたサムネイル画像に対応する背景画像IDをサーバコンピュータ1へ送信する(ステップS112)。これにより合成対象となる背景画像データが決定される。   The CPU 21 of the mobile phone 2 receives the background image selection screen (step S110). The CPU 21 displays a background image selection screen on the browser 251. The user selects a thumbnail related to a desired background image as the background of the lyrics from the input unit 23. The CPU 21 accepts selection of a background image input from the input unit 23 (step S111). The CPU 21 transmits a background image ID corresponding to the selected thumbnail image to the server computer 1 (step S112). Thereby, background image data to be synthesized is determined.

サーバコンピュータ1のCPU11は背景画像IDを受信する(ステップS1120)。CPU11は受信した背景画像ID及びステップS107で受信した歌詞IDに対応する合成画像データを記憶部15から読み出す(ステップS113)。すなわちCPU11はステップS95で記憶した複数の合成画像データの中から、歌詞ID及び背景画像IDをアンド条件で満たす合成画像データを読み出す。   The CPU 11 of the server computer 1 receives the background image ID (step S1120). The CPU 11 reads out the composite image data corresponding to the received background image ID and the lyrics ID received in step S107 from the storage unit 15 (step S113). That is, the CPU 11 reads out the composite image data that satisfies the lyrics ID and the background image ID under the AND condition from the plurality of composite image data stored in step S95.

続いてCPU11は歌詞IDに対応する音声データを歌詞DB10から読み出す(ステップS114)。CPU11は合成画像データ及び読み出した音声データを携帯電話機2へ送信する(ステップS115)。携帯電話機2のCPU21は送信された合成画像データ及び音声データを受信する(ステップS116)。CPU21は再生アプリケーション252を起動する(ステップS117)。CPU21は再生アプリケーション252の指示に従い、合成画像データを表示部24へ表示する(ステップS118)。さらに、所定のタイミングで音声データをスピーカ29から出力する(ステップS119)。   Subsequently, the CPU 11 reads out audio data corresponding to the lyrics ID from the lyrics DB 10 (step S114). The CPU 11 transmits the composite image data and the read audio data to the mobile phone 2 (step S115). The CPU 21 of the mobile phone 2 receives the transmitted composite image data and audio data (step S116). The CPU 21 activates the reproduction application 252 (step S117). The CPU 21 displays the composite image data on the display unit 24 in accordance with the instruction of the playback application 252 (step S118). Furthermore, audio data is output from the speaker 29 at a predetermined timing (step S119).

実施の形態2
図12は実施の形態2に係るサーバコンピュータ1の構成を示すブロック図である。実施の形態2に係るサーバコンピュータ1を動作させるためのコンピュータプログラムは、本実施の形態2のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信網Nを介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 2
FIG. 12 is a block diagram showing a configuration of the server computer 1 according to the second embodiment. A computer program for operating the server computer 1 according to the second embodiment can be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the second embodiment. It is. Further, the computer program can be downloaded from a server computer (not shown) via the communication network N. The contents will be described below.

図12に示すサーバコンピュータ1の図示しないリーダ/ライタに、表示領域に収まるか否か判断させ、分割情報を抽出させ、複数行に分割させ、画像データへ変換させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部15の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部16を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部15にインストールするようにしても良い。かかるプログラムはRAM12にロードして実行される。これにより、上述のような本発明のサーバコンピュータ1として機能する。   A portable computer recorded with a computer program for causing a reader / writer (not shown) of the server computer 1 shown in FIG. 12 to determine whether or not it fits in the display area, to extract division information, to divide it into a plurality of lines, and to convert it into image data. The recording medium 1A (CD-ROM, MO, DVD-ROM or the like) is inserted, and this program is installed in the control program of the storage unit 15. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 16 and installed in the storage unit 15. Such a program is loaded into the RAM 12 and executed. Thereby, it functions as the server computer 1 of the present invention as described above.

本実施の形態2は以上の如き構成としてあり、その他の構成及び作用は実施の形態1と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The second embodiment is configured as described above, and the other configurations and operations are the same as those of the first embodiment. Therefore, corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態3
実施の形態3は実施の形態1により改行処理が行われた歌詞データを複数ページに分断する形態に関する。以下では合成装置をサーバコンピュータ1であるものとして説明する。図13は書式ファイル152の記憶内容を示す説明図である。書式ファイル152はテキストデータである歌詞データに対するフォント、フォントサイズ、行間、表示開始位置、各項目を表示する際の行を含む各種情報を記憶している。書式ファイルはINIファイルであり、その内容はテキスト形式で記述されている。x座標開始位置はx軸方向における歌詞データの表示開始位置を規定しており、本例ではx=0と記憶されている。同様に、y座標開始位置はy軸方向における歌詞データの表示開始位置を規定しており、本例ではy=0と記憶されている。
Embodiment 3
The third embodiment relates to a mode in which the lyric data subjected to line feed processing according to the first embodiment is divided into a plurality of pages. In the following description, it is assumed that the synthesizing apparatus is the server computer 1. FIG. 13 is an explanatory diagram showing the contents stored in the format file 152. The format file 152 stores various information including fonts, font sizes, line spacing, display start positions, and lines for displaying each item with respect to lyrics data that is text data. The format file is an INI file, and its contents are described in a text format. The x-coordinate start position defines the display start position of lyrics data in the x-axis direction, and is stored as x = 0 in this example. Similarly, the y coordinate start position defines the display start position of the lyrics data in the y-axis direction, and is stored as y = 0 in this example.

図14は表示部24に表示される画像データのイメージを示す説明図である。図14に示すように、透過画像データ241のxy座標系における座標(0,0)が歌詞データの表示開始位置となる。なお、表示部24の左上端をxy座標系とし、左上の座標を(0,0)としても良い。この場合、x座標開始位置は18とし、y座標開始位置は20とすれば良い。図13の書式ファイル152に示す行間は3と記憶されている。これは表示される歌詞データの行と行との間の画素数である。   FIG. 14 is an explanatory diagram showing an image of image data displayed on the display unit 24. As shown in FIG. 14, the coordinates (0, 0) in the xy coordinate system of the transmission image data 241 is the display start position of the lyrics data. The upper left corner of the display unit 24 may be the xy coordinate system, and the upper left coordinate may be (0, 0). In this case, the x coordinate start position may be 18 and the y coordinate start position may be 20. The line spacing shown in the format file 152 of FIG. This is the number of pixels between the lines of displayed lyrics data.

また書式ファイル152には各行に対応づけて各行に表示する歌詞データの項目、フォント、及びフォントサイズが記憶されている。例えば1行目には曲名、Pゴシック、フォントサイズ18と記憶されている。図14に示すように座標値(0,0)を起点として1行目には曲名「111」がPゴシック、フォントサイズ18で表示される。同様に2行目には歌手名、Pゴシック、フォントサイズ18と記憶されている。図14に示すように1行目から画素数3の行間を空けて2行目には歌手名「222」がPゴシック、フォントサイズ18で表示される。   The format file 152 stores the items of the lyric data, the font, and the font size to be displayed on each line in association with each line. For example, in the first line, a song name, P Gothic, and font size 18 are stored. As shown in FIG. 14, the music title “111” is displayed in P Gothic and font size 18 on the first line starting from the coordinate value (0, 0). Similarly, the singer name, P Gothic, and font size 18 are stored in the second line. As shown in FIG. 14, the singer name “222” is displayed in P Gothic and font size 18 on the second line with a space of 3 pixels from the first line.

3行目には作詞名、Pゴシック、フォントサイズ11と記憶されている。図14に示すように3行目には作詞名「333」がPゴシック、フォントサイズ11で表示される。なお図14上ではフォント及びフォントサイズは同一のものを記載している。4行目には作曲名、Pゴシック、フォントサイズ11と記憶されている。図14に示すように4行目には作曲名「444」がPゴシック、フォントサイズ11で表示される。5行目及び6行目には歌詞データを記述しないため空白と記憶されている。図14に示すごとく5行目及び6行目には歌詞データが表示されない。   On the third line, the lyrics name, P Gothic, and font size 11 are stored. As shown in FIG. 14, the lyrics name “333” is displayed in P Gothic and font size 11 on the third line. In FIG. 14, the same font and font size are shown. In the fourth line, the composition name, P Gothic, and font size 11 are stored. As shown in FIG. 14, the composition name “444” is displayed in P Gothic and font size 11 in the fourth line. The fifth and sixth lines are stored as blank because no lyric data is described. As shown in FIG. 14, the lyric data is not displayed in the fifth and sixth lines.

7行目には項目として歌詞データ、フォントがゴシック、またフォントサイズが11と記憶されている。7行目以降は曲名、歌手名、作詞名及び作曲名を除く歌唱対象となる歌詞データを表示する際の書式が記憶されている。歌唱対象となる歌詞データは、図14に示すごとく、7行目以降からフォントがゴシックで、フォントサイズが11で表示される。なお、実施の形態1で述べたごとくすでに歌詞データは改行処理がなされている。なお、歌詞データの曲名、歌手名、作詞名及び作曲名等の情報は歌詞DB10に歌詞IDに対応づけて記憶されている。   In the seventh line, lyric data, font is Gothic, and font size is 11 as items. In the seventh and subsequent lines, a format for displaying lyric data to be sung excluding a song name, a singer name, a song name, and a song name is stored. As shown in FIG. 14, the lyrics data to be sung is displayed with a Gothic font and a font size of 11 from the seventh line onward. As described in the first embodiment, the lyric data has already been subjected to line feed processing. Note that information such as the song name, singer name, song name, and song name of the lyrics data is stored in the lyrics DB 10 in association with the lyrics ID.

図14の例では7行目以降に歌唱対象となる歌詞データが表示されている。ただし11行目においては歌詞データ「OOO PP QQQ」が行方向の表示領域の限界となる座標Yを超えている。以下では行方向の表示領域の限界となる座標Yを限界座標Yという。この限界座標Yは背景画像IDが「IM1」の場合、Y=350である。CPU11はRAM12上に書式に従い変換した歌詞データを展開し、展開した複数行からなる歌詞データが、背景画像データの行方向における表示領域内に収まるか否かを判断する。CPU11は書式ファイル152に記憶したy座標開始位置、行間、及びフォントサイズに基づき、行方向の限界座標Yに一致する行を検出する。   In the example of FIG. 14, lyric data to be sung is displayed after the seventh line. However, in the eleventh line, the lyrics data “OOO PP QQQ” exceeds the coordinate Y that is the limit of the display area in the line direction. Hereinafter, the coordinate Y that is the limit of the display area in the row direction is referred to as limit coordinate Y. This limit coordinate Y is Y = 350 when the background image ID is “IM1”. The CPU 11 expands the lyric data converted according to the format on the RAM 12, and determines whether or not the expanded lyric data composed of a plurality of lines is within the display area in the line direction of the background image data. Based on the y coordinate start position, the line spacing, and the font size stored in the format file 152, the CPU 11 detects a line that matches the limit coordinate Y in the line direction.

任意の行Lの行方向の表示領域のうち記述が開始される最も上のラインの画素数をLstart、記述が終了する最も下のラインの画素数をLendとする場合、任意の行LのLendは下記の式(1)で表すことができる。
Lend=y座標開始位置+(H+行間画素数)×(L−1)+H (1)
If the number of pixels in the uppermost line where the description starts is Lstart and the number of pixels in the lowermost line where the description ends is Lend in the display area in the row direction of the arbitrary row L, the Lend of the arbitrary row L Can be represented by the following formula (1).
Lend = y coordinate start position + (H + number of pixels between rows) × (L−1) + H (1)

ただしHはフォントサイズに対応する文字の行方向の画素数であり、Lend−Lstart+1で定義される。例えばフォントサイズが11の場合は画素数20等である。CPU11は記憶部15に記憶した式(1)にy座標開始位置、行間画素数及びフォントサイズに対応する文字の行方向の画素数を代入することにより、各行の記述が終了する画素数Lendを算出する。図14の例では11行目の歌詞データが限界座標Yを超えている。この場合、CPU11は歌詞データを複数ページに分断すべく、限界座標Yに達する前の行末尾に改ページコマンド(リターンコマンド)を挿入する。図14の例では、限界座標Yに達する前の10行目の文字ブロック「NN」の末尾に改ページコマンドを挿入する。   However, H is the number of pixels in the line direction of the character corresponding to the font size, and is defined by Lend−Lstart + 1. For example, when the font size is 11, the number of pixels is 20, for example. The CPU 11 substitutes the number of pixels in the line direction of the character corresponding to the y coordinate start position, the number of pixels between lines, and the font size into the formula (1) stored in the storage unit 15, thereby obtaining the number of pixels Lend where the description of each line ends. calculate. In the example of FIG. 14, the lyric data on the 11th line exceeds the limit coordinate Y. In this case, the CPU 11 inserts a page break command (return command) at the end of the line before reaching the limit coordinate Y in order to divide the lyrics data into a plurality of pages. In the example of FIG. 14, a page break command is inserted at the end of the character block “NN” on the 10th line before reaching the limit coordinate Y.

これにより1ページに表示すべき列方向及び行方向の歌詞データが決定される。CPU11は上述した処理を次のページにも同様に行う。CPU11は改行処理により挿入された改行コマンド及び改ページコマンドを歌詞データの文字ブロックに対応づけて記憶する。図15は表示部24に表示される画像データのイメージを示す説明図である。11行目の歌詞データ「OOO PP QQQ」は次ページの第1行目に表示されており、またこのページの最終行には限界座標Yに達することなく歌詞データ「UUUUU VVV XXXX」が表示されている。   Thereby, the lyric data in the column direction and the row direction to be displayed on one page is determined. The CPU 11 performs the above-described processing on the next page in the same manner. The CPU 11 stores the line feed command and the page break command inserted by the line feed processing in association with the character block of the lyrics data. FIG. 15 is an explanatory diagram showing an image of image data displayed on the display unit 24. The lyric data “OOO PP QQQ” on the 11th line is displayed on the 1st line of the next page, and the lyric data “UUUUU VVV XXXX” is displayed on the last line of this page without reaching the limit coordinate Y. ing.

CPU11は以上の処理により改ページコマンドが挿入された各ページ用の複数行からなる歌詞データをjpeg等の形式で、画像データへ変換する。そして、貼り付け座標位置(0,0)を基準に、変換した画像データを背景画像データへ合成する。これを各ページについて行うことにより複数ページから構成される合成画像データが作成される。CPU11は、歌詞ID及び背景画像IDに対応づけて合成した合成画像データを記憶部15に記憶する。   The CPU 11 converts the lyric data composed of a plurality of lines for each page into which the page break command is inserted by the above processing into image data in a format such as jpeg. Then, based on the pasted coordinate position (0, 0), the converted image data is combined with the background image data. By performing this for each page, composite image data composed of a plurality of pages is created. The CPU 11 stores the synthesized image data synthesized in association with the lyrics ID and the background image ID in the storage unit 15.

図16及び図17は分断処理の手順を示すフローチャートである。CPU11は歌詞DB10から分断対象となる歌詞データを読み出し、また合成の対象となる背景画像データを背景画像ファイル151から読み出す(ステップS161)。なお、ここで読み出した歌詞データはすでに実施の形態1で述べた改行処理が行われているものとして説明する。CPU11は読み出した背景画像データに対応する行方向の表示領域(限界領域Y)を背景画像ファイル151から読み出す(ステップS162)。CPU11は記憶部15の書式ファイル152から記憶された書式を読み出す(ステップS163)。CPU11は読み出した歌詞データを書式に従い変換しRAM12上に展開する(ステップS164)。   16 and 17 are flowcharts showing the procedure of the dividing process. The CPU 11 reads the lyrics data to be divided from the lyrics DB 10 and reads the background image data to be combined from the background image file 151 (step S161). It is assumed that the lyrics data read here has already been subjected to the line feed processing described in the first embodiment. The CPU 11 reads a display area (limit area Y) in the row direction corresponding to the read background image data from the background image file 151 (step S162). CPU11 reads the format memorize | stored from the format file 152 of the memory | storage part 15 (step S163). The CPU 11 converts the read lyric data according to the format and develops it on the RAM 12 (step S164).

CPU11はRAM12上に展開した歌詞データ各行の行方向の記述が終了する画素数を記憶部15に記憶した式(1)に従い算出する(ステップS165)。CPU11は算出した画素数が限界領域Yを超えるか否かを判断する(ステップS166)。CPU11は算出した画素数が限界領域Yを超えると判断した場合(ステップS166でYES)、算出した画素数が限界領域Yを超える行の前の行を抽出する(ステップS167)。   The CPU 11 calculates the number of pixels at which the description in the row direction of each line of the lyrics data developed on the RAM 12 is completed according to the equation (1) stored in the storage unit 15 (step S165). The CPU 11 determines whether or not the calculated number of pixels exceeds the limit area Y (step S166). When the CPU 11 determines that the calculated number of pixels exceeds the limit area Y (YES in step S166), the CPU 11 extracts a line before the line in which the calculated number of pixels exceeds the limit area Y (step S167).

CPU11は抽出した行の末尾に改ページコマンドを挿入する(ステップS168)。またCPU11は改ページコマンドの挿入に併せて、ページ番号を設定する(ステップS169)。図14の例では文字ブロック「NN」の末尾に改ページ番号が挿入され、またページ番号1が設定される。さらにページを切り替えるための時間情報も記憶される。すなわち、歌詞データの各文字ブロックには音声データと同期をとるための時間情報が記憶部15に記憶されており、例えば文字ブロック「OOO」には音声データの再生開始後、2分10秒〜2分12秒とする時間情報が記憶部15に記憶されている。ここで2分10秒は当該文字ブロックの歌唱開始時間であり、2分12秒は当該文字ブロックの歌唱終了時間である。   The CPU 11 inserts a page break command at the end of the extracted line (step S168). Further, the CPU 11 sets a page number in conjunction with the insertion of a page break command (step S169). In the example of FIG. 14, a page break number is inserted at the end of the character block “NN”, and page number 1 is set. Further, time information for switching pages is also stored. That is, time information for synchronizing with voice data is stored in the storage unit 15 in each character block of the lyric data. For example, the character block “OOO” has a time of 2 minutes 10 seconds after the start of playback of the voice data. Time information of 2 minutes and 12 seconds is stored in the storage unit 15. Here, 2 minutes 10 seconds is the singing start time of the character block, and 2 minutes 12 seconds is the singing end time of the character block.

CPU11は抽出した行の次の行の先頭文字ブロックの時間情報を記憶部15から読み出す。CPU11は読み出した歌唱開始時間から切り替えのための余裕時間(例えば0.5秒)を減算し、減算した時間情報をページ切り替え時間としてページ番号に対応づけて、歌詞データとともにRAM12に記憶する(ステップS1610)。例えば第1ページ目のページ切り替え時間は2分9秒50msとなる。なお、この余裕時間はオペレータが入力部13から適宜の値を入力することができ、入力された余裕時間は記憶部15に記憶される。   The CPU 11 reads the time information of the first character block of the next line after the extracted line from the storage unit 15. The CPU 11 subtracts a margin time for switching (for example, 0.5 seconds) from the read singing start time, associates the subtracted time information with the page number as the page switching time, and stores it in the RAM 12 together with the lyrics data (step). S1610). For example, the page switching time for the first page is 2 minutes 9 seconds 50 ms. Note that the operator can input an appropriate value from the input unit 13 as the margin time, and the entered margin time is stored in the storage unit 15.

さらに本実施の形態においてはページ切り替え時間を抽出した行の次の行の先頭文字ブロックの時間情報に基づき算出したが、抽出した行の最後の文字ブロックに対する時間情報に基づき算出するようにしても良い。例えば抽出行の最終文字ブロック「NN」の時間情報が音声データ再生開始後、2分5秒〜2分7秒と記憶部に記憶されている場合、歌唱終了時間である2分7秒に余裕時間を加算した時間をページ切り替え時間としても良い。この場合CPU11は、ステップS167で抽出した前の行の最終文字ブロックの歌唱終了時間を記憶部15から読み出し、この歌唱終了時間に余裕時間を加算してページ切り替え時間とし、このページ切り替え時間を歌詞データ及びページ番号と共にRAM12に記憶する。   Furthermore, in this embodiment, the page switching time is calculated based on the time information of the first character block of the next line after the extracted line, but may be calculated based on the time information for the last character block of the extracted line. good. For example, if the time information of the last character block “NN” in the extracted line is stored in the storage unit from 2 minutes 5 seconds to 2 minutes 7 seconds after the start of audio data reproduction, there is room for 2 minutes 7 seconds that is the singing end time The time obtained by adding the time may be used as the page switching time. In this case, the CPU 11 reads the singing end time of the last character block of the previous line extracted in step S167 from the storage unit 15, adds the margin time to this singing end time to be the page switching time, and uses the page switching time as the lyrics. The data and page number are stored in the RAM 12.

そして次のページの処理を行うべく、CPU11はステップS165へ移行し、ステップS167で限界領域Yを超えた行について、ステップS165以降の処理を繰り返し行う。CPU11はステップS166において算出した行方向の記述が終了する画素数が限界領域Yを超えないと判断した場合(ステップS166でNO)、歌詞データの最後と判断し(ステップS171)、最終のページ番号を設定する。CPU11はRAM12に記憶した各ページの歌詞データを読み出し画像データへ変換する(ステップS172)。CPU11は各ページの歌詞データに係る画像データを、座標(0,0)を基準にステップS161で読み出した背景画像データに合成する(ステップS173)。   Then, in order to perform the process for the next page, the CPU 11 proceeds to step S165, and repeats the processes after step S165 for the line exceeding the limit area Y in step S167. If the CPU 11 determines that the number of pixels for which the description in the row direction calculated in step S166 does not exceed the limit area Y (NO in step S166), the CPU 11 determines the end of the lyrics data (step S171), and the last page number Set. The CPU 11 reads out the lyrics data of each page stored in the RAM 12 and converts it into image data (step S172). The CPU 11 synthesizes the image data related to the lyric data of each page with the background image data read in step S161 with reference to the coordinates (0, 0) (step S173).

CPU11は歌詞ID及び背景画像IDに対応づけて複数ページから構成される合成画像データをページ番号及びページ切り替え時間と共に記憶部15に記憶する(ステップS174)。以上述べた改行及び分断処理を歌詞データ及び背景画像データの全ての組み合わせにおいて、CPU11に実行させることにより、見栄えの良い合成画像データを容易に作成することが可能となる。   The CPU 11 stores the composite image data composed of a plurality of pages in association with the lyrics ID and the background image ID in the storage unit 15 together with the page number and the page switching time (step S174). By causing the CPU 11 to execute the above-described line feed and division processing for all combinations of lyrics data and background image data, it is possible to easily create composite image data having a good appearance.

図18は合成画像データの再生手順を示すフローチャートである。携帯電話機2のCPU21は実施の形態1で述べた手順により歌詞ID及び背景画像IDを選択することにより、合成画像データ及び音声データをサーバコンピュータ1からダウンロードする(ステップS181)。CPU21は再生アプリケーション252を起動する(ステップS182)。CPU21は複数ページから構成される合成画像データ、各ページのページ切り替え時間及び音声データをRAM22に展開する(ステップS183)。   FIG. 18 is a flowchart showing the procedure for reproducing the composite image data. The CPU 21 of the cellular phone 2 selects the lyric ID and the background image ID by the procedure described in the first embodiment, thereby downloading the composite image data and the voice data from the server computer 1 (step S181). The CPU 21 activates the reproduction application 252 (step S182). The CPU 21 develops the composite image data composed of a plurality of pages, the page switching time of each page, and the audio data in the RAM 22 (step S183).

CPU21は合成画像データを表示部24に表示し、これと同期させて音声データをスピーカ29から出力する(ステップS184)。時計部210は音声データの再生開始と共に計時を開始する。CPU21は時計部210からの出力を参照し、音楽データ再生後、表示中のページに対するページ切り替え時間に到達したか否かを判断する(ステップS185)。CPU21はページ切り替え時間に到達していないと判断した場合(ステップS185でNO)、到達するまで待機する。   The CPU 21 displays the composite image data on the display unit 24, and outputs the sound data from the speaker 29 in synchronization with this (step S184). The clock unit 210 starts measuring time with the start of reproduction of audio data. The CPU 21 refers to the output from the clock unit 210 and determines whether or not the page switching time for the displayed page has been reached after the music data is reproduced (step S185). If the CPU 21 determines that the page switching time has not been reached (NO in step S185), the CPU 21 waits until it reaches.

一方CPU21はページ切り替え時間に到達したと判断した場合(ステップS185でYES)、当該表示している合成画像データのページ番号を参照し、最終ページであるか否かを判断する(ステップS186)。CPU21は最終ページでないと判断した場合(ステップS186でNO)、次ページを表示すべく合成画像データのページを切り替える(ステップS187)。表示部24には切り替え後の次のページに係る合成画像データが表示される。そして、再びステップS185へ移行し以上の処理を繰り返す。ステップS186においてCPU21は現在表示部24に表示している合成画像データが最終ページであると判断した場合(ステップS186でYES)、音楽データの再生終了と共に一連の処理を終了する。   On the other hand, if the CPU 21 determines that the page switching time has been reached (YES in step S185), the CPU 21 refers to the page number of the displayed composite image data and determines whether it is the last page (step S186). If the CPU 21 determines that it is not the last page (NO in step S186), it switches the page of the composite image data to display the next page (step S187). The display unit 24 displays the composite image data relating to the next page after switching. And it transfers to step S185 again and repeats the above process. In step S186, if the CPU 21 determines that the composite image data currently displayed on the display unit 24 is the last page (YES in step S186), the series of processing is terminated upon completion of reproduction of the music data.

本実施の形態3は以上の如き構成としてあり、その他の構成及び作用は実施の形態1及び2と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The third embodiment is configured as described above, and the other configurations and operations are the same as those of the first and second embodiments. Therefore, corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted. To do.

実施の形態4
図19は実施の形態4に係るサーバコンピュータ1の構成を示すブロック図である。実施の形態4に係るサーバコンピュータ1を動作させるためのコンピュータプログラムは、本実施の形態4のように、CD−ROM、MO、またはDVD−ROM等の可搬型記録媒体1Aで提供することも可能である。さらに、コンピュータプログラムを、通信網Nを介して図示しないサーバコンピュータからダウンロードすることも可能である。以下に、その内容を説明する。
Embodiment 4
FIG. 19 is a block diagram showing a configuration of the server computer 1 according to the fourth embodiment. A computer program for operating the server computer 1 according to the fourth embodiment can be provided by a portable recording medium 1A such as a CD-ROM, MO, or DVD-ROM as in the fourth embodiment. It is. Further, the computer program can be downloaded from a server computer (not shown) via the communication network N. The contents will be described below.

図19に示すサーバコンピュータ1の図示しないリーダ/ライタに、書式を記憶させ、歌詞データを展開させ、歌詞データを分断させ、画像データへ変換させ、合成させるコンピュータプログラムが記録された可搬型記録媒体1A(CD−ROM、MO又はDVD−ROM等)を、挿入して記憶部15の制御プログラム内にこのプログラムをインストールする。または、かかるプログラムを、通信部16を介して外部の図示しないサーバコンピュータからダウンロードし、記憶部15にインストールするようにしても良い。かかるプログラムはRAM12にロードして実行される。これにより、上述のような本発明のサーバコンピュータ1として機能する。   A portable recording medium having a computer program recorded therein, which stores a format in a reader / writer (not shown) of the server computer 1 shown in FIG. 19, develops the lyric data, divides the lyric data, converts it into image data, and synthesizes it. 1A (CD-ROM, MO, DVD-ROM or the like) is inserted, and this program is installed in the control program of the storage unit 15. Alternatively, such a program may be downloaded from an external server computer (not shown) via the communication unit 16 and installed in the storage unit 15. Such a program is loaded into the RAM 12 and executed. Thereby, it functions as the server computer 1 of the present invention as described above.

本実施の形態4は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至3と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fourth embodiment is configured as described above, and the other configurations and operations are the same as those of the first to third embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.

実施の形態5
実施の形態5は複数の書式ファイルを有する形態に関する。図20は実施の形態5のサーバコンピュータ1のハードウェア構成を示すブロック図である。記憶部15には新たに補助書式ファイル153及び上限ページ数記憶部154が記憶されている。補助書式ファイル153は書式ファイル152とは異なる書式を記憶したINIファイルであり、テキスト形式で各種書式が記憶されている。なお、本実施の形態においては書式ファイル152及び補助書式ファイル153の2種類を用意する形態を説明するが、3種類以上書式を規定するファイルを用意しても良い。
Embodiment 5
The fifth embodiment relates to a form having a plurality of format files. FIG. 20 is a block diagram illustrating a hardware configuration of the server computer 1 according to the fifth embodiment. The storage unit 15 newly stores an auxiliary format file 153 and an upper limit page number storage unit 154. The auxiliary format file 153 is an INI file that stores a format different from the format file 152, and stores various formats in a text format. In the present embodiment, an example in which two types of format file 152 and auxiliary format file 153 are prepared will be described. However, a file defining three or more types of formats may be prepared.

上限ページ数記憶部154には歌詞データに係る画像データと背景画像データとを合成した合成画像データのページ数の上限値を記憶している。例えば上限となるページ数は7ページである。CPU11は実施の形態1及び実施の形態3で述べた改行処理及び分断処理により総ページ数が上限となるページ数(以下上限ページ数という)を超える場合は、補助書式ファイル153から書式を読み出し、この新たな書式に従い、再度改行処理及び分断処理を行う。補助書式ファイル153には、上限ページ数に収めるべく、書式ファイル152の書式よりも小さなフォントサイズ及び狭い行間等が記憶されている。   The upper limit page number storage unit 154 stores an upper limit value of the page number of the composite image data obtained by combining the image data related to the lyrics data and the background image data. For example, the upper limit number of pages is seven. The CPU 11 reads the format from the auxiliary format file 153 when the total number of pages exceeds the upper limit (hereinafter referred to as the upper limit page number) by the line feed process and the dividing process described in the first and third embodiments, In accordance with this new format, line feed processing and division processing are performed again. In the auxiliary format file 153, a font size smaller than the format of the format file 152, a narrow line space, and the like are stored so as to fit the upper limit number of pages.

図21は補助書式ファイル153の記憶内容を示す説明図である。補助書式ファイル153は書式ファイル152と同じく、テキストデータである歌詞データに対するフォント、フォントサイズ、行間、表示開始位置、各項目を表示する際の行を含む各種情報を記憶している。x座標開始位置はx軸方向における歌詞データの表示開始位置を規定しており、本例ではx=0と記憶されている。同様に、y座標開始位置はy軸方向における歌詞データの表示開始位置を規定しており、本例ではy=0と記憶されている。   FIG. 21 is an explanatory diagram showing the stored contents of the auxiliary format file 153. Similar to the format file 152, the auxiliary format file 153 stores various information including fonts, font sizes, line spacing, display start positions, and lines for displaying each item for text data. The x-coordinate start position defines the display start position of lyrics data in the x-axis direction, and is stored as x = 0 in this example. Similarly, the y coordinate start position defines the display start position of the lyrics data in the y-axis direction, and is stored as y = 0 in this example.

行間は書式ファイル152の行間「3」と異なり、行間が「2」と狭く設定されている。これは上限ページ数内に合成画像データを収めるためである。1行目には項目「曲名」、2行目には項目「歌手名」の書式が記憶されているがフォントサイズは書式ファイル152の「18」から「11」と小さくなるよう変更されている。また3行目には項目「作詞名」、4行目には項目「作曲名」の書式が記憶されているがフォントサイズは書式ファイル152の「11」から「10」と小さくなるよう変更されている。   Unlike the line spacing “3” of the format file 152, the line spacing is set narrowly to “2”. This is because the composite image data is contained within the upper limit number of pages. The format of the item “song name” is stored in the first line, and the format of the item “singer name” is stored in the second line, but the font size is changed from “18” to “11” in the format file 152. . The format of the item “lyric name” is stored in the third line and the format of the item “composition name” is stored in the fourth line, but the font size is changed from “11” to “10” in the format file 152. ing.

また補助書式ファイル153では、書式ファイル152の5行目及び6行目の空白は削除されており、5行目には項目「歌詞データ」の書式が次に記憶されている。また歌詞データのフォントサイズは書式ファイル152の「11」から「10」へと変更されている。   In the auxiliary format file 153, the blanks in the 5th and 6th lines of the format file 152 are deleted, and the format of the item “lyric data” is stored next in the 5th line. The font size of the lyrics data has been changed from “11” to “10” in the format file 152.

図22は補助書式ファイルを利用する際の処理手順を示すフローチャートである。サーバコンピュータ1のCPU11は入力部13から上限ページ数の入力を受け付ける(ステップS221)。CPU11は受け付けた上限ページ数を上限ページ数記憶部154に記憶する(ステップS222)。またCPU11は補助書式ファイル153を記憶部15に記憶する(ステップS223)。CPU11は実施の形態1及び3で述べた如く、合成対象となる歌詞データ及び背景画像データを読み出す(ステップS224)。またCPU11は書式ファイル152から書式を読み出す(ステップS225)。   FIG. 22 is a flowchart showing a processing procedure when an auxiliary format file is used. The CPU 11 of the server computer 1 receives an input of the upper limit page number from the input unit 13 (step S221). The CPU 11 stores the received upper limit page number in the upper limit page number storage unit 154 (step S222). Further, the CPU 11 stores the auxiliary format file 153 in the storage unit 15 (step S223). As described in the first and third embodiments, the CPU 11 reads out lyrics data and background image data to be combined (step S224). The CPU 11 reads the format from the format file 152 (step S225).

CPU11は実施の形態1の図8及び図9で示した改行処理及び実施の形態3の図16及び図17で示した分断処理を実行する(ステップS226)。なお、これらの処理の詳細はすでに説明したとおりであるので省略する。CPU11はステップS171で歌詞データの最後と判断した場合の総ページ数が、上限ページ数記憶部154に記憶した上限ページ数を超えるか否かを判断する(ステップS227)。   The CPU 11 executes the line feed process shown in FIGS. 8 and 9 of the first embodiment and the dividing process shown in FIGS. 16 and 17 of the third embodiment (step S226). The details of these processes are the same as those already described, and will be omitted. The CPU 11 determines whether or not the total number of pages when it is determined at the end of the lyrics data in step S171 exceeds the upper limit page number stored in the upper limit page number storage unit 154 (step S227).

ここでCPU11は歌詞データの総ページ数が上限ページ数を超えない場合(ステップS227でNO)、処理を終了する。一方、CPU11は歌詞データの総ページ数が上限ページ数を超える場合(ステップS227でYES)、記憶部15に記憶した補助書式ファイル153の書式を読み出す(ステップS228)。CPU11は歌詞データを補助書式ファイル153から読み出した書式に従い変換しRAM22へ展開する(ステップS229)。その後、CPU11は実施の形態1の図8及び図9で示した改行処理及び実施の形態3の図16及び図17で示した分断処理を実行する(ステップS2210)。これにより、歌詞が長く上限ページ数を超える場合でも書式が適切に設定され、上限ページ数内に収まることになる。   Here, when the total number of pages of the lyrics data does not exceed the upper limit number of pages (NO in step S227), the CPU 11 ends the process. On the other hand, when the total number of lyrics data pages exceeds the upper limit number of pages (YES in step S227), the CPU 11 reads the format of the auxiliary format file 153 stored in the storage unit 15 (step S228). The CPU 11 converts the lyric data according to the format read from the auxiliary format file 153, and expands it in the RAM 22 (step S229). Thereafter, the CPU 11 executes the line feed process shown in FIGS. 8 and 9 of the first embodiment and the dividing process shown in FIGS. 16 and 17 of the third embodiment (step S2210). As a result, even if the lyrics are long and exceed the upper limit number of pages, the format is appropriately set and falls within the upper limit number of pages.

本実施の形態5は以上の如き構成としてあり、その他の構成及び作用は実施の形態1乃至4と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。
(付記1)
歌詞データを携帯端末機に表示すべく前記歌詞データの表示位置を調整する調整装置において、
1行分の歌詞データが前記携帯端末機に表示される背景画像データの列方向の表示領域内に収まるか否かを判断する判断手段と、
該判断手段により、表示領域内に収まらないと判断した場合に、前記歌詞データ内に含まれる歌詞を分割するための分割情報を抽出する抽出手段と、
該抽出手段により抽出した分割情報に基づき1行分の歌詞データを複数行に分割する分割手段と、
該分割手段により分割した歌詞データを画像データへ変換する変換手段と
を備えることを特徴とする調整装置。
The fifth embodiment has the above-described configuration, and the other configurations and operations are the same as those of the first to fourth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted. To do.
(Appendix 1)
In the adjusting device for adjusting the display position of the lyrics data to display the lyrics data on the mobile terminal,
Determining means for determining whether or not the lyric data for one line is within a display area in a column direction of background image data displayed on the portable terminal;
An extraction means for extracting division information for dividing the lyrics included in the lyrics data when the determination means determines that it does not fit within the display area;
Division means for dividing the lyrics data for one line into a plurality of lines based on the division information extracted by the extraction means;
An adjustment device comprising: conversion means for converting the lyrics data divided by the dividing means into image data.

調整システムの概要を示す模式図である。It is a schematic diagram which shows the outline | summary of an adjustment system. サーバコンピュータのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a server computer. 歌詞DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of lyrics DB. 携帯電話機のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a mobile telephone. 背景画像ファイルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a background image file. 表示部に表示される画像データのイメージを示す説明図である。It is explanatory drawing which shows the image of the image data displayed on a display part. 改行処理のイメージを示す説明図である。It is explanatory drawing which shows the image of a line feed process. 改行処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a line feed process. 改行処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a line feed process. 合成画像データの配信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the delivery process of synthetic image data. 合成画像データの配信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the delivery process of synthetic image data. 実施の形態2に係るサーバコンピュータの構成を示すブロック図である。6 is a block diagram illustrating a configuration of a server computer according to Embodiment 2. FIG. 書式ファイルの記憶内容を示す説明図である。It is explanatory drawing which shows the memory content of a format file. 表示部に表示される画像データのイメージを示す説明図である。It is explanatory drawing which shows the image of the image data displayed on a display part. 表示部に表示される画像データのイメージを示す説明図である。It is explanatory drawing which shows the image of the image data displayed on a display part. 分断処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a division process. 分断処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a division process. 合成画像データの再生手順を示すフローチャートである。It is a flowchart which shows the reproduction | regeneration procedure of synthetic | combination image data. 実施の形態4に係るサーバコンピュータの構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a server computer according to a fourth embodiment. 実施の形態5のサーバコンピュータのハードウェア構成を示すブロック図である。FIG. 20 is a block diagram illustrating a hardware configuration of a server computer according to a fifth embodiment. 補助書式ファイルの記憶内容を示す説明図である。It is explanatory drawing which shows the memory content of an auxiliary | assistant format file. 補助書式ファイルを利用する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of utilizing an auxiliary | assistant format file.

符号の説明Explanation of symbols

1 サーバコンピュータ
1A 可搬型記録媒体
2 携帯電話機
10 歌詞DB
11 CPU(制御部)
12 RAM
13 入力部
14 表示部
15 記憶部
15P 制御プログラム
16 通信部
21 CPU(制御部)
22 RAM
23 入力部
24 表示部
25 記憶部
25P 制御プログラム
26 通信部
28 マイク
29 スピーカ
151 背景画像ファイル
152 書式ファイル
153 補助書式ファイル
154 上限ページ数記憶部
210 時計部
241 透過画像データ
251 ブラウザ
252 再生アプリケーション
N 通信網
1 server computer 1A portable recording medium 2 mobile phone 10 lyrics DB
11 CPU (control unit)
12 RAM
13 Input Unit 14 Display Unit 15 Storage Unit 15P Control Program 16 Communication Unit 21 CPU (Control Unit)
22 RAM
23 Input unit 24 Display unit 25 Storage unit 25P Control program 26 Communication unit 28 Microphone 29 Speaker 151 Background image file 152 Format file 153 Auxiliary format file 154 Upper limit page number storage unit 210 Clock unit 241 Transparent image data 251 Browser 252 Playback application N Communication network

Claims (6)

複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データに合成装置により合成する合成方法において、
前記歌詞データを表示する際の書式を書式ファイルに記憶しておくステップと、
該書式ファイルに記憶した書式に従い、前記合成装置の制御部により前記歌詞データをメモリ上に展開する展開ステップと、
該展開ステップによりメモリ上に展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう、前記制御部により前記複数ページに分断する分断ステップと、
該分断ステップにより分断した各ページの歌詞データを画像データへ変換する変換ステップと、
該変換ステップにより変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成ステップと
を備えることを特徴とする合成方法。
In a synthesizing method for synthesizing lyrics data composed of a plurality of lines with background image data for a portable terminal composed of a plurality of pages by a synthesizer,
Storing a format for displaying the lyrics data in a format file;
An expansion step of expanding the lyrics data on a memory by the control unit of the synthesizer according to the format stored in the format file;
A dividing step of dividing the lyrics data composed of a plurality of lines developed on the memory by the developing step into the plurality of pages by the control unit so that the lyrics data is within a display area in the row direction of each page of the background image data;
A conversion step of converting the lyric data of each page divided by the dividing step into image data;
And a synthesis step of synthesizing the image data related to each page converted by the conversion step with each page of the background image data.
複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データに合成する合成装置において、
前記歌詞データを表示する際の書式を記憶する書式ファイルと、
該書式ファイルに記憶した書式に従い前記歌詞データを展開する展開手段と、
該展開手段により展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう複数ページに分断する分断手段と、
該分断手段により分断した各ページの歌詞データを画像データへ変換する変換手段と、
該変換手段により変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成手段と
を備えることを特徴とする合成装置。
In a synthesizing apparatus that synthesizes lyrics data composed of a plurality of lines with background image data for a portable terminal composed of a plurality of pages,
A format file for storing a format for displaying the lyrics data;
Expanding means for expanding the lyrics data in accordance with the format stored in the format file;
Dividing means for dividing the lyric data composed of a plurality of lines developed by the developing means into a plurality of pages so as to fit within a display area in the row direction of each page of the background image data;
Conversion means for converting the lyric data of each page divided by the dividing means into image data;
A synthesizing device comprising: synthesizing means for synthesizing image data relating to each page converted by the converting means with each page of the background image data.
前記分断手段は、前記展開手段により展開した複数行からなる歌詞データが、前記背景画像データの行方向における表示領域限界に達する前の行末尾に改ページコマンドを挿入することにより、前記歌詞データを複数ページに分断するよう構成してある
ことを特徴とする請求項2に記載の合成装置。
The dividing means inserts a page break command at the end of the line before the lyrics data composed of a plurality of lines expanded by the expansion means reaches the display area limit in the line direction of the background image data, thereby The composition device according to claim 2, wherein the composition device is configured to be divided into a plurality of pages.
背景画像データのページ数の上限値を記憶する手段と、
前記書式ファイルとは書式が異なる補助書式ファイルと、
前記分断手段により分断された歌詞データのページ数が前記上限値を超えるか否かを判断する上限値判断手段を備え、
前記展開手段は、
前記上限値判断手段により上限値を超えると判断した場合に、補助書式ファイルに記憶した書式に従い前記歌詞データを展開するよう構成してある
ことを特徴とする請求項2または3に記載の合成装置。
Means for storing an upper limit of the number of pages of background image data;
An auxiliary format file having a format different from that of the format file;
An upper limit determination unit for determining whether the number of pages of the lyrics data divided by the dividing unit exceeds the upper limit;
The expansion means is
The composition device according to claim 2 or 3, wherein when the upper limit value determining means determines that the upper limit value is exceeded, the lyrics data is expanded according to a format stored in an auxiliary format file. .
前記書式ファイルは、少なくとも歌詞データのフォントサイズ及び行間を記憶していることを特徴とする請求項2乃至4のいずれか一つに記載の合成装置。   The composition apparatus according to any one of claims 2 to 4, wherein the format file stores at least a font size and line spacing of lyrics data. 複数行から構成される歌詞データを複数ページから構成される携帯端末機用の背景画像データにコンピュータにより合成するプログラムにおいて、
コンピュータに、
前記歌詞データを表示する際の書式を書式ファイルに記憶しておくステップと、
該書式ファイルに記憶した書式に従い、前記コンピュータの制御部により前記歌詞データをメモリ上に展開する展開ステップと、
該展開ステップによりメモリ上に展開した複数行からなる歌詞データが、前記背景画像データの各ページの行方向における表示領域内に収まるよう、前記制御部により前記複数ページに分断する分断ステップと、
該分断ステップにより分断した各ページの歌詞データを画像データへ変換する変換ステップと、
該変換ステップにより変換した各ページに係る画像データを前記背景画像データの各ページに合成する合成ステップと
を実行させるためのプロクラム。
In a program for synthesizing lyrics data composed of a plurality of lines with background image data for a portable terminal composed of a plurality of pages by a computer,
On the computer,
Storing a format for displaying the lyrics data in a format file;
An expansion step of expanding the lyrics data on a memory by the control unit of the computer according to the format stored in the format file;
A dividing step of dividing the lyrics data composed of a plurality of lines expanded on the memory by the expansion step into the plurality of pages by the control unit so that the background image data falls within a display area in a row direction of each page of the background image data.
A conversion step of converting the lyric data of each page divided by the dividing step into image data;
And a synthesis step for synthesizing the image data relating to each page converted by the conversion step with each page of the background image data.
JP2007067372A 2007-03-15 2007-03-15 Synthesis method, synthesis apparatus, and program Expired - Fee Related JP4796985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007067372A JP4796985B2 (en) 2007-03-15 2007-03-15 Synthesis method, synthesis apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007067372A JP4796985B2 (en) 2007-03-15 2007-03-15 Synthesis method, synthesis apparatus, and program

Publications (2)

Publication Number Publication Date
JP2008225375A true JP2008225375A (en) 2008-09-25
JP4796985B2 JP4796985B2 (en) 2011-10-19

Family

ID=39844026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007067372A Expired - Fee Related JP4796985B2 (en) 2007-03-15 2007-03-15 Synthesis method, synthesis apparatus, and program

Country Status (1)

Country Link
JP (1) JP4796985B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656838B (en) * 2008-08-19 2012-11-28 新奥特(北京)视频技术有限公司 Broadcasting-line automation caption producing and broadcasting system of television broadcast station

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09120275A (en) * 1995-10-25 1997-05-06 Yamaha Corp Lyric display device
JPH10133973A (en) * 1996-10-31 1998-05-22 Hitachi Ltd Html information providing method
JPH10254468A (en) * 1997-01-09 1998-09-25 Yamaha Corp Method and device for displaying lyrics and recording medium which stores lyrics display program
JPH10326244A (en) * 1997-05-27 1998-12-08 Toyota Motor Corp Method for transmitting data and server used for the same
JPH11164058A (en) * 1997-11-26 1999-06-18 Hitachi Electron Service Co Ltd Portable type music selection/viewing system
JPH11311983A (en) * 1998-04-28 1999-11-09 Ricoh Co Ltd Video processor
JP2000039892A (en) * 1998-07-21 2000-02-08 Yamaha Corp Karaoke sing-along machine
JP2002244676A (en) * 2001-02-20 2002-08-30 Ricoh Co Ltd Karaoke distribution system
JP2002258879A (en) * 2001-03-05 2002-09-11 Taito Corp Advertisement display system utilizing karaoke contents of mobile telephone set
JP2002342213A (en) * 2001-05-18 2002-11-29 Flex-Firm Inc Method of providing contents
JP2002351781A (en) * 2001-05-30 2002-12-06 Fujitsu Ltd Content generating device using screen display page layout

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09120275A (en) * 1995-10-25 1997-05-06 Yamaha Corp Lyric display device
JPH10133973A (en) * 1996-10-31 1998-05-22 Hitachi Ltd Html information providing method
JPH10254468A (en) * 1997-01-09 1998-09-25 Yamaha Corp Method and device for displaying lyrics and recording medium which stores lyrics display program
JPH10326244A (en) * 1997-05-27 1998-12-08 Toyota Motor Corp Method for transmitting data and server used for the same
JPH11164058A (en) * 1997-11-26 1999-06-18 Hitachi Electron Service Co Ltd Portable type music selection/viewing system
JPH11311983A (en) * 1998-04-28 1999-11-09 Ricoh Co Ltd Video processor
JP2000039892A (en) * 1998-07-21 2000-02-08 Yamaha Corp Karaoke sing-along machine
JP2002244676A (en) * 2001-02-20 2002-08-30 Ricoh Co Ltd Karaoke distribution system
JP2002258879A (en) * 2001-03-05 2002-09-11 Taito Corp Advertisement display system utilizing karaoke contents of mobile telephone set
JP2002342213A (en) * 2001-05-18 2002-11-29 Flex-Firm Inc Method of providing contents
JP2002351781A (en) * 2001-05-30 2002-12-06 Fujitsu Ltd Content generating device using screen display page layout

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656838B (en) * 2008-08-19 2012-11-28 新奥特(北京)视频技术有限公司 Broadcasting-line automation caption producing and broadcasting system of television broadcast station

Also Published As

Publication number Publication date
JP4796985B2 (en) 2011-10-19

Similar Documents

Publication Publication Date Title
US8875020B2 (en) Portable information processing apparatus and content replaying method
EP2242043A1 (en) Information processing apparatus with text display function, and data acquisition method
CN106688035B (en) Speech synthesis device and speech synthesis method
JP2007534061A6 (en) Method and system for editing multimedia messages
JP2007534061A (en) Method and system for editing multimedia messages
WO2005043405A1 (en) Data processing device, data processing method, and data processing program
JP2004266576A (en) Media data storage apparatus, and media data storage processing program
JP2011030224A (en) System and method for displaying multimedia subtitle
JP5552987B2 (en) Search result output device, search result output method, and search result output program
JP2006227082A (en) Synchronous data preparation method for lyrics and music, device, program, and recording medium for recording the program
JP4796985B2 (en) Synthesis method, synthesis apparatus, and program
JP2008523759A (en) Method and system for synthesizing video messages
JP2013160890A (en) Information processing program, information processing apparatus, lyrics display method, and communication system
JP2008186512A (en) Content reproducing device
JP2007199574A (en) Music reproducing apparatus and music telop retrieval server
JP4963261B2 (en) Image-compatible music recommendation presentation system
JP2008225376A (en) Adjusting method and adjusting device, and program
CN116194903A (en) Cartoon playing system, cartoon playing method, cartoon playing computer software program and cartoon data used by same
KR20000000266A (en) Apparatus for creating graphic file including sound data
JP2004004271A (en) Karaoke remote control system
JP2004198959A (en) Instruction code generation device and instruction code generation processing program
KR100625212B1 (en) Text information service method for multimedia contents
JP5505662B2 (en) Karaoke device and karaoke program
JP5009650B2 (en) Synthesizer, synthesis system, synthesis method and program
JP4587966B2 (en) Data processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110624

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4796985

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20140805

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees