MUSICAL INSTRUMENT CAPABLE OF RECORDING PERFORMANCE AND CONTROLLER AUTOMATICALLY ASSIGNING FILE NAMES

Information

  • Patent Application
  • 20070144333
  • Publication Number
    20070144333
  • Date Filed
    November 22, 2006
    18 years ago
  • Date Published
    June 28, 2007
    17 years ago
Abstract
An automatic player piano has a recorder for recording a performance into a music data file: when a set of music data codes expressing the performance is prepared, a file name is automatically assigned to the music data file through a subroutine program; while the subroutine program is running, the maximum integer, which forms a part of a file name already stored in a memory unit, is determined, and the integer next to the maximum integer is introduced into the file name in so far as the maximum integer is less than the limit of a numerical range, whereby the automatic player piano makes the order of creating the music data files clearly readable from the tile names: when the maximum integer is equal to the limit, a skipped integer is introduced into the file name, whereby the integers in the numerical range are economically reused.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the controller and musical instrument will be more clearly understood from the following description taken in conjunction with the accompanying drawings, in which



FIG. 1 is schematic view showing an automatic player piano according to the present invention, and



FIG. 2 is a view showing the constitution of a file name,



FIG. 3 is a flowchart showing a job sequence of a subroutine program for assigning a file name to a music data file,



FIG. 4 is a flowchart showing another job sequence of the subroutine program for assigning a file name to a music data file, and



FIG. 5 is a flowchart showing yet another job sequence of the subroutine program for assigning a file name to a music data file


Claims
  • 1. A controller for automatically assigning a file name to a music data file. comprising: a music data file producer creating a music data file in a memory for storing a set of music data codes; anda file name assigner assigning a file name to said music data file, and including a first searcher searching said memory for a maximum number forming a part of another file name assigned to another music data file already stored in said memory.a second searcher searching said memory for a skipped number less than said maximum number anda namer introducing said skipped number into said file name when said second searcher finds said skipped number and assigning said file name to said music data file.
  • 2. The controller as set forth in claim 1, in which said namer introduces a minimum skipped number into said file name when said second searcher finds plural skipped numbers.
  • 3. The controller as set forth in claim 1, in which said namer introduces a number next to said maximum number instead of said skipped number to said file name when said first searcher finds said maximum number less than a limit of a numerical range.
  • 4. The controller as set forth in claim 3, in which said namer introduces said skipped number to said file name when said maximum number is equal to said limit of said numerical range.
  • 5. The controller as set forth in claim 4, in which said namer gives a number selected from an extended numerical range greater than said limit of said numerical range to said file name on the conditions that said first searcher finds said maximum number to be equal to said limit of said numerical range and that said second searcher does not find said skipped number in said numerical range.
  • 6. The controller as set forth in claim 5, in which said file name assigner further includes a messenger giving a warning to users when said maximum number reaches the limit of said extended numerical range without fining said skipped number.
  • 7. A musical instrument for performing a piece of music, comprising: plural manipulators selectively manipulated by a human player for specifying pitch names along said piece of music;a tone generating system connected to said plural manipulators, and producing tones having said pitch names:a music data producer connected to said plural manipulators, and producing a set of music data codes expressing a performance along said piece of music;a music data file producer creating a music data file in a memory for storing said set of music data codes; anda file name assigner assigning a file name to said music data file, and including a first searcher searching said memory for a maximum number forming a part of another file name assigned to another music data file already stored in said memory.a second searcher searching said memory for a skipped number less than said maximum number anda namer introducing said skipped number into said file name when said second searcher finds said skipped number and assigning said file name to said music data file.
  • 8. The musical instrument as set forth in claim 7, in which said namer introduces a minimum skipped number into said file name when said second searcher finds plural skipped numbers.
  • 9. The musical instrument as set forth in claim 7, in which said namer introduces a number next to said maximum number instead of said skipped number to said file name when said first searcher finds said maximum number less than a limit of a numerical range.
  • 10. The musical instrument as set forth in claim 9, in which said namer introduces said skipped number into said file name when said first searcher finds said maximum number equal to said limit of said numerical range.
  • 11. The musical instrument as set forth in claim 10, in which said namer gives a number selected from an extended numerical range greater than said limit of said numerical range to said file name on the conditions that said first searcher finds said maximum number equal to said limit of said numerical range and that said second searcher does not find said skipped number in said numerical range.
  • 12. The musical instrument as set forth in claim 11, in which said file name assigner further includes a messenger giving a warning to users when said maximum number reaches the limit of said extended numerical range without fining said skipped number.
  • 11. A controller for automatically assigning a file name to a music data file, comprising: a music data file producer creating a music data file in a memory for storing a set of music data codes: anda file name assigner assigning a file name to said music data file, and including a first searcher searching said memory for another music data file having a maximum number less than a limit of numerical range anda namer introducing the number next to said maximum number into said file name and assigning said file name to said music data file.
  • 12. The controller as set forth in claim 11, in which said file name assigner further includes a second searcher searching said memory for a skipped number in said numerical range, and said namer introduces said skipped number into said file name when said first searcher finds said maximum number equal to said limit of said numerical range.
  • 13. The controller as set forth in claim 12, in which said namer introduces a minimum skipped number into said file name when said second searcher finds plural skipped numbers.
  • 14. The controller as set forth in claim 12, in which said namer introduces a number selected from an extended numerical range greater than said limit of said numerical range into said file name when said first searcher finds said maximum number equal to said limit and when said second searcher does not find said skipped number.
  • 15. The controller as set forth in claim 14, in which said file name assigner further includes a messenger giving a warning to users on the condition that said first searcher finds said i maximum number equal to a limit of said extended numerical range and when said second searcher does not find said skipped number.
  • 16. A musical instrument for performing a piece of music, comprising: plural manipulators selectively manipulated by a human player for specifying pitch names along said piece of music;a tone generating system connected to said plural manipulators, and producing tones having said pitch names;a music data producer connected to said plural manipulators, and producing a set of music data codes expressing a performance along said piece of music;a music data file producer creating a music data file in a memory for storing said set of music data codes; anda file name assigner assigning a file name to said music data file, and including a first searcher searching said memory for another music data file having a maximum number less than a limit of numerical range anda namer introducing the number next to said maximum number into said file name and assigning said file name to said music data file.
  • 17. The musical instrument as set forth in claim 16, in which said file name assigner further includes a second searcher searching said memory for a skipped number in said numerical range, and said namer introduces said skipped number into said file name when said first searcher finds said maximum number equal to said limit of said numerical range.
  • 18. The musical instrument as set forth in claim 17, in which said namer introduces a minimum skipped number into said file name when said second searcher finds plural skipped numbers.
  • 19. The musical instrument as set forth in claim 17, in which said namer introduces a number selected from an extended numerical range greater than said limit of said numerical range into said file name when said first searcher finds said maximum number equal to said limit and when said second searcher does not find said skipped number.
  • 20. The musical instrument as set forth in claim 19, in which said file name assigner further includes a messenger giving a warning to users on the condition that said first searcher finds said maximum number equal to a limit of said extended numerical range and when said second searcher does not find said skipped number.
Priority Claims (1)
Number Date Country Kind
2005-371894 Dec 2005 JP national