ELECTRONIC MUSICAL INSTRUMENT, DATA PROCESSING METHOD, AND DATA PROCESSING PROGRAM
The electronic musical instrument addresses the challenge of unintended timbre changes by using a processor to manage hierarchical data structures, enabling seamless switching between data types and reducing user effort in maintaining consistent timbre and data portability.
Patent Information
- Application Number
- JP2021194314
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2041-11-30
AI Technical Summary
Existing electronic musical instruments with hierarchical data structures face challenges in managing registration data, particularly when tone data is changed, leading to unintended timbre changes across multiple registration data sets, imposing a heavy burden on users to manually edit each data set.
The electronic musical instrument employs a processor to manage hierarchical data structures by duplicating and updating reference information for data types, allowing users to easily switch between data-inclusive and data-reference types, ensuring consistent timbre across registration data without manual editing.
This approach simplifies the handling of hierarchical data, reducing user burden by automatically maintaining consistent timbre and facilitating efficient data management and portability across different instruments.
Smart Images

Figure 0007552563000006 
Figure 0007552563000003 
Figure 0007552563000001
Abstract
Description
[Technical field]
[0001] The disclosure of this specification relates to an electronic musical instrument, a data processing method, and a data processing program. [Background technology]
[0002] Some data handled by electronic musical instruments has a hierarchical structure. One example of this type of data is registration data (see, for example, Patent Document 1).
[0003] The registration data includes, for example, data that indicates a tone color, called tone data. A user can select registration data and play an electronic musical instrument with a tone color set according to the selected registration data.
[0004] There are two types of registration data: data-containing type, in which the registration data itself contains tone entity data, and data-reference type, in which the registration data itself does not contain tone entity data. Data-reference type registration data describes the number of the referenced tone data. The electronic musical instrument reads the referenced tone data and sets the tone according to the registration data. With data-reference type registration data, the data size is kept small because it does not contain tone entity data. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2009-222772 A Summary of the Invention [Problem to be solved by the invention]
[0006] In the data reference type, multiple registration data share and reference one tone data. Therefore, when this tone data is changed, the tone changes for all registration data that reference this tone data. However, changing the tone for all of this registration data is not always desired. The user must find all the registration data that has been changed and edit each one of them so that the tone is not changed unintentionally. This type of work places a heavy burden on the user.
[0007] With the data inclusion type, unintended tone changes like those described above do not occur. However, when changing the tone, the user must change the target tone data one by one. This work also places a heavy burden on the user.
[0008] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide an electronic musical instrument, a data processing method, and a data processing program that make it easy to handle data having a hierarchical structure. [Means for solving the problem]
[0009] An electronic musical instrument according to an embodiment of the present invention includes at least one processor, the at least one processor being capable of processing: No entity data Data Reference Type and data containing types with entity data and receiving a user's selection operation for selecting one of the plurality of data types of the first data having a hierarchical structure using a lower level second data, the data type selected by the selection operation being one of the plurality of data types of the first data as registration data having a plurality of data types including As a content assurance reference typeIn the case of a second data reference type, when second data referenced by the second data reference type is changed, the second data before the change is replicated, the reference information is changed so that the replicated second data is referenced by the first data of the second data reference type, and the first data with the reference information changed is stored in a storage unit. and when the data type selected by the selection operation is the data inclusion type in which the first data includes the entity data of the second data, if the second data is changed, the second data before the change is not replicated. . Effect of the Invention
[0010] According to one embodiment of the present invention, there is provided an electronic musical instrument, a data processing method, and a data processing program that can facilitate the handling of data having a hierarchical structure. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram showing the external appearance of an electronic musical instrument according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram showing a configuration of an electronic musical instrument according to an embodiment of the present invention; [Diagram 3] FIG. 4 is a diagram for explaining registration data and tone data. [Figure 4] FIG. 11 is a diagram illustrating an example of a data type of registration data. [Diagram 5] FIG. 13 is a diagram showing an example of a registration directory. [Figure 6] 4 is a flowchart showing the processing of a data processing program executed by a processor of the electronic musical instrument in one embodiment of the present invention. [Figure 7] 7 is a subroutine showing details of the editing process in step S105 in FIG. 6. [Figure 8] 7 is a subroutine showing details of the write process in step S107 in FIG. 6. [Figure 9] 7 is a subroutine showing details of the write process in step S111 of FIG. 6. [Figure 10] 7 is a subroutine showing details of the saving process in step S113 in FIG. 6. [Figure 11]7 is a subroutine showing details of the load process in step S115 of FIG. 6. [Figure 12] 7 is a subroutine showing details of the automatic saving process in step S117 in FIG. 6. [Figure 13] 7 is a subroutine showing details of the automatic load process in step S119 in FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] An electronic musical instrument according to an embodiment of the present invention will now be described in detail with reference to the drawings.
[0013] Fig. 1 is a diagram showing the external appearance of an electronic musical instrument 1 according to an embodiment of the present invention. Fig. 2 is a block diagram showing the configuration of the electronic musical instrument 1. The electronic musical instrument 1 is, for example, an electronic keyboard with a built-in synthesizer sound source. The electronic musical instrument 1 may be an electronic keyboard instrument other than an electronic keyboard, or may be an electronic percussion instrument, an electronic wind instrument, or an electronic string instrument.
[0014] The hardware configuration of the electronic musical instrument 1 includes a processor 10, a RAM (Random Access Memory) 11, a flash ROM (Read Only Memory) 12, a USB (Universal Serial Bus) interface 13, an LCD (Liquid Crystal Display) 14, an LCD controller 15, a keyboard 16, an operation unit 17, a key scanner 18, a pulse counter 19, an A / D converter 20, a sound source LSI (Large Scale Integration) 21, a D / A converter 22, an amplifier 23, and a speaker 24. The various components of the electronic musical instrument 1 are connected via a bus 25.
[0015] The processor 10 reads out the programs and data stored in the flash ROM 12 and uses the RAM 11 as a work area to generally control the electronic musical instrument 1.
[0016] The processor 10 may be, for example, a single processor or a multi-processor, and includes at least one processor. If multiple processors are included, the processor 10 may be packaged as a single device, or may be configured as multiple devices that are physically separated within the electronic musical instrument 1.
[0017] The processor 10 includes, as functional blocks, a selection operation receiving unit 100a that receives a user's selection operation to select one of a plurality of data types of first data that can be processed by an electronic musical instrument and has a hierarchical structure that uses lower-level second data, and a data storage unit 100b that stores the first data in a storage unit based on the data type selected by the selection operation. The operation of these functional blocks makes it easier to handle data with a hierarchical structure in the electronic musical instrument 1. The data processing method and data processing program according to an embodiment of the present invention are realized by causing the functional blocks of the processor 10 to execute various processes. The processor 10 is an example of a computer that can access a flash ROM 12, which is an example of the storage unit.
[0018] The RAM 11 temporarily holds data and programs. The RAM 11 holds programs and data read from the flash ROM 12, as well as other data necessary for communication.
[0019] The flash ROM 12 is a non-volatile semiconductor memory such as a flash memory, an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), etc., and serves as a secondary storage device or an auxiliary storage device. The flash ROM 12 stores programs and data, including a data processing program 120, that the processor 10 uses to perform various processes.
[0020] In this embodiment, each functional block of the processor 10 is realized by a software data processing program 120. Note that each functional block of the processor 10 may be realized in part or in whole by hardware such as a dedicated logic circuit.
[0021] The USB interface 13 is an interface to which a USB flash memory 2, which is an example of an external storage medium, can be connected.
[0022] The LCD 14 is an example of a display device. The LCD 14 is driven by an LCD controller 15. When the LCD controller 15 drives the LCD 14 in accordance with a control signal from the processor 10, a screen corresponding to the control signal is displayed on the LCD 14. The LCD 14 may be replaced with a display device such as an organic EL (Electro Luminescence) or LED (Light Emitting Diode). The LCD 14 may be a touch panel. In this case, the touch panel may function as both an input device and a display device.
[0023] The keyboard 16 has a plurality of white and black keys as performance operators, each of which corresponds to a different pitch.
[0024] The operation unit 17 includes operators such as mechanical, capacitive non-contact, and membrane switches, buttons, knobs, rotary encoders, wheels, and touch panels. In Fig. 2, a switch panel 17a, a rotary encoder 17b, and a wheel 17c are shown as examples of the operators included in the operation unit.
[0025] As a more specific example, the operation unit 17 includes a pitch bend wheel, a modulation wheel, a volume knob, a function rotary encoder, a layer rotary encoder, a parameter rotary encoder, a data entry section, and a registration section 170.
[0026] The pitch bend wheel is a control for generating a pitch bend effect. The modulation wheel is a control for generating a sound modulation effect such as vibrato. The volume knob is a control for adjusting the volume. The function rotary encoder is a control for selecting a function whose settings are to be changed. The layer rotary encoder is a control for selecting a layer whose settings are to be changed. The parameter rotary encoder is a control for selecting a parameter included in a selected function. The data entry section includes a rotary encoder and a "+ (plus)" key and a "- (minus)" key for changing the value of a selected parameter. The registration section 170 is a control for selecting registration data.
[0027] As shown in the enlarged view of FIG. 1, the registration section 170 includes a "BANK+" key 172, a "BANK-" key 174, and ten number buttons 176a to 176j, including "1" to "9" and "0."
[0028] In this embodiment, 200 registration data are stored in the flash ROM 12. The 200 registration data are managed by dividing them into a total of 20 groups that can be selected using the "BANK+" key 172 and the "BANK-" key 174. Each group stores 10 registration data. The user can select a group by operating the "BANK+" key 172 and the "BANK-" key 174, and select one registration data from the selected group by pressing any of the number buttons 176a to 176j. Information on the selected group and the registration data is displayed on the LCD 14, for example.
[0029] The key scanner 18 monitors key presses and releases on the keyboard 16 as well as operations on some of the operators included in the operation unit 17. For example, when the key scanner 18 detects a key press by a user, it outputs key press event information to the processor 10. The key press event information includes information on the pitch of the key related to the key press (key number). The key number is also called a key number, a MIDI key, or a note number.
[0030] It is also possible to provide a separate means for measuring the key pressing speed (velocity value) and include the velocity value in the key pressing event information. For example, the key pressing speed measuring means may be a means for providing two or three contact switches for each key and measuring the difference in the time each contact switch is conductive when the key is pressed. The velocity value can be said to be a value indicating the strength of the key pressing operation.
[0031] The pulse counter 19 is a device that detects the motion of various rotary encoders (denoted as "rotary encoder 17b" in FIG. 2).
[0032] The A / D converter 20 is a device that converts analog voltages corresponding to the volume positions of various wheels (denoted as "wheel 17c" in FIG. 2) into digital data.
[0033] The processor 10 instructs the sound source LSI 21 to read out corresponding waveform data from among a plurality of waveform data stored in the flash ROM 12. The waveform data to be read out is determined, for example, according to the tone color and key press event information selected by a user operation.
[0034] The tone generator LSI 21 generates musical tones based on waveform data read from the flash ROM 12 under the instruction of the processor 10. The tone generator LSI 21 has, for example, 128 generator sections and can simultaneously generate a maximum of 128 musical tones. In this embodiment, the processor 10 and the tone generator LSI 21 are configured as separate devices, but in another embodiment, the processor 10 and the tone generator LSI 21 may be configured as a single processor.
[0035] A digital audio signal of a musical tone generated by the sound source LSI 21 is converted into an analog signal by a D / A converter 22, and then amplified by an amplifier 23 and output to a speaker 24.
[0036] In this embodiment, the operation of the functional blocks of the processor 10 makes it easier to handle data with a hierarchical structure in the electronic musical instrument 1. In this embodiment, registration data is given as an example of data with a hierarchical structure (first data). In general, registration data is written in a hierarchical structure so that data lower than itself is used. In this embodiment, tone data is given as an example of data lower than the registration data (second data). The flash ROM 12 operates as a storage unit that stores registration data that can be processed by the electronic musical instrument 1.
[0037] Registration data is environmental setting data that compiles settings related to the overall operation of musical performance and sound. In this embodiment, the registration data can specify four timbres (in other words, four tone data) at the same time. By using such registration, the user can perform layered performance in which up to four timbres overlap.
[0038] 3 is a diagram for explaining registration data and tone data, which shows one registration data 230 developed in the RAM 11, which is a work area, and a data group stored in the flash ROM 12.
[0039] As shown in FIG. 3, the data group stored in the flash ROM 12 includes a tone directory 200, a plurality of tone data 210, a registration directory 220, and a plurality of registration data 230.
[0040] Tone data 210 is a collection of parameters related to tone color. The data size of each piece of tone data 210 is, for example, 200 bytes. The number of pieces of tone data 210 that can be stored in flash ROM 12 is, for example, a maximum of 1,000. The number of pieces of tone data 210 stored in flash ROM 12 increases or decreases by creating new pieces, duplicating, or deleting pieces of tone data 210.
[0041] 3, the registration data 230 expanded in the RAM 11 has a maximum of four pieces of tone data entity data corresponding to the common parameter area CPA, the tone directory area TDA, and layers 1 to 4. Hereinafter, for convenience, the tone data entity data will be referred to as "tone entity data."
[0042] A plurality of data types of registration data 230 are stored in the flash ROM 12. The data types of the registration data 230 stored in the flash ROM 12 are illustrated in FIG.
[0043] 4, the flash ROM 12 stores registration data 230 having a total of four tone entity data corresponding to layers 1 to 4. The data type of the layer having tone entity data is referred to as a "data inclusive type." For convenience, the registration data 230 having tone entity data corresponding to all layers 1 to 4 is referred to as an "all-inclusive type registration data 230."
[0044] When loading the all-inclusive registration data 230 into the RAM 11, the processor 10 copies the registration data 230 itself into the RAM 11. This allows the user to perform using the registration data 230.
[0045] As shown by symbol B in Fig. 4, the flash ROM 12 stores registration data 230 that has one to three tone entity data and is a mixture of data-containing and data-reference types. The data reference type is a data type of a layer that does not have tone entity data. Instead of having tone entity data, the data reference type describes a tone number assigned to the referenced tone data 210 in the tone directory area TDA. The tone number described in the tone directory area TDA is reference information for referring to the tone data 210, which is an example of second data.
[0046] Here, the tone directory area TDA manages whether or not tone entity data is included and the tone number indicating the referenced tone data 210. Specifically, the tone directory area TDA holds a value from 0 to 1000 in association with each layer. The value 0 indicates that tone entity data is included. The values 1 to 1000 indicate the tone number of the tone data 210 stored in the flash ROM 12.
[0047] In the example of symbol B in FIG. 4, consider the case where the value "00990" is written in the tone directory area TDA. This value is the information of layers 1 to 4 arranged in order. Specifically, the first value 0 and the following value 0 indicate information of layers 1 and 2, respectively. The value 99 indicates information of layer 3. The final value 0 indicates information of layer 4. In this example, the registration data 230 includes tone entity data corresponding to layers 1, 2, and 4, and the reference destination in layer 3 is tone data 210 with tone number 99.
[0048] 4 is a mixed type of data-referencing registration data 230. For convenience, this type of registration data 230 will be referred to as “mixed type registration data 230.”
[0049] When the mixed registration data 230 is expanded in the RAM 11, the processor 10 copies the registration data 230 itself in the RAM 11. While the registration data 230 is being used, the processor 10 reads the tone data 210 from the flash ROM 12 as necessary for the data reference layer.
[0050] When the processor 10 loads the mixed type registration data 230 in the RAM 11, the processor 10 may read the tone data 210 indicated by the tone number written in the tone directory area TDA from the flash ROM 12 and copy it to the corresponding layer. This puts the registration data 230 in the same state as the all-inclusive type on the RAM 11. Therefore, the processor 10 can use the registration data 230 simply by loading the registration data 230 loaded in the RAM 11 (from another point of view, without loading the flash ROM 12). As a result, the processing speed is increased.
[0051] 4, the registration data 230 that does not have any tone entity data and is only a data reference type is stored in the flash ROM 12. For convenience, the registration data 230 that is only a data reference type is referred to as "full reference type registration data 230."
[0052] When the full reference registration data 230 is expanded in the RAM 11, the processor 10 copies the registration data 230 itself into the RAM 11. While the registration data 230 is being used, the processor 10 reads the tone data 210 for each layer from the flash ROM 12 as necessary.
[0053] The data size of the registration data 230 varies depending on the number of tone entity data. In other words, the registration data 230 is variable-length data. For example, the data size of the all-reference type registration data 230 that does not have any tone entity data is 100 bytes. The data size of the all-inclusive type registration data 230 that has four tone entity data is 900 bytes.
[0054] In this embodiment, the area for the registration data 230 allocated to the flash ROM 12 is 100,000 bytes. Therefore, if all the registration data 230 are all-inclusive, a maximum of 111 pieces of registration data 230 can be stored in the flash ROM 12. However, in consideration of data efficiency, it is considered that the data reference type is often applied. Therefore, in this embodiment, the maximum number of registration data 230 that can be stored in the flash ROM 12 is set to 200, and the maximum number of tone entity data that can be included in all the registration data 230 is set to 400. A maximum of 100 all-inclusive registration data 230 can be stored in the flash ROM 12.
[0055] In the flash ROM 12, all data is managed by a file system. Therefore, each of the plurality of tone data 210 is treated as one file. Each of the plurality of registration data 230 is also treated as one file. In other words, these data are managed by file name, not by address.
[0056] The tone directory 200 is a directory for associating a tone number assigned to each piece of tone data 210 with a file name. The registration directory 220 is a directory for associating a number assigned to each piece of registration data 230 (hereinafter referred to as a "registration number") with a file name.
[0057] 5 is a diagram showing an example of the registration directory 220. The registration directory 220 manages the registration number of the registration data 230, the file name, the number of included tone entity data, and the data size (unit: byte) in association with each other.
[0058] Consider a case where one piece of tone data 210 that is shared and referenced by multiple registration data 230 is changed. In this case, the timbre will be changed for all registration data 230 that reference the changed tone data 210. However, there may be cases where the user does not want to change the timbre of some of the registration data 230 among the pieces of registration data 230. In this case, the user must find all the changed registration data 230 and edit each piece of registration data 230 one by one so that the timbre is not changed unintentionally. This type of work places a heavy burden on the user.
[0059] Consider the case where registration data 230 is copied to another compatible electronic musical instrument, given to another user, or uploaded onto a network for sharing. When carrying out these operations, it is necessary to copy, etc., all of the tone data 210 referenced by the registration data 230. However, such operations are troublesome for the user. Furthermore, in order to use the registration data 230, the tone data 210 and the registration data 230, which are separate and independent data, must be managed as a set. For this reason, mixed-type registration data 230 including data reference type and full-reference type registration data 230 are difficult to use in terms of portability.
[0060] In contrast, with all-inclusive registration data 230, there is no need to duplicate tone data 210, nor is there a need to manage the tone data 210 as a set, which is separate data. For example, simply duplicating registration data 230 onto another electronic musical instrument allows that registration data 230 to be used on that other electronic musical instrument. For this reason, all-inclusive registration data 230 is excellent in terms of portability.
[0061] However, since the data structure does not allow multiple registration data 230 to share and reference one tone data 210, for example, multiple registration data 230 may contain the same tone data 210, or a single registration data 230 may contain multiple copies of the same tone data 210. Therefore, in terms of efficient data management, it is inferior to the data reference type. The large data size puts a strain on memory, and a processing load may occur due to the large amount of data transferred when switching registration data 230.
[0062] Therefore, in this embodiment, the following data processing program 120 is executed. Execution of the data processing program 120 makes it easier for the electronic musical instrument 1 to handle the registration data 230.
[0063] 6 is a flowchart showing the processing of the data processing program 120 executed by the processor 10 in one embodiment of the present invention. For example, when a user operates a function rotary encoder, execution of the data processing program 120 is started.
[0064] The processor 10 detects a function that is set by operating the function rotary encoder (step S101).
[0065] The processor 10 determines whether the function detected in step S101 is a selected function of the registration data 230 (step S102).
[0066] If the function detected in step S101 is a selected function of the registration data 230 (step S102: YES), the processor 10 executes a selection process of the registration data 230 (step S103).
[0067] Specifically, the processor 10 accepts operations for the registration section 170. The user can select a bank for managing the registration data 230 by, for example, pressing the "BANK+" key 172 or the "BANK-" key 174. The selected bank is displayed on the LCD 14. When the user presses any one of the number buttons 176a to 176j, the selection for the registration data 230 is confirmed.
[0068] When the selection of the registration data 230 is confirmed, the processor 10 acquires the corresponding registration number. The processor 10 reads the registration data 230 to which the acquired registration number is assigned (in other words, the registration data 230 selected by the selection operation) from the flash ROM 12, transfers it to the RAM 11, and develops it, and ends the processing of this flowchart.
[0069] If the function detected in step S101 is an editing function for the registration data 230 (step S104: YES), the processor 10 executes an editing process for editing the registration data 230 (step S105). The registration data 230 to be edited is, for example, the registration data 230 selected by a selection function and expanded on the RAM 11.
[0070] The user can operate the operation unit 17 to edit the parameters defined in the common parameter area CPA of the registration data 230. The editable parameters are, for example, the file name, mode, and tone number of the registration data 230.
[0071] In the common parameter area CPA, the mode of each of layers 1 to 4 is defined. The mode of each of layers 1 to 4 indicates the data type of the tone corresponding to each of layers 1 to 4. There are two data reference types and one data inclusion type for the data types indicated by the modes. One of the data reference types is a content-dependent reference type (first data reference type). The other data reference type is a content-guaranteed reference type (second data reference type). Mode 0 indicates the content-dependent reference type. Mode 1 indicates the content-guaranteed reference type. Mode 2 indicates the data inclusion type.
[0072] Consider a case where "0012" is written in the common parameter area CPA as the mode value. This value is the information of layers 1 to 4 arranged in order. Specifically, the first value 0 and the following value 0 indicate information of layers 1 and 2, respectively. Value 1 indicates information of layer 3. Value 2 indicates information of layer 4. In this example, layers 1 and 2 are defined as content-dependent reference type, layer 3 is defined as content-guaranteed reference type, and layer 4 is defined as data-inclusive type.
[0073] Consider a case where the contents of the tone data 210 that is shared and referenced by multiple registration data 230 are changed. In this case, among all layers of the registration data 230 that refer to the tone data 210, the tone numbers described as references in the tone directory area TDA for layers defined as content-dependent reference types are not changed. Therefore, the registration data 230 including such layers are affected by the change in tone color that accompanies the change in the tone data 210.
[0074] In contrast, among all layers of the registration data 230 that are described with the above tone data 210 as a reference, for layers defined as content guaranteed reference type, the tone number described as a reference in the tone directory area TDA is rewritten.
[0075] Specifically, when the contents of tone data 210 are changed and saved, processor 10 creates a copy of tone data 210 before the change, assigns a new tone number to it, and saves it in flash ROM 12. For layers defined as a content guarantee reference type, the tone number written in tone directory area TDA is rewritten to the new tone number assigned to the copied tone data 210. Because of this rewrite process, in layers defined as a content guarantee reference type, the contents of referenced tone data 210 remain the same as before the change. Therefore, such registration data 230 is not affected by the change in tone that accompanies the change in tone data 210.
[0076] In this way, when the tone data 210 (second data) referenced by the content assurance reference type (second data reference type) is changed, the processor 10 copies the tone data 210 before the change, and changes the tone number (reference information) indicating the reference destination so that the content assurance reference type registration data 230 references the copied tone data 210.
[0077] Fig. 7 is a subroutine showing details of the editing process in step S105 in Fig. 6. As shown in Fig. 7, the processor 10 checks the parameters defined in the common parameter area CPA (step S201).
[0078] When the user performs an operation to change the file name (step S202: YES), the processor 10 updates the file name (step S203). Specifically, in step S203, the processor 10 updates the file name defined in the common parameter area CPA, and also updates the file name of the registration data 230 to be edited that is registered in the registration directory 220. The processor 10 saves the updated registration data 230 in the flash ROM 12, and ends the processing of the flowchart in FIG. 6.
[0079] When the user performs an operation to change the layer mode (step S202: NO and step S204: YES), the processor 10 determines whether the operation is a change from a data reference type (content-dependent reference type or content-guaranteed reference type) to a data inclusive type (step S205).
[0080] If the change operation is from the data reference type to the data inclusion type (step S205: YES), the processor 10 changes the corresponding layer from the data reference type to the data inclusion type (step S206).
[0081] Specifically, in step S206, the processor 10 reads from the flash ROM 12 the tone data 210 indicated by the tone number written in the tone directory area TDA, copies it to the corresponding layer, updates the value corresponding to this layer written in the tone directory area TDA to zero, and writes the changed mode (i.e., the value 2 indicating the data inclusive type) in the common parameter area CPA. The processor 10 saves the updated registration data 230 in the flash ROM 12, and ends the processing of the flowchart in FIG.
[0082] If the change operation is from the data inclusive type to the data reference type (step S205: NO and step S207: YES), the processor 10 changes the corresponding layer from the data inclusive type to the data reference type (step S208).
[0083] Specifically, in step S208, the processor 10 writes a tone number indicating the reference destination in the tone directory area TDA, deletes the tone entity data of the corresponding layer, and writes the changed mode (i.e., a value of 0 indicating a content-dependent reference type or a value of 1 indicating a content-guaranteed reference type) in the common parameter area CPA. The processor 10 saves the updated registration data 230 in the flash ROM 12 and ends the processing of the flowchart in Fig. 6. The tone number written in the tone directory area TDA is specified, for example, by a user operation.
[0084] In addition, if the mode is changed from content-dependent reference type to content-guaranteed reference type or from content-guaranteed reference type to content-dependent reference type, the processor 10 changes the mode value from 0 to 1 or from 1 to 0, saves it in the flash ROM 12, and terminates the processing of the flowchart in Figure 6.
[0085] Thus, in the editing process of step S105 in FIG. 6, the processor 10 operates as a selection operation receiving unit 100a that receives a user's selection operation to select one of the multiple selectable data types of the first data (registration data 230) (i.e., data-containing type, content-dependent reference type, and content-guaranteed reference type), and also operates as a data storage unit 100b that stores the first data (registration data 230) in flash ROM 12, which is an example of a storage unit, based on the data type selected by the selection operation.
[0086] By simply changing the mode, the user can convert the complicated registration data 230 having a hierarchical structure into a data type that is easy for the user to handle.
[0087] When the user performs an operation to change the tone number (step S204: NO and step S209: YES), the processor 10 determines whether the mode of the corresponding layer is the data inclusive type (step S210). If the mode is the data inclusive type (step S210: YES), the processor 10 ends the process of the flowchart in FIG.
[0088] If the mode of the corresponding layer is the data reference type (step S210: NO), in step S211, the processor 10 updates the tone number corresponding to this layer written in the tone directory area TDA to the tone number specified by the change operation. The processor 10 saves the updated registration data 230 in the flash ROM 12 and ends the processing of the flowchart in FIG.
[0089] When a change operation is performed on a parameter other than the file name, the mode, and the tone number (step S209: NO), in step S212, the processor 10 executes a process according to this change operation, and ends the process of the flowchart in FIG.
[0090] Here, in the editing process, the updated registration data 230 is stored in the flash ROM 12, but the process according to the present invention is not limited to this. The updated registration data 230 may be stored in the flash ROM 12 through the writing process in step S107, which will be described next.
[0091] If the function detected in step S101 is a write function for the registration data 230 (step S106: YES), the processor 10 executes a write process for writing the registration data 230 to the flash ROM 12 (step S107). The registration data 230 to be written may be, for example, registration data 230 newly created and stored in the RAM 11, or registration data 230 edited by the editing process in step S105.
[0092] Fig. 8 is a subroutine showing details of the write process in step S107 in Fig. 6. As shown in Fig. 8, the processor 10 selects a registration number to which data is to be written (step S301). The registration number may be a number designated by a user operation, or may be a number automatically determined by the processor 10.
[0093] The processor 10 acquires the number A of tone entity data included in the registration data 230 to be written (step S302).
[0094] The processor 10 acquires the number B of tone entity data included in the registration data 230 corresponding to the registration number of the write destination (step S303). Note that if the registration data 230 corresponding to the registration number is not registered, the number B of tone entity data acquired here is zero.
[0095] The processor 10 acquires the number C of tone entity data stored in the entire flash ROM 12 (step S304).
[0096] The processor 10 determines whether the value obtained by subtracting the number B obtained in step S303 from the sum of the number A obtained in step S302 and the number C obtained in step S304 exceeds 400 (i.e., the maximum number of tone entity data that can be included in all registration data 230) (step S305).
[0097] If the value does not exceed 400 (step S305: NO), the processor 10 stores the registration data 230 to be written in the flash ROM 12 (step S306) and ends the process of the flowchart in Fig. 6. This updates the registration data 230 corresponding to the registration number of the writing destination.
[0098] If the above value exceeds 400 (step S305: YES), the processor 10 displays an error message (step S307) and ends the processing of the flowchart in FIG. 6. Illustratively, an error message such as "MEMORY FULL" is displayed. When writing the registration data 230 to be written, the user needs to reduce the number of tone data 210 stored in the flash ROM 12, for example, by moving a part of the registration data 230 in the flash ROM 12 to an external storage medium.
[0099] If the function detected in step S101 is an editing function for the tone data 210 (step S108: YES), the processor 10 executes an editing process for editing the tone data 210 (step S109). The tone data 210 to be edited is, for example, the tone data 210 corresponding to a layer designated by a user operation from among the registration data 230 selected by the selection function and expanded on the RAM 11.
[0100] When the editing target is included in the registration data 230 as tone entity data (i.e., when it is a data inclusion type), the processor 10 changes this tone entity data in response to the user's operation. When there is no tone entity data and a reference tone number is described (i.e., when it is a data reference type), the processor 10 reads the tone data 210 indicated by the reference tone number from the flash ROM 12, copies it to the corresponding layer, and changes this tone data 210 in response to the user's operation. The processor 10 saves the changed tone data 210 in the flash ROM 12.
[0101] If the function detected in step S101 is a write function for tone data 210 (step S110: YES), the processor 10 executes a write process for writing the tone data 210 to the flash ROM 12 (step S111). The tone data 210 to be written is, for example, the tone data 210 corresponding to a layer designated by a user operation from among the registration data 230 selected by the selection function and expanded on the RAM 11.
[0102] Fig. 9 is a subroutine showing details of the write process in step S111 in Fig. 6. As shown in Fig. 9, the processor 10 selects a tone number to which data is to be written (step S401). The tone number may be a number designated by a user operation, or may be a number automatically determined by the processor 10.
[0103] The processor 10 searches the tone data 210 stored in the flash ROM 12 for registration data 230 including a content assurance reference type layer in which the tone number selected in step S401 is described as a reference (step S402).
[0104] The processor 10 determines whether the corresponding registration data 230 is found as a result of the search (step S403). If the corresponding registration data 230 is not found (step S403: NO), the processor 10 saves the tone data 210 to be written in the flash ROM 12 (step S404) and ends the processing of the flowchart in Fig. 6. As a result, the tone data 210 corresponding to the tone number of the write destination is saved in the flash ROM 12.
[0105] If the corresponding registration data 230 is found (step S403: YES), the processor 10 searches the flash ROM 12 for unused tone numbers (i.e., tone numbers to which tone data 210 is not assigned) and acquires the tone numbers found as a result of the search (step S405). The acquired tone number is held as the value E. If no unused tone numbers are found, the value E is set to -1.
[0106] If the value E is not -1 (step S406: NO), the processor 10 copies the tone data 210 indicated by the tone number selected in step S401, and stores the copied tone data 210 in the flash ROM 12 as the tone data 210 of the tone number indicated by the value E (step S407).
[0107] The processor 10 updates the reference tone numbers for all relevant layers (i.e., all content-guaranteed reference-type layers in which the tone number selected in step S401 is described as a reference) among the registration data 230 found as a result of the search in step S402 to the tone numbers indicated by the value E (step S408). Next, the processor 10 saves the tone data 210 to be written in the flash ROM 12 as the tone data 210 of the tone number selected in step S401 (step S404).
[0108] In this way, for layers defined as content guaranteed reference type, the tone numbers written in the tone directory area TDA are rewritten to new tone numbers assigned to the copied tone data 210. Because such rewriting processing is performed, the contents of the referenced tone data 210 remain unchanged from before the change. Therefore, such registration data 230 is not affected by the change in tone color that accompanies the change in tone data 210. The user does not need to perform cumbersome editing work on the registration data 230 to avoid unintended changes in tone color.
[0109] Note that, if the result of writing the tone data 210 to be written to the flash ROM 12 exceeds 400, which is the maximum number of tone entity data that can be saved, the processor 10 does not execute the process of step S408, but displays an error message as in the write process of step S107 in Fig. 6, and ends the process of the flowchart in Fig. 6. Also, if the value E is -1 in step S406 (step S406: YES), the processor 10 displays an error message (step S409) because there is no area in the flash ROM 12 to write the tone data 210 to be written, and ends the process of the flowchart in Fig. 6.
[0110] Next, an operation for handling the tone data 210 and the registration data 230 using an external storage medium (for example, the USB flash memory 2) connected to the electronic musical instrument 1 will be described.
[0111] If the function detected in step S101 is a function for saving registration data 230 (step S112: YES), the processor 10 executes a save process for saving the registration data 230 stored in the flash ROM 12 in an external storage medium (step S113). The registration data 230 to be saved is, for example, the registration data 230 designated by a user operation.
[0112] Fig. 10 is a subroutine showing details of the save process in step S113 in Fig. 6. As shown in Fig. 10, the processor 10 judges whether the external storage medium as the save destination can be accessed normally (step S501). For example, if the external storage medium as the save destination is not connected to the electronic musical instrument 1, normal access cannot be performed. In this case (step S501: NO), the processor 10 displays an error message (step S502) and ends the processing of the flowchart in Fig. 6.
[0113] When the external storage medium as the save destination can be accessed normally (step S501: YES), the processor 10 acquires the file name of the registration data 230 to be saved (step S503) and acquires the registration number (step S504).
[0114] The processor 10 stores the image file of the registration data 230 indicated by the registration number obtained in step S504 in the external storage medium under the file name obtained in step S503 (step S505).
[0115] If the free space on the external storage medium is insufficient during writing to the external storage medium, an error occurs. If such an error occurs (step S506: YES), the processor 10 displays an error message (step S507), cancels writing to the external storage medium, and ends the processing of the flowchart in Fig. 6. If such an error does not occur (step S506: NO), the registration data 230 is normally saved to the external storage medium. Note that if registration data 230 with the same file name is already saved to the external storage medium, it is saved by overwriting.
[0116] By using the saving function of the registration data 230, the user can save the registration data 230 stored in the flash ROM 12 to an external storage medium while maintaining the data type. As an example, the user can save the data reference type registration data 230, which has a small data size, to an external storage medium without changing the data type. The saving function of the registration data 230 is useful when it is easier for the user to handle the registration data 230 while maintaining the data type.
[0117] If the function detected in step S101 is a function for loading registration data 230 (step S114: YES), the processor 10 executes a load process for saving the registration data 230 stored in the external storage medium in the flash ROM 12 (step S115). The registration data 230 to be saved is, for example, the registration data 230 designated by a user operation.
[0118] Fig. 11 is a subroutine showing details of the load process in step S115 in Fig. 6. As shown in Fig. 11, the processor 10 judges whether the source external storage medium can be accessed normally (step S601). For example, if the source external storage medium is not connected to the electronic musical instrument 1, normal access cannot be performed. In this case (step S601: NO), the processor 10 displays an error message (step S602) and ends the processing of the flowchart in Fig. 6.
[0119] When the external storage medium from which the data is to be saved can be accessed normally (step S601: YES), the processor 10 acquires the file name of the registration data 230 to be saved (step S603), and acquires the registration number of the flash ROM 12, which is the destination for saving the data (step S604). The registration number of the destination for saving the data may be a number designated by a user operation, or may be a number automatically determined by the processor 10.
[0120] The processor 10 saves the image file of the registration data 230 to be saved in the flash ROM 12 with the file name acquired in step S603 as the registration data 230 with the registration number acquired in step S604 (step S605).
[0121] If the free space in the flash ROM 12 becomes insufficient during writing to the flash ROM 12, an error occurs. If such an error occurs (step S606: YES), the processor 10 displays an error message (step S607), cancels writing to the flash ROM 12, and ends the processing of the flowchart in Fig. 6. If such an error does not occur (step S606: NO), the registration data 230 is normally saved in the flash ROM 12. Note that the registration data 230 of the save destination registration number is overwritten.
[0122] By utilizing the load function of the registration data 230, the user can save the registration data 230 stored in an external storage medium in the flash ROM 12 while maintaining the data type. As an example, the user can save the data-containing registration data 230 in the flash ROM 12 with the data type unchanged. The load function of the registration data 230 is useful when it is easier for the user to handle the registration data 230 while maintaining the data type.
[0123] If the function detected in step S101 is the automatic saving function of the registration data 230 (step S116: YES), the processor 10 executes an automatic saving process to save the registration data 230 stored in the flash ROM 12 in an external storage medium (step S117). The registration data 230 to be saved is, for example, the registration data 230 designated by a user operation.
[0124] Fig. 12 is a subroutine showing details of the automatic saving process of step S117 in Fig. 6. In summary, in response to a predetermined operation by the user (operation to select the automatic saving function of the registration data 230), the processor 10 converts the data-referencing registration data 230 (first data) stored in the flash ROM 12, which is an example of a storage unit, into a data-containing type and saves the data in an external storage medium.
[0125] 12, the processor 10 judges whether the external storage medium as the storage destination can be accessed normally (step S701). If the external storage medium as the storage destination cannot be accessed normally (step S701: NO), the processor 10 displays an error message (step S702) and ends the process of the flowchart in FIG.
[0126] If the external storage medium as the save destination can be accessed normally (step S701: YES), the processor 10 acquires the file name of the registration data 230 to be saved (step S703) and also acquires the registration number (step S704).
[0127] The processor 10 develops, on the RAM 11, an image file of the registration data 230 indicated by the registration number acquired in step S704 (step S705).
[0128] 12, when the value L is set to 0, the processing target is layer 1, when the value L is set to 1, the processing target is layer 2, when the value L is set to 2, the processing target is layer 3, and when the value L is set to 3, the processing target is layer 4. The processor 10 executes the process of step S706 for each of layers 1 to 4 of the registration data 230 expanded on the RAM 11.
[0129] Specifically, in step S706, the processor 10 judges whether the mode described in the common parameter area CPA for the layer to be processed is the data inclusive type (step S706). If it is the data inclusive type (step S706: YES), the processor 10 does not make any particular changes to the layer to be processed. If it is not the data inclusive type (i.e., if it is the data reference type) (step S706: NO), the processor 10 changes the layer to be processed to the data inclusive type (step S707). Specifically, in S707, the processor 10 copies the tone data 210 indicated by the reference tone number to the layer to be processed, updates the value corresponding to this layer described in the tone directory area TDA to zero, and describes the changed mode (i.e., the value 2 indicating the data inclusive type) in the common parameter area CPA. By executing this process, if the registration data 230 expanded on the RAM 11 is the data reference type, it is automatically converted to the all-inclusive type.
[0130] The processor 10 saves the registration data 230 expanded on the RAM 11 in an external storage medium under the file name acquired in step S703 (step S708).
[0131] If the free space on the external storage medium is insufficient during writing to the external storage medium, an error occurs. If such an error occurs (step S709: YES), the processor 10 displays an error message (step S710), cancels writing to the external storage medium, and ends the processing of the flowchart in Fig. 6. If such an error does not occur (step S709: NO), the registration data 230 is normally saved to the external storage medium. Note that if registration data 230 with the same file name is already saved to the external storage medium, it is saved by overwriting.
[0132] By utilizing the automatic saving function of the registration data 230, the user can automatically convert the data-reference type registration data 230 stored in the flash ROM 12 into all-inclusive registration data 230 that is excellent in terms of portability, and save the data in an external storage medium. For example, the user can use the registration data 230 in another electronic musical instrument simply by copying the all-inclusive registration data 230 stored in the external storage medium onto another electronic musical instrument. The automatic saving function of the registration data 230 is useful when the all-inclusive registration data 230 is easy for the user to handle.
[0133] By selecting either the save function (see FIG. 10) or the automatic save function (see FIG. 12) of the registration data 230, the user can select whether to save the registration data 230 in an external storage medium while maintaining the data type, or to change the data type to an all-inclusive type as necessary and then save the data in an external storage medium. That is, the operation of selecting either the save function or the automatic save function of the registration data 230 is an operation accepted by the selection operation accepting unit 100a, and is an example of an operation of selecting one data type from among a plurality of selectable data types of the first data (registration data 230) (i.e., data inclusive type, content-dependent reference type, and content assurance reference type).
[0134] If the function detected in step S101 is the automatic load function of the registration data 230 (step S118: YES), the processor 10 executes an automatic load process to save the registration data 230 stored in the external storage medium in the flash ROM 12 (step S119). The registration data 230 to be saved is, for example, the registration data 230 specified by a user operation.
[0135] Fig. 13 is a subroutine showing details of the automatic load process of step S119 in Fig. 6. In summary, the processor 10 determines whether or not tone data 210 (second data) included in registration data 230 (first data) stored in an external storage medium is stored in flash ROM 12, which is an example of a storage unit, and if tone data 210 is stored in flash ROM 12, converts data-containing registration data 230 stored in the external storage medium into data-referencing data that references tone data 210 stored in flash ROM 12, and stores the converted data in flash ROM 12.
[0136] 13, the processor 10 judges whether the source external storage medium can be accessed normally (step S801). If the source external storage medium cannot be accessed normally (step S801: NO), the processor 10 displays an error message (step S802) and ends the process of the flowchart in FIG.
[0137] When the external storage medium from which the data is to be saved can be accessed normally (step S801: YES), the processor 10 acquires the file name of the registration data 230 to be saved (step S803), and acquires the registration number of the flash ROM 12, which is the destination for saving the data (step S804). The registration number of the destination for saving the data may be a number designated by a user operation, or may be a number automatically determined by the processor 10.
[0138] The processor 10 reads the registration data 230 of the file name acquired in step S803 from the external storage medium, and develops it on the RAM 11 (step S805).
[0139] The processor 10 executes the process of step S806 for each of layers 1 to 4 of the registration data 230 expanded on the RAM 11.
[0140] Specifically, in step S806, the processor 10 judges whether the mode described in the common parameter area CPA for the layer to be processed is the data inclusive type (step S806). If it is the data inclusive type (step S806: YES), the processor 10 compares the tone entity data of the layer to be processed with the tone data 210 indicated by each tone number (value T=1 to 1,000) stored in the flash ROM 12 (step S807). If the contents of the tone entity data of the layer to be processed match the contents of the tone data 210 to be compared (step S808: YES), the processor 10 changes the layer to be processed from the data inclusive type to the content guarantee reference type (step S809). Specifically, in step S809, the processor 10 changes the mode of the layer to be processed to the content guarantee reference type, describes the tone number indicating the tone data 210 whose contents match the tone entity data 210 as a reference destination for the layer to be processed, and further deletes the tone entity data of the layer to be processed. If the layer is not of the data inclusive type (i.e., if it is of the data reference type) (step S806: NO), the processor 10 makes no particular changes to the layer being processed. If there is no tone data 210 with matching content (step S808: NO), the processor 10 also makes no particular changes to the layer being processed. By executing the above process, the data inclusive layer of the registration data 230 expanded on the RAM 11 is automatically converted to the content guarantee reference type.
[0141] The processor 10 saves the registration data 230 expanded on the RAM 11 in the flash ROM 12 as registration data 230 with the file name acquired in step S803 and the registration number acquired in step S804 (step S810).
[0142] If the free space in the flash ROM 12 becomes insufficient during writing to the flash ROM 12, an error occurs. If such an error occurs (step S811: YES), the processor 10 displays an error message (step S812), cancels writing to the flash ROM 12, and ends the processing of the flowchart in Fig. 6. If such an error does not occur (step S811: NO), the registration data 230 is normally saved in the flash ROM 12. Note that the registration data 230 of the save destination registration number is overwritten.
[0143] By using the automatic load function of the registration data 230, the user can automatically convert the data-containing registration data 230 stored in an external storage medium into data-reference type (content-guaranteed reference type in this example) registration data 230 with a small data size, and then save it in the flash ROM 12. This allows the registration data 230 to be efficiently managed in the flash ROM 12. Furthermore, because it is content-guaranteed reference type, unintended changes in tone due to changes in the referenced tone data 210 do not occur. If the data-reference type registration data 230 is easy for the user to handle, the automatic load function of the registration data 230 is useful. Note that the automatic load function may automatically convert the registration data 230 into content-dependent reference type instead of content-guaranteed reference type.
[0144] By selecting either the load function (see FIG. 11) or the automatic load function (see FIG. 13) of the registration data 230, the user can select whether to store the registration data 230 in the flash ROM 12 while maintaining the data type, or to change the data type to a data reference type as necessary and then store the data in an external storage medium. That is, the operation of selecting either the load function or the automatic load function of the registration data 230 is an operation accepted by the selection operation accepting unit 100a, and is an example of an operation of selecting one of a plurality of selectable data types of the first data (registration data 230) (i.e., data inclusive type, content dependent reference type, and content assurance reference type).
[0145] If the function detected in step S101 is a function for saving tone data 210 (step S120: YES), the processor 10 executes a save process to save the tone data 210 stored in the flash ROM 12 to an external storage medium (step S121). The tone data 210 to be saved is, for example, tone data 210 specified by a user operation.
[0146] The processor 10 saves an image file of the tone data 210 to be saved in the external storage medium under the file name of the tone data 210 to be saved. If tone data 210 with the same file name has already been saved in the external storage medium, it is saved by overwriting. If the destination external storage medium is not connected to the electronic musical instrument 1 or the external storage medium does not have enough free space, the save process in step S121 ends with an error.
[0147] If the function detected in step S101 is a load function of the tone data 210 (step S122: YES), the processor 10 executes a load process to save the tone data 210 saved in the external storage medium in the flash ROM 12 (step S123). The tone data 210 to be saved is, for example, the tone data 210 specified by an operation by the user.
[0148] Specifically, in step S123, processor 10 saves an image file of tone data 210 to be saved in flash ROM 12 as tone data 210 of the tone number specified by a user operation or the like, with the file name of tone data 210 to be saved. Note that tone data 210 of the tone number at the save destination is overwritten. If, for example, the connection of the external storage medium from which the data is to be saved to the electronic musical instrument 1 is disconnected during writing to flash ROM 12, the save process in step S123 ends with an error.
[0149] If the function detected in step S101 is other than the functions described above, the processor 10 executes a process corresponding to the function (step S124) and ends the process of the flowchart in FIG.
[0150] Thus, according to this embodiment, there is provided an electronic musical instrument 1 that can make it easier to handle data with a hierarchical structure, a data processing method executed by a processor 10 of the electronic musical instrument 1, which is an example of a computer, and a data processing program 120.
[0151] In addition, the present invention is not limited to the above-mentioned embodiment, and various modifications can be made in the implementation stage without departing from the gist of the invention. In addition, the functions executed in the above-mentioned embodiment may be implemented in appropriate combinations as much as possible. The above-mentioned embodiment includes various steps, and various inventions can be extracted by appropriate combinations of the multiple components disclosed. For example, if an effect can be obtained even if some components are deleted from all the components shown in the embodiment, the configuration from which the components are deleted can be extracted as an invention.
[0152] In the above embodiment, in the data reference type, the tone data 210 stored in the flash ROM 12 is always set as the reference destination, but the configuration of the present invention is not limited to this. For example, consider a case where two mixed-type registration data 230 are expanded on the RAM 11, and these registration data 230 include a data reference type layer that references the common tone data 210. In this case, with regard to the common tone data 210, one registration data 230 may reference the tone data 210 stored in the flash ROM 12, and the other registration data 230 may reference the corresponding layer of one registration data 230 that references the common tone data 210 (i.e., the layer of one registration data 230 expanded on the RAM 11).
[0153] The invention as described in the claims of the original application is set forth below. [Appendix 1] At least one processor; The at least one processor: receiving a user's selection operation to select one of a plurality of data types of first data that can be processed by an electronic musical instrument, the first data having a hierarchical structure that uses a lower level of second data; storing the first data in a storage unit based on the data type selected by the selection operation; Electronic musical instrument. [Appendix 2] one of the plurality of data types is a first data reference type in which the first data references the second data; the first data of the first data reference type includes reference information for referencing the second data; 2. An electronic musical instrument as defined in appended claim 1. [Appendix 3] one of the plurality of data types is a second data reference type in which the first data references the second data; the first data of the second data reference type includes reference information for referencing the second data, The at least one processor: When the second data referenced by the second data reference type is changed, the second data before the change is replicated; modifying the reference information so that the first data of the second data reference type refers to the replicated second data; 1. An electronic musical instrument according to claim 1 or 2. [Appendix 4] One of the plurality of data types is a data inclusion type in which the first data includes entity data of the second data. 4. An electronic musical instrument according to any one of claims 1 to 3. [Appendix 5] the at least one processor converts the first data of the data reference type stored in the storage unit into the data inclusive type in response to a predetermined operation by the user, and stores the converted first data in an external storage medium; 5. An electronic musical instrument according to appendix 4, which cites appendix 2 or appendix 3. [Appendix 6] The at least one processor: determining whether the second data included in the first data of the data-inclusive type stored in an external storage medium is stored in the storage unit; When the second data is stored in the storage unit, the first data of the data-containing type stored in an external storage medium is converted into the data-referencing type that refers to the second data stored in the storage unit, and the converted data is stored in the storage unit. An electronic musical instrument as described in Appendix 4, which references Appendix 2 or Appendix 3, or Appendix 5, which references Appendix 2 or Appendix 3. [Appendix 7] the first data is registration data; The second data is tone data. 7. An electronic musical instrument according to any one of claims 1 to 6. [Appendix 8] On the computer, receiving a user's selection operation for selecting one of a plurality of data types of first data that can be processed by an electronic musical instrument, the first data having a hierarchical structure that uses a lower level of second data; storing the first data in a storage unit based on the data type selected by the selection operation; method. [Appendix 9] On the computer, receiving a user's selection operation for selecting one of a plurality of data types of first data that can be processed by an electronic musical instrument, the first data having a hierarchical structure that uses a lower level of second data; storing the first data in a storage unit based on the data type selected by the selection operation; program. [Explanation of symbols]
[0154] 1: Electronic instruments 2: USB flash memory 10: Processor 11: RAM 12: Flash ROM 13: USB interface 14: LCD 15: LCD controller 16: Keyboard 17:Operation section 17a: Switch panel 17b: Rotary encoder 17c: Wheels 18: Key scanner 19: Pulse counter 20: A / D converter 21: Sound source LSI 22: D / A converter 23: Amplifier 24: Speaker 25: Bus 100a: Selection operation reception unit 100b: Data storage unit 120: Data processing program
Claims
1. At least one processor; The at least one processor receiving a user's selection operation to select one of a plurality of data types of first data as registration data that can be processed by an electronic musical instrument and that includes a data reference type having no actual data and a data inclusion type having actual data, the first data having a hierarchical structure that uses a second data lower than the first data; When the data type selected by the selection operation is a second data reference type as a content guaranteed reference type in which the first data including reference information for referencing the second data refers to the second data, if the second data referenced by the second data reference type is changed, duplicating the second data before the change; modifying the reference information so that the first data of the second data reference type refers to the replicated second data; storing the first data in which the reference information has been changed in a storage unit; when the data type selected by the selection operation is the data inclusion type in which the first data contains entity data of the second data, if the second data is changed, not replicating the second data before the change; Electronic musical instrument.
2. one of the plurality of data types is a first data reference type as a content-dependent reference type in which the first data references the second data; the first data of the first data reference type includes reference information for referencing the second data, when the data type selected by the selection operation is the first data reference type, if the second data is changed, the second data before the change is not replicated; 2. The electronic musical instrument according to claim 1.
3. the at least one processor converts the first data of the data reference type stored in the storage unit into the data inclusive type in response to a predetermined operation by the user, and stores the converted first data in an external storage medium; 2. The electronic musical instrument according to claim 1.
4. The at least one processor determining whether the second data included in the first data of the data-inclusive type stored in the external storage medium is stored in the storage unit; When the second data is stored in the storage unit, the first data of the data-containing type stored in the external storage medium is converted into the data-referencing type that refers to the second data stored in the storage unit, and the converted data is stored in the storage unit.
4. The electronic musical instrument according to claim 3.
5. The second data is tone data.
5. An electronic musical instrument according to claim 1.
6. On the computer, receiving a user's selection operation to select one of a plurality of data types of first data as registration data that can be processed by an electronic musical instrument and that includes a data reference type having no entity data and a data inclusion type having entity data, the first data having a hierarchical structure that uses a second data lower than itself; When the data type selected by the selection operation is a second data reference type as a content guaranteed reference type in which the first data including reference information for referencing the second data refers to the second data, if the second data referenced by the second data reference type is changed, the second data before the change is replicated; changing the reference information so that the duplicated second data is referenced by the first data of the second data reference type; storing the first data in which the reference information has been changed in a storage unit; when the data type selected by the selection operation is the data inclusion type in which the first data contains entity data of the second data, if the second data is changed, the second data before the change is not replicated; method.
7. On the computer, receiving a user's selection operation to select one of a plurality of data types of first data as registration data that can be processed by an electronic musical instrument and that includes a data reference type having no entity data and a data inclusion type having entity data, the first data having a hierarchical structure that uses a second data lower than itself; When the data type selected by the selection operation is a second data reference type as a content guaranteed reference type in which the first data including reference information for referencing the second data refers to the second data, if the second data referenced by the second data reference type is changed, the second data before the change is replicated; changing the reference information so that the duplicated second data is referenced by the first data of the second data reference type; storing the first data in which the reference information has been changed in a storage unit; when the data type selected by the selection operation is the data inclusion type in which the first data contains entity data of the second data, if the second data is changed, the second data before the change is not replicated; program.
Citation Information
Patent Citations
Electronic musical device and program
JP2009222772A
Setting and editing sound setting information by link
WO2015107823A1
