JPH08241229A - File management device - Google Patents

File management device

Info

Publication number
JPH08241229A
JPH08241229A JP7070577A JP7057795A JPH08241229A JP H08241229 A JPH08241229 A JP H08241229A JP 7070577 A JP7070577 A JP 7070577A JP 7057795 A JP7057795 A JP 7057795A JP H08241229 A JPH08241229 A JP H08241229A
Authority
JP
Japan
Prior art keywords
file
management information
song
management
recorded
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.)
Pending
Application number
JP7070577A
Other languages
Japanese (ja)
Inventor
Takeo Shibukawa
竹夫 渋川
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 JP7070577A priority Critical patent/JPH08241229A/en
Publication of JPH08241229A publication Critical patent/JPH08241229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

PURPOSE: To accurately select a file in a file management device which manages data files recorded in a recording medium. CONSTITUTION: Files F1 , F2 , F3 ... of songs 1, 2, 3..., a song management file SMF related to these files, and a file Fx of a song X are recorded on a floppy disk FD, and the file SMF doesn't include the management information of the file Fx . When this FD is set to a reception port of the FD drive device in the file management device, the file management device reads in management information in the file SMF to display it on a display device DPL. With respect to the file Fx , management information is generated and is written in an idle number position, etc., S3 , and it is displayed in this state. Management information of the song X is written in the file SMF on the FD correspondingly to display contents. Every time the FD is set, the song X is surely selected based on the display. Management information is generated and is recorded on the FD in the case of the absence of the file SMF.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、フロッピィディスク
等の記録媒体に記録されたデータファイルを管理するた
めのファイル管理装置に関し、特に管理情報が記録され
ていないデータファイルについて管理情報を作成して記
録することにより正確なファイル選択を可能にしたもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management device for managing a data file recorded on a recording medium such as a floppy disk, and particularly, it creates management information for a data file in which no management information is recorded. By recording, accurate file selection is possible.

【0002】[0002]

【従来の技術】従来、自動演奏機能を有する電子楽器と
しては、楽曲(ソング)の自動演奏情報を含むソングフ
ァイルを管理するためのファイル管理機能を備えたもの
が提案されている。
2. Description of the Related Art Conventionally, as an electronic musical instrument having an automatic performance function, one having a file management function for managing a song file including automatic performance information of a music piece (song) has been proposed.

【0003】図7は、この種の電子楽器において管理さ
れるフロッピィディスクFDの一例を示すものである。
ディスクFDには、ソング1,2,3……のファイルF
1 ,F2 ,F3 ……が記録されると共にソング管理ファ
イルSMFが記録される。
FIG. 7 shows an example of a floppy disk FD managed in this type of electronic musical instrument.
On the disc FD, files F of songs 1, 2, 3 ...
1 , F 2 , F 3, ... Are recorded and the song management file SMF is recorded.

【0004】記録に際しては、1曲目情報S1 、2曲目
情報S2 、3曲目情報S3 ……n曲目情報Sn の項目を
含むSMFのフォーマットが記録された後、F1 〜Fm
の各ファイルが記録されると共に、各ファイルの記録の
たびに該ファイルに対応するファイル指定情報がS1
n のいずれかの番号情報に対応して記録される。例え
ば、ソング1ファイルF1 を記録したときは、ソング1
を指定するファイル指定情報が1曲目情報S1 に対応し
て記録される。
At the time of recording, after the SMF format including the items of the first music information S 1 , the second music information S 2 , the third music information S 3 ... Nth music information S n is recorded, F 1 to F m are recorded.
Each file is recorded, and the file designation information corresponding to the file is recorded from S 1 to
It is recorded corresponding to any number information of S n . For example, if you record song 1 file F 1 ,
The file designation information for designating is recorded corresponding to the first music piece information S 1 .

【0005】所望のソングファイルを記録した後、該フ
ァイルを消去したときは、例えば3曲目情報S3 に関し
て示すように消去ファイルに対応する曲番が空きとな
る。また、n曲目情報に関して示すように未登録の曲番
も空きである。予め定められた1ディスク分のソングフ
ァイル数をmとすると、最大曲番nはm以下(n≦m)
となる。
When a desired song file is recorded and then the file is erased, the song number corresponding to the erased file becomes empty, as shown for example with respect to the third song information S 3 . Moreover, as shown with respect to the n-th music information, the unregistered music number is also empty. If the number of song files for one disc is set to m, the maximum song number n is m or less (n ≤ m)
Becomes

【0006】各番号情報毎のファイル指定情報は、1曲
目情報S1 に対応するものを代表として示すようにソン
グファイル名データSFN、曲名データSN、作成機種
名データMN等を含んでいる。ここで、データMNは、
ファイルSMF,F1 〜Fmの記録に使用された電子楽
器又はパーソナルコンピュータ等の機種名を表わすもの
である。
The file designation information for each number information includes song file name data SFN, song name data SN, created model name data MN, etc., as representatively shown for the first song information S 1 . Here, the data MN is
It represents the model name of the electronic musical instrument or personal computer used for recording the files SMF, F 1 to F m .

【0007】記録に使用される機種としては、ファイル
管理機能をもたないものもある。このような機種では、
ソングファイルを記録することは可能であるものの、上
記したようにファイルSMFを記録することはできな
い。
Some models used for recording do not have a file management function. In such a model,
Although it is possible to record a song file, it is not possible to record the file SMF as described above.

【0008】ファイルSMF内のソング管理情報は、図
7に示すように表示器DPLにより表示される。従っ
て、ユーザは、表示内容を見て所望の楽曲(ソングファ
イル)を選択することができる。そして、選択した楽曲
については自動演奏やデータ編集を行なうことができ
る。
The song management information in the file SMF is displayed by the display DPL as shown in FIG. Therefore, the user can select a desired song (song file) by looking at the displayed contents. Then, the selected music piece can be automatically played and data can be edited.

【0009】[0009]

【発明が解決しようとする課題】上記したようなファイ
ル管理方法によると、ファイル管理機能がない機種で例
えば図8に示すようにディスクFDにソングXのファイ
ルFx を記録した場合、ディスクFDをファイル管理機
能がある機種に装着して使用する際にファイルFx の表
示位置が変動する不都合があった。
According to the file management method as described above, when the file F x of the song X is recorded on the disc FD as shown in FIG. There is an inconvenience that the display position of the file F x changes when it is mounted on a model having a file management function and used.

【0010】すなわち、図8に示したようなディスクF
Dをファイル管理機能がある機種に装着すると、表示器
DPLにはSMF内の管理情報が表示される。このと
き、ファイルFx については、空いている曲番、例えば
3曲目情報S3 の位置にソングXが表示される。この場
合、3曲目情報S3 としてソングXを選択可能である。
That is, the disk F as shown in FIG.
When D is mounted on a model having a file management function, the management information in SMF is displayed on the display DPL. At this time, for the file F x , the song X is displayed at an empty song number, for example, the position of the third song information S 3 . In this case, the song X can be selected as the third song information S 3 .

【0011】しかしながら、新たにソングファイルを記
録したり、データ編集を行なったりすることにより例え
ばDPL’に示すように3曲目情報S3 、4曲目情報S
4 ……等の位置にソング3、ソング4……が表示される
と、ソングXは、n曲目情報Sn の位置に表示される。
この場合、n曲目情報Sn としてソングXを選択可能で
あるが、ユーザとしては3曲目情報S3 のときとは異な
る番号を選択することになり、選択操作に誤りやとまど
いを生じやすい。
However, if a new song file is recorded or data is edited, for example, as shown in DPL ', third song information S 3 , fourth song information S
When song 3, song 4 ... Are displayed at positions such as 4 ..., Song X is displayed at the position of the n- th song information S n .
In this case, the song X can be selected as the n-th piece of music information S n , but the user must select a number different from that of the third piece of music information S 3 , and the selection operation is likely to be erroneous or confusing.

【0012】ディスクDFは、取外し及び装着を繰返し
て使用されるものであり、装着するたびにソングXの表
示位置が変動すると、スムーズな選択操作は一層困難と
なる。
The disk DF is used by repeatedly removing and mounting, and if the display position of the song X changes each time it is mounted, a smooth selection operation becomes more difficult.

【0013】この発明の目的は、管理機能がない機種で
記録したデータファイルであっても簡単且つ正確に選択
することができる新規なファイル管理装置を提供するこ
とにある。
An object of the present invention is to provide a novel file management device which can easily and accurately select a data file recorded by a model having no management function.

【0014】[0014]

【課題を解決するための手段】この発明に係る第1のフ
ァイル管理装置は、記録媒体を着脱自在な記録・再生手
段と、データファイルが記録された記録媒体を前記記録
・再生手段に装着した状態で該記録媒体に前記データフ
ァイルに関する管理情報が記録されていないことを検知
する検知手段と、この検知手段の検知出力に応じて前記
データファイルに関する管理情報を作成する作成手段
と、この作成手段で作成された管理情報を報知する報知
手段と、前記作成手段で作成された管理情報を前記記録
・再生手段を介して前記記録媒体に書込む書込手段とを
備えたものである。
In a first file management apparatus according to the present invention, a recording / reproducing means in which a recording medium is detachable and a recording medium in which a data file is recorded are mounted in the recording / reproducing means. Detecting means for detecting that the management information on the data file is not recorded on the recording medium in the state, creating means for creating the management information on the data file according to the detection output of the detecting means, and the creating means And a writing means for writing the management information created by the creating means onto the recording medium via the recording / reproducing means.

【0015】また、この発明に係る第2のファイル管理
装置は、記録媒体を着脱自在な記録・再生手段と、デー
タファイル及びこのファイルに関する管理情報が記録さ
れた記録媒体を前記記録・再生手段に装着した状態で該
記録媒体に該管理情報で管理されない他のデータファイ
ルが記録されていることを検知する検知手段と、この検
知手段の検知出力に応じて前記他のデータファイルに関
する管理情報を作成する作成手段と、この作成手段で作
成された管理情報を前記記録媒体に記録された管理情報
と共に報知する報知手段と、前記作成手段で作成された
管理情報を前記記録・再生手段を介して前記記録媒体に
書込む書込手段とを備えたものである。
Further, the second file management apparatus according to the present invention comprises a recording / reproducing means in which a recording medium is detachable and a recording medium on which a data file and management information about this file are recorded. Detecting means for detecting that another data file not managed by the management information is recorded on the recording medium in the mounted state, and creating management information about the other data file according to the detection output of the detecting means Creating means, notifying means for notifying the management information created by the creating means together with the management information recorded on the recording medium, and the management information created by the creating means via the recording / reproducing means. And a writing means for writing on a recording medium.

【0016】[0016]

【作用】上記した第1のファイル管理装置によれば、記
録媒体について管理情報なしを検知して管理情報を作成
し、該管理情報を報知するようにしたので、報知内容に
基づいて正確なファイル選択を行なうことができる。ま
た、作成した管理情報を記録媒体に書込むようにしたの
で、記録媒体を取外した後再度使用する際にも記録した
管理情報を報知することで正確なファイル選択が可能と
なる。
According to the first file management device described above, the absence of management information is detected for the recording medium, the management information is created, and the management information is notified. You can make choices. Further, since the created management information is written in the recording medium, accurate file selection can be performed by notifying the recorded management information even when the recording medium is removed and reused.

【0017】また、上記した第2のファイル管理装置に
よれば、記録媒体について記録情報なしのデータファイ
ルがあることを検知して記録情報を作成し、該管理情報
を記録媒体中の管理情報と共に報知するようにしたの
で、報知内容に基づいて正確なファイル選択を行なうこ
とができる。また、作成した管理情報を記録媒体に書込
むようにしたので、記録媒体を取外した後再度使用する
際にも各データファイルの管理情報を報知することで正
確なファイル選択が可能となる。
Further, according to the second file management apparatus described above, it is detected that there is a data file having no recording information on the recording medium, the recording information is created, and the management information is stored together with the management information in the recording medium. Since the notification is made, the file can be accurately selected based on the contents of the notification. Further, since the created management information is written in the recording medium, accurate file selection can be performed by notifying the management information of each data file even when the recording medium is removed and then reused.

【0018】第1又は第2のファイル管理装置にあって
は、管理情報を作成すべきデータファイルについてデー
タ処理可能か判定する判定手段を設け、この判定手段で
の判定結果が肯定的になることを条件として管理情報を
作成するようにしてもよい。このようにすると、ユーザ
がデータ処理の可否を判断しなくて済む利点がある。
The first or second file management device is provided with a judging means for judging whether or not the data file for which the management information is to be created can be processed, and the judgment result by this judging means becomes positive. The management information may be created under the condition. This has the advantage that the user does not have to judge whether data processing is possible.

【0019】判定手段での判定は、データファイルに付
されたファイル名の拡張子に基づいて行なうことができ
る。このようにすると、迅速な判定が可能である。ま
た、データファイルに属する一部のデータに基づいて判
定手段での判定を行なうこともできる。このようにする
と、拡張子が付されていない場合でも判定が可能であ
る。
The judgment by the judgment means can be made based on the extension of the file name given to the data file. In this way, quick determination is possible. Further, the judgment can be made by the judgment means based on a part of the data belonging to the data file. In this way, it is possible to make a determination even if no extension is added.

【0020】[0020]

【実施例】図1は、この発明の一実施例に係るファイル
管理機能付き電子楽器を示すもので、この電子楽器で
は、マニュアル演奏音、自動演奏音等の楽音の発生やソ
ングファイル等のファイル管理がマイクロコンピュータ
によって制御されるようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an electronic musical instrument with a file management function according to an embodiment of the present invention. In this electronic musical instrument, the generation of musical tones such as manual playing sounds and automatic playing sounds, and files such as song files. Management is controlled by a microcomputer.

【0021】バス10には、キー操作検出回路12、ス
イッチ操作検出回路14、中央処理装置(CPU)1
6、リード・オンリィ・メモリ(ROM)18、ランダ
ム・アクセス・メモリ(RAM)20、フロッピィディ
スク(FD)ドライブ装置22、表示回路24、音源回
路26等が接続されている。
The bus 10 has a key operation detection circuit 12, a switch operation detection circuit 14, and a central processing unit (CPU) 1.
6, a read only memory (ROM) 18, a random access memory (RAM) 20, a floppy disk (FD) drive device 22, a display circuit 24, a sound source circuit 26, etc. are connected.

【0022】キー操作検出回路12は、鍵盤12Aの多
数のキースイッチを走査するなどしてキー操作情報を検
出するものである。
The key operation detection circuit 12 detects key operation information by scanning a large number of key switches on the keyboard 12A.

【0023】スイッチ操作検出回路14は、スイッチ群
14A中の多数のスイッチを走査するなどしてスイッチ
操作情報を検出するものである。スイッチ群14A中に
は、この発明の実施に関係するスイッチとして、ロード
スイッチLDS、セーブスイッチSVS、イエス指示ス
イッチ、ノー指示スイッチ等が含まれている。
The switch operation detection circuit 14 detects switch operation information by scanning a large number of switches in the switch group 14A. The switch group 14A includes a load switch LDS, a save switch SVS, a yes instruction switch, a no instruction switch, and the like as switches related to the implementation of the present invention.

【0024】CPU16は、ROM18にストアされた
プログラムに従って楽音発生及びファイル管理のための
各種の処理を実行するもので、これらの処理については
図2,3を参照して後述する。
The CPU 16 executes various processes for tone generation and file management according to the program stored in the ROM 18, and these processes will be described later with reference to FIGS.

【0025】RAM20は、CPU16による各種処理
に際してレジスタ等として使用される記憶領域を含むも
ので、FDドライブ装置22に装着したFDから読出し
た各種情報を記憶するためにも使用される。
The RAM 20 includes a storage area used as a register or the like for various processes by the CPU 16, and is also used to store various information read from the FD mounted on the FD drive device 22.

【0026】FDドライブ装置22は、所定の位置にF
Dを着脱自在なもので、FD装着状態においてCPU1
6の制御の下に記録又は再生の動作が可能である。FD
ドライブ装置22には、一例として図4に示すようにソ
ング管理ファイルSMF及びソングファイルF1 〜F
m ,Fx を記録したFDが装着される。このFDから所
望のソングファイルを選択してRAM20に読出すと、
そのソングファイル中の自動演奏情報に基づいて自動演
奏を行なうことができる。
The FD drive device 22 is placed in the F position at a predetermined position.
D is removable, CPU1 when FD is attached
Recording or reproduction operation is possible under the control of 6. FD
As an example, the drive device 22 includes a song management file SMF and song files F 1 to F 1 as shown in FIG.
An FD that records m and F x is attached. When a desired song file is selected from this FD and read out to the RAM 20,
The automatic performance can be performed based on the automatic performance information in the song file.

【0027】表示回路24は、図4に示した表示器DP
Lを有するもので、この表示器にファイルSMF内のソ
ング管理情報を表示させるようになっている。
The display circuit 24 is the display unit DP shown in FIG.
It has L and is designed to display the song management information in the file SMF on this display.

【0028】音源回路26は、複数の楽音形成チャンネ
ルを有するもので、各チャンネル毎に楽音信号を発生可
能である。音源回路26には、キー操作検出回路12か
らキー操作情報が供給されるようになっており、マニュ
アル演奏音信号の発生が可能である。また、音源回路2
6には、RAM20から演奏進行に従って読出される音
高指定情報等が供給されるようになっており、自動演奏
音信号の発生が可能である。
The tone generator circuit 26 has a plurality of tone forming channels and can generate tone signals for each channel. Key operation information is supplied from the key operation detection circuit 12 to the tone generator circuit 26, and a manual performance sound signal can be generated. Also, the sound source circuit 2
The pitch designation information and the like read out from the RAM 20 as the performance progresses is supplied to 6 so that an automatic performance sound signal can be generated.

【0029】音源回路26からの楽音信号は、出力アン
プ、スピーカ等を含むサウンドシステム28に供給さ
れ、音響に変換される。
The tone signal from the tone generator circuit 26 is supplied to a sound system 28 including an output amplifier, a speaker and the like, and converted into sound.

【0030】図2は、ロードスイッチ(LDS)オン処
理のサブルーチンを示すものである。図4に示したFD
をFDドライブ装置22に装着した状態でスイッチLD
Sをオンすると、図2のルーチンが開始される。図4の
FDにおいて、ファイルSMF,F1 〜Fm は、図7に
関して前述したものと同様であり、ファイルFx は、図
8に関して前述したようにファイル管理機能がない機種
で記録されたものである。
FIG. 2 shows a subroutine of the load switch (LDS) ON process. FD shown in FIG.
Switch LD with the FD drive device 22 attached
When S is turned on, the routine of FIG. 2 is started. In the FD of FIG. 4, the files SMF and F 1 to F m are the same as those described above with reference to FIG. 7, and the file F x is recorded with a model that does not have a file management function as described above with reference to FIG. 8. Is.

【0031】ステップ30では、FDにファイルSMF
があるか判定する。この判定結果が肯定的(Y)であれ
ばステップ32に移り、SMF内のソング管理情報をR
AM20内の所定の領域に読込む。
In step 30, the file SMF is stored in the FD.
Determine if there is If the result of this determination is affirmative (Y), the process moves to step 32 and the song management information in the SMF is set to R.
Read in a predetermined area in the AM 20.

【0032】次に、ステップ34では、SMFで管理さ
れているソングファイルが実際にFD中にあるか否かチ
ェックする。そして、ステップ36でソングファイルに
不足ありか判定する。この判定結果が肯定的(Y)であ
ればステップ38に移り、ファイル不足を表示器DPL
に表示するなどして警告する。そして、ステップ40で
不足ファイルの管理情報をRAM20内のソング管理情
報から消去する。これは、記録してないソングファイル
を管理する必要がないからである。
Next, in step 34, it is checked whether or not the song file managed by SMF is actually in the FD. Then, in step 36, it is determined whether or not the song file is insufficient. If the result of this determination is affirmative (Y), the process moves to step 38 and the file shortage is indicated by the DPL.
To display a warning. Then, in step 40, the management information of the missing file is deleted from the song management information in the RAM 20. This is because there is no need to manage song files that have not been recorded.

【0033】ステップ36の判定結果が否定的(N)で
あったとき又はステップ40の処理が終ったときは、ス
テップ42に移る。ステップ42では、SMFで管理さ
れていないファイルがFD中にあるか否かチェックす
る。そして、ステップ44で非管理ファイルありか判定
する。この判定結果が否定的(N)であれば、FD中の
すべてのソングファイルがSMFによって管理されてい
ることになり、ステップ46に移る。
When the determination result of step 36 is negative (N) or when the process of step 40 is completed, the process proceeds to step 42. In step 42, it is checked whether or not there is a file not managed by SMF in the FD. Then, in step 44, it is determined whether or not there is an unmanaged file. If the determination result is negative (N), it means that all song files in the FD are managed by SMF, and the process proceeds to step 46.

【0034】ステップ46では、表示器DPLにRAM
20内の管理情報を表示させる。一例として、SMF内
に3曲目情報S3 としてソング4を指定するファイル指
定情報が記録されていたが、ソング4のファイルがFD
に記録されていなかった場合、ソング4を指定するファ
イル指定情報は、ステップ36〜40により消去され、
3曲目情報S3 は空き曲番となる。この場合、n曲目情
報Sn も空き曲番であるとすれば、表示器DPLには、
図7に示したのと同様のソング管理情報が表示される。
ステップ46の後は、図示しないメインルーチンにリタ
ーンする。
At step 46, the display DPL has a RAM.
The management information in 20 is displayed. As an example, the file designation information for designating the song 4 is recorded as the third song information S 3 in the SMF, but the file of the song 4 is FD.
If it is not recorded in, the file designation information designating the song 4 is erased in steps 36 to 40,
The third song information S 3 is an empty song number. In this case, if the n-th piece of music information S n is also an empty piece number, the display DPL shows
Song management information similar to that shown in FIG. 7 is displayed.
After step 46, the process returns to the main routine (not shown).

【0035】ステップ44の判定結果が肯定的(Y)で
あったときは、ステップ48に移る。前述したようにF
DにファイルFx が記録されていた場合は、ステップ4
4の判定結果が肯定的(Y)となり、ファイルFx が非
管理ファイルとなる。
If the determination result of step 44 is affirmative (Y), the process proceeds to step 48. As mentioned above, F
If the file F x is recorded in D, step 4
The determination result of 4 is affirmative (Y), and the file F x becomes an unmanaged file.

【0036】ステップ48では、非管理ファイルFx
付されたファイル名の拡張子をチェックする。そして、
ステップ50に移り、Fx の拡張子が本装置(電子楽器
内のファイル管理装置)で許容される拡張子と一致する
か(Fx のデータを本装置で処理可能か)判定する。こ
の判定結果が否定的(N)であれば、ステップ52に移
る。
In step 48, the extension of the file name given to the unmanaged file F x is checked. And
Proceeds to step 50, the extension of F x is (or can be processed by the apparatus data F x) it matches the extension allowed by (file management apparatus in an electronic musical instrument) the apparatus determines. If the determination result is negative (N), the process proceeds to step 52.

【0037】ステップ52では、非管理ファイルFx
ヘッダデータをRAM20に読込む。そして、ステップ
54でヘッダデータ形式が本装置で許容されるデータ形
式と一致するか(Fx のデータを本装置で処理可能か)
判定する。このように二重にデータ処理可能かを判定す
るのは、拡張子が付されていない場合に対処するためで
ある。
At step 52, the header data of the unmanaged file F x is read into the RAM 20. Then, in step 54, whether the header data format matches the data format allowed by this device (whether the data of F x can be processed by this device)
judge. The reason why the data processing can be performed doubly in this way is to deal with the case where the extension is not added.

【0038】ステップ54の判定では、一例として、デ
ータの並びが同じであったら、同一形式であると判定す
る。また、スタンダードMIDI(Musical Instrument
Digital Interface)ファイルの場合は、チャンク名が
「MThd」(ヘッダチャンクの名称)と一致したら、
同一形式であると判定する。
In the determination of step 54, as an example, if the data sequences are the same, it is determined that they are of the same format. In addition, the standard MIDI (Musical Instrument
In the case of a Digital Interface) file, if the chunk name matches “MThd” (header chunk name),
It is determined that the formats are the same.

【0039】ステップ50又は54の判定結果が肯定的
(Y)であったときは、データ処理可能であったことに
なり、ステップ56に移る。ステップ56では、非管理
ファイルFx に関する管理情報として図7のS1 に示し
たようなファイル指定情報を作成し、RAM20内のソ
ング管理情報中の空き曲番に仮登録する。一例として、
RAM20内のソング管理情報が図7のDPLに示すも
のであった場合、Fxに関する管理情報を3曲目情報S3
の位置に書込む。
If the determination result of step 50 or 54 is affirmative (Y), it means that the data processing was possible, and the routine proceeds to step 56. In step 56, the file designation information as shown in S 1 of FIG. 7 is created as the management information regarding the non-management file F x , and is temporarily registered in the empty song number in the song management information in the RAM 20. As an example,
If the song management information in the RAM 20 is the one shown in the DPL of FIG. 7, the management information regarding F x is the third song information S 3
Write in the position.

【0040】ステップ54の判定結果が否定的(N)で
あったときは、データ処理不能であったことになり、ス
テップ56を経ずにステップ58に移る。また、ステッ
プ56の処理を終ったときもステップ58に移る。
If the result of the determination in step 54 is negative (N), it means that the data cannot be processed, and the process proceeds to step 58 without passing through step 56. Also, when the process of step 56 is completed, the process proceeds to step 58.

【0041】ステップ58では、他にも非管理ファイル
があるか判定する。この判定結果が肯定的(Y)であれ
ばステップ48に戻り、それ以降の処理を上記したと同
様に繰返す。
In step 58, it is determined whether or not there are any other unmanaged files. If the determination result is affirmative (Y), the process returns to step 48, and the subsequent processes are repeated as described above.

【0042】ステップ58の判定結果が否定的(N)に
なったときは、データ処理不能で管理情報を作成しなか
ったか又はデータ処理可能で管理情報の仮登録を終了し
たことになり、ステップ46に移る。ステップ46で
は、前述したと同様にして表示器DPLにRAM20内
のソング管理情報を表示させる。
If the result of the determination in step 58 is negative (N), it means that the data processing is not possible and the management information has not been created, or that the data processing is possible and the temporary registration of the management information is completed. Move on to. At step 46, the song management information in the RAM 20 is displayed on the display DPL in the same manner as described above.

【0043】前述したようにRAM20内のソング管理
情報が図7のDPLと同様であった場合、管理情報を作
成しなかったのであれば、表示器DPLは、図7のDP
Lと同様の表示内容となる。また、管理情報を3曲目情
報S3 の位置に仮登録したのであれば、表示器DPL
は、図4のDPLに示したような表示内容となる。
As described above, when the song management information in the RAM 20 is the same as the DPL shown in FIG. 7, if the management information is not created, the display DPL will display the DP shown in FIG.
The display content is the same as L. If the management information is temporarily registered at the position of the third music information S 3 , the display DPL
Has the display contents as shown in the DPL of FIG.

【0044】ところで、ステップ30の判定結果が否定
的(N)であったときは、SMFがなかったことにな
り、ステップ60に移る。これは、FD中にFx のよう
なソングファイルのみ1又は複数記録されていた場合で
ある。ステップ60では、SMFのフォーマットを前述
したと同様に作成してRAM20内の所定領域に書込
む。そして、ステップ48に移り、それ以降の処理を上
記したと同様に繰返す。この結果、データ処理可能であ
れば、各ソングファイル毎に管理情報が作成される。そ
して、作成された管理情報は、RAM20内に仮登録さ
れると共に、FDに記録されていた管理情報と共に表示
器DPLに表示される。
By the way, when the determination result of step 30 is negative (N), it means that there is no SMF, and the process proceeds to step 60. This is a case where only one or more song files such as F x are recorded in the FD. In step 60, the SMF format is created in the same manner as described above and written in a predetermined area in the RAM 20. Then, the process proceeds to step 48, and the subsequent processes are repeated as described above. As a result, if data processing is possible, management information is created for each song file. Then, the created management information is provisionally registered in the RAM 20 and displayed on the display DPL together with the management information recorded in the FD.

【0045】図3は、セーブスイッチ(SVS)オン処
理のサブルーチンを示すもので、このルーチンは、スイ
ッチSVSをオンすると、開始される。
FIG. 3 shows a subroutine for the save switch (SVS) on process. This routine is started when the switch SVS is turned on.

【0046】ステップ70では、RAM20内のソング
管理情報をFDに書込む。図2のステップ56で仮登録
を行なった場合は、仮登録に係る管理情報を含むソング
管理情報が例えば図4のSMFに示すような状態でFD
に書込まれる。セーブに用いるFDは、図4のFDでも
よいし、あるいは新しいFDでもよい。図4のFDのと
きは、表示器DPLの表示内容に対応して3曲目情報S
3 の位置の空き情報がソングXの管理情報(ソングXの
ファイルを指定するファイル指定情報)によって更新さ
れる。
At step 70, the song management information in the RAM 20 is written in the FD. When the temporary registration is performed in step 56 in FIG. 2, the song management information including the management information related to the temporary registration is displayed in the SFD shown in FIG.
Written in. The FD used for saving may be the FD shown in FIG. 4 or a new FD. In the case of the FD shown in FIG. 4, the third music information S corresponding to the contents displayed on the display DPL is displayed.
The vacant information at the position of 3 is updated by the management information of the song X (file designation information that designates the file of the song X).

【0047】次に、ステップ72では、ソングファイル
の追加又は修正ありか判定する。前述したようにLDS
オン処理のサブルーチンを実行した後は、所望のソング
ファイルを選択してファイル中のデータを修正したり、
新たなソングファイルをマニアル演奏に基づいて追加し
たりすることができる。
Next, at step 72, it is judged whether or not the song file is added or modified. As mentioned above, LDS
After executing the on processing subroutine, select the desired song file and correct the data in the file,
You can add new song files based on your manual performance.

【0048】ステップ72の判定結果が肯定的(Y)で
あったときは、ソングファイルの追加又は修正があった
ことになり、ステップ74でFDに追加又は修正された
ソングファイルを書込む。ソングファイルを追加した場
合は、ファイル追加時にRAM20内のソング管理情報
に追加ファイルの管理情報が追加されているので、この
追加された管理情報を含むソング管理情報がステップ7
0でFDに書込まれる。新しいFDを用いる場合は、図
4のFDの全データをRAM20に読込んだ後、図4の
ルーチンを開始させることによりステップ74ですべて
のソングファイルをFDに書込むことができる。
If the result of the determination at step 72 is affirmative (Y), it means that the song file has been added or modified, and at step 74 the added or modified song file is written to the FD. When a song file is added, the management information of the additional file is added to the song management information in the RAM 20 when the file is added, so the song management information including this added management information is stored in step 7.
It is written to FD with 0. When using a new FD, all song files can be written to the FD in step 74 by reading all the data of the FD of FIG. 4 into the RAM 20 and then starting the routine of FIG.

【0049】ステップ72の判定結果が否定的(N)で
あったとき又はステップ74の処理が終ったときは前述
のメインルーチンにリターンする。
When the determination result of step 72 is negative (N) or when the process of step 74 is completed, the process returns to the main routine.

【0050】上記した実施例によれば、管理情報がない
x のようなソングファイルについて管理情報を作成
し、表示器DPLで表示するようにしたので、簡単且つ
正確にファイル選択を行なうことができる。また、表示
したものと同じ管理情報をFDに記録するようにしたの
で、次回にFDを使用するときも前回と同じ管理情報を
表示することができ、簡単且つ正確にファイル選択を行
なうことができる。さらに、データ処理可能か否かを自
動的に判定するようにしたので、ユーザの判断は不要と
なる。
According to the above-described embodiment, the management information is created for the song file such as F x having no management information and displayed on the display DPL, so that the file selection can be performed easily and accurately. it can. Further, since the same management information as that displayed is recorded in the FD, the same management information as the previous time can be displayed when the FD is used next time, and file selection can be performed easily and accurately. . Furthermore, since it is automatically determined whether or not data processing is possible, it is not necessary for the user to make a determination.

【0051】図5は、図2のルーチンの第1の変形例を
示すものである。この例では、図2のPからQに至る部
分をステップ80〜84で置換したものである。
FIG. 5 shows a first modification of the routine of FIG. In this example, the portion from P to Q in FIG. 2 is replaced by steps 80 to 84.

【0052】ステップ80では、ファイルFx のような
登録可能なファイル名を表示器DPLに表示させる。そ
して、ステップ82で登録OKか判定する。一例とし
て、表示器DPLに「登録OK?」の字句を表示させ、
スイッチ群14A中のイエス指示スイッチ又はノー指示
スイッチによりイエス(Y)又はノー(N)を指示させ
る。
In step 80, a registerable file name such as the file F x is displayed on the display device DPL. Then, in step 82, it is determined whether registration is OK. As an example, let the display DPL display the phrase "Registration OK?"
Yes (Y) or no (N) is instructed by the yes instruction switch or the no instruction switch in the switch group 14A.

【0053】ステップ82の判定結果が肯定的(Y)で
あればステップ84に移り、前述のステップ56と同様
にして管理情報を作成し、RAM20内のソング管理情
報中の空き曲番に仮登録する。
If the determination result in step 82 is affirmative (Y), the process proceeds to step 84, management information is created in the same manner as in step 56 described above, and is temporarily registered in an empty song number in the song management information in RAM 20. To do.

【0054】ステップ82の判定結果が否定的(N)で
あったとき又はステップ84の処理が終ったときは、図
2のステップ58に移る。
When the determination result of step 82 is negative (N) or when the process of step 84 ends, the process proceeds to step 58 of FIG.

【0055】図5のルーチンによれば、管理情報を作成
・登録するか否かをユーザが任意に選択可能となる利点
がある。
According to the routine of FIG. 5, there is an advantage that the user can arbitrarily select whether or not to create / register the management information.

【0056】図6は、図2のルーチンの第2の変形例を
示すものである。この例では、図2のステップ58の次
にステップ90を追加し、ステップ90では、図3のス
テップ70と同様にしてRAM20内のソング管理情報
をFDに書込むようにしたものである。
FIG. 6 shows a second modification of the routine shown in FIG. In this example, step 90 is added after step 58 in FIG. 2, and in step 90, the song management information in the RAM 20 is written in the FD in the same manner as step 70 in FIG.

【0057】図6のルーチンによれば、ロード時に管理
情報を自動的にFDに書込むことができ、セーブスイッ
チSVSのオン操作等が不要となる利点がある。
According to the routine of FIG. 6, the management information can be automatically written in the FD at the time of loading, and the save switch SVS does not need to be turned on.

【0058】この発明は、上記した実施例に限定される
ものではなく、種々の改変形態で実施可能なものであ
る。例えば、次の(1)〜(7)のような変更が可能で
ある。
The present invention is not limited to the above embodiments, but can be implemented in various modified forms. For example, the following modifications (1) to (7) are possible.

【0059】(1)管理対象のデータファイルとして
は、ソングデータのファイルに限らず、自動伴奏のスタ
イルデータ(ロック、ワルツ等のスタイル毎のパターン
データ)のファイル、音色等の楽音パラメータデータの
ファイル、パネル設定に係る音量、効果等の楽音制御デ
ータのファイル等、どのような種類のファイルであって
もよい。
(1) The data file to be managed is not limited to a song data file, but a file of automatic accompaniment style data (pattern data for each style such as rock, waltz, etc.) and a tone parameter data file such as a tone color. Any kind of file may be used, such as a file of tone control data such as volume and effect related to panel setting.

【0060】(2)記録媒体としては、フロッピィディ
スクに限らず、ハードディスク、光磁気ディスク等であ
ってもよい。
(2) The recording medium is not limited to the floppy disk, but may be a hard disk, a magneto-optical disk or the like.

【0061】(3)管理ファイルで管理するのは曲番号
としたが、数字に限らず、A,B,C……等の符号で管
理してもよい。
(3) Although the music number is managed by the management file, the music number is not limited to the numeral and may be managed by a code such as A, B, C ...

【0062】(4)作成した管理情報を自動的に空き番
号に登録するようにしたが、登録する番号を予め指定可
能としたり、登録後に変更可能としたりしてもよい。
(4) Although the created management information is automatically registered in the empty number, the number to be registered may be designated in advance or may be changed after registration.

【0063】(5)管理情報を作成する場合には、該管
理情報に関連するデータファイルが他の装置で記録され
たものであることを表わす情報を管理情報に含ませるよ
うにしてもよい。
(5) When creating the management information, the management information may include information indicating that the data file related to the management information is recorded in another device.

【0064】(6)図2のルーチンは、ロードスイッチ
LDSのオン操作に応じて開始させる代りに、記録媒体
が所定位置に装着されたことを検知して開始させるよう
にしてもよい。
(6) The routine of FIG. 2 may be started by detecting that the recording medium is mounted at a predetermined position, instead of being started in response to the ON operation of the load switch LDS.

【0065】(7)報知手段としては、表示手段に限ら
ず、印字手段、発音手段等であってもよい。
(7) The notification means is not limited to the display means, but may be a printing means, a sounding means, or the like.

【0066】[0066]

【発明の効果】以上のように、この発明によれば、記録
媒体に記録されたデータファイルを管理する際に管理情
報のないデータファイルについては管理情報を作成して
報知すると共に記録媒体に書込むようにしたので、簡単
且つ正確にファイル選択を行なえる効果が得られるもの
である。
As described above, according to the present invention, when managing a data file recorded on a recording medium, management information is created and notified for a data file having no management information, and the data file is written on the recording medium. Since it is included, it is possible to obtain the effect of easily and accurately selecting a file.

【図面の簡単な説明】[Brief description of drawings]

【図1】 この発明の一実施例に係る電子楽器の回路構
成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of an electronic musical instrument according to an embodiment of the present invention.

【図2】 LDSオン処理のサブルーチンを示すフロー
チャートである。
FIG. 2 is a flowchart showing a subroutine of LDS ON processing.

【図3】 SVSオン処理のサブルーチンを示すフロー
チャートである。
FIG. 3 is a flowchart showing a subroutine of SVS ON processing.

【図4】 図2,3のルーチンによるファイル管理動作
を説明するための説明図である。
FIG. 4 is an explanatory diagram for explaining a file management operation according to the routines of FIGS.

【図5】 図2のルーチンの第1の変形例を示すフロー
チャートである。
FIG. 5 is a flowchart showing a first modification of the routine of FIG.

【図6】 図2のルーチンの第2の変形例を示すフロー
チャートである。
FIG. 6 is a flowchart showing a second modification of the routine of FIG.

【図7】 従来のファイル管理方法を説明するための説
明図である。
FIG. 7 is an explanatory diagram for explaining a conventional file management method.

【図8】 従来のファイル管理方法の問題点を説明する
ための説明図である。
FIG. 8 is an explanatory diagram for explaining a problem of the conventional file management method.

【符号の説明】[Explanation of symbols]

10:バス、14A:スイッチ群、14:スイッチ操作
検出回路、16:CPU、18:ROM、20:RA
M、22:FDドライブ装置、24:表示回路、LD
S:ロードスイッチ、SVS:セーブスイッチ、FD:
フロッピィディスク、DPL:表示器。
10: bus, 14A: switch group, 14: switch operation detection circuit, 16: CPU, 18: ROM, 20: RA
M, 22: FD drive device, 24: display circuit, LD
S: Load switch, SVS: Save switch, FD:
Floppy disk, DPL: Display.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】記録媒体を着脱自在な記録・再生手段と、 データファイルが記録された記録媒体を前記記録・再生
手段に装着した状態で該記録媒体に前記データファイル
に関する管理情報が記録されていないことを検知する検
知手段と、 この検知手段の検知出力に応じて前記データファイルに
関する管理情報を作成する作成手段と、 この作成手段で作成された管理情報を報知する報知手段
と、 前記作成手段で作成された管理情報を前記記録・再生手
段を介して前記記録媒体に書込む書込手段とを備えたフ
ァイル管理装置。
1. A recording / reproducing device in which a recording medium is detachably mounted, and management information relating to the data file is recorded in the recording medium with the recording medium having a data file recorded therein being mounted in the recording / reproducing device. Detection means for detecting that there is no such information, creation means for creating management information relating to the data file according to the detection output of the detection means, notification means for notifying the management information created by this creation means, and the creation means A file management device comprising: a writing unit that writes the management information created in (3) onto the recording medium via the recording / reproducing unit.
【請求項2】記録媒体を着脱自在な記録・再生手段と、 データファイル及びこのファイルに関する管理情報が記
録された記録媒体を前記記録・再生手段に装着した状態
で該記録媒体に該管理情報で管理されない他のデータフ
ァイルが記録されていることを検知する検知手段と、 この検知手段の検知出力に応じて前記他のデータファイ
ルに関する管理情報を作成する作成手段と、 この作成手段で作成された管理情報を前記記録媒体に記
録された管理情報と共に報知する報知手段と、 前記作成手段で作成された管理情報を前記記録・再生手
段を介して前記記録媒体に書込む書込手段とを備えたフ
ァイル管理装置。
2. A recording / reproducing device having a recording medium removably attached, and a recording medium on which a data file and management information relating to the file are recorded, mounted on the recording / reproducing device. Detecting means for detecting that another unmanaged data file is recorded, creating means for creating management information about the other data file according to the detection output of this detecting means, and creating means created by this creating means The system further comprises a notifying unit for notifying the management information together with the management information recorded on the recording medium, and a writing unit for writing the management information created by the creating unit on the recording medium via the recording / reproducing unit. File management device.
【請求項3】 前記作成手段は、管理情報を作成すべき
データファイルについてデータ処理可能か判定する判定
手段を有し、この判定手段での判定結果が肯定的になる
ことを条件として管理情報を作成するものである請求項
1又は2記載のファイル管理装置。
3. The creating means has a judging means for judging whether data processing is possible for a data file for which management information is to be created, and the management information is provided on condition that the judgment result of the judging means is affirmative. The file management device according to claim 1, which is created.
【請求項4】 前記判定手段は、管理情報を作成すべき
データファイルに付されたファイル名の拡張子に基づい
て判定を行なうものである請求項3記載のファイル管理
装置。
4. The file management device according to claim 3, wherein said judgment means makes a judgment based on an extension of a file name given to a data file for which management information is to be created.
【請求項5】 前記判定手段は、管理情報を作成すべき
データファイルに属する一部のデータに基づいて判定を
行なうものである請求項3記載のファイル管理装置。
5. The file management device according to claim 3, wherein said judgment means makes a judgment based on a part of data belonging to a data file for which management information is to be created.
JP7070577A 1995-03-03 1995-03-03 File management device Pending JPH08241229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7070577A JPH08241229A (en) 1995-03-03 1995-03-03 File management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7070577A JPH08241229A (en) 1995-03-03 1995-03-03 File management device

Publications (1)

Publication Number Publication Date
JPH08241229A true JPH08241229A (en) 1996-09-17

Family

ID=13435554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7070577A Pending JPH08241229A (en) 1995-03-03 1995-03-03 File management device

Country Status (1)

Country Link
JP (1) JPH08241229A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7325119B2 (en) 2002-12-24 2008-01-29 Funai Electric Co., Ltd. Data storage apparatus capable of storing data stored in external equipment
USRE40044E1 (en) 1997-05-23 2008-02-05 Sony Corporation Data recording apparatus and method, data reproducing apparatus and method, data recording/reproducing apparatus and method, and transmission medium
JP2008071192A (en) * 2006-09-14 2008-03-27 Canon Inc Image reproducer and its control method
JP2008158817A (en) * 2006-12-25 2008-07-10 Fuji Xerox Co Ltd Document management system, document storage device and program
JP2012208812A (en) * 2011-03-30 2012-10-25 Buffalo Inc Data management apparatus and data management method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE40044E1 (en) 1997-05-23 2008-02-05 Sony Corporation Data recording apparatus and method, data reproducing apparatus and method, data recording/reproducing apparatus and method, and transmission medium
US7325119B2 (en) 2002-12-24 2008-01-29 Funai Electric Co., Ltd. Data storage apparatus capable of storing data stored in external equipment
JP2008071192A (en) * 2006-09-14 2008-03-27 Canon Inc Image reproducer and its control method
JP2008158817A (en) * 2006-12-25 2008-07-10 Fuji Xerox Co Ltd Document management system, document storage device and program
JP2012208812A (en) * 2011-03-30 2012-10-25 Buffalo Inc Data management apparatus and data management method

Similar Documents

Publication Publication Date Title
EP1353336B1 (en) Karaoke reproducing apparatus
JP3239672B2 (en) Automatic performance device
JP3551086B2 (en) Musical sound synthesizer and method
JP3846376B2 (en) Automatic performance device, automatic performance program, and automatic performance data recording medium
JPH08241229A (en) File management device
US20080060501A1 (en) Music data processing apparatus and method
JPH11224086A (en) Playing device, and storage medium recorded with registration data
JP3610841B2 (en) Automatic performance apparatus and method
JP3546739B2 (en) Automatic performance device and recording medium
JP3849528B2 (en) Electronic music apparatus and program
JP3491553B2 (en) Performance data processing apparatus and recording medium therefor
JP3180643B2 (en) Registration / deletion / setting change method of music data of communication karaoke device
JP4134870B2 (en) Effect setting device and effect setting program
JP2641851B2 (en) Automatic performance device
JP3487011B2 (en) Data writing device and data display device
JP2011197664A (en) Music file reproduction device and system
JP2522677Y2 (en) Karaoke selection card and karaoke device
JP3518392B2 (en) Performance information setting device and computer-readable recording medium storing performance information setting program
JPH03196191A (en) Performance information processor
JP3000438U (en) Karaoke equipment
JPH0432717Y2 (en)
JP4147407B2 (en) Computer program for musical expression and musical expression apparatus
JP3788396B2 (en) Electronic music apparatus and computer program for electronic music apparatus
JP2003167592A (en) Karaoke recording apparatus
JPH0695675A (en) Musical sound generation unit