JP2006166055A - Device and program for synchronous reproduction of musical sound and image - Google Patents

Device and program for synchronous reproduction of musical sound and image Download PDF

Info

Publication number
JP2006166055A
JP2006166055A JP2004354964A JP2004354964A JP2006166055A JP 2006166055 A JP2006166055 A JP 2006166055A JP 2004354964 A JP2004354964 A JP 2004354964A JP 2004354964 A JP2004354964 A JP 2004354964A JP 2006166055 A JP2006166055 A JP 2006166055A
Authority
JP
Japan
Prior art keywords
image
event
data
display
read
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
JP2004354964A
Other languages
Japanese (ja)
Other versions
JP4434001B2 (en
Inventor
Naoyuki Adachi
直之 安立
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 JP2004354964A priority Critical patent/JP4434001B2/en
Publication of JP2006166055A publication Critical patent/JP2006166055A/en
Application granted granted Critical
Publication of JP4434001B2 publication Critical patent/JP4434001B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To minimize the number of image files, when an image is displayed in synchronization with musical sound. <P>SOLUTION: A plurality of image data are recorded into one image file A, and a part of image data specified by an image designation data in the image file are cut out and read out by a cut-out range data. An image data at a position in an image buffer specified with a display position data is overwritten by a read-out cut-out image data C. The image data on the image buffer is displayed on a display unit. Variously switched images can be displayed on the display unit by sequentially reading a cut-out range with a changed timing using the cut-out range data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、楽音と画像を同期して再生するようにした楽音と画像の同期再生装置および同期再生プログラムに関する。   The present invention relates to a musical sound and image synchronous reproduction apparatus and a synchronous reproduction program which are configured to reproduce musical sounds and images synchronously.

従来、複数あるパッドスイッチのそれぞれに対応させて記憶領域を設定し、この対応させた記憶領域に1つの画像データを記録しておき、パッドスイッチのいずれかがオン操作された際にオンされたパッドスイッチに対応する記憶領域から画像データを読み出して表示するようにした画像制御装置が知られている(特許文献1参照)。
この画像制御装置においては、画像データとは別に、画像データを制御する映像効果パラメータも記録されており、この映像効果パラメータで、輝度や色合いあるいは表示位置や表示サイズなどを制御するようにしている。具体的には、オン操作されたパッドスイッチに対応する記憶領域から読み出された画像データを映像効果パラメータに基づいて変更し、変更後の画像データをディスプレイに表示するようにしている。
Conventionally, a storage area is set in correspondence with each of a plurality of pad switches, one image data is recorded in the corresponding storage area, and turned on when one of the pad switches is turned on. There is known an image control apparatus that reads and displays image data from a storage area corresponding to a pad switch (see Patent Document 1).
In this image control apparatus, video effect parameters for controlling the image data are recorded separately from the image data, and brightness, hue, display position, display size, and the like are controlled by the video effect parameters. . Specifically, the image data read from the storage area corresponding to the pad switch that is turned on is changed based on the video effect parameter, and the changed image data is displayed on the display.

また、MIDI形式の音楽データを扱う際の標準的なファイル形式であるSMF(Standard MIDI File)による楽音の再生に合わせて、画像を切り替えながら表示することが考えられる。この場合、表示する画像を指示する指示データを、SMF中の表示タイミングの位置に記録するようにして、SMFの再生中に画像表示の指示データが読み出されたタイミングで、その指示データが指示する画像を読み出して表示すればよい。この場合は、表示する画像の数だけの画像ファイルを予め記憶手段に記録しておく必要がある。
特開2003−244594
Further, it is conceivable to display while switching images in accordance with the reproduction of musical sounds by SMF (Standard MIDI File) which is a standard file format when handling music data in MIDI format. In this case, the instruction data indicating the image to be displayed is recorded at the position of the display timing in the SMF, and the instruction data is instructed at the timing when the image display instruction data is read during the SMF reproduction. The image to be read may be read out and displayed. In this case, as many image files as the number of images to be displayed need to be recorded in the storage means in advance.
JP2003-244594

このような画像制御装置においては、楽音の再生に合わせて表示した画像の一部を順に変更させて、動画のような効果を出したい場合に、画像データの読み出しを画像ファイル単位で行なうことになり、動きの数だけの画像ファイルが必要となる。このため、1つのSMF等の演奏データの再生時に利用する画像ファイルの数が多くなって、ファイルの数が多いことから、そのSMF等の演奏データを取り扱うときの各種作業が煩わしくなるという問題点があった。例えば、SMF等の演奏データを別の記録媒体へ移すとき、そのSMF等の演奏データが使う全画像ファイルも移さなければならない。   In such an image control apparatus, when it is desired to sequentially change a part of the displayed image in accordance with the reproduction of the musical sound and to produce an effect like a moving image, the image data is read in units of image files. Therefore, as many image files as the number of movements are required. For this reason, the number of image files used when reproducing performance data such as one SMF increases, and the number of files increases, so that various operations when handling performance data such as SMF become troublesome. was there. For example, when performance data such as SMF is transferred to another recording medium, all image files used by the performance data such as SMF must also be transferred.

そこで、本発明は楽音に同期して画像を表示させる場合に画像ファイルの数を極力減少できるようにした楽音と画像の同期再生装置および同期再生プログラムを提供することを目的としている。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a musical sound and image synchronized playback apparatus and a synchronized playback program capable of reducing the number of image files as much as possible when images are displayed in synchronization with musical sounds.

上記目的を達成するために、本発明の楽音と画像の同期再生装置および同期再生プログラムは、画像読込イベントにおける切出範囲データで指定される範囲で画像ファイル中から切出画像データを切り出し、画像読込イベントにおける表示位置データで指定される画像記憶手段における画像データの位置へ切出画像データを上書するようにしたことを最も主要な特徴としている。   In order to achieve the above object, the musical sound and image synchronized playback apparatus and synchronized playback program of the present invention cut out clipped image data from an image file within a range specified by the clipped range data in an image reading event, and The most important feature is that the cut-out image data is overwritten to the position of the image data in the image storage means specified by the display position data in the reading event.

本発明によれば、1つのファイルに表示させる画像データを複数有させることができる。このため、画像データのファイル数を減少させることができるようになる。   According to the present invention, a plurality of image data to be displayed in one file can be provided. Therefore, the number of image data files can be reduced.

本発明は、楽音に同期して画像を表示させる場合に画像ファイルの数を極力減少できるようにした楽音と画像の同期再生装置および同期再生プログラムを提供するという目的を、画像読込イベントにおける切出範囲データで指定される範囲で画像ファイル中から切出画像データを切り出し、画像読込イベントにおける表示位置データで指定される画像記憶手段における画像データの位置へ切出画像データを上書することで実現した。   It is an object of the present invention to provide a synchronized playback apparatus and synchronized playback program for musical sounds and images that can reduce the number of image files as much as possible when displaying images in synchronization with musical sounds. Realized by cutting out the cut image data from the image file in the range specified by the range data and overwriting the cut image data to the image data position in the image storage means specified by the display position data at the image reading event did.

本発明の実施例の同期再生プログラムを備える楽音と画像の同期再生装置1の構成を示すブロック図を図1に示す。この同期再生プログラムがパーソナルコンピュータとほぼ同様の構成とされている同期再生装置1において実行されることにより本発明にかかる楽音と画像の同期再生装置が実現されていることになる。
図1に示す同期再生装置1において、CPU(Central Processing Unit)10は同期再生装置1の全体の動作を制御すると共に、同期再生プログラム等の動作ソフトウェアを実行している。ROM(Read Only Memory)11には、CPU10が実行する同期再生プログラム等の動作ソフトウェアが少なくとも格納されており、RAM(Random Access Memory)12には、CPU10のワークエリアや画像ファイル等の各種データの記憶エリアが設定されている。このROM11をフラッシュメモリ等の書き換え可能なROMとすることで、動作ソフトウェアを書き換え可能となり動作ソフトウェアのバージョンアップを容易に行うことができる。また、ROM11に予め用意された画像ファイルを記憶させておいてもよい。
FIG. 1 is a block diagram showing a configuration of a musical sound and image synchronized playback apparatus 1 having a synchronized playback program according to an embodiment of the present invention. The synchronized playback program is executed in the synchronized playback apparatus 1 having substantially the same configuration as that of the personal computer, thereby realizing the synchronized playback apparatus for musical sound and image according to the present invention.
In the synchronized playback apparatus 1 shown in FIG. 1, a CPU (Central Processing Unit) 10 controls the overall operation of the synchronized playback apparatus 1 and executes operation software such as a synchronized playback program. A ROM (Read Only Memory) 11 stores at least operation software such as a synchronous reproduction program executed by the CPU 10, and a RAM (Random Access Memory) 12 stores various data such as a work area of the CPU 10 and image files. A storage area is set. By making this ROM 11 a rewritable ROM such as a flash memory, the operation software can be rewritten and the operation software can be easily upgraded. Further, an image file prepared in advance may be stored in the ROM 11.

検出回路14は、パネル操作子やポインタデバイス等の操作子13を走査することによって操作子13のイベントを検出して、イベントのあった操作子13に対応するイベント出力を出力している。表示回路16は液晶等の表示部15を備え、この表示部15に楽音に同期して画像を表示したり、同期再生装置1における各種設定の画面等を表示部15に表示している。各種設定の画面では、GUI(Graphical User Interface)を利用してユーザが演奏データを選択したり、その再生の開始や終了を指示する等の画面とされている。音源回路18は波形メモリを備える波形メモリ音源やFM音源等とされ、CPU10の制御に基づいて楽音生成処理を行うことにより楽音波形データを生成している。音源回路18において生成された楽音波形データは、サウンドシステム17に供給されアナログ信号に変換されて放音される。サウンドシステム17では、音量制御や音質制御を行うことが可能とされている。通信インタフェース(I/F)20は、同期再生装置1をLAN(ローカルエリアネットワーク)やインターネット、電話回線等の通信ネットワークに接続するインタフェースであり、該通信ネットワークを介して、外部制御機器19と接続することができる。これらの各部は通信バス21に接続されている。これにより、外部制御機器19から各種プログラムや画像データ等をダウンロードすることができるようになる。ダウンロードされたプログラムや画像データ等は、RAM12や図示しないハードディスク装置等に格納されるようになる。   The detection circuit 14 detects an event of the operation element 13 by scanning the operation element 13 such as a panel operation element or a pointer device, and outputs an event output corresponding to the operation element 13 having the event. The display circuit 16 includes a display unit 15 such as a liquid crystal, and displays images on the display unit 15 in synchronization with musical sounds, and displays various setting screens and the like in the synchronized playback apparatus 1 on the display unit 15. The various setting screens are screens on which a user selects performance data using a GUI (Graphical User Interface), and instructs the start and end of playback. The tone generator circuit 18 is a waveform memory tone generator or FM tone generator having a waveform memory, and generates tone waveform data by performing tone generation processing based on the control of the CPU 10. The musical sound waveform data generated in the sound source circuit 18 is supplied to the sound system 17 and converted into an analog signal to be emitted. The sound system 17 can perform volume control and sound quality control. The communication interface (I / F) 20 is an interface for connecting the synchronous playback apparatus 1 to a communication network such as a LAN (local area network), the Internet, or a telephone line, and is connected to the external control device 19 via the communication network. can do. Each of these units is connected to the communication bus 21. As a result, various programs, image data, and the like can be downloaded from the external control device 19. The downloaded program, image data, and the like are stored in the RAM 12 or a hard disk device (not shown).

このように構成された本発明にかかる同期再生装置1において、RAM12等の記憶装置には複数の画像ファイルと、楽音用のイベントおよび画像用のイベントからなる演奏データとが記録されている。この演奏データは、各種のイベントデータが読み出す順に時系列で記録されており、それぞれのイベントに、そのイベントを処理すべき読み出すタイミングを表わすタイミングデータが対応付けて記録してある。なお、タイミングデータは、例えばMIDIクロック数の形式で記録してある。
演奏データは、例えばMIDI形式の音楽データを扱う際の標準的なファイル形式であるSMF(Standard MIDI File)とされており、楽音用のイベントおよび画像用のイベントは共にMIDI形式のイベントデータとされている。この場合、楽音用のイベントとは、楽音の発音に係る処理を指示する各種のイベントデータのことであり、具体的にはノートオン、ノートオフ、プログラムチェンジ、コントロールチェンジなどのイベントデータとされている。演奏データを再生している際に、この楽音用のイベントが読み出されたと判定された時に、楽音用のイベントは音源回路18に送られてイベントに応じた楽音波形データの生成処理が音源回路18で行われる。
In the synchronized playback apparatus 1 according to the present invention configured as described above, a plurality of image files and performance data including musical events and image events are recorded in a storage device such as the RAM 12. This performance data is recorded in time series in the order in which various event data are read out, and timing data representing the read timing at which the event should be processed is associated with each event and recorded. The timing data is recorded in the format of the number of MIDI clocks, for example.
The performance data is, for example, SMF (Standard MIDI File), which is a standard file format when handling music data in MIDI format, and both the event for musical sound and the event for image are the event data in MIDI format. ing. In this case, the event for musical sound is various event data for instructing processing related to the sound generation, and specifically, event data such as note-on, note-off, program change, and control change. Yes. When it is determined that the musical sound event has been read out while playing the performance data, the musical sound event is sent to the sound source circuit 18, and the generation process of the musical sound waveform data corresponding to the event is performed. 18 is performed.

RAM12等に記憶されている本発明において特徴的な画像ファイルのイメージを図2に示す。図2に示すように画像ファイルAには、複数の画像データBをつなぎ合わせて作成した一枚の画像データを記録している。この画像データBは、例えば、楽音の再生に合わせて表示した画像の一部を順に変更させて、動画のような効果を出したい場合の動きを出すために順次変化していく部分の画像データとされる。具体的には、表示部15に表示された人の手が動くように表示するために、手が順次動いていく複数枚の画像データが画像ファイルAの画像データBとして順次記録されている。そこで、この複数枚の画像データBを画像ファイルAから表示する順序で一枚ずつ切り出して読み出し、読み出した画像データBで画像バッファにおける手の部分の画像データを順次書き換えて表示して行くことにより、表示部15に手が動くように表示されるようになる。   FIG. 2 shows an image of an image file characteristic of the present invention stored in the RAM 12 or the like. As shown in FIG. 2, in the image file A, one piece of image data created by connecting a plurality of image data B is recorded. This image data B is, for example, a part of the image data that is sequentially changed in order to produce a motion when a part of the displayed image is changed in order in accordance with the reproduction of the musical sound, and an effect such as a moving image is desired. It is said. Specifically, a plurality of pieces of image data in which the hand moves sequentially are sequentially recorded as image data B of the image file A in order to display the human hand displayed on the display unit 15 so as to move. Therefore, the plurality of pieces of image data B are cut out and read one by one in the display order from the image file A, and the image data of the hand portion in the image buffer is sequentially rewritten and displayed with the read image data B. The display unit 15 is displayed so that the hand moves.

ところで、画像用のイベントとは、画像の表示に係る処理を指示する以下に示す各種のイベントデータのことであり、MIDI規格のエクスクルーシブメッセージの形式で規定されて記録されている。演奏データを再生している際に、この画像用のイベントが読み出されたと判定された時は、その画像用のイベントに対応する処理を同期再生プログラムで実行する。この画像用のイベントには以下に説明する画像読込イベント、表示開始イベント、表示終了イベントおよび特殊表示イベントが定義されている。   By the way, the event for an image is various event data shown below instructing processing related to image display, and is defined and recorded in the format of an exclusive message of the MIDI standard. When it is determined that the event for the image has been read while playing the performance data, the process corresponding to the event for the image is executed by the synchronous playback program. The image event defines an image reading event, a display start event, a display end event, and a special display event described below.

1.画像読込イベント
画像データを画像バッファへ読み込むことを指示するイベントであり、次の3つのデータを必ず含んでいる。
a.読み込む画像データの画像ファイルを指定する画像指定データ。
b.画像指定データで指定された画像ファイルのうちの読み込む範囲(画像ファイル上の切り出す範囲)を指定する切出範囲データ。
c.切出範囲データに基づいて読み込んだ画像データ(切出画像データ)の、表示部15上での表示位置を指定する表示位置データ。
1. Image reading event This event instructs to read image data into the image buffer, and always includes the following three data.
a. Image designation data that designates an image file of image data to be read.
b. Cutout range data that specifies the read range (the cutout range on the image file) of the image file specified by the image specification data.
c. Display position data for designating a display position on the display unit 15 of image data (cut image data) read based on the cut range data.

この画像読込イベントにより読み出されて表示される画像データの態様を図3に示す。画像読込イベントにおける画像指定データにより、RAM12等に記憶されている図2のような画像ファイルAが指定されたとする。この画像ファイルAはビットマップ画像とされており、切出範囲データにより画像ファイルAにおける切出画像データCの範囲が指定される。切出画像データCの範囲は、画像ファイルAのビットマップ左上端の始点からのドット数で示す座標位置(Xp、Yp)から、ドット数Xs(横軸)、Ys(縦軸)により切り出す矩形の範囲として指定される。このように切り出した切出画像データCは、表示部15における表示画面左上端の始点からのドット数で示す座標位置(Xa、Ya)により、画像ファイルAのビットマップ左上端の始点の位置を示すことにより、任意の表示位置に表示させることができる。   A mode of image data read out and displayed by this image reading event is shown in FIG. Assume that the image file A as shown in FIG. 2 stored in the RAM 12 or the like is designated by the image designation data in the image reading event. This image file A is a bitmap image, and the range of the cut image data C in the image file A is designated by the cut range data. The range of the cut-out image data C is a rectangle cut out by the number of dots Xs (horizontal axis) and Ys (vertical axis) from the coordinate position (Xp, Yp) indicated by the number of dots from the start point at the upper left end of the bitmap of the image file A. Specified as a range of. The cut-out image data C cut out in this way indicates the position of the start point of the upper left end of the bitmap of the image file A by the coordinate position (Xa, Ya) indicated by the number of dots from the start point of the upper left end of the display screen in the display unit 15. By displaying, it can be displayed at an arbitrary display position.

2.表示開始イベント
画像バッファに記録されている画像データを表示することを指示するイベントである。この表示開始イベントを定義しておくことにより、事前に画像読込イベントにより画像を作成して画像バッファに記録することができ、このため、画像の表示切り替えをスピーディに行うことができるようになる。すなわち、画像読込イベントによる画像データの読み込みと独立して、その画像データの表示開始タイミングを設定できることにより、楽音の再生に合わせて表示した画像の一部を順に変更させた画像をタイムラグを生じることなく表示することができ、楽音に同期して動画のような効果を与えた画像を表示部15に表示することができるようになる。
2. Display start event This event instructs to display image data recorded in the image buffer. By defining this display start event, an image can be created in advance by an image reading event and recorded in the image buffer, so that display switching of images can be performed quickly. In other words, it is possible to set the display start timing of the image data independently of the image data read by the image read event, thereby causing a time lag in an image obtained by sequentially changing a part of the displayed image according to the reproduction of the musical sound. Thus, it is possible to display on the display unit 15 an image having an effect such as a moving image in synchronization with the musical sound.

3.表示終了イベント
表示されている画像バッファの画像データを消去することを指示するイベントである。表示開始イベントによる表示の表示後は画像バッファに読み込まれている画像データに基づく画像が表示部15に表示され続けるため、表示終了した際に表示部15に表示されている画像をクリアして基本画像に戻すために表示終了イベントが定義されている。このため、SMFファイルの最後には必ず表示終了イベントが入っている。
3. Display end event This event instructs to erase the image data in the displayed image buffer. After the display by the display start event is displayed, the image based on the image data read into the image buffer is continuously displayed on the display unit 15. Therefore, when the display is completed, the image displayed on the display unit 15 is cleared and the basic is performed. A display end event is defined to return to the image. For this reason, a display end event is always included at the end of the SMF file.

4.特殊表示イベント
画像バッファの画像データを、「真っ黒」もしくは「真っ白」にすることを指示するイベントである。例えば、真っ黒にした画面上に画像読込イベントにより画像データを貼り付ける時等に特殊表示イベントが挿入される。
4). Special display event This event indicates that the image data in the image buffer should be set to “black” or “white”. For example, a special display event is inserted when image data is pasted on an entirely black screen by an image reading event.

次に、本発明にかかる同期再生プログラムを備える同期再生装置1において実行される演奏データの読出処理のフローチャートを図4に示す。この演奏データの読出処理は、演奏データの再生が開始されてから終了されるまでの間の再生中において、MIDIクロックタイミングごとに起動されて、読み出されたイベントの種類に対応する処理を起動している。
MIDIクロックタイミングになると、演奏データの読出処理が起動されステップS10にて今回のMIDIクロックタイミングにおいて処理すべきイベントが再生している演奏データ中にあるか否かが演奏データ中のタイミングデータから判断される。ここで、今回のMIDIクロックタイミングにおいて処理すべきイベントがあると判断された場合は、ステップS11に進み今回のMIDIクロックタイミングにおいて処理すべきイベントの種類が楽音用のイベントか画像用のイベントかが判定される。次いで、判定されたイベントの種類に対応するイベント処理がステップS12で実行され、この処理が終了すると演奏データの読出処理は終了する。ここで、今回のMIDIクロックタイミングにおいて処理すべきイベントが複数個ある場合は、記録されている順で判定されたイベントの種類に対応するイベント処理が順次にすべて実行される。
Next, FIG. 4 shows a flowchart of performance data reading processing executed in the synchronized playback apparatus 1 having the synchronized playback program according to the present invention. This performance data reading process is started at every MIDI clock timing during the playback from the start to the end of the playback of the performance data, and the process corresponding to the type of the read event is started. is doing.
When the MIDI clock timing is reached, the performance data reading process is started, and in step S10, it is determined from the timing data in the performance data whether or not the event to be processed at the current MIDI clock timing is in the performance data being reproduced. Is done. If it is determined that there is an event to be processed at the current MIDI clock timing, the process proceeds to step S11 to determine whether the event type to be processed at the current MIDI clock timing is an event for music or an event for images. Determined. Next, an event process corresponding to the determined event type is executed in step S12. When this process ends, the performance data reading process ends. Here, when there are a plurality of events to be processed at the current MIDI clock timing, all event processing corresponding to the event types determined in the recorded order is sequentially executed.

なお、ステップS11で判定されたイベントが楽音用のイベントであった場合は、ステップS12において演奏データから読み出された楽音用のイベントが音源回路18へ送られる。音源回路18は送られた楽音用のイベントに基づく処理が実行されて楽音波形データが生成される。この楽音用のイベントには、ノートオン(発音開始)、ノートオフ(発音終了)、プログラムチェンジ(音色変更)、コントロールチェンジ(音高変更や効果付与)などのイベントが含まれている。生成された楽音波形データはサウンドシステム17へ供給され、供給された楽音波形データに基づく楽音が再生されてサウンドシステム17から放音されるようになる。   If the event determined in step S11 is a musical sound event, the musical sound event read from the performance data in step S12 is sent to the tone generator circuit 18. The tone generator circuit 18 performs processing based on the received musical sound event to generate musical sound waveform data. The musical sound events include events such as note-on (sounding start), note-off (sounding end), program change (tone color change), control change (pitch change and effect addition). The generated musical sound waveform data is supplied to the sound system 17, and a musical sound based on the supplied musical sound waveform data is reproduced and emitted from the sound system 17.

また、ステップS11で判定されたイベントが画像用のイベントであった場合は、ステップS12において画像用のイベントの種類に応じた処理が実行される。画像用のイベントの種類には前述したように、画像読込イベント、表示開始イベント、表示終了イベントおよび特殊表示イベントがあり、それぞれのイベントに対応する画像読込処理、表示開始処理、表示終了処理および特殊表示処理のいずれかの処理がステップS12で起動されて実行される。   If the event determined in step S11 is an image event, processing corresponding to the type of image event is executed in step S12. As described above, image event types include image reading events, display start events, display end events, and special display events, and image reading processing, display start processing, display end processing, and special events corresponding to each event. Any one of the display processes is started and executed in step S12.

ここで、画像用のイベントと判定されたイベントが画像読込イベントと判定された場合に起動される画像読込処理のフローチャートを図5に示す。
画像読込処理が起動されると、ステップS20にて今回処理する画像読込イベントに含まれる画像指定データで指定される画像ファイルの画像データがRAM12等の記憶手段から読み出されて開かれる。この開かれた画像ファイルのイメージが図2に示す画像ファイルAとされる。次いで、ステップS21にて前記開かれた画像ファイルの画像データから、前記画像読込イベントに含まれる切出範囲データで指定される範囲の画像データが切り出される。この切出範囲データは、図3においてドット数で示す座標位置(Xp、Yp)とドット数Xs、Ysである。そして、ステップS22にて前記切り出した画像データ(切出画像データ)を、画像バッファに記録されている画像データ中の、前記画像読込イベントに含まれる表示位置データで指示されている位置へ上書きすることにより貼り付けて画像読込処理は終了し、演奏データの読込処理にリターンされる。ここで、画像バッファとは、演奏データから読み出される画像用のイベントで指示される画像データ(表示部15へ表示する画像を表す画像データ)を一時的に記録しておくバッファ(画像記憶手段)であり、図3に示す表示部15で表示できる1画面分の画像データを記録することができる記憶領域を有している。画像バッファは、RAM12の記憶領域を割り当てて構成されたり、表示回路16に設けられた記憶手段により構成される。また、表示位置データは、図3においてドット数で示す座標位置(Xa、Ya)とされる。
Here, FIG. 5 shows a flowchart of an image reading process that is started when an event determined as an image event is determined as an image reading event.
When the image reading process is started, the image data of the image file specified by the image specifying data included in the image reading event to be processed this time is read from the storage means such as the RAM 12 and opened in step S20. The image of the opened image file is an image file A shown in FIG. Next, in step S21, image data in a range specified by the cut-out range data included in the image reading event is cut out from the image data of the opened image file. This cut-out range data is the coordinate position (Xp, Yp) indicated by the number of dots in FIG. 3 and the number of dots Xs, Ys. In step S22, the clipped image data (cutout image data) is overwritten to the position indicated by the display position data included in the image reading event in the image data recorded in the image buffer. Thus, the image reading process is completed, and the process returns to the performance data reading process. Here, the image buffer is a buffer (image storage means) for temporarily recording image data (image data representing an image to be displayed on the display unit 15) designated by an image event read from the performance data. And has a storage area in which image data for one screen that can be displayed on the display unit 15 shown in FIG. 3 can be recorded. The image buffer is configured by allocating a storage area of the RAM 12 or by a storage unit provided in the display circuit 16. The display position data is the coordinate position (Xa, Ya) indicated by the number of dots in FIG.

次に、画像用のイベントと判定されたイベントが表示開始イベントと判定された場合に起動される表示開始処理のフローチャートを図6に示す。
表示開始処理が起動されると、ステップS30にて表示回路16に表示開始指示が与えられて画像バッファに記録されている画像データが表示部15に表示される。これにより表示開始処理は終了し、演奏データの読込処理にリターンされる。なお、前述した画像読込処理により切り出された画像データが画像バッファに記録されている画像データに貼り付けられ表示部15に表示されるイメージが、図3に示す切出画像データCとして示されている。
Next, FIG. 6 shows a flowchart of a display start process started when an event determined as an image event is determined as a display start event.
When the display start process is started, a display start instruction is given to the display circuit 16 in step S30, and the image data recorded in the image buffer is displayed on the display unit 15. As a result, the display start process ends, and the process returns to the performance data reading process. Note that an image displayed by the image data clipped by the above-described image reading process and pasted on the image data recorded in the image buffer and displayed on the display unit 15 is shown as cut image data C shown in FIG. Yes.

次に、画像用のイベントと判定されたイベントが表示終了イベントと判定された場合に起動される表示終了処理のフローチャートを図7に示す。
表示終了処理が起動されると、ステップS40にて基本画面の画像データがROM11やRAM12等の記憶手段から読み出されて表示回路16に供給されて、表示部15に基本画像が表示される。これにより表示終了処理は終了し、演奏データの読込処理にリターンされる。ここで、基本画面とは、演奏データが再生されていないときに表示部へ表示する画面であり、ユーザが演奏データを選択したり、その再生の開始や終了を指示するための画面とされている。この基本画面の画像データは、画像バッファとは独立したROM11やRAM12等の記憶手段に予め記録されている。
Next, FIG. 7 shows a flowchart of a display end process started when an event determined as an image event is determined as a display end event.
When the display end process is activated, the image data of the basic screen is read from the storage means such as the ROM 11 and the RAM 12 and supplied to the display circuit 16 in step S40, and the basic image is displayed on the display unit 15. As a result, the display end process ends, and the process returns to the performance data reading process. Here, the basic screen is a screen that is displayed on the display unit when performance data is not being played back, and is a screen for the user to select performance data and instruct the start and end of playback. Yes. The image data of the basic screen is recorded in advance in storage means such as the ROM 11 and RAM 12 independent of the image buffer.

次に、画像用のイベントと判定されたイベントが特殊表示イベントであった場合に起動される特殊表示処理のフローチャートを図8に示す。
特殊表示処理が起動されると、ステップS50にて画像バッファ上の画像データが真っ黒や真っ白等の特殊表示の状態に書き換えられる。これにより特殊表示処理は終了し、演奏データの読込処理にリターンされる。そして、前述した画像読込処理が行われ、次いで表示開始処理が行われることにより、特殊表示画面上に画像読込処理で貼り付けられた画像データに基づく画像が表示部15に表示されるようになる。
Next, FIG. 8 shows a flowchart of special display processing that is started when the event determined to be an image event is a special display event.
When the special display process is activated, the image data on the image buffer is rewritten to a special display state such as black or white in step S50. As a result, the special display process ends, and the process returns to the performance data reading process. Then, the image reading process described above is performed, and then the display start process is performed, whereby an image based on the image data pasted by the image reading process on the special display screen is displayed on the display unit 15. .

以上説明した本発明の楽音と画像の同期再生装置および同期再生プログラムによれば、1つの画像ファイルから一部の画像データのみを切り出して、表示部15に表示する画像データへ反映することができるようになる。そこで、複数の画像データを一つの画像ファイルとして記録しておき、その画像ファイルからタイミングをずらして、一部ずつの画像データを切り出すことができるようになる。このため、極めて少ない画像ファイル数で、表示部15に表示される画像を多様に切り替えたり動画のような効果を与えることができるようになる。この場合、画像ファイル数が減少することから、演奏データをSMFとした際にSMFと共に使用する全画像ファイルの移動やコピーを簡単に行うことができるようになる。
また、本発明においては、表示部15に表示する画像データは表示開始が指示されたタイミングでは作成していない。本発明では、表示部15に表示する画像データの作成と、その画像データの表示開始とを独立して指示できるようにしている。これにより、画像データを表示開始のタイミングよりも前に作成しておくことができるため、表示開始の指示を受けたときに画像データを迅速に表示部15へ表示することができるようになる。したがって、楽音の発音の進行に対して遅れることなく、表示開始が指示されたジャストのタイミングで事前に作成された所望の画像を表示部15に表示できるようになる。
According to the musical sound and image synchronized playback apparatus and synchronized playback program of the present invention described above, only a part of image data can be cut out from one image file and reflected in the image data displayed on the display unit 15. It becomes like this. Therefore, it is possible to record a plurality of image data as one image file, and to cut out part of the image data by shifting the timing from the image file. For this reason, with a very small number of image files, various images displayed on the display unit 15 can be switched and effects such as moving images can be provided. In this case, since the number of image files is reduced, it becomes possible to easily move and copy all image files used together with the SMF when the performance data is SMF.
In the present invention, the image data displayed on the display unit 15 is not created at the timing when the display start is instructed. In the present invention, creation of image data to be displayed on the display unit 15 and start of display of the image data can be independently designated. Thus, since the image data can be created before the display start timing, the image data can be quickly displayed on the display unit 15 when a display start instruction is received. Therefore, a desired image created in advance at the timing of just instructing the display start can be displayed on the display unit 15 without being delayed with respect to the progress of the sound generation.

なお、表示開始イベントが読み出された後は、表示部15に表示される画像を手動では変更できないように制御するようにしてもよい。また、表示開始イベントが読み出された後は、画像バッファのデータが更新されるたびに、更新後の新たな画像を表示部に表示し、表示終了イベントが読み出されたときに画像バッファのデータによる画像の表示を停止して、表示開始イベントが読み出される前の画像を表示するようにしてもよい。
また、ROM11に同期再生プログラム等の動作プログラムが記憶されていない場合、ハードディスクやCD−ROMに動作プログラムやデータを記憶させておいてそれをRAM12に読み込んだり、通信インタフェース20を介してサーバコンピュータと接続してサーバコンピュータから動作プログラムやデータをダウンロードすることで、ROM11に動作プログラムやデータを記憶している場合と同様の動作をCPU10にさせるようにしてもよい。
さらに、画像バッファに記録される画像データや切出画像データを、輝度や色合いあるいは表示位置や表示サイズなどを制御する映像効果パラメータで制御してから画像バッファに記録するようにしても良い。
Note that after the display start event is read out, control may be performed so that the image displayed on the display unit 15 cannot be manually changed. After the display start event is read, every time the data in the image buffer is updated, a new image after update is displayed on the display unit. When the display end event is read, the image buffer The display of the image based on the data may be stopped, and the image before the display start event is read may be displayed.
Further, when an operation program such as a synchronous reproduction program is not stored in the ROM 11, the operation program or data is stored in a hard disk or a CD-ROM and is read into the RAM 12, or is connected to the server computer via the communication interface 20. By connecting and downloading the operation program and data from the server computer, the CPU 10 may be caused to perform the same operation as when the operation program and data are stored in the ROM 11.
Furthermore, the image data and cut-out image data recorded in the image buffer may be recorded in the image buffer after being controlled by a video effect parameter that controls brightness, hue, display position, display size, and the like.

以上の説明では、本発明に係る同期再生プログラムは楽音と画像の同期再生装置に備えられるものとしたが、これに限るものではなく種々の楽音関連装置に備えさせることにより楽音と画像の同期再生装置を実現することができる。この場合には、同期再生プログラムを記録媒体に記録して種々の楽音関連装置に組み込むようにすればよい。   In the above description, the synchronized playback program according to the present invention is provided in the synchronized playback apparatus for musical sounds and images. However, the present invention is not limited to this, and the synchronized playback of musical sounds and images can be provided in various musical sound related apparatuses. An apparatus can be realized. In this case, the synchronized playback program may be recorded on a recording medium and incorporated in various musical sound related devices.

本発明の実施例の同期再生プログラムを備える楽音と画像の同期再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the synchronous reproduction apparatus of a musical sound provided with the synchronous reproduction program of the Example of this invention. 本発明の楽音と画像の同期再生装置における画像ファイルのイメージを示す図である。It is a figure which shows the image of the image file in the synchronous reproduction apparatus of a musical sound of this invention. 本発明の楽音と画像の同期再生装置における表示部に画像ファイルの一部を切り出して表示するイメージを示す図である。It is a figure which shows the image which cuts out and displays a part of image file on the display part in the synchronous reproduction apparatus of the musical sound of this invention, and an image. 本発明の楽音と画像の同期再生装置において実行される演奏データの読出処理のフローチャートである。It is a flowchart of the reading process of the performance data performed in the synchronous reproduction apparatus of a musical sound of this invention. 本発明の楽音と画像の同期再生装置において実行される画像読込処理のフローチャートである。It is a flowchart of the image reading process performed in the synchronous reproduction apparatus of a musical sound of this invention. 本発明の楽音と画像の同期再生装置において実行される表示開始処理のフローチャートである。It is a flowchart of the display start process performed in the synchronous reproduction apparatus of the musical sound of this invention. 本発明の楽音と画像の同期再生装置において実行される表示終了処理のフローチャートである。It is a flowchart of the display completion process performed in the synchronous reproduction apparatus of a musical sound of this invention. 本発明の楽音と画像の同期再生装置において実行される特殊表示処理のフローチャートである。It is a flowchart of the special display process performed in the synchronous reproduction apparatus of a musical sound of this invention.

符号の説明Explanation of symbols

1 同期再生装置、10 CPU、11 ROM、12 RAM、13 操作子、14 検出回路、15 表示部、16 表示回路、17 サウンドシステム、18 音源回路、19 外部制御機器、20 通信インタフェース、21 通信バス DESCRIPTION OF SYMBOLS 1 Synchronous reproduction apparatus, 10 CPU, 11 ROM, 12 RAM, 13 Operator, 14 Detection circuit, 15 Display part, 16 Display circuit, 17 Sound system, 18 Sound source circuit, 19 External control apparatus, 20 Communication interface, 21 Communication bus

Claims (4)

画像ファイルと、楽音用のイベントおよび画像用のイベントからなる演奏データとが記録される記憶手段と、
該記憶手段に記憶されている演奏データにおけるイベントが順に読み出された際に、読み出されたイベントが音楽用のイベントであるか、画像用のイベントであるかを判定する判定手段と、
読み出したイベントが音楽用のイベントと前記判定手段が判定した際に、該音楽用のイベントに基づいて、楽音の発音制御を行なう音源手段と、
前記画像用のイベントには、前記憶手段から読み出す画像ファイルを指定する画像指定データと、該画像指定データで指定された画像ファイル中の読み出す範囲を指定する切出範囲データと、該切出範囲データに基づいて切り出された切出画像データを表示する位置を指定する表示位置データとを有する画像読込イベントが少なくとも含まれており、読み出したイベントが画像用のイベントと前記判定手段が判定すると共に、該画像用のイベントが前記画像読込イベントであった場合は、該画像読込イベントにおける前記画像指定データで指定される前記画像ファイル中から、該画像読込イベントにおける前記切出範囲データで指定される範囲で切出画像データを切り出し、該画像読込イベントにおける前記表示位置データで指定される画像記憶手段における画像データの位置へ前記切出画像データを貼り付ける表示処理手段と、
該画像記憶手段に記憶されている画像データを、表示開始タイミングで表示部に表示する表示手段と、
を備えることを特徴とする楽音と画像の同期再生装置。
Storage means for recording an image file and musical performance data including musical events and image events;
A determination unit that determines whether the read event is a music event or an image event when events in the performance data stored in the storage unit are sequentially read;
Sound source means for controlling the sound generation of a musical sound based on the music event when the read event is determined to be a music event and the determination means;
The image event includes image designation data for designating an image file to be read from the previous storage means, cutout range data for designating a read range in the image file designated by the image designation data, and the cutout range. And at least an image reading event having display position data for designating a position for displaying the cut image data cut out based on the data, and the read event is determined by the determination means as an image event. If the event for the image is the image reading event, it is specified by the cut-out range data at the image reading event from the image file specified by the image specifying data at the image reading event. An image specified by the display position data in the image reading event after cutting out the cut image data in a range And display processing means for pasting the cut image data to the position of the image data in 憶 means,
Display means for displaying the image data stored in the image storage means on the display unit at a display start timing;
An apparatus for synchronously reproducing a musical sound and an image, comprising:
前記画像用のイベントには、前記画像記憶手段に記録された画像データを前記表示部へ表示することを指示する表示開始イベントも含まれており、読み出したイベントが画像用のイベントと前記判定手段が判定すると共に、該画像用のイベントが前記表示開始イベントと判定されたタイミングが、前記表示開始タイミングとされることを特徴とする請求項1記載の楽音と画像の同期再生装置。   The image event includes a display start event that instructs to display the image data recorded in the image storage unit on the display unit. The read event is an image event and the determination unit. 2. The musical sound and image synchronous reproduction apparatus according to claim 1, wherein the timing at which the image event is determined as the display start event is the display start timing. 画像ファイルと、楽音用のイベントおよび画像用のイベントからなる演奏データとが記録される記憶手段を備えるコンピュータを、
該記憶手段に記憶されている演奏データにおけるイベントが順に読み出された際に、読み出されたイベントが音楽用のイベントであるか、画像用のイベントであるかを判定する判定手段、
読み出したイベントが音楽用のイベントと前記判定手段が判定した際に、該音楽用のイベントに基づいて、楽音の発音制御を行なう音源手段、
前記画像用のイベントには、前記憶手段から読み出す画像ファイルを指定する画像指定データと、該画像指定データで指定された画像ファイル中の読み出す範囲を指定する切出範囲データと、該切出範囲データに基づいて切り出された切出画像データを表示する位置を指定する表示位置データとを有する画像読込イベントが少なくとも含まれており、読み出したイベントが画像用のイベントと前記判定手段が判定すると共に、該画像用のイベントが前記画像読込イベントであった場合は、該画像読込イベントにおける前記画像指定データで指定される前記画像ファイル中から、該画像読込イベントにおける前記切出範囲データで指定される範囲で切出画像データを切り出し、該画像読込イベントにおける前記表示位置データで指定される画像記憶手段における画像データの位置へ前記切出画像データを貼り付ける表示処理手段、
該画像記憶手段に記憶されている画像データを、表示開始タイミングで表示部に表示する表示手段、
として機能させるようにしたことを特徴とする楽音と画像の同期再生プログラム。
A computer comprising storage means for recording an image file and musical performance data including musical events and image events,
A determination unit that determines whether the read event is a music event or an image event when events in the performance data stored in the storage unit are sequentially read;
Sound source means for controlling the sound generation based on the music event when the read event is determined to be a music event and the determination means;
The image event includes image designation data for designating an image file to be read from the previous storage means, cutout range data for designating a read range in the image file designated by the image designation data, and the cutout range. And at least an image reading event having display position data for designating a position for displaying the cut image data cut out based on the data, and the read event is determined by the determination means as an image event. If the event for the image is the image reading event, it is specified by the cut-out range data at the image reading event from the image file specified by the image specifying data at the image reading event. An image specified by the display position data in the image reading event after cutting out the cut image data in a range Display processing means for pasting the cut image data to the position of the image data in 憶 means,
Display means for displaying the image data stored in the image storage means on the display unit at a display start timing;
A program for synchronized playback of musical sounds and images, characterized in that it is made to function as a program.
前記画像用のイベントには、前記画像記憶手段に記録された画像データを前記表示部へ表示することを指示する表示開始イベントも含まれており、読み出したイベントが画像用のイベントと前記判定手段が判定すると共に、該画像用のイベントが前記表示開始イベントと判定されたタイミングが、前記表示開始タイミングとされることを特徴とする請求項3記載の楽音と画像の同期再生プログラム。
The image event includes a display start event that instructs to display the image data recorded in the image storage unit on the display unit. The read event is an image event and the determination unit. 4. The program for synchronous reproduction of a musical sound and an image according to claim 3, wherein the timing at which the image event is determined to be the display start event is the display start timing.
JP2004354964A 2004-12-08 2004-12-08 Synchronized playback apparatus and program for music and images Expired - Fee Related JP4434001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004354964A JP4434001B2 (en) 2004-12-08 2004-12-08 Synchronized playback apparatus and program for music and images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004354964A JP4434001B2 (en) 2004-12-08 2004-12-08 Synchronized playback apparatus and program for music and images

Publications (2)

Publication Number Publication Date
JP2006166055A true JP2006166055A (en) 2006-06-22
JP4434001B2 JP4434001B2 (en) 2010-03-17

Family

ID=36667551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004354964A Expired - Fee Related JP4434001B2 (en) 2004-12-08 2004-12-08 Synchronized playback apparatus and program for music and images

Country Status (1)

Country Link
JP (1) JP4434001B2 (en)

Also Published As

Publication number Publication date
JP4434001B2 (en) 2010-03-17

Similar Documents

Publication Publication Date Title
JPH11341350A (en) Multimedia information editing and reproducing device, recording medium with multimedia information reproduction program and recording medium with sequence information respectively recorded on them
JP2001092453A (en) Re-mixing device and storage medium
JP4300738B2 (en) Electronics
JP4424218B2 (en) Electronic music apparatus and computer program applied to the apparatus
JP4434001B2 (en) Synchronized playback apparatus and program for music and images
JP2002258861A (en) Electronic musical instrument, its setting method and storage medium
JPH06130981A (en) Music reproducing device
JP2005100131A (en) Parameter setting device and parameter setting program
JP2018112724A (en) Performance guide device, performance guide program and performance guide method
JP2006267173A (en) Device and program to edit performance data
JP4835434B2 (en) Performance pattern playback device and computer program therefor
JP2018112725A (en) Music content transmitting device, music content transmitting program and music content transmitting method
JP4134870B2 (en) Effect setting device and effect setting program
JP4074769B2 (en) Electronic musical instruments
JP2006091804A (en) Automatic music player and program
JP4042669B2 (en) Waveform data editing apparatus and waveform data editing program
JP2007093658A (en) Audio device and karaoke machine
JP2005017824A (en) Musical score display device and program for realizing musical score display method
JP3399333B2 (en) Music control device
JP4835433B2 (en) Performance pattern playback device and computer program therefor
JP4711202B2 (en) Operation data processor
JPH11184482A (en) Karaoke device
JPWO2015107823A1 (en) Setting and editing sound setting information by link
JP2014119723A (en) Program and device for editing musical performance dataset
JP2004109745A (en) Expression parameter editing device and program for realizing expression parameter editing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091125

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4434001

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140108

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees