Electronic musical instrument, method, storage medium and computer program product

By introducing multiple performance operators, storage units and processors into electronic instruments, automatically recording and outputting performance data, the problem that users find it difficult to quickly specify the reproduction start position, and the effect of rapid reproduction is achieved.

CN119541426APending Publication Date: 2025-02-28CASIO COMPUTER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411122823.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-29
Filing Date
2024-08-15
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In existing electronic instruments, the user needs to turn the dial to find the reproduction start position, making it difficult to quickly specify the reproduction start position.

Method used

An electronic musical instrument is designed, equipped with multiple performance operating parts, storage units and processors. When the user operates the performance operation piece, the processor automatically records and stores the performance data, and outputs the performance data from the most recent performance data starting position when the user presses the reproduction switch.

Benefits of technology

This enables the user to quickly specify the reproduction start position, and improves the reproduction efficiency of the performance data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119541426A_ABST
    Figure CN119541426A_ABST
Patent Text Reader

Abstract

The invention provides an electronic musical instrument. The electronic musical instrument includes: a plurality of performance operation elements; a storage unit that stores performance data corresponding to a performance operation by a user every time the user operates any one of the plurality of performance operation elements; and at least one processor that, when any one of the plurality of performance operation elements is operated by a user in a first operation state, starts outputting the performance data from a reproduction start position of the performance data in the storage unit corresponding to the operated performance operation element.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Citation of Related Applications

[0002] This application claims priority based on patent application No. 2023-139111 filed in Japan on August 29, 2023, and all the contents of the basic application are incorporated into this application. Technical Field

[0003] The present disclosure relates to electronic musical instruments, methods, storage media, and computer program products. Background Art

[0004] An electronic musical instrument capable of recording and reproducing a user's performance is known. For example, in the electronic musical instrument described in Japanese Patent Publication No. 2008-152054, a replay switch and a dial are provided. When the user specifies a recorded performance by operating the dial and presses the replay switch, the electronic musical instrument reproduces the performance. Summary of the invention

[0005] -Problems to be solved by the invention-

[0006] In the electronic musical instrument described in Japanese Patent Application Laid-Open No. 2008-152054, the user needs to rotate the dial to find the music piece to be the playback start position, so it is sometimes difficult to quickly specify the playback start position.

[0007] The present disclosure has been made in view of the above circumstances, and an object thereof is to provide an electronic musical instrument, method, storage medium, and computer program product that allow a user to quickly designate a reproduction start position.

[0008] The electronic musical instrument disclosed in the present invention comprises: a plurality of performance operating members; a storage unit for storing performance data corresponding to the performance operation of the user each time the user operates any one of the plurality of performance operating members; and at least one processor. The at least one processor performs the following operations: when the user operates any one of the plurality of performance operating members in a first operation state, the performance data is outputted from the reproduction start position of the performance data in the storage unit corresponding to the operated performance operating member.

[0009] -Effects of the Invention-

[0010] According to the present disclosure, an electronic musical instrument, a method, a storage medium, and a computer program product are provided that enable a user to quickly designate a reproduction start position. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 This is a diagram showing the appearance of an electronic musical instrument according to one embodiment of the present disclosure.

[0012] Figure 2 This is a block diagram showing the structure of an electronic musical instrument according to one embodiment of the present disclosure.

[0013] Figure 3 This is an explanatory diagram regarding writing of performance data into a ring buffer included in an electronic musical instrument according to an embodiment of the present disclosure.

[0014] Figure 4 This is a state transition diagram of a processor included in an electronic musical instrument according to an embodiment of the present disclosure.

[0015] Figure 5A This is an explanatory diagram regarding writing of performance data into a ring buffer in one embodiment of the present disclosure.

[0016] Figure 5B This is an explanatory diagram regarding writing of performance data into a ring buffer in one embodiment of the present disclosure.

[0017] Figure 6 This is an explanatory diagram regarding a playback start point corresponding to a key operation on a white key of an electronic musical instrument according to an embodiment of the present disclosure.

[0018] Figure 7 This is a diagram for explaining an example of fast-rewind processing in accordance with a key operation on a white key of an electronic musical instrument according to an embodiment of the present disclosure.

[0019] Figure 8 This is an explanatory diagram regarding a playback start point corresponding to a key operation on a black key of an electronic musical instrument according to one embodiment of the present disclosure.

[0020] Fig. 9 This is a diagram showing an example of processing timing when reproducing performance data in one embodiment of the present disclosure.

[0021] Fig.10 is a flowchart of a recording process performed by a processor in one embodiment of the present disclosure.

[0022] Fig.11 yes Fig.10 The subroutine of the recording task (step S102) is shown.

[0023] Fig.12 1 is a flowchart of a reproduction process executed by a processor in one embodiment of the present disclosure.

[0024] Fig.13 yes Fig.12 The subroutine of the reproduction start point determination process (step S301) is shown.

[0025] Fig.14 yes Fig.12 The subroutine of the output task (step S305) shown. DETAILED DESCRIPTION

[0026] An electronic musical instrument according to an embodiment of the present invention, and a method and a program executed by the electronic musical instrument as an example of a computer will be described in detail with reference to the drawings.

[0027] Figure 1 1 is a diagram showing the appearance of an electronic musical instrument 1 according to an embodiment of the present invention. Figure 2 1 is a block diagram showing the structure of an electronic musical instrument 1. The electronic musical instrument 1 is, for example, an electronic keyboard. The electronic musical instrument 1 may also be an electronic keyboard instrument other than an electronic keyboard such as an electronic piano. The electronic musical instrument 1 may also be an electronic percussion instrument, an electronic wind instrument, an electronic string instrument, or other electronic musical instruments.

[0028] The electronic musical instrument 1 includes, as a hardware structure, a processor 10, a RAM (Random Access Memory) 11, a flash ROM (Read Only Memory) 12, a keyboard 13, a pedal unit 14, a switch panel 15, a key scanner 16, a sound source LSI (Large Scale Integration) 17, a D / A converter 18, an amplifier 19, and a speaker 20. The various components of the electronic musical instrument 1 are connected via a bus 21.

[0029] The processor 10 reads out the program and data stored in the flash ROM 12. The processor 10 controls the electronic musical instrument 1 in a centralized manner by using the RAM 11 as a work area.

[0030] The processor 10 is, for example, a single processor or a multi-processor, and includes at least one processor. In the case of a structure including multiple processors, the processor 10 may be packaged as a single device, or may be composed of multiple devices physically separated in the electronic musical instrument 1. The processor 10 may also be called a control unit, a CPU (Central Processing Unit), an MPU (Micro Processor Unit), or an MCU (Micro Controller Unit).

[0031] The processor 10 includes an RTC (Real Time Clock) 10A. The RTC 10A generates and outputs digital data of year, month, day, and time (an example of system time).

[0032] The RAM 11 temporarily stores data and programs. The RAM 11 stores various programs and waveform data read from the flash ROM 12 .

[0033] like Figure 2 As shown, a first storage unit 11A and a second storage unit 11B are secured in the RAM 11. The second storage unit 11B is an example of another storage unit different from the first storage unit 11A. The storage unit securing the first storage unit 11A and the storage unit securing the second storage unit 11B may be different.

[0034] Figure 3 This is an explanatory diagram for writing the performance data D into the first storage unit 11A. The first storage unit 11A is an example of a ring buffer, and operates as a FIFO (First In First Out) buffer that logically connects the front end (Buffer [0]) and the end (Buffer [MAX]).

[0035] like Figure 3 As shown, the processor 10 sequentially writes the performance data D from the front end (Buffer[0]) to the end (Buffer[MAX]) of the first storage unit 11A. The performance data D is data generated by the processor 10 each time a performance operation is performed on a performance operating element.

[0036] That is, the first storage unit 11A is an example of a storage unit that stores the performance data D corresponding to the operation whenever the user operates any one of the plurality of performance operating members. Incidentally, the first storage unit 11A is an example of a ring buffer that stores the first performance data D corresponding to the operation of the key whenever the user operates a key as an example of a performance operating member, and stores the second performance data D corresponding to the operation of the pedal whenever the user operates a pedal as an example of a second operating member.

[0037] In addition, the first storage unit 11A is an example of a first storage area (ring buffer area) that stores performance data D corresponding to an operation on a performance operating member (an example of first performance data) and performance data corresponding to an operation on a second operating member (an example of second performance data such as performance data P, timbre, and setting change information for various effects described later).

[0038] When the performance data D is written to the end (Buffer[MAX]) of the first storage unit 11A, the processor 10 moves the recording pointer (the latest recording point PT2 described later) to the front end (Buffer[0]) of the first storage unit 11A. After the recording pointer moves, the processor 10 writes the performance data D again from the front end (Buffer[0]).

[0039] The performance data D includes various information such as the difference time Da, the command type Db, and the command data Dc.

[0040] The differential time Da is an example of differential time information. The differential time Da is the difference between the time (moment) when the user last operated any one of the performance operating parts and the time (moment) when the user currently operates any one of the performance operating parts. As an example, if the user operates one key of the keyboard 13 and then operates another key, the time difference between the two performance operations becomes the differential time Da. The processor 10 obtains the time (an example of system time) when the performance operation is performed from the RTC 10A.

[0041] Command type Db is note on, note off, control change, etc.

[0042] The command data Dc is: key number, rate, part, type of pedal, part, data value, etc.

[0043] When the recording pointer moves to the front end (Buffer[0]) of the first storage section 11A and new performance data D is written, the performance data D stored in the write area is overwritten by the new performance data D. Although described in detail later, the performance data D of the pedal that is lost in the first storage section 11A due to overwriting is stored in the second storage section 11B. That is, the second storage section 11B is an example of a second storage area for storing second performance data.

[0044] When the power of the electronic musical instrument 1 is turned off, the performance data D in the first storage section 11A and the second storage section 11B are lost.

[0045] The flash ROM 12 is a nonvolatile semiconductor memory such as a flash memory, an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), etc. The flash ROM 12 stores, as an example, a control program 12A for executing various processes according to an embodiment of the present invention.

[0046] The keyboard 13 has 88 keys as performance operation members. Specifically, the keyboard 13 has 52 white keys 13W and 36 black keys 13B. Each key is associated with a different pitch. The electronic musical instrument 1 produces musical sounds according to the key operation of the keys of the keyboard 13.

[0047] The number of keys of the keyboard 13 is not limited to 88. The keyboard 13 may have another number of keys, such as 61 keys or 76 keys.

[0048] The pedal unit 14 includes three pedals as performance operating members. Specifically, the pedal unit 14 includes a damper pedal, a soft pedal, and a sostenuto pedal. When the user presses a key while pressing a pedal, the electronic musical instrument 1 adds a sound effect corresponding to the pressed pedal to the musical sound and performs sound processing.

[0049] That is, the pedal unit 14 is an example of a second operating element that adds an effect (for example, an acoustic effect) to a musical sound corresponding to a key that is an example of a performance operating element.

[0050] The switch panel 15 includes a power button B0, a recording button B1, and a playback / stop button B2. Although omitted for convenience, the switch panel 15 also includes other operating elements for adjusting parameters such as volume and timbre, or selecting items.

[0051] The user can turn on or off the power of the electronic musical instrument 1 by pressing the power button B0. The user can record the performance performed using the electronic musical instrument 1 by pressing the record button B1. The user can reproduce and stop the performance data D stored in the electronic musical instrument 1 by pressing the reproduce / stop button B2.

[0052] For convenience, the power button B0, the recording button B1, and the play / stop button B2 are sometimes abbreviated as button B0, button B1, and button B2, respectively.

[0053] The switch panel 15 may include operating elements other than the buttons B0 to B2 .

[0054] The key scanner 16 monitors the pressing and releasing of keys on the keyboard 13. For example, if a key operation by a user is detected, the key scanner 16 outputs a key event to the processor 10. The key event includes information about the pitch of the key operated (key number). The key number is sometimes also called a key number, a MIDI (Musical Instrument Digital Interface) key, or a note number.

[0055] In this embodiment, a mechanism for measuring the key pressing speed (rate) of a key is separately provided, and the rate measured by the mechanism is also included in the key pressing event. For example, a plurality of contact switches are provided for each key. The rate is measured based on the difference in the time when each contact switch is turned on when the key is pressed. The rate can also be said to be a value indicating the strength of the key pressing operation, and can also be said to be a value indicating the size (volume) of the musical sound.

[0056] The waveform data is stored in the flash ROM 12 or another memory not shown. The waveform data is loaded into the RAM 11 during the startup process of the electronic musical instrument 1 so that the musical sound is quickly emitted according to the key operation. When the key operation is sensed by the key scanner 16, the processor 10 instructs the sound source LSI 17 to read the corresponding waveform data from the waveform data loaded into the RAM 11. The waveform data to be read is determined, for example, according to the timbre selected by the operation performed by the user and the key event.

[0057] The sound source LSI 17 generates musical sounds based on the waveform data read from the RAM 11 under the instruction of the processor 10. The sound source LSI 17 has, for example, 128 generator sections and can generate a maximum of 128 musical sounds simultaneously. In addition, in the present embodiment, the processor 10 and the sound source LSI 17 are configured as separate processors, but in another embodiment, the processor 10 and the sound source LSI 17 may be configured as one processor.

[0058] The digital musical sound data generated by the sound source LSI 17 is converted into an analog signal by the D / A converter 18 , amplified by the amplifier 19 , and output to the speaker 20 .

[0059] Figure 4 is the state transition diagram of processor 10. Figure 4 As shown, the processor 10 reciprocates between three states: a standby state ST1, a recording state ST2, and a playback state ST3. The standby state ST1 is a state of waiting for the recording and playback of the performance of the electronic musical instrument 1 performed by the user. The recording state ST2 is a state of recording the performance of the electronic musical instrument 1 performed by the user. The playback state ST3 is a state of reproducing (playing back) the recorded performance.

[0060] If the user presses the power button B0 when the power of the electronic musical instrument 1 is off, the electronic musical instrument 1 starts up.

[0061] As a result, the processor 10 enters the standby state ST1.

[0062] If the user performs a performance operation in the standby state ST1, the processor 10 transfers to the recording state ST2. The performance operation is: a key operation on any key of the keyboard 13, or a stepping operation on any pedal of the pedal unit 14. That is, the processor 10 uses the operation of any one of the performance operating members as a trigger to transfer from the standby state ST1 to the recording state ST2. In this way, if the user starts to play, the recording will automatically start. Therefore, the user can record the performance without increasing the operation burden.

[0063] If the state of recording is transferred to ST2, the processor 10 starts recording processing. The recording processing is a process of storing the performance data D corresponding to the operation in the first storage unit 11A every time the user operates any one of the performance operating parts. The recording processing is performed, for example, in a 1ms cycle (an example of the first cycle). The above-mentioned "the user operates any one of the performance operating parts" refers to the following situation: the user operates any one of the 52 white keys 13W, or operates any one of the 36 black keys 13B, or operates any one of the 3 pedals. "ms" means milliseconds.

[0064] Thus, when the processor 10 is in the recording state ST2, it executes the process of storing the performance data D in the first storage section 11A in accordance with the user's operation on the performance operating element in the first cycle (1 ms cycle).

[0065] Figure 5A as well as Figure 5B This is an explanatory diagram for writing the performance data D into the first storage unit 11A. In the following, when distinguishing the performance data D of the notes from the performance data D of the pedal, for convenience, the performance data D of the notes is recorded as "performance data N" and the performance data D of the pedal is recorded as "performance data P".

[0066] The oldest recording point PT1 indicates the storage position of the oldest performance data D among the performance data D currently stored in the first storage section 11A.

[0067] The latest recording point PT2 indicates a position where the performance data D corresponding to the next performance operation is stored.

[0068] The reproduction start point PT3 indicates the position in the first storage unit 11A at which the output of the performance data D starts during the reproduction process. The reproduction start point PT3 is an example of a first position corresponding to a time point traced back by a first time (a time specified by the user in a fast-rewind operation) from a given reference time point (a time point at which the performance data D corresponding to the next operation on the performance operating member is stored, i.e., a time point indicated by the latest recording point PT2).

[0069] In order to fast-forward the performance data D, the format of the performance data D needs to be fast-forwarded internally from the oldest recording point PT1 to the reproduction start point PT3. That is, the processor 10 fast-forwards and reads the performance data D from the oldest recording point PT1 to the reproduction start point PT3 in the first storage unit 11A, and starts the reproduction of the performance data D (in other words, outputs the performance data D to the sound source LSI 17) from the reproduction start point PT3.

[0070] Figure 5AThe example shows a state where the performance data D is written from the front end (Buffer[0]) to the middle of the first storage unit 11A. Figure 5A In the example of , the performance data D is not written to the end (Buffer[MAX]) of the first storage unit 11A. Therefore, at this stage, the performance data D is not overwritten and disappears in the first storage unit 11A. Figure 5A In the example of , the second storage unit 11B does not store the performance data D. For convenience, the area where the performance data D corresponding to the next performance operation is written is referred to as "writing area W1".

[0071] exist Figure 5A In the example of , the processor 10 fast-forwards and reads from the oldest recording point PT1 to the reproduction start point PT3 in the first storage unit 11A, and updates the setting value related to the pedal operation based on the performance data P1 read in the fast-forward (for example, the setting value related to the pedal operation based on the performance data P1 is recorded in the header block of the SMF (Standard MIDI File) and output to the sound source LSI 17). As a result, when the reproduction starts from the reproduction start point PT3, the sound effect corresponding to the performance data P1 is added to the musical sound and the sound generation process is performed.

[0072] That is, when the first storage unit 11A contains the second performance data (for example, performance data P), the processor 10 instructs the sound source LSI 17 to perform a sound generation process for generating musical sounds based on the performance data P in the playback state.

[0073] Figure 5B The example shows that from Figure 5A The recording process continues in the state. Figure 5B In, it will be from Figure 5A The newly written performance data D is recorded as "performance data D'". Figure 5B In the example, the performance data D is written to the end (Buffer[MAX]) of the first storage unit 11A, the recording point returns to the front end (Buffer[0]), and new performance data D' is written sequentially from the front end (Buffer[0]). The performance data P1 of the pedal in the first storage unit 11A is overwritten by the new performance data D' and disappears.

[0074] Since the pedal performance data P1 is overwritten and lost when fast-forwarding from the oldest recording point PT1 to the reproduction start point PT3 in the first storage unit 11A during the reproduction process, the processor 10 cannot obtain the setting value corresponding to the performance data P1. In this case, when the reproduction starts from the reproduction start point PT3, the sound effect corresponding to the performance data P1 is not added to the musical sound, but the sound generation process is performed.

[0075] Therefore, when the performance data P of the pedal has been stored in the area in which the new performance data D' is written in the first storage section 11A, the processor 10 overwrites the performance data P in the area with the new performance data D', while storing the performance data P in the area in the second storage section 11B different from the first storage section 11A. That is, in the recording state, when the performance data P (an example of the second performance data) stored in the first storage section 11A (an example of the first storage area) is overwritten, the processor 10 stores the overwritten performance data P in the second storage section 11B (an example of the second storage area).

[0076] Incidentally, every time the performance data P in the first storage section 11A is overwritten with new performance data D′, the processor 10 updates the performance data P stored in the second storage section 11B to the performance data P that disappeared from the first storage section 11A due to the overwriting.

[0077] As a pre-processing of the fast-forwarding process, the processor 10 checks whether there is performance data P in the second storage unit 11B. If the performance data P is stored in the second storage unit 11B, the processor 10 updates the setting value related to the pedal performance according to the performance data P, and then fast-forwards and reads it from the oldest recording point PT1 to the reproduction start point PT3 in the first storage unit 11A. Thus, even if the performance data P is overwritten and lost, when the reproduction starts from the reproduction start point PT3, the processor 10 can also add the sound effect corresponding to the performance data P to the musical sound (that is, add the appropriate sound effect that faithfully reproduces the performance of the user in the recording to the musical sound) and perform the sound generation process.

[0078] In this way, when reproducing the performance data D, the processor 10 reflects the pedal performance data P stored in the second storage unit 11B on the oldest performance data N among the performance data N stored in the first storage unit 11A and outputs the same.

[0079] That is, in the reproduction state, the processor 10 instructs the sound source LSI 17 to perform sound production processing for producing musical sounds based on performance data D (an example of first performance data) stored in the first storage unit 11A (an example of the first storage area) and performance data P (an example of second performance data) stored in the second storage unit 11B (an example of the second storage area).

[0080] As an aside, when fast-forwarding and reading in the first storage unit 11A from the oldest recording point PT1 to the reproduction start point PT3, when the second performance data (for example, the performance data P, the setting change information described later, etc.) is stored in the second storage unit 11B, the processor 10 changes the setting information such as the addition of sound effects based on the performance data P and the timbre based on the setting change information with respect to the performance data D in the first storage unit 11A, and instructs the sound to be generated from the reproduction start point PT3, so that the sound source LSI 17 performs sound processing.

[0081] In the recording state ST2, if the user short-presses or long-presses the recording button B1, the processor 10 stops recording (storing the performance data D corresponding to the performance operation) and returns to the standby state ST1.

[0082] In the standby state ST1 (or the recording state ST2), if the user short-presses the playback / stop button B2 or presses the playback / stop button B2 while performing a key operation on any key, the processor 10 shifts to the playback state ST3.

[0083] When the user short presses the playback / stop button B2, the processor 10 determines the playback start point PT3 in the first storage unit 11A, and starts playback of the performance data D from the determined playback start point PT3. For example, the processor 10 determines a time point traced back by a fixed time (e.g., 10 seconds) from the latest recording point PT2 as the playback start point PT3, and starts playback of the performance data D.

[0084] When the user presses the play / stop button B2 and simultaneously performs a key operation on any key, the processor 10 starts the reproduction of the performance data D from the reproduction start point PT3 corresponding to the key operation.

[0085] Figure 6 1 is an explanatory diagram of the playback start point PT3 when the user presses the playback / stop button B2 and simultaneously presses the white key 13W. Figure 6 , the relationship between the white key 13W pressed by the user and the fast-rewind time is schematically shown.

[0086] There are 52 white keys 13W, which correspond to the ranges of A0 to C8. Figure 6As shown in FIG. 1 , the processor 10 determines the fast-rewind time during playback according to the white key 13W that is pressed. Figure 6 In the example, the more the white key 13W located on the right is pressed, the longer the processor 10 will fast-forward the time.

[0087] The fast rewind time is calculated using the following mathematical formula (1).

[0088] Mathematical formula (1):

[0089] Fast rewind time (s) = n × 5 (s) + 10 (s)

[0090] Here, (s) represents seconds as a unit.

[0091] The processor 10 associates and stores a value n (an example of the first value) with each of the white keys 13W in the range A0 to C8. The value n is any one of 1 to 52. The lower the white key 13W in the lower range, the smaller the associated value n.

[0092] The smallest value n, "1", is associated with the white key 13W in the lowest range A0 among the ranges A0 to C8. Every time the range of the white key 13W goes up by one, the value n increases by 1. Therefore, the largest value n, "52", is associated with the white key 13W in the highest range C8 among the ranges A0 to C8.

[0093] The processor 10 acquires the value n associated with the white key 13W pressed by the user, and substitutes the acquired value n into the above-mentioned mathematical formula (1) to calculate the fast-rewind time (an example of the first time).

[0094] For example, if the user presses the playback / stop button B2 and simultaneously presses the white key 13W of the range A0, the processor 10 calculates the fast-rewind time as 15 seconds. For example, if the user presses the playback / stop button B2 and simultaneously presses the white key 13W of the range C2, the processor 10 calculates the fast-rewind time as 60 seconds. For example, if the user presses the playback / stop button B2 and simultaneously presses the white key 13W of the range C8, the processor 10 calculates the fast-rewind time as 270 seconds.

[0095] In this way, the user can specify a shorter fast rewind time by pressing the white key 13W in the low range. The user can specify a longer fast rewind time by pressing the white key 13W in the high range. The user can grasp the length of the fast rewind time by using the range and position of the pressed white key 13W as a clue, so that an intuitive fast rewind operation can be performed.

[0096] The processor 10 determines the position (an example of the first position) corresponding to the time point traced back from the latest recording point PT2 (an example of a given reference time point) by the fast-forward time (an example of the first time) calculated using the above mathematical formula (1) as the reproduction start point PT3.

[0097] Figure 7 This is a diagram for explaining an example of fast rewind processing executed when the user presses the play / stop button B2 and the white key 13W at the same time. Figure 7 In the figure, "Cumulative Da" is the cumulative time of the differential time Da, which means the time obtained by adding the differential time Da of each performance data D in sequence from the oldest recording point PT1. As an example, the cumulative Da until the next performance data D of the oldest recording point PT1 is 739ms obtained by adding 313ms and 426ms.

[0098] exist Figure 7 In the example of , the cumulative Da of the latest recording point PT2 is 123,656 ms. In addition, since the user presses the playback / stop button B2 and the white key 13W of the range C2 at the same time, the fast-rewind time is calculated to be 60,000 ms (= 60 seconds).

[0099] In the fast-rewind process, the processor 10 adds the differential time Da of each performance data D from the oldest recording point PT1 to the latest recording point PT2 to calculate the cumulative Da. The processor 10 determines 63,656 ms, which corresponds to the time point traced back 60,000 ms from the calculated cumulative Da (123,656 ms), as the reproduction start point PT3. As a more specific example, the processor 10 determines the position closest to the performance data D with the cumulative Da of 63,656 ms as the reproduction start point PT3.

[0100] For example, in a general SMF format, delta time, which is information in tick units, is used to manage the time difference of each performance data D. In the fast-forward process, it is necessary to search for the position of the playback start point PT3 after the fast-forward based on the information converted from the fast-forward time specified by the user to the tick unit. In contrast, in the present embodiment, the differential time Da representing the time itself is used to manage the time difference of each performance data D. Since the conversion process to the tick unit information is not required, the processing load of the processor 10 is reduced.

[0101] In this way, the processor 10 uses the differential time Da contained in each of the multiple performance data D to determine the first position (the position corresponding to the time point traced back by the calculated fast-forward time) in the first storage unit 11A (an example of a storage unit), and determines the determined first position as the reproduction start point PT3.

[0102] During the reproduction process, the processor 10 fast-forwards and reads in the first storage unit 11A from the oldest recording point PT1 where the cumulative Da is 0 ms to the reproduction start point PT3 (the position closest to the performance data D where the cumulative Da is 63,656 ms), and starts reproducing the performance data D from the reproduction start point PT3.

[0103] Figure 8 1 is an explanatory diagram of the playback start point PT3 when the user presses the playback / stop button B2 and the black key 13B at the same time. Figure 8 , the relationship between the black key 13B pressed by the user and the fast-rewind time is schematically shown.

[0104] There are 36 black keys 13B, which correspond to the ranges of A#0 to A#7. Figure 8 As shown, the processor 10 determines the fast-rewind time during reproduction according to the black key 13B pressed by the user.

[0105] The processor 10 associates and stores the 36 black keys 13B (black keys 13B in the ranges A#0 to A#7) with the marks M1 to M36 (an example of an identifier), respectively.

[0106] For example, in the recording state ST2, each time the user short presses the button B1 (each time the user performs a marking operation), the processor 10 registers the mark M for the recording start position on the first storage unit 11A represented by the latest recording point PT2 at that time point (in other words, establishes a correspondence between the mark M and the above-mentioned recording start position).

[0107] More specifically, if the user performs a marking operation, the processor 10 always registers a mark M1 corresponding to the leftmost black key 13B (A#0) on the keyboard 13 for the recording start position on the first storage unit 11A represented by the latest recording point PT2 at that time.

[0108] Every time a mark M1 is registered for a new recording start position, the black key 13B corresponding to each previous recording start position moves to the right one black key 13B. In other words, a mark M with one more symbol number is registered for each previous recording start position.

[0109] As an example, if the mark M1 is registered for the new recording start position, the marks M2, M3, and M4 are registered for the recording start positions for which the marks M1, M2, and M3 were registered before. That is, for each recording start position before this time, the mark M with the number incremented by 1 is registered. Therefore, for example, the black key 13B (F#1) corresponding to the mark M4 indicates the reproduction start position on the first storage unit 11A marked 4 times before.

[0110] When the state is shifted to the recording state ST2, the processor 10 may register the mark M1 at the recording start position on the first storage unit 11A indicated by the latest recording point PT2 at that time, regardless of whether there is a marking operation by the user.

[0111] When the power of the electronic musical instrument 1 is turned off, the registration information of the mark M disappears.

[0112] For example, if the recording process is executed 13 times since the power of the electronic musical instrument 1 is turned on, the markers M1 to M13 are registered for the recording start positions at the respective time points (see Figure 8 ). The marks M1 to M13 are respectively associated with the black keys 13B of the range A#0 to D#3 and stored.

[0113] Therefore, for example, if the user presses the playback / stop button B2 and simultaneously presses the black key 13B of the range C#3, the processor 10 acquires the mark M12 corresponding to the black key 13B, such as Figure 8 As shown, the position in the first storage unit 11A where the mark M12 is registered is determined as the reproduction start point PT3.

[0114] In addition, for example, if the user presses the playback / stop button B2 and simultaneously presses the black key 13B of the range F#1, the processor 10 acquires the mark M4 corresponding to the black key 13B, as shown in FIG. Figure 8 As shown, the position in the first storage unit 11A where the mark M4 is registered is determined as the reproduction start point PT3.

[0115] In this way, the user can play back the performance recorded more recently by pressing the black key 13B with a lower pitch, and can play back the performance recorded more recently by pressing the black key 13B with a higher pitch. The user can intuitively grasp the time point of the fast rewind by using the pitch range and position of the pressed black key 13B as a clue.

[0116] For example, if the user wants to listen to his / her own performance from a position slightly earlier than the time point of reproduction (e.g., another previously marked position) after pressing a certain black key 13B to reproduce the performance data of his / her own performance, he / she only needs to press the black key 13B on the right side of the above-mentioned certain black key 13B. In addition, if the user wants to listen to his / her own performance from a position slightly later than the time point of reproduction (e.g., another later marked position), he / she only needs to press the black key 13B on the left side of the above-mentioned certain black key 13B.

[0117] Whether in standby state ST1 or recording state ST2, the user can determine the fast rewind time (in other words, quickly specify the playback start point PT3 as the playback start position) by a single action operation such as pressing the white key 13W or the black key 13B while pressing the playback / stop button B2.

[0118] The reproduction process is executed in a 5 ms cycle (an example of the second cycle), for example, until the reproduction of the performance data D starting from the reproduction start point PT3 is stopped or completed.

[0119] That is, the processor 10 performs a process of outputting the performance data D stored in the first storage unit 11A at a 5 ms cycle (an example of a second cycle) longer than the 1 ms cycle (an example of a first cycle) during the reproduction process. More specifically, the processor 10 outputs the performance data D stored in the first storage unit 11A to the sound source LSI 17 at a 5 ms cycle longer than the 1 ms cycle of the recording process during the reproduction process. The sound source LSI 17 performs a sound generation process based on the performance data D input by the processor 10.

[0120] The processor 10 can obtain performance data D with a high sampling rate by performing recording processing at a 1 ms period. Here, in order to reproduce the recorded performance with higher reproducibility, it is considered that the reproduction processing can be performed at the same 1 ms period as the recording processing. However, if the reproduction processing is performed at a high speed, the processing burden of the electronic musical instrument 1 increases. Due to the influence of the increase in the processing load, the reproduced sound may not be properly reproduced (for example, the reproduced sound becomes slow). The so-called "reproduced sound becomes slow" means, for example, that the reproduced sound tends to be delayed, the reproduced sound temporarily deviates, etc.

[0121] Therefore, in this embodiment, the execution cycle of the reproduction process is set lower than the execution cycle of the recording process. This can reduce the processing load of the electronic musical instrument 1 and suppress problems such as inability to properly reproduce the reproduced sound.

[0122] When the reproduction process is set to a 5 ms cycle, for example, a reproducibility of 128 notes (about 7.3 ms per note) can be obtained at a speed of 255 bpm. That is, even when the execution cycle of the reproduction process is set lower than the execution cycle of the recording process, sufficient reproducibility can be obtained without a sense of discomfort in the auditory sense.

[0123] Fig. 9 1 is a diagram showing an example of processing timing when the electronic musical instrument 1 reproduces the performance data D. Fig. 9 In the example of , the reproduction start point PT3 is placed at the position indicating the performance data D1. In the first storage unit 11A, the performance data D1, D2, D3, D4, D5, and D6 are sequentially placed starting from the reproduction start point PT3.

[0124] The processor 10 obtains the difference time Da included in each performance data D (after the performance data D2) located after the reproduction start point PT3. For example, the processor 10 obtains 3ms, 8ms, 1ms, 5ms, and 2ms as the difference time Da included in the performance data D2 to D6.

[0125] Every time the execution cycle of the reproduction process (5 ms cycle) is reached, the processor 10 outputs the corresponding performance data D to the sound source LSI 17 based on the acquired difference time Da.

[0126] Specifically, the processor 10 detects the performance data D to be output in the first execution cycle (reproduction elapsed time: 0 ms to 5 ms) based on the differential time Da, and outputs the detected performance data D to the sound source LSI 17. In the subsequent execution cycles (reproduction elapsed time: 5 ms to 10 ms, 10 ms to 15 ms, ...), the processor 10 also detects and outputs the corresponding performance data D based on the differential time Da.

[0127] The differential time Da of the performance data D2 to D6 is 3ms, 8ms, 1ms, 5ms, and 2ms, respectively. This means that the output timing of the performance data D2 is reached after 3ms from the output of the performance data D1, the output timing of the performance data D3 is reached after 8ms, the output timing of the performance data D4 is reached after 1ms, the output timing of the performance data D5 is reached after 5ms, and the output timing of the performance data D6 is reached after 2ms.

[0128] The performance data D1 and D2 are output at the time point of 0 seconds and 3 ms of the reproduction elapsed time, respectively. Therefore, the output timing of the performance data D1 and D2 belongs to the initial execution cycle (reproduction elapsed time: 0 ms to 5 ms). The processor 10 senses the performance data D1 and the performance data D2 as the performance data D that should be output in the initial execution cycle (reproduction elapsed time: 0 ms to 5 ms), and outputs them to the sound source LSI 17.

[0129] The performance data D3 and D4 are output at the time points of 11ms (the value obtained by adding 8ms and 3ms) and 12ms (the value obtained by adding 1ms and 11ms) of the elapsed reproduction time, respectively. Therefore, the output timing of the performance data D3 and the performance data D4 does not belong to the second execution cycle (elapsed reproduction time: 5ms to 10ms). The output timing of the performance data D3 and the performance data D4 belongs to the third execution cycle (elapsed reproduction time: 10ms to 15ms). The processor 10 does not output any performance data D in the second execution cycle (elapsed reproduction time: 5ms to 10ms). The processor 10 perceives the performance data D3 and the performance data D4 as the performance data D that should be output in the third execution cycle (elapsed reproduction time: 10ms to 15ms), and outputs them to the sound source LSI 17.

[0130] The performance data D5 and D6 are output at the time points of 17ms and 19ms respectively, which are the elapsed time of reproduction. Therefore, the output timing of the performance data D5 and D6 belongs to the fourth execution cycle (elapsed time of reproduction: 15ms to 20ms). The processor 10 senses the performance data D5 and the performance data D6 as the performance data D to be output in the fourth execution cycle (elapsed time of reproduction: 15ms to 20ms), and outputs them to the sound source LSI 17.

[0131] That is, every time the execution cycle of the reproduction process (5 ms cycle) is reached, the processor 10 collectively outputs the performance data D belonging to the cycle to the sound source LSI 17. In other words, the processor 10 prepares the performance data D in units of 5 ms (quantizes the performance data D in units of 5 ms as an example of the second cycle) and outputs it to the sound source LSI 17.

[0132] In this embodiment, the output timing of each performance data D is managed using the differential time Da representing the time itself. This reduces the processing load of the processor 10 compared to the case where the output timing of the performance data D is managed using the incremental time as information of the time base unit.

[0133] In the playback state ST3, if the user presses any key, the processor 10 stops outputting the performance data D and performs fast rewinding of the time corresponding to the key pressed, starting from the stop position. The processor 10 restarts outputting the performance data D from the rewinded position.

[0134] In the reproduction state ST3, when the user short-presses the reproduction / stop button B2, the electronic musical instrument 1 stops the reproduction process being executed and returns to the standby state ST1.

[0135] Fig.101 is a flowchart of a recording process executed by the processor 10 when the state transitions from the standby state ST1 to the recording state ST2.

[0136] The processor 10 registers a mark M for the recording start position on the first storage unit 11A indicated by the latest recording point PT2 at that time (step S101).

[0137] For example, the processor 10 registers a mark M1 for the recording start position on the first storage unit 11A indicated by the latest recording point PT2 at that time point according to the marking operation performed by the user. Thereafter, each time a marking operation is performed, the processor 10 registers the mark M1 for the recording start position at that time point and increments the number of the previously marked mark M by 1.

[0138] In this way, when the processor 10 starts to store the performance data D in the first storage unit 11A (an example of a storage unit), the mark M (an example of an identifier) ​​is registered for the recording start position represented by the latest recording point PT2 (an example of the storage start position of the performance data in the storage unit).

[0139] The processor 10 executes the recording task (step S102 ).

[0140] Fig.11 It is shown Fig.10 The processor 10 repeatedly executes the recording task in a 1 ms cycle until the recording process is completed (in other words, until the recording state ST2 is transferred to the standby state ST1 or the playback state ST3).

[0141] If the previous performance data D is written to the end (Buffer[MAX]) of the first storage unit 11A (step S201: Yes), the processor 10 moves the latest recording point PT2 to the front (Buffer[0]) of the first storage unit 11A (step S202). That is, the area at the head of the first storage unit 11A becomes the next writing area W1.

[0142] If the last performance data D has not been written to the end (Buffer[MAX]) of the first storage unit 11A (step S201: No), the processor 10 moves the latest recording point PT2 to the next area in the first storage unit 11A (step S203). That is, the area immediately after the area where the last performance data D was written becomes the next writing area W1.

[0143] The processor 10 determines whether the writing of the performance data D to the first storage unit 11A is after the second cycle (step S204). The so-called "after the second cycle" means that since the power of the electronic musical instrument 1 is turned on, the performance data D has been written to the end (Buffer [MAX]) of the first storage unit 11A at least once, and the latest recording point PT2 has moved to the front end (Buffer [0]).

[0144] If the writing of the performance data D to the first storage section 11A is not the second round or later (in other words, the first round) (step S204: No), the processor 10 determines whether a key operation is performed on the keyboard 13 (step S207). If no key operation is performed (step S207: No), the processor 10 determines whether a pedal operation is performed on the pedal unit 14 (step S210).

[0145] exist Fig.11 During the execution of the recording task, the processor 10 repeatedly executes the determination processing of steps S207 and S210 at a cycle of 1 ms until a key operation or a pedal operation is performed.

[0146] When a key operation is performed (step S207: Yes), the processor 10 acquires a key event corresponding to the key operation (step S208). The processor 10 acquires the time of the key operation from the RTC 10A (step S209). The key event includes, for example, a note number, a velocity, and the like.

[0147] When the pedal operation is performed (step S210: Yes), the processor 10 obtains a pedal event corresponding to the pedal operation (step S211). The processor 10 obtains the time of the pedal operation from the RTC 10A (step S212). The pedal event includes, for example, the type of pedal, the pedal stepping value, and the like.

[0148] The processor 10 calculates a difference time Da between the time of the previous performance operation (key operation or pedal operation) and the time of the current performance operation (key operation or pedal operation) (step S213 ).

[0149] The processor 10 adds the information obtained by adding the differential time Da calculated by step S213 to the command type Db (note on, control change, etc.) and command data Dc (note number, velocity, etc.) contained in the event (key event or pedal event), and writes it as performance data D (note performance data N or pedal performance data P) to the next write area W1 represented by the new recording point PT2 (step S214), and returns to the processing of step S201.

[0150] When the writing of the performance data D to the first storage unit 11A is the second round or later (step S204: Yes), the processor 10 determines whether the performance data P of the pedal is stored in the next writing area W1 indicated by the latest recording point PT2 (step S205).

[0151] When the performance data P of the pedal is stored in the next writing area W1 (step S205: Yes), the processor 10 writes the performance data P into the second storage unit 11B (step S206), and executes the processing after step S207.

[0152] Thus, when the processing after step S207 is executed and the performance data P in the next write area W1 is overwritten and disappears, the processor 10 can also add the sound effect to the musical sound and perform sound processing by reading the performance data P written to the second storage unit 11B and updating the setting value related to the pedal performance when the reproduction starts from the reproduction start point PT3.

[0153] In addition, every time the performance data P is overwritten and erased in the first storage section 11A, the performance data P in the second storage section 11B is updated to the performance data P that is overwritten and erased.

[0154] Fig.12 This is a flowchart of the reproduction process executed by the processor 10 when the state transitions from the standby state ST1 or the recording state ST2 to the reproduction state ST3.

[0155] The processor 10 executes a reproduction start point determination process (step S301).

[0156] Fig.13 It is shown Fig.12 The subroutine shown is a detailed description of the reproduction start point determination process (step S301).

[0157] The processor 10 determines the reproduction start point PT3 based on the content of the operation that serves as a trigger for transition from the standby state ST1 or the recording state ST2 to the reproduction state ST3.

[0158] Specifically, when only the playback / stop button B2 is pressed (step S401: Yes), the processor 10 determines the fast-rewind time to be 10 seconds (step S402). The processor 10 determines the time point 10 seconds back from the latest recorded point PT2 as the playback start point PT3 (step S407).

[0159] When the white key 13W is pressed while the playback / stop button B2 is pressed (step S401: No, step S403: Yes), the processor 10 obtains the value n corresponding to the pressed white key 13W (step S404), and substitutes the obtained value n into the above mathematical formula (1) to calculate the fast-rewind time (step S405). The processor 10 determines the time point traced back from the latest recording point PT2 by the fast-rewind time calculated in step S405 as the playback start point PT3 (step S407).

[0160] When the black key 13B is pressed while the playback / stop button B2 is pressed (step S401: No, step S403: No), the processor 10 acquires the mark M corresponding to the pressed black key 13B (step S406), and determines the position in the first storage unit 11A where the acquired mark M is registered as the playback start point PT3 (step S407).

[0161] Thus, if the user operates any one of the multiple performance operating elements (any one of the white keys 13W or any one of the black keys 13B) in a state (an example of the first operating state) in which the user presses the playback / stop button B2 (an example of the first operating unit), the processor 10 determines the playback start point PT3 in the first storage unit 11A according to the operated performance operating element (the white key 13W or the black key 13B).

[0162] The processor 10 determines whether the pedal performance data P is stored in the second storage unit 11B (step S302).

[0163] When the performance data P is stored in the second storage unit 11B (step S302: Yes), the processor 10 performs pedal information processing (step S303). Specifically, the processor 10 reads the performance data P stored in the second storage unit 11B, writes the setting value related to the pedal operation based on the read performance data P in the header block, and outputs it to the sound source LSI 17. As a result, the setting value related to the pedal performance is updated, and the sound effect corresponding to the updated setting value is added to the musical sound and the sound generation process is performed.

[0164] The processor 10 performs fast rewinding to the playback start point PT3 determined in step S301 (step S304). Specifically, the processor 10 performs internal fast forwarding from the oldest recorded point PT1 in the first storage unit 11A to the playback start point PT3.

[0165] The processor 10 executes the output task (step S305).

[0166] Fig.14 It is shown Fig.12The processor 10 repeatedly executes the output task at a 5 ms cycle until the output of the performance data D stops or ends.

[0167] In addition, during the execution of the output task (step S305), if the transition operation to the standby state ST1 is performed, the output of the performance data D stops, and the output task ends. In addition, during the execution of the output task, if the user performs a key operation on any key, the output of the performance data D stops, and the output task ends. In the latter case, after the output of the performance data D stops, Fig.12 The reproduction process starts again from the beginning (ie, from step S301).

[0168] When all the performance data D from the playback start point PT3 to the latest recording point PT2 are input to the sound source LSI 17, the output of the performance data D is completed and the output task is also completed.

[0169] The processor 10 measures the time elapsed after the start of the output task (reproduction time elapsed) from the moment obtained in the RTC 10A (step S501). Here, the reproduction time elapsed during the first execution of step S501 is set to 0 ms. In addition, the reproduction time elapsed during the mth (m is 2 or more) execution of step S501 and thereafter may vary slightly due to the processing load of the processor 10, but is basically the time obtained by multiplying 5 ms by the value m.

[0170] The processor 10 calculates the next reproduction cycle (step S502).

[0171] For example, the processor 10 calculates the next reproduction cycle by setting the reproduction elapsed time counted by step S501 as the starting point and setting the period 5 ms after the starting point as the cycle of the output task as the end point. As an example, when step S502 is executed for the first time, 0 ms to 5 ms are calculated as the next reproduction cycle. When the reproduction elapsed time is 5.1 ms when step S501 is executed for the second time, 5.1 ms to 10.1 ms are calculated as the next reproduction cycle.

[0172] The processor 10 detects the performance data D to be reproduced in the next reproduction cycle calculated in step S502 (step S503). Fig. 9 In the example of the next reproduction period of 0ms to 5ms, the processor 10 detects the performance data D1 and the performance data D2 as the reproduction object (step S503: Yes). If the performance data D that becomes the reproduction object is not detected (step S503: No), the processor 10 returns to the processing of step S501 and executes the processing for the next reproduction period.

[0173] The processor 10 performs sound generation processing on the performance data D to be reproduced detected in step S503 (step S504 ). That is, the processor 10 outputs the performance data D to be reproduced to the sound source LSI 17 .

[0174] If the latest performance data D (performance data D of the latest recording point PT2) is not output to the sound source LSI 17 (step S505: No), the processor 10 returns to the process of step S501 and executes the process for the next playback cycle. That is, the processor 10 repeatedly performs the processes of steps S501 to S505 until the performance data D of the latest recording point PT2 is output to the sound source LSI 17.

[0175] If the performance data D of the new recording point PT2 is input to the sound source LSI 17 (step S505: Yes), the processor 10 ends the output task. Thus, the reproduction process ends, and the processor 10 shifts to the standby state ST1.

[0176] Thus, the processor 10 starts outputting the performance data D from the reproduction start point PT3 determined by the reproduction start point determination process (step S301), and repeatedly executes the output task (step S305) at a period of 5 ms until the output of the performance data D stops or ends.

[0177] In addition, the present invention is not limited to the above-mentioned embodiments, and various modifications can be made in the implementation stage without departing from the scope of the main purpose. In addition, the functions performed by the above-mentioned embodiments can also be implemented in combination as appropriately as possible. In the above-mentioned embodiments, various stages are included, and various inventions can be extracted by appropriately combining the disclosed multiple structural elements. For example, if an effect can be obtained even if several structural elements are deleted from all the structural elements shown in the embodiments, the structure in which the structural elements are deleted can be extracted as an invention.

[0178] In the above-described embodiment, during recording processing, the processor 10 writes the pedal performance data P that has been overwritten and erased in the first storage unit 11A into the second storage unit 11B. During playback processing, the processor 10 reads the performance data P stored in the second storage unit 11B, writes the setting value related to the pedal operation based on the read performance data P in the header block, and outputs it to the sound source LSI 17.

[0179] In another embodiment, during recording processing, the processor 10 may write setting change information of timbre and various effects into the second storage unit 11B in the same manner as the pedal performance data P, not limited to the pedal performance data P. The setting change information may be, for example, timbre information set according to a timbre switching operation of the switch panel 15 by the user, effect switching information set according to an effect switching operation of the switch panel 15 by the user, etc. The switch panel 15 is a setting change operating member as an example of a second operating member, and receives an operation to change setting information including timbre and various effects.

[0180] In another embodiment, during the reproduction process, the processor 10 reads out the setting change information of the timbre and various effects stored in the second storage unit 11B, describes the read setting change information in the header block, and outputs it to the sound source LSI 17. Thus, for example, even if the setting change information of the timbre and various effects in the first storage unit 11A is overwritten and deleted, it is possible to produce musical sounds with the timbre and effect corresponding to the setting change information.

Claims

1. An electronic musical instrument, characterized in that: have: Multiple performance operating parts; a storage unit that stores performance data corresponding to the performance operation of the user each time the user operates any one of the plurality of performance operating elements; and At least 1 processor, The at least one processor performs the following operations: When the user operates any one of the plurality of performance operating elements in the first operation state, the performance data starts to be outputted from the reproduction start position of the performance data in the storage unit corresponding to the operated performance operating element.

2. The electronic musical instrument according to claim 1, wherein: The electronic musical instrument further comprises a first operating unit. The first operation state is a state in which the first operation portion is pressed by a user.

3. The electronic musical instrument according to claim 1, wherein: The plurality of performance operating members include a plurality of white keys, The at least one processor performs the following operations: The plurality of white keys are respectively associated with the first value and stored. When any one of the plurality of white keys is pressed by the user, the first value associated with the pressed white key is acquired. The reproduction start position is determined based on the acquired first value.

4. The electronic musical instrument according to claim 3, wherein: The at least one processor performs the following operations: Calculating a first time based on the acquired first value, A first position corresponding to a time point traced back by the first time from a given reference time point is determined as the reproduction start position, the first position being a position in the storage unit.

5. The electronic musical instrument according to claim 4, wherein: The difference time between the last time when any one of the plurality of performance operating elements was operated and the current time when any one of the plurality of performance operating elements was operated is included in the current performance data and stored. The at least one processor performs the following processing: using the differential time included in each of the plurality of performance data to determine the first position in the storage unit, The identified first position is determined as the reproduction start position.

6. The electronic musical instrument according to claim 4 or 5, wherein: The given reference time point is a time point at which the performance data corresponding to the next operation on the performance operating element is stored in the storage section.

7. The electronic musical instrument according to claim 1, wherein: The plurality of performance operating members include a plurality of black keys, The identifiers associated with any of the plurality of black keys are associated with a plurality of positions in the storage unit storing the performance data, respectively. The at least one processor performs the following operations: When any one of the plurality of black keys is pressed by the user, the identifier associated with the pressed black key is acquired. The position in the storage unit associated with the acquired identifier is determined as the reproduction start position.

8. A method, characterized in that The computer does the following: In the recording state, the performance data generated according to the user's operation on the plurality of performance operating members is stored in the storage unit. In the first operation state, when any one of the plurality of performance operating elements is operated by the user, the performance data starts to be output from the reproduction start position in the storage section corresponding to the operated performance operating element.

9. A non-transitory storage medium storing a program, The program causes the computer to execute the following processing: In the recording state, the performance data generated according to the user's operation on the plurality of performance operating members is stored in the storage unit. In the first operation state, when any one of the plurality of performance operating elements is operated by the user, the performance data starts to be output from the reproduction start position in the storage section corresponding to the operated performance operating element.

10. A computer program product comprising a program, The program causes the computer to execute the following processing: In the recording state, the performance data generated according to the user's operation on the plurality of performance operating members is stored in the storage unit. In the first operation state, when any one of the plurality of performance operating elements is operated by the user, the performance data starts to be output from the reproduction start position in the storage section corresponding to the operated performance operating element.

Citation Information

Patent Citations

  • Electronic instrument with performance recording function

    JP2008152054A