JP2008293086A - File or folder management device - Google Patents

File or folder management device Download PDF

Info

Publication number
JP2008293086A
JP2008293086A JP2007135332A JP2007135332A JP2008293086A JP 2008293086 A JP2008293086 A JP 2008293086A JP 2007135332 A JP2007135332 A JP 2007135332A JP 2007135332 A JP2007135332 A JP 2007135332A JP 2008293086 A JP2008293086 A JP 2008293086A
Authority
JP
Japan
Prior art keywords
file
file name
name
folder
display
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
JP2007135332A
Other languages
Japanese (ja)
Other versions
JP5034674B2 (en
Inventor
Takahisa Yanagawa
貴央 柳川
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 JP2007135332A priority Critical patent/JP5034674B2/en
Priority to US12/125,049 priority patent/US8212819B2/en
Publication of JP2008293086A publication Critical patent/JP2008293086A/en
Priority to US13/174,819 priority patent/US8797326B2/en
Application granted granted Critical
Publication of JP5034674B2 publication Critical patent/JP5034674B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily identify a file or a folder having a name automatically assigned by automatic assignment function from a number of files or folders. <P>SOLUTION: A plurality of files is stored in a storage device, and a unique name is assigned to each file. A file group stored in the storage device is sorted by names according to a sort rule defining an order relation of all characters usable to file name. When a new file is formed, a name having a character defined at the head or bottom of the order relation of all characters by the sort rule at the head is automatically assigned to the file to be newly created (step S2, S4 or S7). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、ファイル又はフォルダを新規作成するときに、その名前を自動付与する機能を具えたファイル又はフォルダ管理装置であって、特に電子楽器等の電子音楽装置において楽曲データのデータファイルを作成する際のファイル名自動付与機能に関する。   The present invention is a file or folder management device having a function of automatically assigning a name when a file or folder is newly created, and in particular, a music data data file is created in an electronic music device such as an electronic musical instrument. File name automatic assignment function.

従来から、電子楽器等の電子音楽装置において、新規にデータファイルが作成されるときに、該新規に作成するファイルに対してシステムが自動的にファイル名を付与する技術が知られている。例えば、下記特許文献1に記載の装置においては、オーディオデータを録音する際に、新規に作成されるファイルに対して所定の文字列(例えば「Song」等)と番号nから成るファイル名が自動付与され、更に、該自動付与されたファイル名を持つファイルに別のオーディオデータを重ねて録音(オーバーダビング)すると、元になったファイルのバックアップファイルが自動的に作成され、該バックアップファイルに対して元のファイル名の末尾に別の所定の文字列「Bn」を付与したファイル名が自動的に作成されていた。ここで、ファイル名に含まれる「n」は正の整数であって、オーディオデータを新規に録音する毎に、ファイルの作成順を表す番号を持つファイル名(「Song1」、「Song2」・・・)が自動的に作成され、また、ファイル名「Song1」のバックアップファイルについては、バックアップの世代順を示す番号を持つファイル名「Song1_B1」、「Song1_B2」・・・が自動付与されていた。このような命名方法によれば、自動付与されたファイル名の文字列部分に「Song」という語を置くことで、当該ファイルが楽曲に関するデータを持つファイルであるということを標示することができ、また、数字部分からファイルの作成順やバックアップの世代順序を直感的に理解できるというメリットがあった。
特開2004−157260号公報
Conventionally, when a new data file is created in an electronic music apparatus such as an electronic musical instrument, a technique is known in which the system automatically assigns a file name to the newly created file. For example, in the apparatus described in Patent Document 1 below, when recording audio data, a file name consisting of a predetermined character string (for example, “Song”) and a number n is automatically assigned to a newly created file. In addition, when another audio data is recorded on the file having the automatically assigned file name and recorded (overdubbing), a backup file of the original file is automatically created. Thus, a file name with another predetermined character string “Bn” added to the end of the original file name is automatically created. Here, “n” included in the file name is a positive integer, and each time audio data is newly recorded, a file name (“Song1”, “Song2”,... -) Was automatically created, and for the backup file with the file name “Song1”, file names “Song1_B1”, “Song1_B2”... Having numbers indicating the generation order of the backups were automatically assigned. According to such a naming method, by placing the word “Song” in the character string portion of the automatically assigned file name, it is possible to indicate that the file is a file having data relating to music, In addition, there is a merit that the creation order of files and the generation order of backup can be intuitively understood from the numerical part.
JP 2004-157260 A

電子音楽装置において、新規にファイルを作成するときの大まかな手順は、例えば次の通りである。先ず、新規ファイルの作成指示に応じて、自動的にファイル名が与えられた空のファイルが作成され、該空のファイルに録音すべきデータ(オーディオデータやMIDI演奏データなど)が書き込まれる。その後、ユーザは、データを書き込んだファイルのファイル名を自動付与された名前を、任意の別の名前に変更することができる。つまり、このような手順によれば、新規に作成されたファイルは、自動付与されたファイル名で一旦保存されることになる。   A rough procedure for creating a new file in the electronic music apparatus is, for example, as follows. First, in response to a new file creation instruction, an empty file having a file name is automatically created, and data (audio data, MIDI performance data, etc.) to be recorded is written in the empty file. Thereafter, the user can change the name automatically given the file name of the file into which the data has been written to any other name. That is, according to such a procedure, a newly created file is temporarily stored with an automatically assigned file name.

新規に作成されたファイルは電子音楽装置に備わる記憶媒体に保存される。記憶媒体に保存されたファイル群から特定のファイルを読み出すときには、当該フォルダに保存された全てのファイルを表示器にリスト表示して、該表示されたリストの中から所望のファイルをユーザに探し出させるのが一般的である。該リストにおいて各ファイルはファイル名順に整列(ソート)され、ユーザはファイルのソート順序(並び順)に従って目的のファイルを探し出すことができる。ファイルのソート順序は、ファイル名として使用可能な文字群(アルファベット文字、かな文字、漢字、数字、記号など)の順序関係を定義した所定のソートルールに従う。ソートルールは、例えば、アルファベット順、かな50音順、数字の大小関係などに準拠して、ファイル名として使用可能な文字群の順序関係を定義するものである。   The newly created file is stored in a storage medium provided in the electronic music device. When reading a specific file from a group of files stored on a storage medium, all the files stored in the folder are displayed in a list on the display unit, and the user can find a desired file from the displayed list. It is common to make it. In the list, the files are sorted (sorted) in the order of file names, and the user can search for the target file in accordance with the sort order (arrangement order) of the files. The file sorting order follows a predetermined sorting rule that defines the ordering relationship of character groups (alphabetic characters, kana characters, kanji characters, numbers, symbols, etc.) that can be used as file names. The sort rule defines the order relationship of character groups that can be used as file names in accordance with, for example, alphabetical order, kana-syllabary order, and numerical magnitude relationship.

前記リスト表示においては、ファイル名が自動付与されたファイルも、ユーザがファイル名を付けたファイルも区別することなく、所定のソートルールに従うソート順序で整列される。また、ファイル名の自動付与機能は、ソート順序を考慮したファイル名作成を行うものではなかった。このため、装置内に保存されたファイルが大量になると、大量のファイル群の中に、新規に作成されたファイル(自動付与されたファイル名を持つファイル)が埋もれてしまい、新規に作成されたファイルがリスト中のどこに位置するのか判り難くなる場合があった。すなわち、従来の技術では、装置内に保存されたファイルが大量になると、新規に作成されたファイルを探し出すのが困難になるという不都合があった。   In the list display, files that are automatically assigned file names and files that are given file names by the user are not distinguished, and are sorted in a sort order according to a predetermined sort rule. The automatic file name assignment function does not create a file name in consideration of the sort order. For this reason, when a large number of files are stored in the device, a newly created file (a file with an automatically assigned file name) is buried in a large number of files, and a newly created file is created. Sometimes it was difficult to figure out where the file was in the list. That is, according to the conventional technique, when a large number of files are stored in the apparatus, it is difficult to find a newly created file.

この発明は、上記の点に鑑みてなされたもので、多数のファイル又はフォルダのなかから、自動付与機能によって自動付与された名前を持つファイル又はフォルダを容易に識別できるようにしたファイル又はフォルダ管理装置を提供することを目的とする。   The present invention has been made in view of the above points, and it is possible to easily manage a file or a folder having a name automatically given by an automatic assignment function from a number of files or folders. An object is to provide an apparatus.

この発明に係るファイル又はフォルダ管理装置は、データ集合体を格納するためのファイルと、該ファイルを複数個まとめて保管するためのフォルダとをそれぞれ1又は複数記憶し、前記ファイル及び前記フォルダの各々には固有の名前が与えられている記憶手段と、前記ファイル及び前記フォルダの名前に使用可能な全ての文字の順序関係を定義したソートルールに従い、前記記憶手段に記憶されたファイル群又はフォルダ群を名前順でソートするソート手段と、前記記憶手段にファイル又はフォルダを新規に作成する作成手段と、前記作成手段により新規に作成したファイル又はフォルダに対して、前記ソートルールによって前記全ての文字の順序関係の先頭又は末尾に定義された文字を先頭に持つ名前を、自動的に付与する付与手段とを具えることを特徴とする。   The file or folder management device according to the present invention stores one or a plurality of files for storing a data aggregate and a folder for storing a plurality of the files, and each of the files and folders Is a storage means that is given a unique name, and a file group or folder group that is stored in the storage means in accordance with a sorting rule that defines the order relationship of all characters that can be used in the names of the files and folders. Sorting means for sorting the files in the order of names, creating means for creating a new file or folder in the storage means, and for the file or folder newly created by the creating means, the sorting rule An assigning means for automatically assigning a name beginning with a character defined at the beginning or end of the order relation; Characterized in that it comprises.

これによれば、作成手段により、記憶手段にファイル又はフォルダを新規に作成し、付与手段により、新規作成したファイル又はフォルダに対して、ファイル及びフォルダの名前に使用可能な全ての文字の順序関係を定義したソートルールによって該全ての文字の順序関係の先頭又は末尾に定義された文字を先頭に持つ名前を自動的に付与する。よって、ソート手段によりファイル群又はフォルダ群を名前順でソートしたときには、前記新規作成したファイル又はフォルダはソート順序の先頭又は末尾に位置する。   According to this, the creation means creates a new file or folder in the storage means, and the assigning means creates a new file or folder in relation to the order of all characters that can be used in the file and folder names. The name having the character defined at the beginning or the end of the order relation of all the characters is automatically given by the sorting rule that defines Therefore, when the file group or folder group is sorted in the name order by the sorting means, the newly created file or folder is positioned at the head or the tail of the sort order.

また、この発明は、装置の発明として構成し、実施することができるのみならず、方法の発明として構成し実施することができる。また、本発明は、コンピュータまたはDSP等のプロセッサのプログラムの形態で実施することができるし、そのようなプログラムを記憶した記憶媒体の形態で実施することもできる。   Further, the present invention can be configured and implemented not only as an apparatus invention but also as a method invention. Further, the present invention can be implemented in the form of a program of a processor such as a computer or a DSP, or can be implemented in the form of a storage medium storing such a program.

この発明によれば、新規に作成したファイル又はフォルダに対して、ファイル及びフォルダの名前に使用可能な全ての文字の順序関係を定義したソートルールによって該全ての文字の順序関係の先頭又は末尾に定義された文字を先頭に持つ名前を自動的に付与することで、当該新規作成したファイル又はフォルダは、ファイル群又はフォルダ群を名前順でソートしたときにソート順序の先頭又は末尾に位置する。従って、付与手段によって自動付与されたファイル名を持つファイル又はフォルダは、ファイル群又はフォルダ群をソートしたときに、その他のファイル名群から明確に区別される。よって、記憶手段に大量のファイル又はフォルダが記憶されている場合であっても、該大量のファイル又はフォルダの中から新規作成されたファイル又はフォルダ、つまり付与手段によって自動付与されたファイル名を持つファイル又はフォルダを容易に探し出すことができるという優れた効果を奏する。   According to the present invention, for a newly created file or folder, the sorting rule that defines the order relation of all characters that can be used in the names of the files and folders is placed at the beginning or end of the order relation of all the characters. By automatically assigning a name having a defined character at the beginning, the newly created file or folder is positioned at the beginning or end of the sort order when the file group or folder group is sorted in name order. Therefore, a file or folder having a file name automatically assigned by the assigning means is clearly distinguished from other file name groups when the file group or folder group is sorted. Therefore, even when a large number of files or folders are stored in the storage means, a file or folder newly created from the large number of files or folders, that is, a file name automatically assigned by the assigning means. There is an excellent effect that a file or a folder can be easily found.

以下、この発明の一実施例について図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1は、この発明の一実施例に係るファイル又はフォルダ管理装置を適用した電子音楽装置の電気的ハードウェア構成例を示すブロック図である。電子音楽装置としては、例えば、電子オルガンや、電子ピアノや、シンセサイザー等の電子楽器を適用することができる。   FIG. 1 is a block diagram showing an example of an electrical hardware configuration of an electronic music apparatus to which a file or folder management apparatus according to an embodiment of the present invention is applied. As the electronic music device, for example, an electronic organ, an electronic piano, an electronic musical instrument such as a synthesizer can be applied.

図1に示す通り、電子音楽装置は、CPU1、ROM2及びRAM3からなるマイクロコンピュータと、演奏入力(発音指示)操作を行うための演奏操作子4と、該演奏操作子4で行われた演奏入力操作を検出するための演奏検出回路5と、各種設定を行うための設定操作子6と、該設定操作子6の操作を検出するための操作検出回路7と、各種情報を表示するためのディスプレイ8と、該ディスプレイ8の表示を制御するための表示制御回路9と、記憶装置(記憶手段)10と、楽音信号を電子的に生成する音源部11と、音源部11で生成した楽音信号を発音するためのサウンドシステム12と、通信インターフェース13とを含んで構成されており、各部はデータ及びアドレスバス1Bを介して相互に接続される。   As shown in FIG. 1, the electronic music apparatus includes a microcomputer including a CPU 1, a ROM 2 and a RAM 3, a performance operator 4 for performing a performance input (pronunciation instruction) operation, and a performance input performed by the performance operator 4. A performance detection circuit 5 for detecting an operation, a setting operator 6 for making various settings, an operation detection circuit 7 for detecting an operation of the setting operator 6, and a display for displaying various information 8, a display control circuit 9 for controlling the display of the display 8, a storage device (storage means) 10, a tone generator unit 11 that electronically generates a tone signal, and a tone signal generated by the tone generator unit 11 A sound system 12 for sound generation and a communication interface 13 are included, and each unit is connected to each other via a data and address bus 1B.

CPU1は、フラッシュメモリ2又はRAM3に記憶された制御プログラムを実行し、電子音楽装置の全体的な動作を制御する。この実施例において、後述する図3に示すファイル新規作成処理及び図5に示すファイルリスト表示処理は、CPU1が実行するソフトウェアプログラムによって構成及び実施される。   The CPU 1 executes a control program stored in the flash memory 2 or the RAM 3 and controls the overall operation of the electronic music device. In this embodiment, the new file creation process shown in FIG. 3 and the file list display process shown in FIG. 5 described later are configured and implemented by a software program executed by the CPU 1.

演奏操作子4は、ユーザが演奏操作を行うための操作子であればどのようなタイプの操作子であってもよく、例えば、それぞれ楽音の音高が割り当てられた複数の鍵からなる鍵盤部を適用することができる。ユーザは、演奏操作子4を用いて演奏操作を行うことで、該演奏操作に応じた楽音をサウンドシステム12から発音させること、或いは、該演奏操作の内容を1曲分の楽曲データのデータファイルとして記憶装置10に記憶させることができる。設定操作子6は、電子音楽装置の本体パネル上に配置された各種設定を行うためのスイッチ群であって、音色等のパラメータや各種機能を選択するスイッチや、ディスプレイ8上のGUI部品を操作するための操作子等が含まれる。   The performance operator 4 may be any type of operator as long as the user performs a performance operation. For example, a keyboard unit composed of a plurality of keys each assigned a pitch of a musical tone. Can be applied. The user performs a performance operation using the performance operation element 4 to generate a musical sound corresponding to the performance operation from the sound system 12, or the contents of the performance operation are stored in a data file of music data for one song. Can be stored in the storage device 10. The setting operator 6 is a group of switches arranged on the main body panel of the electronic music apparatus for performing various settings, and operates switches for selecting parameters such as timbre and various functions and GUI parts on the display 8. For example.

ディスプレイ8は、電子音楽装置の本体パネル上に配置された液晶表示パネル(LCD)によって構成される。ディスプレイ8には、各種制御画面が表示され、該各種制御画面上には、各種操作をユーザから受け付けるGUI部品(操作子画像など)や各種文字情報等が表示される。なお、ディスプレイ8に表示されたGUI部品の操作は、設定操作子6を用いて行うことができてよい。或いは、ディスプレイ8はユーザが画面上の表示に接触することで入力操作を行う機構を具えたタッチパネル式の表示器で構成されてもよい。このディスプレイ8は、詳しくは後述する通り、ファイル名リストを表示するために利用される。ここで、ディスプレイ8は、電子音楽装置の本体パネル上に配置されることから、その画面サイズを可及的小型化することが要求されること、つまり、情報を表示可能な領域が物理的に制約されていることに留意されたい。   The display 8 is constituted by a liquid crystal display panel (LCD) disposed on the main body panel of the electronic music apparatus. Various kinds of control screens are displayed on the display 8, and GUI parts (such as operation element images) for accepting various operations from the user, various character information, and the like are displayed on the various control screens. The operation of the GUI component displayed on the display 8 may be performed using the setting operator 6. Or the display 8 may be comprised with the touchscreen type display provided with the mechanism which performs input operation by a user touching the display on a screen. The display 8 is used to display a file name list as will be described in detail later. Here, since the display 8 is arranged on the main body panel of the electronic music apparatus, it is required to reduce the screen size as much as possible, that is, the area where information can be displayed is physically limited. Note that it is constrained.

記憶装置10は、例えば、ハードディスク、FD(フレキシブルディスク又はフロッピーディスク(商標))、CD(コンパクトディスク)、DVD(デジタル多目的ディスク)、フラッシュメモリなどの半導体メモリ等の従来から知られる適宜の記憶媒体とその駆動装置で構成される。該記憶媒体は、電子音楽装置の本体に対して着脱可能であってもよいし、電子音楽装置に内蔵されていてもよい。   The storage device 10 is, for example, a conventionally known appropriate storage medium such as a semiconductor memory such as a hard disk, FD (flexible disk or floppy disk (trademark)), CD (compact disk), DVD (digital multipurpose disk), flash memory, or the like. And its driving device. The storage medium may be removable from the main body of the electronic music device, or may be built in the electronic music device.

記憶装置10には、楽曲データを格納したデータファイルが複数曲分記憶される。1曲分の楽曲データは、例えばMIDI演奏データ等適宜のフォーマットからなる演奏データの集合体である。ユーザは、記憶装置10に記憶された複数のファイルをフォルダ(ディレクトリ)に適宜分類して保管することができる。フォルダは記憶装置10内に複数個作成されうる。記憶装置10内のファイル及びフォルダのそれぞれには、固有の名前が付与される。ファイル及びフォルダの名前は、ユーザが任意の文字列からなる名前を付けることもできるし、後述の自動付与機能によってシステムが自動的に所定の文字列からなる名前をつけることもできる。また、ファイルやフォルダの新規作成、保存場所の移動、コピー、或いは、削除等の操作をユーザが行うことができるのは、周知の通りである。   The storage device 10 stores a plurality of music files that store music data. The music data for one song is a collection of performance data having an appropriate format such as MIDI performance data. The user can appropriately classify and store a plurality of files stored in the storage device 10 into folders (directories). A plurality of folders can be created in the storage device 10. Each file and folder in the storage device 10 is given a unique name. The name of the file and folder can be given by the user with an arbitrary character string, or the system can automatically give a name with a predetermined character string by the automatic assignment function described later. As is well known, a user can perform operations such as creating a new file or folder, moving a storage location, copying, or deleting.

音源部11は、楽音信号を生成する音源回路と該音源回路で生成した楽音信号に対して効果付与する効果付与回路を含んで構成され、ユーザが演奏操作子4を用いて行った演奏入力や、記憶装置10に記憶された楽曲データのファイルのシーケンサ再生(自動演奏)によって発生する演奏データ(MIDI演奏データ)に基づき楽音信号を生成する。音源部11が生成した楽音信号は、アンプ及びスピーカを含むサウンドシステム12から発音される。   The tone generator unit 11 includes a tone generator circuit that generates a musical tone signal and an effect applying circuit that imparts an effect to the musical tone signal generated by the tone generator circuit. Then, a musical sound signal is generated based on performance data (MIDI performance data) generated by sequencer reproduction (automatic performance) of a music data file stored in the storage device 10. The musical sound signal generated by the sound source unit 11 is generated from a sound system 12 including an amplifier and a speaker.

また、電子音楽装置には、外部機器との間でデータを通信するための通信インターフェース(通信I/F)13が具備されてよい。通信I/F13としては、外部のMIDI機器とMIDIデータを通信するためのMIDIインターフェースなどの音楽専用有線I/F、USBやIEEE1394等の汎用近距離有線I/F、Ethernet(商標)などの汎用ネットワークI/F、或いは、無線LANやBluetooth(商標)などの汎用近距離無線I/Fなどの1又は複数のインターフェースが登載されうる。電子音楽装置は、通信I/F13を介して外部記憶装置(例えばUSBメモリなど)を接続し、該接続された外部記憶装置にファイルを保存したり、該外部記憶装置に保存されたファイルを読み出したりすることもできる。   In addition, the electronic music apparatus may include a communication interface (communication I / F) 13 for communicating data with an external device. As the communication I / F 13, a music-dedicated wired I / F such as a MIDI interface for communicating MIDI data with an external MIDI device, a general-purpose short-distance wired I / F such as USB and IEEE 1394, and a general-purpose such as Ethernet (trademark) One or a plurality of interfaces such as a network I / F or a general-purpose short-range wireless I / F such as a wireless LAN or Bluetooth (trademark) can be mounted. The electronic music apparatus connects an external storage device (for example, a USB memory) via the communication I / F 13, and saves the file to the connected external storage device or reads the file stored in the external storage device You can also.

上記構成から成る電子音楽装置は、記憶装置10に記憶するファイルが新規に作成されるときに、当該新規に作成されるファイルに対して、所定の文字列からなるファイル名を自動的に付与する機能を具備している。新規に作成されるファイルに対してファイル名を自動付与する機能自体は従来から知られている。詳しくは後述する通り、この発明は、自動付与機能によって自動付与されるファイル名の名づけ方に大きな特徴がある。なお、ファイルの新規作成処理の詳しい動作は、後述の図3の説明を参照されたい。   The electronic music apparatus having the above configuration automatically assigns a file name consisting of a predetermined character string to a newly created file when a file to be stored in the storage device 10 is newly created. It has a function. A function itself for automatically assigning a file name to a newly created file has been conventionally known. As will be described in detail later, the present invention has a great feature in naming file names that are automatically assigned by the automatic assignment function. For the detailed operation of the new file creation process, refer to the description of FIG.

この実施例において、ファイル名自動付与機能により新規ファイルに自動付与されるファイル名は、図2(a)に示すように、先頭部分に所定記号「!」を持ち、これに所定の文字列「song」が続き、末尾に3桁の数字列「nnn」が付加された文字列により構成される。なお「n」は正の整数を表す。ファイル名の先頭に付与された感嘆符記号「!」は、この実施例で適用する所定のソートルールによって、ファイル名として使用可能な全ての文字群の順序関係(昇順でのソート順序)の末尾に定義された文字である。従って、先頭部分「!」と、文字列「song」と、3桁の数字列「nnn」からなるファイル名は、前記所定のソートルールに従って複数のファイル名を昇順でソートしたときに、ソートされたファイル名の列の末尾に位置するものである。   In this embodiment, as shown in FIG. 2A, the file name automatically given to the new file by the file name auto-assignment function has a predetermined symbol “!” At the beginning, and a predetermined character string “!” “song” followed by a character string with a three-digit number string “nnn” appended to the end. “N” represents a positive integer. The exclamation point symbol “!” Added to the beginning of the file name is the end of the order relationship (sort order in ascending order) of all character groups that can be used as the file name according to the predetermined sorting rule applied in this embodiment. Is the character defined in. Therefore, the file name consisting of the head part “!”, The character string “song”, and the three-digit number string “nnn” is sorted when a plurality of file names are sorted in ascending order according to the predetermined sorting rule. It is located at the end of the file name column.

図2(b)は、この実施例で適用するソートルールを説明するための図であって、この実施例のソートルールに従って名前順にソートされた一群のファイル名であって、図2(b)において、符号14〜17で示す各文字列がファイル名の一例であって、各ファイル名は昇順でソート(整列)されている。記憶装置10内のファイル(又はフォルダ)を名前順でソート(整列)するソート機能は、CPU1が実行する制御プログラムによって記憶装置10を制御する機能の1つとして提供されており、ソート機能自体は従来から知られている。ソート機能の処理に使用するソートルールは、1つのフォルダ内のファイル群のファイル名を名前順にソート(整列)するために、ファイル名として使用可能な全ての文字(アルファベット文字、かな文字、漢字、数字、記号など)の順序関係を定義したルールである。電子音楽装置においては、例えばソートルールを記述したテーブルがROM2に記憶され、該テーブルを参照して、当該ソートルールに従うソート処理が実行される。このソート機能が請求項1に記載のソート手段に相当する。なお、「昇順」とは、ソートルールによって上位に定義された文字から同下位に定義された文字の順にファイル名を並べることを指し、例えば、数字であれば小さい値(1)から大きい値の順に、また、かな文字であれば50音順に、また、アルファベット文字であれば、AからZの順に並べる順序のことである。逆に、下位に定義された文字から上位に定義された文字の順にファイル名を並べることを「降順」という。   FIG. 2B is a diagram for explaining the sorting rule applied in this embodiment, and is a group of file names sorted in order of name according to the sorting rule of this embodiment, and FIG. Each character string indicated by reference numerals 14 to 17 is an example of a file name, and each file name is sorted in ascending order. The sort function for sorting files (or folders) in the storage device 10 in the order of names is provided as one of the functions for controlling the storage device 10 by a control program executed by the CPU 1. Conventionally known. The sort rule used for the processing of the sort function is to sort all file names in a folder in the order of their names (alphabetic characters, kana characters, kanji characters, This is a rule that defines the order relationship between numbers and symbols. In the electronic music apparatus, for example, a table describing a sort rule is stored in the ROM 2, and a sort process according to the sort rule is executed with reference to the table. This sorting function corresponds to the sorting means described in claim 1. Note that “ascending order” means that file names are arranged in the order of the characters defined in the higher order by the sorting rule and the characters defined in the lower order. This is the order in which they are arranged in the order of 50 tones for kana characters and A to Z for alphabetic characters. Conversely, arranging the file names in the order of the characters defined in the lower order to the characters defined in the upper order is called “descending order”.

この実施例のソートルールにおいて、図2(b)に示す通り、ファイル名は、その先頭の文字によって、「第1群のグループ(符号14a,14b)」、「第2群のグループ(符号15a〜15d)」、「第3群のグループ(符号16a〜16d)」及び「第4群のグループ(符号17a〜17c)」の4つのグループに、説明の便宜上、大別される。第1群のグループがソート順序の上位グループで、以下、昇順に、第2群、第3群及び第4群のグループと続く。   In the sorting rule of this embodiment, as shown in FIG. 2 (b), the file name is represented by “first group (reference numerals 14a, 14b)” and “second group (reference numeral 15a) depending on the first character. ˜15d) ”,“ third group (reference numerals 16a to 16d) ”, and“ fourth group (reference numerals 17a to 17c) ”. The group in the first group is the upper group in the sort order, and is followed by the groups in the second group, the third group, and the fourth group in ascending order.

「第1群」のグループには、所定の第1種の半角記号群に該当する記号で始まるファイル名14a,14bが分類されている。この実施例において、前記第1種の半角記号群には、半角のアンダースコア記号「_」や半角スペース記号等が含まれるものとし、図2(b)の例では、「_SSS」など半角アンダースコア記号「_」で始まるファイル名が「第1群」のグループに該当する。また、「第2群」のグループには、例えば「abc001」,「abc002」等のように、半角英数文字で始まるファイル名が15a〜15d分類される。また、「第3群」のグループには、例えば、「あいうえおかきくけこさしすせそ001.mid」等のような全角文字で始まるファイル名16a〜16dが分類される。   In the “first group” group, file names 14a and 14b beginning with a symbol corresponding to a predetermined first type of half-width symbol group are classified. In this embodiment, the first type of half-width symbol group includes a half-width underscore symbol “_”, a half-width space symbol, and the like. In the example of FIG. 2B, a half-width underscore such as “_SSS” is used. File names beginning with the score symbol “_” correspond to the “first group” group. In the “second group”, file names starting with half-width alphanumeric characters such as “abc001”, “abc002”, and the like are classified into 15a to 15d. The “third group” group includes file names 16a to 16d that start with double-byte characters, such as “Aiueokaki Kakesashi Soseso 001.mid”.

「第4群」のグループは、昇順でのソート順序の最後部のグループであって、感嘆符記号「!」を含む第2の半角記号群がこのグループに分類される。感嘆符記号「!」は、「第4群」のグループの中でも昇順でのソート順序の末尾に定義された文字である。従って、感嘆符記号「!」を先頭に持つファイル名は、当該ソートルールに従って複数のファイル名を昇順でソートしたときに、ソートされたファイル名の列の末尾に位置することになる。なお、この実施例に適用するソートルールにおいて重要なことは、感嘆符記号「!」が昇順でのソート順序の末尾に定義されているという一点である。従って、この他のファイル名として使用可能な文字の順序関係については、例えば一般的なコンピュータに採用されている適宜の文字コードの定義に準拠して定めてよい。   The “fourth group” group is the last group in the ascending order, and the second half-width symbol group including the exclamation mark symbol “!” Is classified into this group. The exclamation mark symbol “!” Is a character defined at the end of the ascending sort order in the “fourth group” group. Therefore, the file name having the exclamation mark symbol “!” At the head is positioned at the end of the sorted file name column when a plurality of file names are sorted in ascending order according to the sorting rule. An important point in the sort rule applied to this embodiment is that the exclamation mark symbol “!” Is defined at the end of the sort order in ascending order. Therefore, the order relation of characters that can be used as other file names may be determined in accordance with the definition of an appropriate character code adopted in a general computer, for example.

従って、図2(b)に示す通り、ファイル名自動付与機能によって自動付与されるファイル名(所定記号「!」と、文字列「song」と3桁の数字列「nnn」から構成されるファイル名)は、記憶装置10のファイル群を名前順で昇順にソートしたときに、必ずファイル群の末尾(あるいは末尾付近)に位置することになる。つまり、ファイル名自動付与機能によって自動付与されたファイル名は、ソートされたときに、その位置によって他のファイル群から明確に区別される。従って、ユーザは、多数のファイル名の中から、新規に作成されたファイルに該当するファイル名を、容易に探し出すことができるようになる。   Therefore, as shown in FIG. 2 (b), a file name automatically assigned by the file name automatic assignment function (a file composed of a predetermined symbol “!”, A character string “song”, and a three-digit number string “nnn”). Name) is always located at the end (or near the end) of the file group when the file group of the storage device 10 is sorted in ascending order by name. That is, the file names automatically assigned by the file name automatic assignment function are clearly distinguished from other file groups by their positions when sorted. Therefore, the user can easily find a file name corresponding to a newly created file from among a large number of file names.

図2(b)において、「第4群」のグループに該当するファイル名として、ファイル名自動付与機能により自動付与されたファイル名「!song001」、「!song002」及び「!song003」が例示されている。自動付与された各ファイル名17a〜17cは、先頭の感嘆符記号「!」と文字列部分「song」は互いに共通しており、文字列部分「song」により、これらファイルが楽曲データを格納したファイルであることをユーザに標示できる。そして、各ファイル名の末尾の3桁の数字列部分「001」,「002」及び「003」により各ファイル名を識別できる。この数字列部分には、基本的には、前回作成されたファイルの数字列部分の数値(番号)の1を加算した連続番号が付与される。つまり、新規にファイルが作成される毎に、ファイル作成順に対応する連続番号を持つファイル名が当該新規ファイルに付与される。従って、昇順でソートしたときのファイル名の並び順を、ファイル名自動付与機能により自動付与されたファイル名17a〜17cに限って見てみると、一番最近に新規作成されたファイルのファイル名17cが末尾に位置することになる。よって、新規に作成されたファイルは、基本的には、昇順でソートされたファイル名群中の末尾に追加されてゆくことになる。従って、ソートされたファイル群から一番最近に新規作成されたファイルを探し出すのが容易である。   In FIG. 2B, the file names “! Song001”, “! Song002”, and “! Song003” automatically given by the file name auto-assignment function are illustrated as file names corresponding to the “fourth group” group. ing. In each of the automatically assigned file names 17a to 17c, the exclamation mark symbol "!" And the character string portion "song" are common to each other, and these files store music data by the character string portion "song". Can indicate to the user that it is a file. Each file name can be identified by the last three digits of the string name “001”, “002”, and “003”. Basically, a serial number obtained by adding 1 of the numerical value (number) of the numeric string portion of the previously created file is assigned to the numeric string portion. That is, each time a new file is created, a file name having a serial number corresponding to the file creation order is assigned to the new file. Therefore, when the order of file names when sorted in ascending order is limited to the file names 17a to 17c automatically assigned by the file name automatic assigning function, the file name of the most recently created file is shown. 17c is located at the end. Therefore, a newly created file is basically added to the end of the file name group sorted in ascending order. Therefore, it is easy to find the most recently newly created file from the sorted file group.

なお、末尾に「3桁の数字列」を持つファイル名は自動付与されたファイル名に限らない。例えば、同一曲の別テイク(別バージョン)の各楽曲データファイルのファイル名に対して、このような「3桁の数字列」の番号付けをすることが多々ある。例えば、図2(b)において、「abc001」なるファイル名15aと同一曲の演奏を別テイクで録音したときに、ユーザは、該別テイクの演奏を記録したファイルに「abc002」なるファイル名15bを付けるだろう。この場合、先頭のアルファベット文字列部分(「abc」)は、多くの場合、曲名を示す語であり、末尾の番号部分によって個々のファイルの違いを区別できる。従って、このようなファイル名においては、先頭の文字列部分と末尾の数字列部分の二つの要素が、個々のファイルを識別するための主要な要素として機能する。また、図2(b)において、ファイル名16a〜16dは、文字列の末尾に拡張子が付与されたファイル名の一例を示している。文字列の末尾に付与された拡張子によって当該ファイルの種類(ファイルフォーマット)を識別することができる。従って、ファイル名中の拡張子も、個々のファイルを識別する主要な要素として機能するだろう。   Note that a file name having a “three-digit number string” at the end is not limited to an automatically assigned file name. For example, such a “three-digit number string” is often numbered for the file names of music data files of different takes (different versions) of the same music. For example, in FIG. 2B, when the performance of the same song as the file name 15a “abc001” is recorded in another take, the user adds the file name 15b “abc002” to the file in which the performance of the other take is recorded. Will be attached. In this case, the first alphabet character string portion (“abc”) is often a word indicating a song title, and the difference between individual files can be distinguished by the number portion at the end. Therefore, in such a file name, the two elements of the leading character string portion and the trailing numeric string portion function as main elements for identifying individual files. In FIG. 2B, file names 16a to 16d are examples of file names with an extension added to the end of the character string. The file type (file format) can be identified by the extension given to the end of the character string. Thus, the extension in the file name will also serve as the main element that identifies individual files.

図3はファイル新規作成処理の手順の一例を示すフローチャートである。図3を参照して、新規ファイル作成のときに、ファイル名自動付与機能によってファイル名を自動付与する動作の一例について説明する。このファイル新規作成処理は、例えば、ユーザが演奏操作子4を用いて行うマニュアル演奏を録音するときに起動する。つまり、マニュアル演奏によって発生する演奏データを格納するために新規ファイルを作成する。録音開始指示は、例えば、電子音楽装置の本体パネル上の設定操作子6やディスプレイ8に表示されたGUIオブジェクトを用いて行うことができてよい。なお、以下に述べる新規にファイルを作成する処理が開始する前に、新規にファイルを作成する先となる1つのフォルダが特定される。   FIG. 3 is a flowchart showing an example of a procedure for new file creation processing. With reference to FIG. 3, an example of an operation of automatically assigning a file name by the automatic file name assignment function when creating a new file will be described. This new file creation process is started, for example, when a user records a manual performance using the performance operation element 4. That is, a new file is created to store performance data generated by manual performance. The recording start instruction may be performed using, for example, the setting operation element 6 on the main body panel of the electronic music apparatus or the GUI object displayed on the display 8. In addition, before the process for creating a new file described below is started, one folder to which a new file is to be created is specified.

ステップS1において、新規にファイルを作成するフォルダ内に、自動付与機能によって付与されたファイル名を持つファイルが存在するかどうかチェックする。この実施例において、自動付与機能によって付与されたファイル名は、前述の通り、感嘆符記号「!」と文字列「song」と「3桁の数字列」とからなるファイル名である。当該フォルダ内に前記自動付与機能によって付与されたファイル名に該当するファイル名を有するファイルが存在しない場合は(ステップS1のNO)、感嘆符記号「!」と、所定文字列「song」と、3桁の数字列の初期値「001」とからなるファイル名「!song001」を付与したファイルを新規に作成する(ステップS2)。   In step S1, it is checked whether a file having a file name assigned by the automatic assignment function exists in a folder in which a new file is created. In this embodiment, the file name assigned by the automatic assignment function is a file name composed of the exclamation mark symbol “!”, The character string “song”, and the “three-digit number string” as described above. If there is no file having a file name corresponding to the file name assigned by the automatic assignment function in the folder (NO in step S1), an exclamation mark symbol “!”, A predetermined character string “song”, A new file with a file name “! Song001” consisting of an initial value “001” of a three-digit number string is created (step S2).

一方、当該フォルダ内に自動付与機能によって付与されたファイル名に該当するファイル名を有するファイルが既に存在する場合は(ステップS1のYES)、既存の自動付与機能によって付与されたファイル名の「3桁の数字列」部分を全てチェックして、該「3桁の数字列部分」が限界値「999」に達しているものがあるかどうか調べる(ステップS3)。既存の「3桁の数字列部分」のうちで最大の値が「999」に達していなければ(ステップS3のNO)、新規に作成するファイルに自動付与するファイル名の「3桁の数字列」部分には、既存の前記数字列部分の中で最大の番号(最後尾の番号)の数値に1を加算した値、つまり、該最大の番号に連続する番号を使用する(ステップS4)。これにより、フォルダ内の自動付与機能によって付与されたファイル名の数字列部分が「999」に達するまでは、「!song001」、「!song002」、「!song003」・・・という具合に、新規にファイルが作成される毎に、ファイル作成順に対応する連続番号を持つファイル名(「!song“nnn”」)が自動的に付与されることになる。   On the other hand, if a file having a file name corresponding to the file name assigned by the automatic assignment function already exists in the folder (YES in step S1), “3” of the file name assigned by the existing automatic assignment function. All of the "digit string" part is checked to check whether there is any "three-digit numeral string part" that has reached the limit value "999" (step S3). If the maximum value of the existing “three-digit number sequence portion” has not reached “999” (NO in step S3), the “three-digit number sequence” of the file name automatically given to the newly created file "Is a value obtained by adding 1 to the numerical value of the maximum number (the last number) in the existing number string portion, that is, a number consecutive to the maximum number (step S4). As a result, until the number string portion of the file name given by the automatic assignment function in the folder reaches “999”, “! Song001”, “! Song002”, “! Song003”, etc. Each time a file is created, a file name (“! Song“ nnn ””) having a serial number corresponding to the file creation order is automatically given.

当該フォルダにおいて、自動付与機能によって付与されたファイル名の「3桁の数字列」が既に限界値「999」に達している場合(ステップS3のYES)は、既存の「3桁の数字列」をチェックして、3桁の数字列の初期値「001」〜限界値「999」のうちで未使用の番号(番号の空き)がないかどうか調べる(ステップS4)。未使用の番号(番号の空き)が発生するのは、自動付与されたファイル名をユーザが別のファイル名に変更したり、あるいは、当該ファイルを削除したりした場合である。未使用の番号があれば(ステップS6のYES)、新規に作成するファイルに自動付与するファイル名の「3桁の数字列」部分には、該未使用の番号(空き番号)の値を使用する(ステップS7)。これにより、フォルダ内の自動付与機能によって付与されたファイル名の数字列部分が「999」に達した後でも、新規に作成されるファイルに対して文字列「!song“nnn”」からなるファイル名を付与することができる。なお、未使用の番号が複数あった場合には、その中で小さい番号から順に使用するものとする。   In the folder, when the “3-digit number string” of the file name given by the automatic assignment function has already reached the limit value “999” (YES in step S3), the existing “3-digit number string” Is checked to see if there is an unused number (empty number) among the initial value “001” to the limit value “999” of the 3-digit number string (step S4). An unused number (empty number) occurs when the user changes the automatically assigned file name to another file name or deletes the file. If there is an unused number (YES in step S6), the unused number (empty number) value is used for the "three-digit number string" portion of the file name automatically assigned to the newly created file. (Step S7). As a result, even after the number string portion of the file name given by the automatic assignment function in the folder reaches “999”, the file consisting of the character string “! Song“ nnn ”” is newly created. Name can be given. In addition, when there are a plurality of unused numbers, they are used in order from the smallest number.

一方、既存の「3桁の数字列」に初期値「001」〜限界値「999」の全てが使用されており、空きがない場合には(ステップS6のNO)、新規作成ファイルに対してユニークなファイル名を自動付与することができないので、新規ファイルの作成をせずに処理を終了する。このとき、「新規ファイルを作成できない」旨をユーザに警告する表示をディスプレイ8に表示するとよい。   On the other hand, when all of the initial value “001” to the limit value “999” are used for the existing “three-digit number string” and there is no space (NO in step S6), the newly created file is Since a unique file name cannot be automatically assigned, the process ends without creating a new file. At this time, it is preferable to display on the display 8 a warning to the user that “a new file cannot be created”.

上記ステップS2又はS4又はS7により、前記図2(a)に示すような感嘆符記号「!」と、文字列「song」と、3桁の数字列「nnn」からなるファイル名を有するファイルが新規に作成される。なお、この時点では、新規に作成されたファイルにはデータが空である。ユーザは、この新規に作成されたファイルに対して任意の編集を行うことができる(ステップS8)。この実施例では、前記「任意の編集」は、ユーザが演奏操作子4を用いて行うマニュアル演奏を表すMIDI演奏データを当該新規に作成したファイルに書き込む処理である。これにより、ユーザが演奏操作子4を用いて行うマニュアル演奏を表すMIDI演奏データが1曲分の楽曲データとして、当該新規に作成されたファイルに格納される。かくして、記憶装置10のフォルダに、文字列「!song“nnn”」からなるファイル名を持つデータファイルが新規に保存される。ここで説明したファイル新規作成処理が請求項1に記載の作成手段に相当し、また、ステップS2、S4及びS7の処理が請求項1に記載の付与手段に相当する。   By the above step S2, S4 or S7, a file having a file name consisting of the exclamation mark symbol “!”, The character string “song”, and the three-digit number string “nnn” as shown in FIG. Newly created. At this point, data is empty in the newly created file. The user can perform arbitrary editing on the newly created file (step S8). In this embodiment, the “arbitrary editing” is a process of writing MIDI performance data representing a manual performance performed by the user using the performance operator 4 to the newly created file. As a result, MIDI performance data representing a manual performance performed by the user using the performance operator 4 is stored in the newly created file as music data for one song. Thus, a data file having a file name consisting of the character string “! Song“ nnn ”” is newly stored in the folder of the storage device 10. The new file creation process described here corresponds to the creation means described in claim 1, and the processes of steps S <b> 2, S <b> 4, and S <b> 7 correspond to the grant means described in claim 1.

なお、上記ファイル新規作成処理によって新規作成されたファイル名、つまり自動付与されたファイル名は、記憶装置10に保存された後、ユーザが別の名前に変更することができる。名前変更後は該変更されたファイル名に基づきソートされる。なお、ユーザがファイル名を付けるときには、所定文字「!」をファイル名の先頭に使用できないよう構成するとよい。これにより、ユーザが付けたファイル名と自動付与されたファイル名との混乱を避けることができる。   Note that the file name newly created by the new file creation process, that is, the automatically assigned file name, is stored in the storage device 10 and can be changed by the user to another name. After the name change, the file is sorted based on the changed file name. It should be noted that when the user assigns a file name, the predetermined character “!” May not be used at the beginning of the file name. Thereby, confusion between the file name given by the user and the file name automatically given can be avoided.

電子音楽装置において、記憶装置10に保存された楽曲データのデータファイルを再生するときや、データファイルのファイル名を変更するとき、或いは、データファイルの再編集、コピー或いは削除等の操作を行うときには、ユーザは記憶装置10の複数のファイルのいずれかに保存された多数のデータファイル群の中から特定の1つのファイルを探し出さなければならない。   In the electronic music apparatus, when reproducing a data file of music data stored in the storage device 10, changing the file name of the data file, or performing an operation such as re-editing, copying or deleting the data file The user has to find one specific file from among a large number of data file groups stored in one of the plurality of files in the storage device 10.

この電子音楽装置において、記憶装置10に保存されたファイル群から所望のファイルを探し出すときには、該記憶装置10に保存されたファイル群のうちのいずれか1つに格納された複数のファイル名を一覧表示したファイル名リストをディスプレイ8に表示させて、該リストに表示されたファイル名の中から所望のファイルを探し出すことができる。図4(a)は、ファイル名リストの表示例を示す図であって、このファイル名リストには前記図2(b)に例示したファイル名が表示されている。図4(a)において、ファイル名16a〜16dは、ファイル名を構成する文字列の一部が省略された形態で表示されている。これは、ファイル名16a〜16dが長すぎてディスプレイ8の表示領域内にファイル名全体を表示することができないためである。以下に詳しく述べる通り、この実施例に係るファイル名リストは、ファイル名を構成する文字列の一部を省略表示する際の省略の仕方に特徴がある。   In this electronic music device, when searching for a desired file from the file group stored in the storage device 10, a list of a plurality of file names stored in any one of the file groups stored in the storage device 10 is displayed. The displayed file name list is displayed on the display 8, and a desired file can be found from the file names displayed in the list. FIG. 4A shows a display example of the file name list, and the file names exemplified in FIG. 2B are displayed in the file name list. In FIG. 4A, file names 16a to 16d are displayed in a form in which a part of the character string constituting the file name is omitted. This is because the file names 16a to 16d are too long to display the entire file name in the display area of the display 8. As will be described in detail below, the file name list according to this embodiment is characterized in that it is omitted when a part of a character string constituting the file name is omitted.

図5は、ファイル名リスト表示処理の手順の一例を示すフローチャートである。ファイル名リスト表示処理は、記憶装置10に設定された複数のフォルダのいずれか1つについて行われる。従って、ユーザは、記憶装置10に設定された複数のフォルダからファイル名リスト表示の対象となるフォルダ(ディレクトリ)を指定する(ステップS10)。例えば、記憶装置10に設定された複数のフォルダからいずれか1つを選択するための選択肢(フォルダのアイコンなど)をディスプレイ8に一覧表示し、該選択肢から所望の1つのフォルダをユーザに指定させることで、ファイル名リスト表示の対象となるフォルダを指定する動作を実現してよい。ユーザによって、ファイル名リスト表示の対象となるフォルダが指定されると、該指定されたフォルダに格納された全てのファイル名のリストが取得される(ステップS11)。以下に述べるステップS13〜S19の処理を行うことで、当該ファイル名リストにおける前記取得したリスト中の全てのファイル名の表示形態を決定する。ステップS12の処理は、該取得したリスト中の全てのファイル名の1ずつについて、ステップS13〜S19の処理を行うための判断処理である。   FIG. 5 is a flowchart showing an example of the procedure of the file name list display process. The file name list display process is performed for any one of a plurality of folders set in the storage device 10. Therefore, the user designates a folder (directory) to be displayed as a file name list from a plurality of folders set in the storage device 10 (step S10). For example, a list of options (such as folder icons) for selecting one of a plurality of folders set in the storage device 10 is displayed on the display 8, and the user is allowed to specify a desired folder from the options. Thus, an operation for designating a folder to be displayed as a file name list may be realized. When the user designates a folder to be displayed as a file name list, a list of all file names stored in the designated folder is acquired (step S11). By performing the processing of steps S13 to S19 described below, the display form of all the file names in the acquired list in the file name list is determined. The process in step S12 is a determination process for performing the processes in steps S13 to S19 for each of all the file names in the acquired list.

まず、ステップS13では、ファイル名を表示するのに必要な表示幅WFを算出する処理を行う。ファイル名の表示幅(ドット数)WFは、当該ファイル名を構成する全ての文字列をディスプレイ8に表示するときに必要な表示領域の幅である。この実施例では、ディスプレイ8の文字表示において、全角文字の表示には等幅フォント(文字ごとの横幅が固定されたフォント)を使用し、半角文字の表示にはプロポーショナルフォント(文字ごとに最適な横幅が設定されたフォント)を使用するものとする。従って、ファイル名表示幅WFは、当該ファイル名を構成する文字列の文字数と、各文字の種類に基づき決定される。   First, in step S13, processing for calculating a display width WF necessary for displaying a file name is performed. The display width (number of dots) WF of the file name is the width of the display area necessary when displaying all the character strings constituting the file name on the display 8. In this embodiment, in the display of characters on the display 8, a monospaced font (font with a fixed horizontal width for each character) is used for displaying full-width characters, and a proportional font (optimum for each character) is used for displaying half-width characters. Font with a horizontal width). Accordingly, the file name display width WF is determined based on the number of characters in the character string constituting the file name and the type of each character.

ステップS14において、前記ステップS13で算出したファイル名の表示幅WFと、ディスプレイ8におけるファイル名表示可能幅(ドット数)WDを比較する。ファイル名表示可能幅WDは、ディスプレイ8に表示するファイル名リストにおいて、1つのファイル名を表示することが可能な幅である(図4(a)を参照)。既に述べた通り、ディスプレイ8が電子音楽装置の本体パネル上に配置される都合上、ディスプレイ8の画面サイズは比較的狭い幅に制約されてしまう。従って、このディスプレイ8に表示されるファイル名リストのファイル名表示可能幅WDもまた比較的狭い幅に制約されざるをえない。このため、ファイル名の表示幅WFがファイル名表示可能幅WDよりも大きくなってしまう場合がある。図4(b)において、前記図2(b)に例示したファイル名15d、ファイル名16a及びファイル名16cの各表示幅WFと、ディスプレイ8の表示可能幅WDの比較を示す。図4(b)から明らかな通り、ファイル名16a及びファイル名16cのように長いファイル名は、その表示幅WFがディスプレイ8の表示可能幅WDを上回ってしまう。   In step S14, the file name display width WF calculated in step S13 is compared with the file name displayable width (number of dots) WD on the display 8. The file name displayable width WD is a width in which one file name can be displayed in the file name list displayed on the display 8 (see FIG. 4A). As already described, the screen size of the display 8 is restricted to a relatively narrow width because the display 8 is arranged on the main body panel of the electronic music apparatus. Accordingly, the file name displayable width WD of the file name list displayed on the display 8 must be limited to a relatively narrow width. For this reason, the file name display width WF may be larger than the file name displayable width WD. 4B shows a comparison between the display widths WF of the file name 15d, the file name 16a, and the file name 16c exemplified in FIG. 2B and the displayable width WD of the display 8. In FIG. As is clear from FIG. 4B, the display width WF of a long file name such as the file name 16a and the file name 16c exceeds the displayable width WD of the display 8.

ファイル名の表示幅WFがディスプレイ8の表示可能幅WDよりも大きい場合には(ステップS15のYES)、ステップS16以下の処理により、ファイル名の表示形態を変更する処理を行う。ここで、ファイル名の表示形態の変更とは、ファイル名を構成する文字列の一部を、以下に述べる所定のルールに従って省略することにより、ファイル名の表示幅WFをディスプレイ8の表示可能幅WDに収まる幅に縮小することである。この実施例において、ファイル名を構成する文字列の一部を省略するためのルールとは、ファイル名の先頭部分と、次に述べる「特定の文字列」部分と、拡張子部分とを残し、その他の部分を省略することである。電子音楽装置においては、例えば、ファイル名を構成する文字列の一部を省略するためのルールを記述したテーブルがROM2乃至RAM3に用意され、該テーブルを参照して、当該ルールに従って、ステップS16以下の処理(ファイル名の表示形態を変更する処理)が実行される。   When the display width WF of the file name is larger than the displayable width WD of the display 8 (YES in step S15), a process for changing the display form of the file name is performed by the process from step S16. Here, the change of the display form of the file name means that a part of the character string constituting the file name is omitted according to a predetermined rule described below, so that the display width WF of the file name is set to the displayable width of the display 8. It is to reduce the width to fit in the WD. In this embodiment, the rule for omitting a part of the character string constituting the file name is to leave the head part of the file name, the “specific character string” part described below, and the extension part, The other part is omitted. In the electronic music apparatus, for example, tables describing rules for omitting a part of a character string constituting a file name are prepared in the ROM2 to RAM3. With reference to the tables, in accordance with the rules, step S16 and subsequent steps are performed. This process (a process for changing the display format of the file name) is executed.

なお、図4(b)に示すファイル名15dのように、ファイル名表示幅WFがディスプレイ8のファイル名表示可能幅WD以下であれば(ステップS15のNO)、当該ファイル名の名前全体をファイル名リスト上に表示することができるので、以下に述べるファイル名の表示形態の変更処理は不要である。   If the file name display width WF is equal to or smaller than the file name displayable width WD of the display 8 as in the file name 15d shown in FIG. 4B (NO in step S15), the entire name of the file name is saved as a file. Since it can be displayed on the name list, it is not necessary to change the display format of the file name described below.

ファイル名の表示幅WFがディスプレイ8の表示可能幅WDよりも大きい場合には、ステップS16において、当該ファイル名を構成する文字列から、特定の文字列を検出する処理を行う。ここで、検出対象となる特定の文字列とは、個々のファイルを識別するために必要な情報として予め定められた文字列であって、この実施例では「3桁の数字列」がこれに該当するものとする。「3桁の数字列」は、個々のファイルを識別するための重要な要素として機能することが多いことは、既に述べた通りである。   If the display width WF of the file name is larger than the displayable width WD of the display 8, in step S16, a process for detecting a specific character string from the character string constituting the file name is performed. Here, the specific character string to be detected is a character string predetermined as information necessary for identifying individual files, and in this embodiment, a “three-digit number string” is used. Applicable. As described above, the “three-digit numeric string” often functions as an important element for identifying individual files.

例えば、前記図4(b)に示した「あいうえおかきくけこさしすせそ001.mid」なるファイル名16aは、表示幅WFがディスプレイ8の表示可能幅WDよりも大きく、また、特定の文字列(この実施例では「3桁の数字列」)を含むファイル名である(ステップS17のYES)。このようなファイル名については、ファイル名の先頭部分と、特定の文字列(3桁の数字列「001」)と、拡張子部分「.mid」とを残して、その表示幅WFがディスプレイ8の表示可能幅WD以内に収まるようファイル名の表示形態を変更する(図5のステップS18)。具体的には、3桁の数字列の直前(左横)の幾つかの文字列を省略記号(三点リーダー「…」)に置換することで、図4(a)に示す「あいうえ…001.mid」のように、ファイル名を省略表示する。なお、ファイル名の先頭部として残す文字範囲(文字数)、言い換えれば、省略記号に置換する文字範囲は、特定の文字列「001」及び拡張子部分「.mid」部分の表示に必要な幅とディスプレイ8の表示可能幅WDとに応じて定まる。   For example, the file name 16a “aiueokikikakusashisoseso001.mid” shown in FIG. 4B has a display width WF larger than the displayable width WD of the display 8, and a specific character string (this In the embodiment, the file name includes “three-digit number string”) (YES in step S17). With respect to such a file name, the display width WF is displayed on the display 8 while leaving the head portion of the file name, a specific character string (three-digit number string “001”), and the extension portion “.mid”. The display form of the file name is changed so as to be within the displayable width WD (step S18 in FIG. 5). Specifically, by replacing some character strings immediately before (left side) of a three-digit number string with an ellipsis (three-point reader “...”), “Aiue…” shown in FIG. The file name is abbreviated as “001.mid”. Note that the character range (number of characters) to be left at the beginning of the file name, in other words, the character range to be replaced with an ellipsis, is the width necessary to display the specific character string “001” and the extension “.mid” part. It is determined according to the displayable width WD of the display 8.

また、前記図4(b)に例示した「いろはにほへとちりぬるをわかABC.mid」なるファイル名16cは、表示幅WFがディスプレイ8の表示可能幅WDよりも大きいファイル名であり、これには特定の文字列(「3桁の数字列」)が含まれていない(ステップS17のNO)。このようなファイル名については、ファイル名の先頭部分と、拡張子「.mid」を残して、表示幅WFがディスプレイ8の表示可能幅WD以内に収まるようファイル名の表示形態を変更する(図5のステップS19)。具体的には、拡張子「.mid」の直前の幾つかの文字列(左横の文字列)を省略記号に置換することで、図4(a)に示す「いろはにほ….mid」のように、ファイル名を省略表示する。   In addition, the file name 16c “Ichiro Nihongo Niwawa waka ABC.mid” illustrated in FIG. 4B is a file name whose display width WF is larger than the displayable width WD of the display 8, Is not included ("three-digit number string") (NO in step S17). With respect to such a file name, the display form of the file name is changed so that the display width WF is within the displayable width WD of the display 8 with the head portion of the file name and the extension “.mid” remaining. 5 step S19). Specifically, by replacing some character strings (character strings on the left side) immediately before the extension “.mid” with ellipses, “Iroha niho .... mid” shown in FIG. The file name is abbreviated as follows.

上記ステップS13〜S19の処理を、指定されたフォルダに含まれる全てのファイル名について行うことで、該全てのファイル名についてリスト表示におけるファイル名の表示形態を決定する。そして、ステップS20において、当該フォルダに含まれる全てのファイルをファイル名順にソートしたファイル名リストがディスプレイ8に表示される。ユーザは、ディスプレイ8に表示されるファイル名リストのソートの方向を昇順又は降順のいずれかで選択することができてよい。前記ステップS20によりディスプレイ8に表示されるファイル名リストの一例は、図4(a)に示した通りである。図4(a)において、ファイル名の表示幅WFがディスプレイ8の表示可能幅WDよりも大きいファイル名16a〜16d名は、上記S13〜S19の処理により適切にファイル名を構成する文字列の一部が省略されている。すなわち、ファイル名16a,16b及び16dは、ファイル名の先頭部分と、特定の文字列(3桁の数字列)と、拡張子部分「.mid」を残して、それ以外の部分が省略されている。また、ファイル名16cは、ファイル名の先頭部分と拡張子部分「.mid」を残して、それ以外の部分が省略されている。一方、ファイル名15dや、ファイル名17a〜17cのように、ファイル名表示幅WFがディスプレイ8の表示可能幅WD以内のファイル名はファイル名の全体が表示される。なお、ファイル名の表示幅WFがディスプレイ8の表示可能幅WDよりも大きいものの、特定の文字列(3桁の数字列)も拡張子もファイル名に含まれていない場合には、ファイル名の先頭部分のみを残す省略表示など、従来から知られる適宜の表示形態を適用してよい。   By performing the processes of steps S13 to S19 for all the file names included in the designated folder, the display form of the file names in the list display is determined for all the file names. In step S20, a file name list obtained by sorting all files included in the folder in the order of file names is displayed on the display 8. The user may be able to select the sorting direction of the file name list displayed on the display 8 in either ascending order or descending order. An example of the file name list displayed on the display 8 at step S20 is as shown in FIG. In FIG. 4A, the file names 16a to 16d whose file name display width WF is larger than the displayable width WD of the display 8 are character strings that appropriately constitute the file name by the processing of S13 to S19. Part is omitted. That is, the file names 16a, 16b, and 16d are omitted except for the first part of the file name, the specific character string (three-digit number string), and the extension part “.mid”. Yes. Further, the file name 16c is omitted except for the head part of the file name and the extension part “.mid”. On the other hand, as for the file name 15d and the file names 17a to 17c, the entire file name is displayed for the file names whose file name display width WF is within the displayable width WD of the display 8. If the display width WF of the file name is larger than the displayable width WD of the display 8, but the specific character string (three-digit number string) and the extension are not included in the file name, the file name An appropriate display form conventionally known, such as an abbreviated display that leaves only the top part, may be applied.

例えば、ファイル名16aとファイル名16bは、先頭部分に共通のかな文字列を持ち、それに続く数字列部分でそれぞれのファイル名が識別されるよう命名されている。これは、既に述べた通り、同一曲の別バージョンの録音を記録したファイルに対する名前付けに多々見られる命名パターンであり、この場合、先頭のかな文字部分と末尾の数字列部分の二つの要素が、個々のファイルを識別するための主要な要素として機能する。よって、図4(a)に示す通り、ファイル名リスト上で、ファイル名16a,16bの先頭部分と、特定の文字列(3桁の数字列)と、拡張子部分「.mid」を残して、その他の部分を省略した形態でファイル名を表示することで、ユーザは、リスト上のファイル名が文字列の一部を省略された形態で表示されていても、個々のファイルを確実に識別することができる。   For example, the file name 16a and the file name 16b are named such that each of the file names has a common kana character string at the head part, and each file name is identified by a numeric string part that follows. As already mentioned, this is a naming pattern often found in naming files that record recordings of different versions of the same song. In this case, the two elements, the first kana character part and the last digit string part, Serves as the primary element for identifying individual files. Therefore, as shown in FIG. 4A, on the file name list, the head part of the file names 16a and 16b, the specific character string (three-digit number string), and the extension part “.mid” are left. By displaying the file name in a form that omits the other parts, the user can reliably identify individual files even if the file name on the list is displayed in a form that omits a part of the character string. can do.

また、既に述べた通り、この実施例において適用するソートルールによれば、感嘆符記号「!」はファイル名として使用可能な全ての文字の順序関係(昇順でのソート順序)の末尾に定義された記号である。従って、新規作成ファイルに対して自動付与されるファイル名、つまり感嘆符記号「!」を先頭に持つファイル名17a〜17cは、ファイル名リストの末尾に位置しており、ファイル名リスト上でその他のファイル名群から明確に区別されている。更に、感嘆符記号「!」を先頭に持つファイル名のうちでも、末尾の「三桁の数字列」部分の番号が大きいものがリスト最後尾に位置する。従って、基本的には、最新の新規作成ファイルがリストの一番下(若しくは一番下の付近)に位置することになる。よって、ユーザは、ファイル名リストから、新規に作成されたファイルを容易に探し出すことができる。   Also, as already described, according to the sorting rule applied in this embodiment, the exclamation mark symbol “!” Is defined at the end of the order relationship (sort order in ascending order) of all characters that can be used as file names. Symbol. Therefore, the file names automatically assigned to the newly created files, that is, the file names 17a to 17c having the exclamation mark symbol “!” At the head are located at the end of the file name list. It is clearly distinguished from the file name group. Further, among the file names having the exclamation mark symbol “!” At the head, the file number having the larger “three-digit number string” portion at the end is positioned at the end of the list. Therefore, basically, the latest newly created file is located at the bottom (or near the bottom) of the list. Therefore, the user can easily find a newly created file from the file name list.

以上説明した通り、この実施例によれば、新規にファイルを作成するときに、ソートルールによってファイル名として使用可能な全ての文字の順序関係(昇順でのソート順序)の末尾に定義された文字を先頭に持つファイル名を自動的に付与することで、記憶装置10に保存されたファイル群をファイル名の昇順でソートしたときに、新規作成されたファイルは必ずファイル群の末尾(あるいは末尾付近)に位置することになる。つまり、ファイル群をソートしたときに、自動付与されたファイル名はその他のファイル名群から明確に区別される。このようなファイル名を新規作成されたファイルに自動付与することで、記憶装置10内に大量のファイルが保存されている場合であっても、該大量のファイルの中から新規作成されたファイル、つまり自動付与機能によって自動付与された名前を持つファイルを容易に探し出すことができるという優れた効果を奏する。   As described above, according to this embodiment, when a file is newly created, the characters defined at the end of the order relationship (sort order in ascending order) of all characters that can be used as file names by the sort rule. When a file group stored in the storage device 10 is sorted in ascending order of the file name, the newly created file is always at the end of the file group (or near the end). ) Will be located. That is, when the file group is sorted, the automatically assigned file name is clearly distinguished from other file name groups. By automatically assigning such a file name to a newly created file, even if a large number of files are stored in the storage device 10, a newly created file from the large number of files, In other words, it has an excellent effect that a file having a name automatically assigned by the automatic assignment function can be easily found.

また、この実施例によれば、あるフォルダに格納されたファイル群のファイル名リストをディスプレイ8に表示させるときに、ファイル名の表示幅WFがディスプレイ8の表示可能領域WDよりも大きく、当該ファイル名中に特定の文字列(3桁の数字列)が含まれている場合には、特定の文字列(3桁の数字列)と、当該ファイル名の先頭部分と、拡張子部分とを残して他の部分を省略した表示形態で該文字列をリストに表示させているので、ファイル名を構成する文字列の一部が省略表示されていても、ユーザはリスト上の文字列に基づき個々のデータアイテムを確実に識別することができるという優れた効果を奏する。   Further, according to this embodiment, when the file name list of the file group stored in a certain folder is displayed on the display 8, the display width WF of the file name is larger than the displayable area WD of the display 8, and the file If the name contains a specific character string (3-digit number string), leave the specific character string (3-digit number string), the beginning of the file name, and the extension part. Since the character string is displayed in the list in a display form in which other parts are omitted, even if a part of the character string constituting the file name is omitted, the user can individually select the character string based on the character string on the list. The data item can be identified with certainty.

なお、上記実施例においては、ファイル名自動付与機能によってファイル名の先頭に付与する所定記号「!」を、ファイル名として使用可能な全ての文字の順序関係(昇順でのソート順序)の末尾に定義された所定文字として想定した。従って、所定記号「!」は、降順でのソート順序においては、ファイル名として使用可能な全ての文字の順序関係の先頭に定義された記号ともいえる。すなわち、記憶装置10に保存されたファイル群をファイル名の降順でソートしたときには、新規作成されたファイルは必ずファイル群の先頭(あるいは先頭付近)に位置する。この場合も、自動付与されたファイル名は、その他のファイル名群から明確に区別されるため、新規作成されたファイル、つまり自動付与機能によって自動付与された名前を持つファイルを容易に探し出すことができるという効果を得ることができる。   In the above-described embodiment, the predetermined symbol “!” Added to the beginning of the file name by the automatic file name assigning function is added at the end of the order relationship (sort order in ascending order) of all characters that can be used as the file name. Assumed as a defined predefined character. Therefore, the predetermined symbol “!” Can be said to be a symbol defined at the beginning of the order relation of all characters that can be used as file names in the descending sort order. That is, when the file group stored in the storage device 10 is sorted in descending order of the file name, the newly created file is always located at the top (or near the top) of the file group. In this case as well, the automatically assigned file name is clearly distinguished from other file name groups, so it is easy to find a newly created file, that is, a file with the name automatically assigned by the automatic assignment function. The effect that it is possible can be obtained.

また、上記実施例においては、ファイル名として使用可能な全ての文字の順序関係(昇順でのソート順序)の末尾に定義された所定文字として、感嘆符記号「!」を想定した例を示したが、ファイル名の先頭に付与される文字、つまり、ファイル名として使用可能な全ての文字の順序関係(昇順でのソート順序)の末尾に定義された文字はファイルシステムに適用されたソートルールに応じて異なる。また、ファイル名の先頭に付与される文字は、昇順でのソート順序の末尾(従って、降順でのソート順序の先頭)に定義された文字に限らず、昇順でのソート順序の先頭(従って、降順でのソート順序の末尾)に定義された文字を採用してもよく、また、昇順でのソート順序の末尾又は先頭のいずれの文字をファイル名の先頭に付与される文字に採用するかをユーザが任意に選択できてもよい。   In the above embodiment, an example is shown in which the exclamation point symbol “!” Is assumed as the predetermined character defined at the end of the order relationship (sort order in ascending order) of all characters that can be used as file names. However, the characters defined at the end of the order relationship (sort order in ascending order) of all the characters that can be used as file names are added to the sort rule applied to the file system. Depending on. In addition, the character given to the head of the file name is not limited to the character defined at the end of the sort order in ascending order (hence, the head of the sort order in descending order), but the head of the sort order in ascending order (hence, The character defined at the end of the sort order in descending order may be adopted, and whether the character at the end or the beginning of the sort order in ascending order is adopted as the character given to the beginning of the file name. The user may be able to select arbitrarily.

また、上記実施例において、新規ファイル作成時にファイル名自動付与機能が動作する例について説明したが、これに限らず、記憶装置10内に保存されているファイルのコピーにより、コピー先のファイルが新規に作成されるときにも、本発明を適用して、新規に作成されるコピー先ファイルに対して、「所定文字(上記実施例では感嘆符記号「!」)」を先頭に持つファイル名を自動付与することができる。この場合に自動付与されるファイル名の構成について、以下に具体的な例を幾つか挙げると、例えば、コピー元のファイル名が「abc002」とすると、コピー元ファイル名「abc002」の先頭に「所定文字(感嘆符記号「!」)」を付与し、且つ、コピー元ファイル名の末尾番号「002」を、これに連続した番号に変更した名前「!abc003」を、新規に作成されるコピー先ファイルのファイル名に採用することができる。また、別の例としては、コピー元のファイル名「abc002」の先頭に「所定文字(感嘆符記号「!」)」を付与し、且つ、末尾にハイフン記号を介して新たに「3桁の数字列」を付与した名前「!abc002-001」を、新規に作成されるコピー先ファイルのファイル名に採用することができる。いずれにせよ、ファイル名の先頭に「所定文字」を配することで、新規作成されたファイルをソート順序の末尾又は先頭に位置させることができ、且つ、コピー元のファイル名を新規ファイルの名前に残すことで、コピー元とコピー先の関係をファイル名によって識別できる。
また、新規にファイルを作成(新たなデータをファイルに記録)するときと、既存のファイルをコピーするときとで、自動付与されるファイル名の先頭に付与される所定文字を違えるようにしてもよい。
In the above-described embodiment, the example in which the automatic file name assignment function operates when creating a new file has been described. However, the present invention is not limited to this, and a copy destination file is newly created by copying a file stored in the storage device 10. When the file name is created, the present invention is applied to the newly created copy destination file with a file name having “predetermined character (exclamation mark symbol“! ”In the above embodiment)” at the beginning. Can be granted automatically. Regarding the configuration of the file name automatically given in this case, some specific examples are given below.For example, if the file name of the copy source is `` abc002 '', the copy source file name `` abc002 '' has `` Newly created copy “! Abc003” with a predetermined character (exclamation mark symbol “!”) ”And the copy source file name with the last number“ 002 ”changed to a consecutive number. It can be used for the file name of the destination file. As another example, a “predetermined character (exclamation mark symbol“! ”)” Is added to the beginning of the copy source file name “abc002”, and a new “three-digit character” is added via a hyphen symbol at the end. The name “! Abc002-001” to which “numerical string” is added can be used as the file name of the newly created copy destination file. In any case, by placing “predetermined characters” at the beginning of the file name, the newly created file can be positioned at the end or the beginning of the sort order, and the file name of the copy source is the name of the new file. The relationship between the copy source and the copy destination can be identified by the file name.
In addition, when creating a new file (recording new data in a file) and copying an existing file, the predetermined character assigned to the beginning of the file name automatically assigned may be different. Good.

また、上記実施例においては、新規にファイルを作成するときに、当該新規作成されるファイルにファイル名を自動付与する場合について説明したが、これに限らず、新規にフォルダを作成するときに、当該新規作成されるフォルダにフォルダ名を自動付与する場合に本発明を適用してもよい。   In the above embodiment, when creating a new file, the case of automatically assigning a file name to the newly created file has been described. However, not limited to this, when creating a new folder, The present invention may be applied when a folder name is automatically given to the newly created folder.

また、本発明に係るファイル名自動付与機能によってファイル名を付与する対象は、MIDI演奏データを格納するデータファイルに限らず、オーディオデータなど、その他のフォーマットの楽曲データを格納するデータファイルであってもよい。また、楽曲データに限らず、その他何らかのデータ集合体を格納するデータファイル、また、そのデータファイルを保管するフォルダを作成するときに、本発明を適用して、ファイル又はフォルダの名前を自動付与することもできる。   In addition, the object to which the file name is assigned by the automatic file name assigning function according to the present invention is not limited to the data file storing the MIDI performance data, but is a data file storing music data of other formats such as audio data. Also good. In addition, when creating a data file for storing some other data aggregate, not just music data, and a folder for storing the data file, the present invention is applied to automatically assign a file or folder name. You can also.

また、上記図5のステップS16において「3桁の数字列」をファイル名中の特定の文字列部分として検出する例を示したが、ここで検出対象となる特定の文字列としては、「3桁の数字列」に限らず、個々のファイルを識別可能な文字列を適宜に採用することができる。例えば、特定の意味を持つ語や、楽曲データファイルの再生にて適したMIDI音源フォーマットを表すアルファベット文字列(例えば。GM規格を表す「GM」やXG規格を表す「XG」など)等を、検出対象の「特定の文字列」に採用することができる。また、「特定の文字列」をユーザが任意に設定できてもよく、この場合、ユーザが任意の文字列を指定できてもよいし、複数の候補のうちから「特定の文字列」を選択できてもよい。また、上記実施例では検出対象の「特定の文字列」は、「3桁の数字列」の1つだけであったが、複数の「特定の文字列」を検出対象に設定できてもよい。   In addition, although an example in which “three-digit number string” is detected as a specific character string portion in the file name in step S16 of FIG. 5 has been shown, the specific character string to be detected here is “3 Not only the “digit number string” but also a character string that can identify individual files can be adopted as appropriate. For example, a word having a specific meaning, an alphabet character string representing a MIDI sound source format suitable for reproduction of a music data file (for example, “GM” representing the GM standard, “XG” representing the XG standard, etc.), etc. It can be adopted as a “specific character string” to be detected. In addition, the user may be able to arbitrarily set a “specific character string”. In this case, the user may be able to specify an arbitrary character string or select a “specific character string” from a plurality of candidates. It may be possible. In the above embodiment, the “specific character string” to be detected is only one “three-digit number string”, but a plurality of “specific character strings” may be set as detection targets. .

また、上記実施例では、ファイル名を構成する文字列の一部を省略するためのルールは、ファイル名の「先頭部分」と、「特定の文字列」部分と、拡張子部分とを残し、その他の部分を省略するものとしたが、ファイル名を構成する文字列の一部を省略するためのルールは少なくとも「特定の文字列」部分を残し、その他の部分を省略するルールであればよい。   In the above embodiment, the rule for omitting a part of the character string constituting the file name is to leave the “first part”, “specific character string” part, and extension part of the file name, The other parts are omitted, but the rule for omitting a part of the character string constituting the file name may be a rule that leaves at least the “specific character string” part and omits the other parts. .

また、上記図5のステップS18においては、特定の文字列(3桁の数字列「001」)」の直前(左横)の文字列の表示を省略するよう処理していたが、これは、該3桁の数字列の後(右横)に拡張子が位置していた、つまり、該3桁の数字列の後(右横)の文字列は省略せずに残す文字列部分が位置していたためである。ところで、省略表示の際に残すべき特定の文字列(上記実施例では「3桁の数字列」)が挿入されるファイル名中の位置は、拡張子の直前に限らず、ファイル名の先頭に位置していたり、特定の文字列の前後両方に他の文字列が位置したりしている場合もある。従って、そのような場合には、上記図5のステップS18においては、該特定の文字列の後の文字列乃至同前後両方の文字列の表示が省略されることになる。   Further, in step S18 in FIG. 5 described above, processing was performed so as to omit the display of the character string immediately before (to the left of) the specific character string (three-digit number string “001”). The extension is located after the 3-digit number string (right side), that is, the character string part that is left without omitting the character string after the 3-digit number string (right side) is located. Because it was. By the way, the position in the file name where a specific character string (“3-digit number string” in the above embodiment) to be left in the abbreviated display is inserted is not limited to immediately before the extension, but at the beginning of the file name. It may be located, or other character strings may be located both before and after a specific character string. Therefore, in such a case, in step S18 of FIG. 5, the display of the character string after the specific character string or both of the character strings before and after the specific character string is omitted.

また、上記実施例においては、ファイル名リストは、楽曲データ(MIDI演奏データ)のファイルを一覧表示するリストであったが、これに限らず、オーディオデータなど、その他のフォーマットの楽曲データのリストであってもよいし、また、楽曲データに限らず、電子楽器の自動伴奏機能に用いる伴奏スタイルデータや、電子楽器で発音する楽音の音色を表す音色データや、動画再生用の動画データファイルなど、何らかのデータアイテムのリストであれば、上述と同様に、必要に応じて、ファイル名を構成する文字列の一部を省略した形態でファイル名を表示することができる。   In the above embodiment, the file name list is a list for displaying a list of music data (MIDI performance data) files. However, the file name list is not limited to this and is a list of music data in other formats such as audio data. In addition to the music data, the accompaniment style data used for the automatic accompaniment function of the electronic musical instrument, the timbre data representing the timbre of the musical sound to be generated by the electronic musical instrument, the video data file for video playback, etc. If it is a list of some data items, the file name can be displayed in a form in which a part of the character string constituting the file name is omitted as necessary, as described above.

また、本発明を適用する電子音楽装置は、データファイルを記憶装置に保存する機構を有するものであれば、従来から知られるどのようなタイプの電子楽器であってもよい、また、電子的に演奏を行う電子楽器に限らず、記憶装置に保存されたオーディオファイルを再生する音楽再生装置や、音楽演奏乃至音楽再生の機能を備えた情報処理装置(パーソナルコンピュータなど)に、本発明を適用してもよい。   Further, the electronic music apparatus to which the present invention is applied may be any type of electronic musical instrument known in the art as long as it has a mechanism for storing data files in a storage device. The present invention is applied not only to an electronic musical instrument that performs, but also to a music playback device that plays back audio files stored in a storage device, and an information processing device (such as a personal computer) that has a function of playing music or playing music. May be.

この発明の一実施例に係るファイル又はフォルダ管理装置を適用した電子音楽装置の電気的ハードウェア構成を示すブロック図。The block diagram which shows the electric hardware constitutions of the electronic music apparatus to which the file or folder management apparatus which concerns on one Example of this invention is applied. (a)は図1の電子音楽装置において自動付与されるファイル名の構成を説明するための図、(b)は図1の電子音楽装置において適用するソートルールを説明するための図。(A) is a figure for demonstrating the structure of the file name automatically given in the electronic music apparatus of FIG. 1, (b) is a figure for demonstrating the sorting rule applied in the electronic music apparatus of FIG. 図1の電子音楽装置において実行されるファイル新規作成処理の手順の一例を示すフローチャート。3 is a flowchart showing an example of a procedure of new file creation processing executed in the electronic music apparatus of FIG. 1. (a)は図1の電子音楽装置においてディスプレイに表示されるファイル名リストの表示例を示す図、(b)は前記ファイル名リストを表示するディスプレイの表示可能領域WDとファイル名の表示幅WFの比較例。(A) is a figure which shows the example of a display of the file name list displayed on a display in the electronic music apparatus of FIG. 1, (b) is the displayable area | region WD of the display which displays the said file name list, and the display width WF of a file name Comparative example. 図1の電子音楽装置において実行されるファイル名リスト表示処理の手順の一例を示すフローチャート。6 is a flowchart showing an example of a procedure of a file name list display process executed in the electronic music apparatus of FIG.

符号の説明Explanation of symbols

1 CPU、2 ROM、3 RAM、4 演奏操作子、5 演奏検出回路、6 設定操作子、7 操作検出回路、8 ディスプレイ、9 表示制御回路、10 記憶装置、11 音源部、12 サウンドシステム、13 通信インターフェース、14a,14b,15a〜15d,16a〜16d,17a〜17c ファイル名 1 CPU, 2 ROM, 3 RAM, 4 performance operator, 5 performance detection circuit, 6 setting operator, 7 operation detection circuit, 8 display, 9 display control circuit, 10 storage device, 11 sound source section, 12 sound system, 13 Communication interface, 14a, 14b, 15a-15d, 16a-16d, 17a-17c File name

Claims (2)

データ集合体を格納するためのファイルと、該ファイルを複数個まとめて保管するためのフォルダとをそれぞれ1又は複数記憶し、前記ファイル及び前記フォルダの各々には固有の名前が与えられている記憶手段と、
前記ファイル及び前記フォルダの名前に使用可能な全ての文字の順序関係を定義したソートルールに従い、前記記憶手段に記憶されたファイル群又はフォルダ群を名前順でソートするソート手段と、
前記記憶手段にファイル又はフォルダを新規に作成する作成手段と、
前記作成手段により新規に作成したファイル又はフォルダに対して、前記ソートルールによって前記全ての文字の順序関係の先頭又は末尾に定義された文字を先頭に持つ名前を、自動的に付与する付与手段と
を具えることを特徴とするファイル又はフォルダ管理装置。
One or more files for storing the data aggregate and one or more folders for storing a plurality of the files are stored, and each of the files and the folders is given a unique name. Means,
Sort means for sorting the file group or folder group stored in the storage means in name order according to a sorting rule that defines the order relation of all characters that can be used for the file and the folder name;
Creating means for creating a new file or folder in the storage means;
An assigning unit that automatically assigns a name that starts with a character defined at the beginning or end of the order relation of all the characters according to the sort rule to a file or folder newly created by the creating unit; A file or folder management device comprising:
データ集合体を格納するためのファイルと、該ファイルを複数個まとめて保管するためのフォルダとをそれぞれ1又は複数記憶した記憶手段であって、前記ファイル及び前記フォルダの各々には固有の名前が与えられており、該記憶手段に記憶されたファイル群又はフォルダ群を、前記ファイル及び前記フォルダの名前に使用可能な全ての文字の順序関係を定義したソートルールに従い、名前順でソートする機能を具えたコンピュータに、
前記記憶手段にファイル又はフォルダを新規に作成する手順と、
前記新規に作成したファイル又はフォルダに対して、前記ソートルールによって前記全ての文字の順序関係の先頭又は末尾に定義された文字を先頭に持つ名前を、自動的に付与する手順と
を実行させるプログラム。
Storage means for storing one or more files for storing data aggregates and a folder for storing a plurality of files together, each of which has a unique name A function of sorting a file group or a folder group stored in the storage means in a name order according to a sorting rule that defines an order relation of all characters that can be used in the names of the file and the folder. To the prepared computer,
A procedure for creating a new file or folder in the storage means;
A program for automatically executing, on the newly created file or folder, a name having the first character defined at the beginning or the end of the order relation of all characters according to the sorting rule. .
JP2007135332A 2007-05-22 2007-05-22 File or folder management device Expired - Fee Related JP5034674B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007135332A JP5034674B2 (en) 2007-05-22 2007-05-22 File or folder management device
US12/125,049 US8212819B2 (en) 2007-05-22 2008-05-21 Display control apparatus
US13/174,819 US8797326B2 (en) 2007-05-22 2011-07-01 Display control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007135332A JP5034674B2 (en) 2007-05-22 2007-05-22 File or folder management device

Publications (2)

Publication Number Publication Date
JP2008293086A true JP2008293086A (en) 2008-12-04
JP5034674B2 JP5034674B2 (en) 2012-09-26

Family

ID=40167772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007135332A Expired - Fee Related JP5034674B2 (en) 2007-05-22 2007-05-22 File or folder management device

Country Status (1)

Country Link
JP (1) JP5034674B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140404A (en) * 2008-12-15 2010-06-24 Fujitsu Ltd Identifier compaction display program, identifier compaction display device and identifier compaction display method
JP2010145876A (en) * 2008-12-20 2010-07-01 Yamaha Corp Music content data processing device and program
JP2012173397A (en) * 2011-02-18 2012-09-10 Yamaha Corp Electronic musical device
JP2015090515A (en) * 2013-11-05 2015-05-11 ヤマハ株式会社 Music data file management device and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154091A (en) * 1996-11-26 1998-06-09 Fujitsu Ltd Method for generating file system
JP2002157274A (en) * 2000-08-09 2002-05-31 Mitsubishi Heavy Ind Ltd Electronic file device, its system preparing method and method for selecting document data
JP2003051995A (en) * 1996-10-16 2003-02-21 Canon Inc File management system of image data, file management method, medium and image pickup device
JP2004080546A (en) * 2002-08-20 2004-03-11 Olympus Corp Electronic camera, and its imaging and reproducing method
JP2004334680A (en) * 2003-05-09 2004-11-25 Fuji Xerox Co Ltd Printing system and printing management method
JP2007042069A (en) * 2005-06-30 2007-02-15 Sony Corp Information processor, information processing method and information processing program
JP2007066498A (en) * 2005-08-01 2007-03-15 Sony Corp Information processing apparatus, reproduction apparatus, communication method, reproduction method and computer program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003051995A (en) * 1996-10-16 2003-02-21 Canon Inc File management system of image data, file management method, medium and image pickup device
JPH10154091A (en) * 1996-11-26 1998-06-09 Fujitsu Ltd Method for generating file system
JP2002157274A (en) * 2000-08-09 2002-05-31 Mitsubishi Heavy Ind Ltd Electronic file device, its system preparing method and method for selecting document data
JP2004080546A (en) * 2002-08-20 2004-03-11 Olympus Corp Electronic camera, and its imaging and reproducing method
JP2004334680A (en) * 2003-05-09 2004-11-25 Fuji Xerox Co Ltd Printing system and printing management method
JP2007042069A (en) * 2005-06-30 2007-02-15 Sony Corp Information processor, information processing method and information processing program
JP2007066498A (en) * 2005-08-01 2007-03-15 Sony Corp Information processing apparatus, reproduction apparatus, communication method, reproduction method and computer program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140404A (en) * 2008-12-15 2010-06-24 Fujitsu Ltd Identifier compaction display program, identifier compaction display device and identifier compaction display method
JP2010145876A (en) * 2008-12-20 2010-07-01 Yamaha Corp Music content data processing device and program
JP2012173397A (en) * 2011-02-18 2012-09-10 Yamaha Corp Electronic musical device
JP2015090515A (en) * 2013-11-05 2015-05-11 ヤマハ株式会社 Music data file management device and program

Also Published As

Publication number Publication date
JP5034674B2 (en) 2012-09-26

Similar Documents

Publication Publication Date Title
US8797326B2 (en) Display control apparatus
EP2180480B1 (en) Playlist search device, playlist search method and program
JP5034674B2 (en) File or folder management device
JP4364905B2 (en) Recording system, recording apparatus, recording method, recording program, and recording medium
JP5169021B2 (en) Display control device
JP4887777B2 (en) Performance information recording device
JP4328971B2 (en) File processing apparatus and computer program applied to the apparatus
JP4265408B2 (en) Electronic music apparatus and computer program applied to the apparatus
JP2006252045A (en) Device, method, and program for displaying file classification
JP2006343933A (en) Data processing method, electronic equipment, and program
JP3632488B2 (en) Data set selection device
JP4218692B2 (en) Performance information retrieval device
JP5386970B2 (en) Music content data processing apparatus and program
JP2008083628A (en) Sound signal processor and program
JP5682365B2 (en) Electronic music equipment
JP2002259174A (en) Play information display device, play information display method and storage medium
US20230385540A1 (en) Information processing method, information processing apparatus, and storage medium
JP3487011B2 (en) Data writing device and data display device
JP2008243155A (en) Lyric retrieving device and lyric retrieval program
JP5644714B2 (en) Electronic device, display control method, display control program
JP2009216902A (en) Electronic information processor and program
JP4992809B2 (en) Audio device, file name assigning method, and program
JP2798777B2 (en) Word processor
JP5164534B2 (en) Content data playback device
JP4859426B2 (en) Music data reproducing apparatus and computer program applied to the apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120517

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

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

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R154 Certificate of patent or utility model (reissue)

Free format text: JAPANESE INTERMEDIATE CODE: R154

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R154 Certificate of patent or utility model (reissue)

Free format text: JAPANESE INTERMEDIATE CODE: R154

LAPS Cancellation because of no payment of annual fees