Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3896609B2 - Karaoke equipment - Google Patents
[go: Go Back, main page]

JP3896609B2 - Karaoke equipment - Google Patents

Karaoke equipment Download PDF

Info

Publication number
JP3896609B2
JP3896609B2 JP21103196A JP21103196A JP3896609B2 JP 3896609 B2 JP3896609 B2 JP 3896609B2 JP 21103196 A JP21103196 A JP 21103196A JP 21103196 A JP21103196 A JP 21103196A JP 3896609 B2 JP3896609 B2 JP 3896609B2
Authority
JP
Japan
Prior art keywords
still image
image data
data
foreground
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP21103196A
Other languages
Japanese (ja)
Other versions
JPH1055186A (en
Inventor
幸生 多田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP21103196A priority Critical patent/JP3896609B2/en
Publication of JPH1055186A publication Critical patent/JPH1055186A/en
Application granted granted Critical
Publication of JP3896609B2 publication Critical patent/JP3896609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、カラオケ演奏に同期して映像を表示するカラオケ装置に関する。
【0002】
【従来の技術】
現在多くのカラオケ装置はモニタを接続しており、カラオケ演奏に同期して曲に合った映像や歌詞をこのモニタに表示する。このようなカラオケ装置は、動画の映像データを記憶した光ディスクを複数枚内蔵したチェンジャを備えており、演奏する曲に応じた映像を前記光ディスクから選択して再生するようにしていた。
【0003】
【発明が解決しようとする課題】
しかし、上記チェンジャを備えたカラオケ装置は、価格が高額になる欠点があり、また、装置が大型化・重量化するため可搬型のカラオケ装置には適さない欠点があった。また、光ディスクを交換・再生するための機構部が多くなるため故障が多くなる欠点があった。
【0004】
また、現在可搬型のカラオケ装置には、ハードディスクに静止画を記憶しておき、カラオケ演奏中にモニタにこれを表示するものも実用化されているが映像が極めて単調でカラオケ演奏を盛り上げることができない欠点があった。
【0005】
この発明は、静止画であっても変化に富んだ映像表示を実現することができるカラオケ装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
この出願の請求項1の発明は、楽曲データに基づいてカラオケ曲を演奏するカラオケ演奏手段と、複数の背景用静止画データおよび複数の前景用静止画データを記憶する画像記憶手段と、1つの背景用静止画データおよび1または複数の前景用静止画データを同時に指定する画像指定データを時系列に複数配列した画像シーケンスデータを記憶する画像シーケンスデータ記憶手段と、前記カラオケ曲の演奏と並行して前記画像シーケンスデータから画像指定データを読み出し、該画像指定データによって指定された背景用静止画データおよび前景用静止画データを合成して表示用静止画データを作成してモニタに供給する画像合成手段とを備えたカラオケ装置であって、前記画像合成手段は、合成する背景用静止画データおよび前景用静止画データの色調が同じになるように前記背景用静止画データおよび前景用静止画データの一方または両方の色調を補正する補正手段を含み、該補正手段は、前記背景用静止画データの色の3要素(色相,彩度,明度)の要素毎の平均値、および、前記前景用静止画データの色の3要素の要素毎の平均値に基づいて色の3要素の補正値を割り出し、前記背景用静止画データおよび前景用静止画データの一方または両方を補正する手段であることを特徴とする。
【0009】
この出願の請求項の発明は、前記画像記憶手段に、各背景用静止画データおよび各前景用静止画データの色の3要素の平均値を予め記憶し、前記補正手段をこの平均値を用いて前記補正値を割り出すようにしたことを特徴とする。
【0011】
この発明では、背景用静止画データおよび前景用静止画データを記憶しておき、これらを合成して表示用静止画データを作成する。これにより、少ない静止画データの枚数で多種類の表示用静止画データを作成することができ、少ない記憶容量で変化に富んだ表示をすることができる。さらに、これをシーケンスデータに基づいて切換表示することにより順次静止画データが切り換えられてゆくため、カラオケ歌唱を盛り上げることができる。
【0012】
また、この発明では、合成される背景用静止画データと前景用静止画データの色調が大きく異なっている場合は、合成するまえにその一方または両方の色調を補正して互いに近づける。これにより、全く異なる背景用静止画データおよび前景用静止画データを合成した場合でも、背景から前景が浮いているような状態になることがなくなる。
【0013】
請求項の発明では、背景用静止画データおよび前景用静止画データのそれぞれに上記色の3要素の平均値が記憶されているため、補正値を算出するとき、これらをビットマップの静止画データ本体からこれを割り出す必要がなくなるため、作業が極めて効率化する。
【0015】
【発明の実施の形態】
図1はこの発明の実施形態であるカラオケ装置のブロック図である。このカラオケ装置は、モニタ26,アンプ・スピーカ22を含む装置全体が、キャスタで移動可能なワゴン上に収納された小型のカラオケ装置である。このカラオケ装置は、カラオケ歌唱者が選択した楽曲データによって音源装置18などを駆動してカラオケ演奏を実行するとともに、映像および歌詞をモニタ26に表示する。このカラオケ装置では映像は動画ではなく、複数の静止画像を合成した表示用静止画を切り換え表示する。静止画像のデータは、背景用静止画データおよび前景用静止画データがあり、それぞれ複数のデータがハードディスク装置17に記憶されている。表示用静止画データは、1つの背景用静止画データ上に前景用静止画データを合成して作成する。そして、この表示用静止画データを曲の進行に応じて切り換えてゆくことにより、動画に近い効果を出すことができるようにしている。また、前景用静止画データとその背景となる背景用静止画データの色調(色相,彩度,明度)のアンバランスを防止するため、両者の色調を近づけるように補正をすることもできる。
【0016】
このカラオケ装置において、装置全体の動作を制御するCPU10には、バスを介してROM11,RAM12,ハードディスク記憶装置(HDD)17,リモコン受信部13,表示パネル14,パネルスイッチ15,音源装置18,音声データ処理部19,効果用DSP20,文字表示部23および表示制御部25が接続されている。
【0017】
ROM11にはこの装置を起動するために必要な起動プログラムなどが記憶されている。この装置の動作を制御するシステムプログラム,アプリケーションプログラムなどはHDD17に記憶されており、装置の電源がオンされると上記起動プログラムによってRAM12に読み込まれる。RAM12には、該プログラム記憶エリアのほかカラオケ演奏を実行する楽曲データを読み込む実行データ記憶エリアなどが設けられている。また、HDD17は、700〜800MB程度の記憶容量を有し、図2に示すように、上記プログラム記憶エリア53のほか3000〜4000曲分の楽曲データを記憶する楽曲データファイル50,楽曲データに合わせて合成表示される静止画像のシーケンスを記憶したBGPスクリプトファイル51,静止画像ファイル52などが設けられている。
【0018】
リモコン受信部13はリモコン31から送られてくる赤外線信号を受信してデータを復元する。リモコン31は選曲スイッチなどのコマンドスイッチやテンキースイッチなどを備えており、利用者がこれらのスイッチを操作するとその操作に応じたコードで変調された赤外線信号を送信する。表示パネル14はこのカラオケ装置の前面に設けられており、現在演奏中の曲コードや予約曲数などを表示するものである。パネルスイッチ15はカラオケ装置の前面操作部に設けられており、曲コード入力スイッチやキーチェンジスイッチなどを含んでいる。
【0019】
音源装置18は、楽曲データの楽音トラックのデータに基づいて楽音信号を形成する。楽曲データはカラオケ演奏時にCPU10によって読み出される。楽音トラックは図2(B)に示すように複数トラックで構成されており、音源装置18はこのデータに基づいて複数パートの楽音信号を同時に形成する。音声データ処理部19は、楽曲データに含まれる音声データに基づき、指定された長さ,指定された音高の音声信号を形成する。音声データは、バックコーラスなどの音源装置18で電子的に発生しにくい信号波形をそのままADPCMデータ化して記憶したものである。音源装置18が形成した楽音信号および音声データ処理部19が形成した音声信号がカラオケ演奏音であり、これらは効果用DSP20に入力される。効果用DSP20は、このカラオケ演奏音に対してリバーブやエコーなどの効果を付与する。効果を付与されたカラオケ演奏音はD/Aコンバータ21によってアナログ信号に変換されたのちアンプ・スピーカ22に出力される。アンプ・スピーカ22は入力されたカラオケ演奏音およびマイク27から入力された歌唱音声信号を増幅し、且つ、歌唱音声信号にエコーなどの効果を付与したのちスピーカから放音する。
【0020】
文字表示部23は、カラオケ演奏時に、楽曲データ(図2参照)から読み出された文字データに基づいて、曲名や歌詞などの文字パターンを生成する。また、カラオケ演奏時に、CPU10はHDD17から所定の背景用静止画データおよび前景用静止画データを読み出して合成し、これを表示用静止画データとして表示制御部25に入力する。この文字パターンおよび表示用静止画データは表示制御部25によって合成されモニタ26に表示される。静止画データの合成機能については後に詳述する。
【0021】
図2〜図4は、前記HDD17の記憶内容を示す図である。図2において、楽曲データファイル50は400MB程度の領域を有し、3000〜4000曲分の楽曲データが記憶されている。各楽曲データは同図(B)に示すようにヘッダを備えており、このヘッダに曲番号およびジャンルコードが書き込まれている。BGP(Back Ground Picture)スクリプトファイル51には、複数の曲対応BGPスクリプトデータおよび複数のジャンル対応BGPスクリプトデータが記憶されている。BGPスクリプトデータは図3に示す構成をしており、背景用静止画Bnと前景用静止画Fnとを合成・表示する手順を記述したものである。ヘッダ部に曲番号が書き込まれているものが曲対応BGPスクリプトデータであり、ヘッダ部にジャンルコードが書き込まれているものがジャンル対応BGPスクリプトデータである。曲対応BGPスクリプトデータは、該曲番号の楽曲データが演奏されるとき読み出され、モニタ26にこの手順で静止画像が表示される。また、ジャンル対応BGPスクリプトデータは、演奏される楽曲データ(の曲番号)に対応する曲対応BGPスクリプトデータが存在しないとき、その曲のジャンルに基づいて対応するものが読み出される。すなわち、曲対応スクリプトデータは全ての楽曲データに対応して記憶されておらず、古い曲など既存の楽曲データが演奏される場合には、このジャンル対応BGPスクリプトデータが使用される。画像データファイル52は、260MB程度の領域を有し、上述した背景用静止画データおよび前景用静止画データがそれぞれ複数記憶されている。静止画データの記憶枚数は2000〜3000枚程度である。
【0022】
図2(B)は前記楽曲データの構成を示す図である。楽曲データは、ヘッダ,楽音トラック,歌詞トラック,音声トラック,効果制御トラックおよび音声データ部からなっている。ヘッダは、この楽曲データに関する種々のデータが書き込まれる部分であり、上記曲番号,ジャンルコードのほか、曲名,発売日,曲の演奏時間(長さ)などのデータが書き込まれている。
【0023】
楽音トラック〜効果制御トラックの各トラックは複数のイベントデータと各イベントデータ間の時間間隔を示すデュレーションデータΔtからなるシーケンスデータで構成されている。CPU31は、カラオケ演奏時にシーケンスプログラムに基づき全トラックのデータを並行して読み出す。シーケンスプログラムは、所定のテンポクロックでΔtをカウントし、Δtをカウントアップしたときこれに続くイベントデータを読み出し、所定の処理部へ出力するプログラムである。
【0024】
楽音トラックには、メロディトラック,リズムトラックを初めとして種々のパートのトラックが形成されている。歌詞トラックは、モニタ26上に歌詞を表示するためのシーケンスデータを記憶したトラックである。歌詞トラックのデータ記述において、通常は1行の歌詞を1つの歌詞表示データとして扱っている。歌詞表示データは1行の歌詞の文字データ(文字コードおよびその文字の表示座標)、この歌詞の表示時間(通常は30秒前後)、および、ワイプシーケンスデータからなっている。ワイプシーケンスデータとは、曲の進行に合わせて歌詞の表示色を変更してゆくためのシーケンスデータであり、表示色を変更するタイミング(この歌詞が表示されてからの時間)と変更位置(座標)が1行分の長さにわたって順次記録されているデータである。
【0025】
音声トラックは、音声データ部に記憶されている音声データn(n=1,2,3,‥‥)の発生タイミングなどを指定するシーケンストラックである。音声データ部には、音源装置18で合成しにくいバックコーラスやハーモニー歌唱などの人声が記憶されている。音声トラックには、音声指定データと、音声指定データの読み出し間隔、すなわち、音声データを音声データ処理部19に出力して音声信号形成するタイミングを指定するデュレーションデータΔtが書き込まれている。音声指定データは、音声データ番号,音程データおよび音量データからなっている。音声データ番号は、音声データ部に記録されている各音声データの識別番号nである。音程データ,音量データは、形成すべき音声データの音程や音量を指示するデータである。すなわち、言葉を伴わない「アー」や「ワワワワッ」などのバックコーラスは、音程や音量を変化させれば何度も利用できるため、基本的な音程,音量で1つ記憶しておき、このデータに基づいて音程や音量をシフトして繰り返し使用する。音声データ処理部19は音量データに基づいて出力レベルを設定し、音程データに基づいて音声データの読出間隔を変えることによって音声信号の音程を設定する。効果制御トラックには、効果用DSP20を制御するためのDSPコントロールデータが書き込まれている。効果用DSP20は音源装置18,音声データ処理部19から入力される信号に対してリバーブなどの残響系の効果を付与する。DSPコントロールデータは、このような効果の種類を指定するデータおよびその変化量データなどからなっている。
【0026】
図3はBGPスクリプトデータの構成例を示す図、図4は静止画データの構成を示す図である。また、図5は上記BGPスクリプトデータによる表示用静止画データの切換例を示す図である。
【0027】
図3(A)において、BGPスクリプトデータはヘッダおよび複数のスクリプト行で構成されている。ヘッダには、対応曲番号または対応ジャンルコードが書き込まれている。対応曲番号が書き込まれているものが曲対応BGPスクリプトデータであり、対応ジャンルコードが書き込まれているものがジャンル対応BGGPスクリプトデータである。なお、対応曲番号,対応ジャンルコードを両方書き込んで曲対応BGPスクリプトデータとジャンル対応BGPスクリプトデータを兼用させてもよい。スクリプト行は表示静止画データの切換毎に記述される。スクリプト行の記述内容は以下のとおりである。
【0028】
tn:切換時刻:演奏開始からの経過時間で示される
En:効果の種類:画面の切換態様
(効果)の種類を指定する
xe,ye:効果の中心点:上記切換態様の開始点または終了点を指定する
Tn:効果の所要時間:上記映像の切り換えがスタートしてから終了するまでの時間を指定する
Bn:背景用静止画番号:背景用静止画データを指定する
Fn:前景用静止画番号:前景用静止画データを指定する
xf,yf:前景表示座標:前景用静止画データの左上端の表示座標を指定する Ha,Sa,La:色調補正値:背景画像データと前景画像データとの色調を合わせるための補正値
である。
【0029】
tn,はNTSC方式の1フレームである30分の1秒を単位として記述される。また、前記画面の切換態様としては、
カットイン:瞬間的に切り換え
ディゾルブ:画面を細かく区切った区画が順次ランダムに切り換え
ワイプ:左右または上下に切り換え
ドア:指定線(前記中心点を含む縦線)から左右または左右から指定線に切り換え
シャッタ:指定線(前記中心点を含む横線)から上下または上下から指定線に切り換え
十字:前記中心点から外周または外周から中心点に向けて切り換え
PinP:前記中心点から外周または外周から中心点に向けて切り換え
ライン:複数の指定線から上下に切り換え
モザイク:複数の中心点から外周に向けて切り換え
があり、それぞれにEnの値が割り当てられている。このうち、カットインが、デフォルトであり、カットインで画面を切り換える場合にはEn、xe,ye、Tnのパラメータを省略することができる。
【0030】
前景表示座標xf,yfは、それぞれ0〜384,0〜240の範囲の値である。色調補正値Ha,Sa,Laは、それぞれ前景用静止画データの各画素(ビット)の色相,彩度,明度の補正値である。色相補正値Haは、−180〜180の値をとる。補正は、各画素の色相を色循環(カラーホイール)上を時計方向に指定値数値分の角度だけ回転させた色相になるように補正する。
【0031】
彩度補正値Saは、−100〜100の値をとる。彩度の補正は、各画素に現在指定されている彩度値(0〜100)と彩度100との間を100等分して1〜100の値を割り当て、現在指定されている彩度値と彩度0との間を100等分して−1〜−100の値を割り当てる。そして、上記彩度補正値の示す値に対応する彩度値に補正する。Sa=−100の場合にはグレースケールの画像になる。明度補正値Laは、−100〜100の値をとる。明度の補正は、各画素に現在指定されている明度値(0〜100)と明度100との間を100等分して1〜100の値を割り当て、現在指定されている明度値と明度0との間を100等分して−1〜−100の値を割り当てる。そして、上記明度補正値の示す値に対応する明度値に補正する。La=100の場合には画面は白一色になり、La=−100の場合には画面は黒一色になる。色調補正をしない場合はこれらのパラメータは省略される。また、これらのパラメータが全て0の場合には、指定された背景用静止画データおよび前景用静止画データの色調(色相,彩度,明度)の平均値に基づいて補正値を割り出し、これに基づいて前景用静止画データを補正する。
【0032】
ここで、図4に画像データファイル52に記憶されている背景用静止画データおよび前景用静止画データの例を示す。同図(A)において、背景用静止画像データは背景用静止画番号Bn,ジャンルコード,平均HSLおよびデータ本体からなっている。背景用静止画番号Bnは、この画像データを識別する番号であり、BGPスクリプトにおいてこの番号で画像データが指定される。ジャンルコードは、この画像データがどのようなジャンルで用いられるものであるかを示すものであり、楽曲データのヘッダに書き込まれているジャンルコードと同種のものである。なお、各ジャンルにそれぞれ所定範囲の背景用静止画番号Bnを割り当てておくことにより、背景用静止画番号Bnでその背景用静止画データのジャンルを判断することも可能である。平均HSLは、データ本体の全画素の色相H,彩度S,明度Lの平均値である。予めこれを計算して記憶しておくことにより、画像合成時の色調修正作業を効率化することができる。データ本体は384×240ドットの16ビット画像のデータである。各画像データは上記ジャンルコードに適した風景や市街の画像で構成されている。
【0033】
一方、前景用静止画データは、前景用静止画番号Fn,平均HSLおよびデータ本体で構成されている。前景用静止画番号Fnは上記背景用静止画番号Bnと同様にこの画像データを識別する番号であり、BGPスクリプトにおいてこの番号で画像データが指定される。平均HSLは、データ本体の全画素の色相H,彩度S,明度Lの平均値である。データ本体は、384×240ドット以下の任意の大きさに設定することができ、16ビットまたは8ビットの画像データである。前景用静止画データは縦ビット数×横ビット数の長方形で定義されるが、画像データ中のビットを透明にすることによって実質的に任意の形状の画像を形成することができる。
【0034】
図5は、図3(B)示したBGPスクリプトデータ例に従って、背景用静止画データおよび前景用静止画データを合成して作成された表示用静止画データの切換手順を示す図である。なお、最初の静止画の表示は曲名などを表示するタイトル静止画と重畳して、または、このタイトル静止画の後にマージして行われるものとする。
【0035】
まず、スクリプト行の第1行では、番号B1の背景用静止画データが指定され、番号F1の前景用静止画データが指定されている。色調補正値が省略されているため、補正無しでx1,y1の座標で合成することによって表示用静止画データを作成する。効果パラメータが省略されているため表示切換はカットインであり、この表示用静止画データはt1の時刻に即座に表示される。
【0036】
次に、スクリプト行の第2行では、番号B1の背景用静止画データが指定され、番号F2の前景用静止画データが指定されている。色調補正値として−30,−50,40が書き込まれているため、この補正値に応じて前景用静止画データを補正する。補正方法は後で詳述する。補正された前景用静止画データをx2,y2の座標で合成することによって表示用静止画データを作成する。効果パラメータとしてE1が書き込まれているため、これに対応した効果で時刻t2からT1の時間を掛けて静止画データを切り換える。この表示の切り換えは、背景静止画データが同じ(B1)であるため、前景のみF1からF2に切り換わったように見える。
【0037】
スクリプト行の第3行では、番号B2の背景用静止画データが指定され、番号F3の前景用静止画データが指定されている。色調補正値が省略されているため、補正無しでx3,y3の座標で合成することによって表示用静止画データを作成する。効果パラメータが省略されているため表示切換はカットインであり、この表示用静止画データはt3の時刻に即座に表示される。
【0038】
次に、スクリプト行の第4行では、番号B2の背景用静止画データが指定され、番号F1の前景用静止画データが指定されている。色調補正値として0,0,0が書き込まれている。この色調補正値は、リアルタイムで補正値を算出して補正をすべき旨の指示であるため、背景用静止画データおよび前景用静止画データの色調の平均値に基づいて補正値を算出し、これで前景用静止画データを補正する。補正された前景用静止画データをx4,y4の座標で合成することによって表示用静止画データを作成する。効果パラメータとしてE2が書き込まれているため、これに対応した効果で時刻t4からT3の時間を掛けて静止画データを切り換える。
【0039】
なお、同じ背景用静止画データ,前景用静止画データを用い、前景用静止画データの合成位置を少しずつずらしてゆくことにより、前景の物体が移動しているようにアニメーション化することもできる。
【0040】
図6〜図9は同カラオケ装置の画像表示動作を示すフローチャートである。図6は、カラオケスタート時の動作を示している。利用者によって曲が選択されると、カラオケ演奏をスタートするため楽曲データをHDD17からRAM12に読み出す(s1)。読み出された楽曲データのヘッダをチェックして曲番号やジャンルコードを読み出す(s2)。BGPスクリプトファイルから前記曲番号に対応するBGPスクリプトデータを検索する(s3)。この曲に対応する曲対応BGPスクリプトデータが存在する場合には(s4)、該曲対応BGPスクリプトデータを読み出し(s5)、このBGPスクリプトで使用する全ての静止画データが画像データファイルに存在するか否かをチェックする(s6)。全ての静止画データが存在する場合には(s7)、図7,図8のBGP合成動作に進む。
【0041】
一方、曲対応BGPスクリプトデータが存在しなかった場合には(s4)、s9に進んでこの曲のジャンルに対応するジャンル対応BGPスクリプトデータを検索する(s9)。また、BGPスクリプトで使用する静止画データの一部が存在しなかった場合には(s7)、読み出した曲対応BGPスクリプトデータを廃棄して(s8)、この曲のジャンルに対応するジャンル対応BGPスクリプトデータを検索する(s9)。ジャンル対応BGPスクリプトデータは、通常全てのジャンルに対応して記憶されているため、この曲のジャンルに対応するジャンル対応BGPスクリプトデータが検索される(s10)。この検索されたジャンル対応BGPスクリプトデータを読み出し(s11)、このBGPスクリプトで使用する全ての静止画データが画像データファイルに存在するか否かをチェックする(s12)。全ての静止画データが存在する場合には(s13)、図7,図8のBGP合成動作に進む。
【0042】
一方、ジャンル対応BGPスクリプトデータで使用される静止画データの一部が存在しなかった場合には(s13)、このジャンル対応BGPスクリプトデータを使用することができないため、このデータを廃棄して(s14)、この曲のジャンルに対応する背景用静止画データを画像データファイルから選択する(s15)。この選択は、カラオケ曲の演奏時間に応じて複数枚選択されるものとする。そして、図9の背景画表示動作へ進む。
【0043】
図7,図8はBGP合成動作を示すフローチャートである。カラオケ曲の演奏がスタートすると、まず、タイトル静止画を表示する(s20)。このタイトル静止画の表示中にスクリプトのポインタiに1をセットして(s21)、BGPスクリプトデータからi行目のスクリプト行を読み出す(s22)。このスクリプト行に記述されているタイミングデータtiをタイマにセットして(s23)、このtiを計測している間に、指定されている背景用静止画データおよび前景用静止画データを読み出す(s24,s25)。つぎに、スクリプト行に補正パラメータが含まれているか否かを判断する(s26)。補正パラメータが含まれていない場合にはそのままs31に進む。補正パラメータが含まれている場合には、そのパラメータが全て0であるか否かを判断する(s27)。全て0でなければ、この値で前景用静止画データを補正するためs29に進む。一方、全て0の場合には、背景用静止画データのHSLの平均値と前景用静止画データのHSLの平均値に基づいて補正値を算出すべきことの指示であるため、読み出された背景用静止画データおよび前景用静止画データのヘッダに含まれているHSLの平均値に基づいて補正値を算出する(s28)。この補正値算出動作は以下のとおりである。まず、背景用静止画データのHSL平均値Hb,Sb,Lbと前景用静止画データのHSL平均値Hf,Sf,Lfを静止画データのヘッダから読み出し、これらの平均値h,s,lを算出する。そして、この両者の平均値h,s,lと前景用静止画データのHSL平均値Hf,Sf,Lfとの差(h−Hf,s−Sf,l−Lf)を補正値Ha,Sa,Laとする。s29では補正値に基づいて前景用静止画の色調を補正する。この補正動作は以下のとおりである。まず、前景用静止画データはRGBデータとして記憶されているため、これをHSLデータに変換する。色相補正値Haは−180〜+180の値をとるため、前景用静止画データの各画素の色相値Hをこの角度だけ回転して補正された色相値とする。彩度補正値Saは−100〜+100の値をとるため、彩度補正値Saがマイナスの場合には、各画素について0と現在の彩度値Sとの間を100等分して彩度補正値Saの割合の値を補正された彩度値とし、彩度補正値Saがプラスの場合には、各画素について現在の彩度値Sと100の間を100等分して彩度補正値Saの割合の値を補正された彩度値とする。明度補正値Laは−100〜+100の値をとるため、明度補正値Laがマイナスの場合には、各画素について0と現在の明度値Lとの間を100等分して明度補正値Laの割合の値を補正された明度値とし、明度補正値Laがプラスの場合には、各画素について現在の明度値Lと100の間を100等分して明度補正値Laの割合の値を補正された明度値とする。こののち、s31に進む。
【0044】
s31では、背景用静止画データ上に前景座標値xf,yfを基準に前景用静止画データを合成する。これで、表示用静止画データが作成される。こののち、tiのタイムアップまで待機し(s32)、tiがタイムアップすると、スクリプト行に効果パラメータEnの記述があるか否かを判断する(s33)。効果パラメータEnがない場合にはカットインで即座に切り換え(s34)、効果パラメータEnがある場合には、そのパラメータで指示される効果(切換態様)をセットし(s35)、Tiの時間を掛けて前の表示用静止画データから今回の表示用静止画データに画面を切り換えてゆく(s36)。今回のスクリプト行でBGPスクリプトデータが終了か否かを判断し(s37)、終了でなければiに1を加算して(s38)、s22に戻る。終了であれば曲の終了を待って現在表示している静止画を消去して(s39)、終了する。なお、各スクリプト行においてtiが直前のスクリプト実行からの時間を記述している場合には上記動作でよく、tiが曲の開始からの時間を記述している場合には、タイマにセットする値は、ti−t(i-1) とすればよい。
【0045】
図9は静止画表示動作を示すフローチャートである。この動作は、演奏される楽曲データに対応するBGPスクリプトデータが存在しないとき実行される。まず、タイトル静止画を表示する(s41)。このタイトル静止画の表示ののち、iに1をセットし(s42)、選択された背景用静止画データのうちi番目のデータを読み出して表示する(s43)。この背景用静止画データを表示しながら一定時間(30秒程度)が経過するか(s45)、曲が終了するまで待機する(s46)。一定時間が経過すると。iに1を加算して(s45)、s43に戻り次の背景用静止画を読出・表示する。また、曲が終了するとモニタ26の表示を消去して(s47)、動作を終了する。
【0046】
なお、この実施形態では背景用静止画データに1つの前景用静止画データを合成するようにしているが、複数の前景用静止画データを合成できるようにしてもよい。また、色調の補正は前景用静止画データのみならず背景用静止画データについても行ってもよい。また、上記動作では、背景用静止画データのHSL平均値Hb,Sb,Lbと前景用静止画データのHSL平均値Hf,Sf,Lfを静止画データのヘッダから読み出してこれらの平均値を求めているが、Hb,Sb,LbやHf,Sf,Lfが予め記憶されていない場合には、静止画データの各画素の色相値H,彩度値S,明度値Lをリアルタイムに全て平均してこの平均値を求めればよい。
【0047】
【発明の効果】
この発明によれば、背景用静止画データと前景用静止画データを合成して表示用静止画データを作成し、これを順次切り換えながら表示するようにしたことにより、データ量の小さい静止画でありながら、カラオケ装置のモニタ表示として動画に近い変化に富んだ映像を提供することができる。
【0048】
また、この発明によれば、背景用静止画データと前景用静止画データを合成するとき、その色調が同じになるように補正することにより、異なる画像データを合成したときに生じる違和感を無くすことができ、自然な映像を提供することができる。
【0049】
請求項の発明によれば、背景用静止画データおよび前景用静止画データに加えてこれらの色相,彩度,明度の色の3要素の平均値を予め記憶しているため、計算によってこれらを算出して補正する場合に比して極めて短時間で補正処理をすることができ、処理時間の短縮を図ることができる。
【図面の簡単な説明】
【図1】この発明の実施形態であるカラオケ装置のブロック図
【図2】同カラオケ装置のハードディスクの記憶内容を示す図
【図3】ハードディスクに記憶されるBGPスクリプトデータの例を示す図
【図4】ハードディスクに記憶される背景用静止画データおよび前景用静止画データの例を示す図
【図5】上記BGPスクリプトデータによる静止画データの合成例を示す図
【図6】同カラオケ装置の動作を示すフローチャート
【図7】同カラオケ装置の動作を示すフローチャート
【図8】同カラオケ装置の動作を示すフローチャート
【図9】同カラオケ装置の動作を示すフローチャート
【符号の説明】
17…ハードディスク装置、50…楽曲データファイル、
51…BGPスクリプトファイル、52…画像データファイル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a karaoke apparatus that displays an image in synchronization with a karaoke performance.
[0002]
[Prior art]
Currently, many karaoke apparatuses are connected to a monitor, and in synchronization with the karaoke performance, video and lyrics suitable for the song are displayed on the monitor. Such a karaoke apparatus is provided with a changer incorporating a plurality of optical disks storing video data of a moving image, and selects and reproduces an image corresponding to a song to be played from the optical disk.
[0003]
[Problems to be solved by the invention]
However, the karaoke apparatus provided with the above changer has a drawback that the price is high, and the apparatus becomes large and heavy, so that it is not suitable for a portable karaoke apparatus. In addition, the number of mechanisms for exchanging / reproducing optical disks increases, so that there is a disadvantage that failures increase.
[0004]
In addition, currently portable karaoke devices have been commercialized to store still images on a hard disk and display them on a monitor during karaoke performance, but the video is extremely monotonous and can boost karaoke performance. There was a drawback that could not be done.
[0005]
An object of this invention is to provide the karaoke apparatus which can implement | achieve the image display rich in change even if it is a still image.
[0006]
[Means for Solving the Problems]
The invention of claim 1 of this application is a karaoke that plays karaoke songs based on music data. Playing means, Image storage means for storing a plurality of background still image data and a plurality of foreground still image data, and a time series of image specifying data for simultaneously specifying one background still image data and one or a plurality of foreground still image data Image sequence data storage means for storing a plurality of image sequence data arranged in the image data, and image designation data is read from the image sequence data in parallel with the performance of the karaoke song, and background still image data designated by the image designation data And image synthesis means for synthesizing the foreground still image data to create display still image data and supplying it to the monitor In the karaoke apparatus, the image synthesizing unit is configured to provide one or both of the background still image data and the foreground still image data so that the background still image data and the foreground still image data to be synthesized have the same color tone. Correction means for correcting the color tone, the correction means comprising an average value for each of the three elements (hue, saturation, brightness) of the color of the background still image data, and the color of the foreground still image data Is a means for determining one or both of the background still image data and the foreground still image data by calculating a correction value for the three elements of the color based on the average value of each of the three elements. It is characterized by that.
[0009]
Claims in this application 2 According to the invention, an average value of three elements of each background still image data and each foreground still image data is stored in the image storage means in advance, and the correction means uses the average value to calculate the correction value. It is characterized by being indexed.
[0011]
this In the invention, background still image data and foreground still image data are stored, and these are combined to create display still image data. As a result, various types of still image data for display can be created with a small number of still image data, and a variety of display can be performed with a small storage capacity. Furthermore, since the still image data is sequentially switched by switching the display based on the sequence data, the karaoke song can be excited.
[0012]
Also this According to the present invention, when the color tone of the background still image data to be synthesized and the foreground still image data are greatly different from each other, one or both of the color tones are corrected before being synthesized and brought close to each other. Thus, even when completely different background still image data and foreground still image data are combined, the foreground does not float from the background.
[0013]
Claim 2 In the invention, since the average values of the three elements of the above colors are stored in each of the background still image data and the foreground still image data, when calculating the correction value, these are obtained from the still image data body of the bitmap. Since it is not necessary to determine this, work becomes very efficient.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram of a karaoke apparatus according to an embodiment of the present invention. This karaoke apparatus is a small karaoke apparatus in which the entire apparatus including the monitor 26 and the amplifier / speaker 22 is housed on a wagon movable by a caster. This karaoke device drives the sound source device 18 and the like by the music data selected by the karaoke singer to perform karaoke performance, and displays video and lyrics on the monitor 26. In this karaoke apparatus, the video is not a moving image but a display still image composed of a plurality of still images is switched and displayed. Still image data includes background still image data and foreground still image data, each of which stores a plurality of data. Display still image data is created by combining foreground still image data on one background still image data. The display still image data is switched in accordance with the progress of the music so that an effect close to that of a moving image can be produced. Further, in order to prevent an unbalance between the color tones (hue, saturation, brightness) of the foreground still image data and the background still image data as the background, it is possible to correct the two tones closer.
[0016]
In this karaoke apparatus, the CPU 10 that controls the operation of the entire apparatus is connected to a ROM 11, RAM 12, hard disk storage device (HDD) 17, remote control receiver 13, display panel 14, panel switch 15, sound source device 18, audio, via a bus. A data processing unit 19, an effect DSP 20, a character display unit 23, and a display control unit 25 are connected.
[0017]
The ROM 11 stores an activation program necessary for activating this apparatus. System programs, application programs, and the like that control the operation of the apparatus are stored in the HDD 17, and are read into the RAM 12 by the above-described activation program when the apparatus is turned on. In addition to the program storage area, the RAM 12 is provided with an execution data storage area for reading music data for performing karaoke performance. Further, the HDD 17 has a storage capacity of about 700 to 800 MB, and as shown in FIG. 2, in addition to the program storage area 53, the music data file 50 for storing music data for 3000 to 4000 songs and the music data are matched. A BGP script file 51, a still image file 52, and the like that store a sequence of still images to be combined and displayed are provided.
[0018]
The remote control receiving unit 13 receives an infrared signal sent from the remote control 31 and restores the data. The remote controller 31 includes a command switch such as a music selection switch, a numeric keypad switch, and the like. When a user operates these switches, the remote controller 31 transmits an infrared signal modulated with a code corresponding to the operation. The display panel 14 is provided on the front face of the karaoke apparatus, and displays the currently playing song code, the number of reserved songs, and the like. The panel switch 15 is provided in the front operation unit of the karaoke apparatus, and includes a song code input switch, a key change switch, and the like.
[0019]
The tone generator 18 forms a tone signal based on the tone track data of the music data. The music data is read by the CPU 10 during karaoke performance. The tone track is composed of a plurality of tracks as shown in FIG. 2B, and the tone generator 18 simultaneously forms a plurality of part tone signals based on this data. The audio data processing unit 19 forms an audio signal having a specified length and a specified pitch based on the audio data included in the music data. The audio data is obtained by storing a signal waveform that is difficult to be generated electronically by the sound source device 18 such as a back chorus as ADPCM data as it is. The musical tone signal formed by the tone generator 18 and the voice signal formed by the voice data processing unit 19 are karaoke performance sounds, which are input to the effect DSP 20. The effect DSP 20 gives effects such as reverb and echo to the karaoke performance sound. The karaoke performance sound to which the effect is given is converted into an analog signal by the D / A converter 21 and then output to the amplifier / speaker 22. The amplifier / speaker 22 amplifies the input karaoke performance sound and the singing voice signal input from the microphone 27, and gives an effect such as echo to the singing voice signal and then emits the sound from the speaker.
[0020]
The character display unit 23 generates a character pattern such as a song title and lyrics based on the character data read from the song data (see FIG. 2) during the karaoke performance. Further, during the karaoke performance, the CPU 10 reads out and synthesizes predetermined background still image data and foreground still image data from the HDD 17 and inputs them to the display control unit 25 as display still image data. The character pattern and display still image data are combined by the display control unit 25 and displayed on the monitor 26. The still image data composition function will be described in detail later.
[0021]
2 to 4 are diagrams showing the contents stored in the HDD 17. In FIG. 2, the music data file 50 has an area of about 400 MB, and music data for 3000 to 4000 music is stored. Each piece of music data has a header as shown in FIG. 5B, and a music number and a genre code are written in this header. In a BGP (Back Ground Picture) script file 51, a plurality of song-corresponding BGP script data and a plurality of genre-corresponding BGP script data are stored. The BGP script data has the configuration shown in FIG. 3, and describes a procedure for synthesizing and displaying the background still image Bn and the foreground still image Fn. The song number is written in the header portion is the song-corresponding BGP script data, and the genre code is written in the header portion is the genre-compatible BGP script data. The song-corresponding BGP script data is read when the song data of the song number is played, and a still image is displayed on the monitor 26 in this procedure. In addition, as for the genre-corresponding BGP script data, when there is no tune-corresponding BGP script data corresponding to the music data (song number) to be played, data corresponding to the genre of the music is read. That is, the song-corresponding script data is not stored corresponding to all the song data, and this genre-corresponding BGP script data is used when existing song data such as an old song is played. The image data file 52 has an area of about 260 MB and stores a plurality of the above-described background still image data and foreground still image data. The number of stored still image data is about 2000 to 3000.
[0022]
FIG. 2B is a diagram showing the configuration of the music data. The music data is composed of a header, a musical sound track, a lyrics track, an audio track, an effect control track, and an audio data section. The header is a portion in which various data relating to the music data is written, and in addition to the music number and genre code, data such as a music title, a release date, and a performance time (length) of the music are written.
[0023]
Each track from the musical tone track to the effect control track is composed of a plurality of event data and sequence data including duration data Δt indicating a time interval between the event data. The CPU 31 reads the data of all tracks in parallel based on the sequence program during karaoke performance. The sequence program is a program that counts Δt with a predetermined tempo clock, reads the event data that follows when Δt is counted up, and outputs the event data to a predetermined processing unit.
[0024]
The musical sound track is formed with various parts such as a melody track and a rhythm track. The lyrics track is a track that stores sequence data for displaying lyrics on the monitor 26. In the data description of the lyrics track, one line of lyrics is normally handled as one lyrics display data. The lyric display data includes lyric character data (character code and display coordinates of the character) of one line, display time (usually around 30 seconds) of the lyric, and wipe sequence data. Wipe sequence data is sequence data for changing the display color of the lyrics as the song progresses. The timing for changing the display color (time after the lyrics are displayed) and the change position (coordinates) ) Is data sequentially recorded over the length of one line.
[0025]
The audio track is a sequence track that designates the generation timing of audio data n (n = 1, 2, 3,...) Stored in the audio data portion. The voice data section stores voices such as back chorus and harmony singing that are difficult to synthesize with the sound source device 18. In the audio track, audio designation data and duration data Δt for designating the timing at which the audio designation data is read out, that is, the timing at which the audio data is output to the audio data processing unit 19 to form an audio signal are written. The voice designation data includes a voice data number, pitch data, and volume data. The audio data number is an identification number n of each audio data recorded in the audio data part. The pitch data and volume data are data for instructing the pitch and volume of audio data to be formed. In other words, back choruses such as “Ah” and “Wawa Wawa” without words can be used many times by changing the pitch and volume, so one data is stored at the basic pitch and volume. The pitch and volume are shifted based on the above and used repeatedly. The audio data processing unit 19 sets the output level based on the volume data, and sets the pitch of the audio signal by changing the reading interval of the audio data based on the pitch data. On the effect control track, DSP control data for controlling the effect DSP 20 is written. The effect DSP 20 imparts reverberation-type effects such as reverb to the signals input from the sound source device 18 and the audio data processing unit 19. The DSP control data is composed of data for specifying the kind of effect and its variation data.
[0026]
FIG. 3 is a diagram showing a configuration example of BGP script data, and FIG. 4 is a diagram showing a configuration of still image data. FIG. 5 is a diagram showing an example of switching display still image data based on the BGP script data.
[0027]
In FIG. 3A, BGP script data includes a header and a plurality of script lines. The corresponding music number or the corresponding genre code is written in the header. The data to which the corresponding music number is written is the music corresponding BGP script data, and the data to which the corresponding genre code is written is the genre compatible BGGP script data. It should be noted that both the corresponding song number and the corresponding genre code may be written so that the song-corresponding BGP script data and the genre-corresponding BGP script data are also used. A script line is described every time display still image data is switched. The description content of the script line is as follows.
[0028]
tn: switching time: indicated by elapsed time from start of performance
En: Effect type: Screen switching mode
Specify the type of (effect)
xe, ye: center point of the effect: specify the start point or end point of the switching mode
Tn: Time required for effect: Designates the time from the start to the end of video switching.
Bn: background still image number: designating still image data for background
Fn: Foreground still image number: Designate foreground still image data
xf, yf: foreground display coordinates: display coordinates of upper left corner of foreground still image data are designated Ha, Sa, La: color tone correction value: correction value for matching the color tone of background image data and foreground image data
It is.
[0029]
tn, is described in units of 1/30 second, which is one frame of the NTSC system. In addition, as a switching mode of the screen,
Cut-in: Switch instantaneously
Dissolve: Randomly switch the section that finely divides the screen.
Wipe: Switch left / right or up / down
Door: Switch from the specified line (vertical line including the center point) to the specified line from the left or right or left and right
Shutter: Switch from the designated line (horizontal line including the center point) to the designated line from the top and bottom or from the top and bottom
Cross: Switching from the center point to the outer periphery or from the outer periphery to the center point
PinP: Switching from the center point to the outer periphery or from the outer periphery to the center point
Line: Switch from multiple specified lines up and down
Mosaic: Switching from multiple center points to the outer circumference
Each is assigned an En value. Of these, cut-in is the default, and parameters of En, xe, yes, and Tn can be omitted when the screen is switched by cut-in.
[0030]
The foreground display coordinates xf and yf are values in the range of 0 to 384 and 0 to 240, respectively. The tone correction values Ha, Sa, and La are correction values for the hue, saturation, and brightness of each pixel (bit) of the foreground still image data. The hue correction value Ha takes a value of −180 to 180. The correction is performed so that the hue of each pixel is a hue obtained by rotating the hue on the color circulation (color wheel) clockwise by an angle corresponding to a specified value.
[0031]
The saturation correction value Sa takes a value of −100 to 100. Saturation correction is performed by equally dividing the current saturation value (0 to 100) and saturation 100 by 100 and assigning a value of 1 to 100 to each pixel. A value between −1 and −100 is assigned by dividing 100 between the value and saturation zero. Then, the saturation value corresponding to the value indicated by the saturation correction value is corrected. When Sa = -100, a gray scale image is obtained. The brightness correction value La takes a value of −100 to 100. The lightness correction is performed by equally dividing the lightness value (0 to 100) currently designated for each pixel and the lightness 100 by 100 and assigning a value of 1 to 100, and the lightness value currently designated and the lightness 0 are assigned. And −1 to −100 are assigned. And it correct | amends to the brightness value corresponding to the value which the said brightness correction value shows. When La = 100, the screen is white. When La = -100, the screen is black. These parameters are omitted when tone correction is not performed. If these parameters are all 0, a correction value is calculated based on the average value of the hues (hue, saturation, brightness) of the specified background still image data and foreground still image data. Based on this, the foreground still image data is corrected.
[0032]
FIG. 4 shows an example of background still image data and foreground still image data stored in the image data file 52. In FIG. 5A, background still image data is composed of a background still image number Bn, a genre code, an average HSL, and a data body. The background still image number Bn is a number for identifying the image data, and the image data is designated by this number in the BGP script. The genre code indicates in which genre this image data is used, and is the same type as the genre code written in the header of the music data. Note that by assigning a predetermined range of background still image numbers Bn to each genre, it is also possible to determine the genre of the background still image data based on the background still image number Bn. The average HSL is an average value of the hue H, saturation S, and brightness L of all the pixels of the data body. By calculating and storing this in advance, it is possible to increase the efficiency of color tone correction work during image composition. The data body is 384 × 240 dot 16-bit image data. Each image data is composed of a landscape or city image suitable for the genre code.
[0033]
On the other hand, the foreground still image data includes a foreground still image number Fn, an average HSL, and a data body. The foreground still image number Fn is a number for identifying this image data in the same manner as the background still image number Bn, and the image data is designated by this number in the BGP script. The average HSL is an average value of the hue H, saturation S, and brightness L of all the pixels of the data body. The data body can be set to an arbitrary size of 384 × 240 dots or less, and is 16-bit or 8-bit image data. The foreground still image data is defined by a rectangle of the number of vertical bits × the number of horizontal bits, but an image having a substantially arbitrary shape can be formed by making the bits in the image data transparent.
[0034]
FIG. 5 is a diagram showing a switching procedure of display still image data created by synthesizing background still image data and foreground still image data according to the BGP script data example shown in FIG. It is assumed that the first still image is displayed superimposed on a title still image displaying a song title or the like, or merged after the title still image.
[0035]
First, in the first line of the script line, the background still image data with the number B1 is designated, and the foreground still image data with the number F1 is designated. Since the tone correction value is omitted, display still image data is created by combining the coordinates of x1 and y1 without correction. Since the effect parameter is omitted, the display switching is cut-in, and this display still image data is immediately displayed at the time t1.
[0036]
Next, in the second line of the script line, the background still image data with the number B1 is designated, and the foreground still image data with the number F2 is designated. Since -30, -50, and 40 are written as tone correction values, the foreground still image data is corrected according to the correction values. The correction method will be described in detail later. Display still image data is generated by combining the corrected foreground still image data with the coordinates of x2 and y2. Since E1 is written as an effect parameter, still image data is switched over time T2 to time T1 with an effect corresponding to this. Since the background still image data is the same (B1), only the foreground seems to be switched from F1 to F2.
[0037]
In the third line of the script line, the background still image data with the number B2 is designated, and the foreground still image data with the number F3 is designated. Since the tone correction value is omitted, display still image data is created by combining the coordinates of x3 and y3 without correction. Since the effect parameter is omitted, the display switching is cut-in, and the still image data for display is displayed immediately at the time t3.
[0038]
Next, in the fourth line of the script line, the background still image data with the number B2 is designated, and the foreground still image data with the number F1 is designated. 0, 0, and 0 are written as color tone correction values. Since this tone correction value is an instruction to calculate and correct the correction value in real time, the correction value is calculated based on the average value of the tone of the background still image data and the foreground still image data, This corrects the foreground still image data. Display still image data is generated by combining the corrected foreground still image data with the coordinates of x4 and y4. Since E2 is written as an effect parameter, still image data is switched over time T4 to time T3 with an effect corresponding to this.
[0039]
The same background still image data and foreground still image data can be used to animate the foreground object as if the foreground still image data is shifted gradually. .
[0040]
6 to 9 are flowcharts showing the image display operation of the karaoke apparatus. FIG. 6 shows the operation at the start of karaoke. When a song is selected by the user, the song data is read from the HDD 17 to the RAM 12 to start karaoke performance (s1). The header of the read music data is checked to read the music number and genre code (s2). BGP script data corresponding to the music number is searched from the BGP script file (s3). If song-corresponding BGP script data corresponding to this song exists (s4), the song-corresponding BGP script data is read (s5), and all still image data used in this BGP script exists in the image data file. It is checked whether or not (s6). If all the still image data exists (s7), the process proceeds to the BGP synthesizing operation of FIGS.
[0041]
On the other hand, if the song-corresponding BGP script data does not exist (s4), the process proceeds to s9 to search for the genre-corresponding BGP script data corresponding to the genre of this song (s9). If some of the still image data used in the BGP script does not exist (s7), the read song-corresponding BGP script data is discarded (s8), and the genre-corresponding BGP corresponding to the genre of this tune The script data is searched (s9). Since the genre-corresponding BGP script data is normally stored corresponding to all genres, the genre-corresponding BGP script data corresponding to the genre of this song is searched (s10). The searched genre-corresponding BGP script data is read (s11), and it is checked whether or not all still image data used in the BGP script exists in the image data file (s12). When all the still image data exists (s13), the process proceeds to the BGP synthesizing operation of FIGS.
[0042]
On the other hand, if there is no part of the still image data used in the genre-compatible BGP script data (s13), this genre-compatible BGP script data cannot be used, and this data is discarded ( s14) The background still image data corresponding to the genre of this song is selected from the image data file (s15). It is assumed that a plurality of selections are selected according to the performance time of the karaoke song. Then, the process proceeds to the background image display operation of FIG.
[0043]
7 and 8 are flowcharts showing the BGP combining operation. When the performance of the karaoke song starts, first, a title still image is displayed (s20). While the title still image is displayed, the script pointer i is set to 1 (s21), and the i-th script line is read from the BGP script data (s22). The timing data ti described in the script line is set in the timer (s23), and while the ti is measured, the designated background still image data and foreground still image data are read (s24). , S25). Next, it is determined whether or not the correction parameter is included in the script line (s26). If the correction parameter is not included, the process proceeds to s31 as it is. If correction parameters are included, it is determined whether all the parameters are 0 (s27). If not all 0, the process proceeds to s29 to correct the foreground still image data with this value. On the other hand, when all the values are 0, it is an instruction that the correction value should be calculated based on the HSL average value of the background still image data and the HSL average value of the foreground still image data. A correction value is calculated based on the average value of the HSL included in the headers of the background still image data and the foreground still image data (s28). This correction value calculation operation is as follows. First, the HSL average values Hb, Sb, Lb of the background still image data and the HSL average values Hf, Sf, Lf of the foreground still image data are read from the header of the still image data, and these average values h, s, l are obtained. calculate. Then, the difference (h−Hf, s−Sf, l−Lf) between the average value h, s, l of the both and the HSL average value Hf, Sf, Lf of the foreground still image data is set as the correction value Ha, Sa, Let it be La. In s29, the color tone of the foreground still image is corrected based on the correction value. This correction operation is as follows. First, since the foreground still image data is stored as RGB data, it is converted into HSL data. Since the hue correction value Ha takes a value of −180 to +180, the hue value H of each pixel of the foreground still image data is rotated by this angle to obtain a corrected hue value. Since the saturation correction value Sa takes a value of −100 to +100, when the saturation correction value Sa is negative, the saturation between the 0 and the current saturation value S is equally divided into 100 for each pixel. When the saturation value is the corrected saturation value, and the saturation correction value Sa is positive, the saturation correction is performed by dividing the current saturation values S and 100 into 100 equal parts for each pixel. Let the value of the ratio Sa be the corrected saturation value. Since the lightness correction value La takes a value of −100 to +100, when the lightness correction value La is negative, the lightness correction value La is divided into 100 equal parts between 0 and the current lightness value L for each pixel. When the brightness value is corrected and the brightness correction value La is positive, the current brightness value L and 100 are equally divided into 100 for each pixel to correct the brightness correction value La ratio value. Value. After this, the process proceeds to s31.
[0044]
In s31, the foreground still image data is synthesized on the background still image data on the basis of the foreground coordinate values xf and yf. Thus, display still image data is created. After that, the process waits until ti expires (s32). When ti expires, it is determined whether or not the effect parameter En is described in the script line (s33). If there is no effect parameter En, it is switched immediately by cut-in (s34). If there is an effect parameter En, the effect (switching mode) indicated by that parameter is set (s35), and the time of Ti is multiplied. The screen is switched from the previous display still image data to the current display still image data (s36). In this script line, it is determined whether or not the BGP script data is terminated (s37). If not terminated, 1 is added to i (s38), and the process returns to s22. If it is completed, the currently displayed still image is deleted after waiting for the end of the music (s39), and the process ends. The above operation may be performed when ti describes the time from the previous script execution in each script line, and when ti describes the time from the start of the song, the value set in the timer Ti-t (i-1) And it is sufficient.
[0045]
FIG. 9 is a flowchart showing a still image display operation. This operation is executed when there is no BGP script data corresponding to the music data to be played. First, a title still image is displayed (s41). After the title still image is displayed, i is set to 1 (s42), and the i-th data among the selected background still image data is read and displayed (s43). While the background still image data is being displayed, a predetermined time (about 30 seconds) elapses (s45) or until the music ends (s46). When a certain time has passed. 1 is added to i (s45), and the process returns to s43 to read / display the next background still image. When the music is finished, the display on the monitor 26 is erased (s47), and the operation is finished.
[0046]
In this embodiment, one foreground still image data is combined with the background still image data. However, a plurality of foreground still image data may be combined. The color tone correction may be performed not only on the foreground still image data but also on the background still image data. In the above operation, the HSL average values Hb, Sb, and Lb of the background still image data and the HSL average values Hf, Sf, and Lf of the foreground still image data are read from the header of the still image data, and the average values thereof are obtained. However, if Hb, Sb, Lb and Hf, Sf, Lf are not stored in advance, the hue value H, saturation value S, and brightness value L of each pixel of the still image data are all averaged in real time. The average value of the levers may be obtained.
[0047]
【The invention's effect】
this According to the invention, the background still image data and the foreground still image data are combined to create display still image data, which are displayed while being sequentially switched. However, it is possible to provide a video rich in changes close to a moving image as a monitor display of a karaoke apparatus.
[0048]
Also this According to the invention, when the background still image data and the foreground still image data are combined, by correcting so that the color tone is the same, it is possible to eliminate the uncomfortable feeling that occurs when combining different image data, Natural images can be provided.
[0049]
Claim 2 According to the invention, in addition to the background still image data and foreground still image data, the average values of these three elements of hue, saturation, and brightness are stored in advance, so these are calculated by calculation. Therefore, the correction process can be performed in a very short time as compared with the case where the correction is performed, and the processing time can be shortened.
[Brief description of the drawings]
FIG. 1 is a block diagram of a karaoke apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing the stored contents of the hard disk of the karaoke apparatus
FIG. 3 is a diagram showing an example of BGP script data stored in a hard disk
FIG. 4 is a diagram showing an example of background still image data and foreground still image data stored in a hard disk;
FIG. 5 is a view showing a synthesis example of still image data based on the BGP script data.
FIG. 6 is a flowchart showing the operation of the karaoke apparatus.
FIG. 7 is a flowchart showing the operation of the karaoke apparatus.
FIG. 8 is a flowchart showing the operation of the karaoke apparatus.
FIG. 9 is a flowchart showing the operation of the karaoke apparatus.
[Explanation of symbols]
17 ... Hard disk device, 50 ... Music data file,
51 ... BGP script file, 52 ... Image data file

Claims (2)

楽曲データに基づいてカラオケ曲を演奏するカラオケ演奏手段と、
複数の背景用静止画データおよび複数の前景用静止画データを記憶する画像記憶手段と、
1つの背景用静止画データおよび1または複数の前景用静止画データを同時に指定する画像指定データを時系列に複数配列した画像シーケンスデータを記憶する画像シーケンスデータ記憶手段と、
前記カラオケ曲の演奏と並行して前記画像シーケンスデータから画像指定データを読み出し、該画像指定データによって指定された背景用静止画データおよび前景用静止画データを合成して表示用静止画データを作成してモニタに供給する画像合成手段と、
を備えたカラオケ装置であって、
前記画像合成手段は、合成する背景用静止画データおよび前景用静止画データの色調が同じになるように前記背景用静止画データおよび前景用静止画データの一方または両方の色調を補正する補正手段を含み、
該補正手段は、前記背景用静止画データの色の3要素(色相,彩度,明度)の要素毎の平均値、および、前記前景用静止画データの色の3要素の要素毎の平均値に基づいて色の3要素の補正値を割り出し、前記背景用静止画データおよび前景用静止画データの一方または両方を補正する手段であることを特徴とするカラオケ装置。
Karaoke performance means for performing karaoke songs based on the song data ;
Image storage means for storing a plurality of background still image data and a plurality of foreground still image data;
Image sequence data storage means for storing image sequence data in which a plurality of image designation data for simultaneously designating one background still image data and one or a plurality of foreground still image data are arranged in time series;
In parallel with the performance of the karaoke song, image designation data is read from the image sequence data, and background still image data and foreground still image data designated by the image designation data are combined to create display still image data. Image synthesizing means to be supplied to the monitor,
A karaoke device equipped with
The image synthesizing unit corrects the color tone of one or both of the background still image data and the foreground still image data so that the color tone of the background still image data and the foreground still image data to be synthesized is the same. Including
The correction means includes an average value for each element of the three elements (hue, saturation, and brightness) of the color of the background still image data, and an average value for each element of the three elements of the color of the foreground still image data. A karaoke apparatus characterized in that it is a means for determining a correction value of three elements of color based on the above and correcting one or both of the background still image data and the foreground still image data .
前記画像記憶手段は、各背景用静止画データおよび各前景用静止画データの色の3要素の平均値を予め記憶しており、前記補正手段はこの平均値を用いて前記補正値を割り出す請求項に記載のカラオケ装置。The image storage means stores in advance an average value of three elements of colors of each background still image data and each foreground still image data, and the correction means calculates the correction value using this average value Item 2. The karaoke apparatus according to item 1 .
JP21103196A 1996-08-09 1996-08-09 Karaoke equipment Expired - Fee Related JP3896609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21103196A JP3896609B2 (en) 1996-08-09 1996-08-09 Karaoke equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21103196A JP3896609B2 (en) 1996-08-09 1996-08-09 Karaoke equipment

Publications (2)

Publication Number Publication Date
JPH1055186A JPH1055186A (en) 1998-02-24
JP3896609B2 true JP3896609B2 (en) 2007-03-22

Family

ID=16599225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21103196A Expired - Fee Related JP3896609B2 (en) 1996-08-09 1996-08-09 Karaoke equipment

Country Status (1)

Country Link
JP (1) JP3896609B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3775271B2 (en) * 2001-09-20 2006-05-17 ヤマハ株式会社 Automatic performance device, information distribution server device, and program used therefor
JP4235541B2 (en) 2003-12-15 2009-03-11 キヤノン株式会社 Digital camera and digital camera control method and program
JP2007079413A (en) * 2005-09-16 2007-03-29 Yamaha Corp Audio reproduction device, audio distribution system, audio reproduction program and authoring program
JP4561736B2 (en) * 2006-12-13 2010-10-13 ヤマハ株式会社 Content playback device

Also Published As

Publication number Publication date
JPH1055186A (en) 1998-02-24

Similar Documents

Publication Publication Date Title
US5982980A (en) Karaoke apparatus
JP3728942B2 (en) Music and image generation device
JPH08263077A (en) Karaoke device with voice converting function
JPH09204163A (en) Display device for karaoke
KR100555858B1 (en) Playback device
JPH0816181A (en) Effect addition device
JPH03200289A (en) Automatic player
JP2002215151A (en) Sound signal output method and BGM generation method
JP3896609B2 (en) Karaoke equipment
JP3861381B2 (en) Karaoke equipment
JPH1055174A (en) Conductor and musical sound reproduction device
JP3901008B2 (en) Karaoke device with voice conversion function
JP3333990B2 (en) Music game control method and recording medium
JP3117413B2 (en) Real-time multimedia art production equipment
JP3698874B2 (en) Karaoke device and character display device
JP4641568B2 (en) Display device
JP3580143B2 (en) Karaoke equipment
JPH1039882A (en) Karaoke device
JPH11194784A (en) Karaoke accompaniment sound generator
JP4172509B2 (en) Apparatus and method for automatic performance determination
JPH11212551A (en) Playback device
JP3717778B2 (en) Karaoke equipment
KR20000061554A (en) an apparatus for controlling an image for a karaoke and thereof method
JP2005241747A (en) Karaoke equipment
JPH05232960A (en) Musical tone processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060704

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060904

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060904

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20060925

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061211

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110105

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120105

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130105

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140105

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees