Information processing device for performance data
Through the generation part and the neural network model, accurate key and pedal data are generated, which solves the problem in the existing technology that key operation and pedal operation data are difficult to distinguish, and improves the performance accuracy of the automatic performance system.
Patent Information
- Application Number
- CN201980058992.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-19
- Filing Date
- 2019-08-30
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-08-30
AI Technical Summary
In the existing technology, the piano performance system needs to process the music data of key operations and pedal operations separately. However, in actual scenarios, it is sometimes difficult to distinguish, resulting in inaccurate generated data.
The generation unit generates pedal data based on performance data to represent pedal operations during key operations, and combines the trained neural network model to learn and predict the relationship between keys and pedal data to generate accurate key and pedal data.
It is possible to generate accurate key and pedal data based on performance data, appropriately reflect the pronunciation and operation period, and improve the performance accuracy of the automatic performance system.
Smart Images

Figure CN112753067B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a technique for processing performance data. Background Art
[0002] In the past, a technique for generating various data based on data representing music has been proposed. For example, Patent Document 1 discloses a performance system that generates a control signal for driving a piano pedal. The control signal is generated based on music data that specifies the timing of key operation and the timing of pedal operation and MIDI (Musical Instrument Digital Interface) data corresponding to the operation of the piano keys.
[0003] Patent Document 1: Japanese Patent Application Publication No. 2017-102415 Summary of the invention
[0004] In the technology of Patent Document 1, music data representing key operation and pedal operation separately are required. However, in practice, sometimes key operation and pedal operation are not distinguished, and only music data defining the sounding period for each key can be prepared. Considering the above situation, the purpose of the present invention is to generate data representing pedal operation.
[0005] In order to solve the above problems, the information processing method involved in the preferred embodiment of the present invention includes the step of generating pedal data based on the performance data representing the performance content, and the pedal data represents the operation period of the pedal that will extend the sound produced by pressing the key. In this embodiment, the generation may include the step of further generating key data representing the key period. And the key data may be data representing the key period of the keys corresponding to each of the plurality of pitches.
[0006] The information processing device involved in a preferred embodiment of the present invention has a generating unit, which generates pedal data based on performance data representing performance content, and the pedal data represents the operation period of the pedal that prolongs the sound produced by pressing a key. In this embodiment, the generating unit may also generate key data representing the key period. Furthermore, the key data may be data representing the key periods of keys corresponding to a plurality of pitches. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 This is a block diagram illustrating the configuration of an automatic performance system according to the first embodiment of the present invention.
[0008] Figure 2 This is a diagram of performance data, key data, and pedal data.
[0009] Figure 3 This is a block diagram illustrating the functional structure of an information processing device.
[0010] Figure 4 This is a flowchart of the processing of the control device.
[0011] Figure 5 This is a block diagram illustrating the functional configuration of an information processing device according to the second embodiment.
[0012] Figure 6 This is an explanatory diagram of correction processing 1.
[0013] Figure 7 This is an explanatory diagram of correction processing 2.
[0014] Figure 8 This is an explanatory diagram of correction processing 3.
[0015] Fig. 9 This is an explanatory diagram of correction processing 4. DETAILED DESCRIPTION
[0016] <First embodiment>
[0017] Figure 1 1 is a block diagram illustrating the structure of an automatic performance system 100 according to a first embodiment of the present invention. The automatic performance system 100 is a computer system that automatically performs a musical piece. Figure 1 As shown in the example, the automatic performance system 100 includes an information processing device 10 and an automatic performance musical instrument 20. The information processing device 10 is a computer system that generates various data used for automatic performance by the automatic performance musical instrument 20 based on data M representing performance content (hereinafter referred to as "performance data") M. For example, an information terminal such as a mobile phone, a smart phone, or a personal computer is suitable for use as the information processing device 10.
[0018] The automatic musical instrument 20 is a keyboard instrument that automatically performs a performance based on various data generated by the information processing device 10. For example, an automatic piano is exemplified as the automatic musical instrument 20. Figure 1 As shown in the example, the automatic musical instrument 20 includes a keyboard 23 composed of a plurality of keys used for producing a plurality of different pitches, and a pedal 25 for extending the sound produced by pressing the keys. The information processing device 10 and the automatic musical instrument 20 are connected, for example, by wire or wirelessly. The information processing device 10 may also be mounted in the automatic musical instrument 20.
[0019] like Figure 1As illustrated, the information processing device 10 of the first embodiment has a control device 11 and a storage device 13. The control device 11 is a processing circuit such as a CPU (Central Processing Unit), which centrally controls the various elements of the information processing device 10. The storage device 13 stores programs executed by the control device 11 and various data used by the control device 11. For example, a well-known recording medium such as a magnetic recording medium or a semiconductor recording medium is used as the storage device 13. In addition, the storage device 13 can also be composed of a combination of multiple recording media. In addition, a mobile recording medium that can be loaded and unloaded relative to the information processing device 10, or an external recording medium (such as an online storage) with which the information processing device 10 can communicate via a communication network can also be used as the storage device 13.
[0020] The storage device 13 of the first embodiment stores the performance data M of the music to be performed by the automatic musical instrument 20. Figure 2 Schematically illustrates the performance data M. The performance data M is data indicating the sound generation period E for each of the plurality of pitches K. The period from the time when the sound generation of each pitch K starts to the time when the sound generation stops is the sound generation period E. Figure 2 In the figure, for each of the 128 pitches K1-K128, data representing the pronunciation period E in time series is exemplified as performance data M. MIDI data in accordance with the MIDI standard is exemplified as performance data M. For example, the performance data M is generated based on an acoustic signal obtained by picking up the sound of a piano played by a performer through a sound pickup device (such as a microphone). For example, the acoustic signal is separated into frequency band components for each pitch K, and the interval in which the intensity of each frequency band component exceeds a threshold value is extracted as the pronunciation period E. In addition, the performance data M can also be generated by the same method based on an acoustic signal previously recorded and recorded on a recording medium such as a CD. When generating the performance data M, a known score collection technology is arbitrarily adopted.
[0021] like Figure 2 As illustrated, the performance data M of the first embodiment is divided into N different unit periods T1-TN on the time axis. The unit period Tn (1≤n≤N) is, for example, a period (time frame) of a time length of several tens of milliseconds to several hundreds of milliseconds. The sounding period E of each pitch K is obtained continuously over a plurality of unit periods Tn.
[0022] Figure 3 is a block diagram illustrating the functional structure of the information processing device 10. Figure 3As shown in the example, the control device 11 implements a plurality of functions (pre-processing unit 112 and generating unit 114) by executing a program stored in the storage device 13. In addition, the functions of the control device 11 may be implemented by a plurality of devices configured separately from each other. A part or all of the functions of the control device 11 may also be implemented by a dedicated electronic circuit.
[0023] The pre-processing unit 112 generates the first unit data Xn corresponding to the performance data M for each unit period Tn. Figure 2 The first unit data Xn is schematically shown in FIG. Figure 2 As shown in the example, the first unit data Xn corresponding to the unit period Tn includes the pronunciation data An and the starting point data Bn. The pronunciation data An is data indicating the presence or absence of the pronunciation of each pitch K in the unit period Tn. For example, the pronunciation data An is represented by a 128-dimensional binary vector corresponding to the 128 pitches K1-K128. For example, among the 128 bits (Bits) of the pronunciation data An, the pitch K ( Figure 2 Each bit corresponding to the pitch K (black line) is set to 1, and each bit corresponding to the unpronounced pitch K is set to 0. When the pronunciation period E of the pitch K is continuous over a plurality of unit periods Tn, the bit corresponding to the pitch K is continuously set to 1 over the pronunciation data An of the plurality of unit periods Tn. In addition, a plurality of pitches K can be pronounced in a common unit period Tn.
[0024] The starting point data Bn is data indicating whether it is the starting point of pronunciation (hereinafter referred to as "pronunciation starting point") for each pitch K in the unit period Tn. For example, the starting point data Bn is represented by a 128-dimensional binary vector corresponding to the 128 pitches K1-K128. For example, among the 128 bits of the starting point data Bn, the pitch K ( Figure 2 The bits corresponding to the pitch K that is not the starting point are set to 1, and the bits corresponding to the pitch K that is not the starting point are set to 0. When the pronunciation period E of the pitch K is continuous over a plurality of unit periods Tn, the bit corresponding to the pitch K of the starting point data Bn corresponding to the starting unit period Tn is set to 1. As understood from the above description, a time series of the first unit data X1-XN of N data sets corresponding to each unit period Tn is generated based on the performance data M.
[0025] Figure 3 The generating unit 114 generates key data Q and pedal data U based on the performance data M. The key data Q and pedal data U are used for automatic performance by the automatic performance musical instrument 20. Figure 2 The key data Q and pedal data U are schematically shown in FIG. Figure 2 As illustrated, both the key data Q and the pedal data U are divided into N unit periods T1 -TN similarly to the performance data M. That is, the key data Q and the pedal data U having the same time length as the performance data M are generated.
[0026] The key data Q is data indicating the period H during which the key corresponding to each pitch K is pressed (hereinafter referred to as the "key period"). The period from the time when the key is started to the time when it is finished (i.e., the key is released) is the key period H. On the other hand, the pedal data U is data indicating the period S during which the pedal is operated (hereinafter referred to as the "operation period") . The period from the time when the pedal operation is started to the time when it is finished is the operation period S.
[0027] The trained model is exemplified as the generation unit 114, and the trained model learns (trains) the relationship between the input corresponding to the performance data M and the output corresponding to the key data Q and the pedal data U. The trained model of the first embodiment takes the first unit data Xn generated by the pre-processing unit 112 as input for each unit period Tn, and outputs the second unit data Yn corresponding to the key data Q and the third unit data Zn corresponding to the pedal data U.
[0028] exist Figure 2 Schematically illustrates the second unit data Yn and the third unit data Zn generated by the generating unit 114. Figure 2 As shown in the example, the second unit data Yn is the portion of the key data Q corresponding to the unit period Tn, and the third unit data Zn is the portion of the pedal data U corresponding to the unit period Tn. That is, the time series of the second unit data Y1-YN of N unit periods T1-TN is the key data Q, and the time series of the third unit data Z1-ZN of N unit periods T1-TN is the pedal data U.
[0029] Specifically, the second unit data Yn is data indicating whether or not a key corresponding to each pitch K is pressed. For example, the second unit data Yn is represented by a 128-dimensional binary vector corresponding to 128 pitches K1-K128. For example, among the 128 bits (bits) of the second unit data Yn, the pitch K ( Figure 2The bits corresponding to the second unit data Yn of the keys not pressed are set to 0. In a case where the key press period H of the pitch K is continuous over multiple unit periods Tn, the bits corresponding to the pitch K are continuously set to 1 over the second unit data Yn of the multiple unit periods Tn. That is, the key press period H corresponding to each pitch K is expressed by the time series of the second unit data Y1-YN of the consecutive N unit periods T1-TN (i.e., key press data Q). In addition, multiple pitches K can be pressed in a common unit period Tn. As understood from the above description, the key press data Q is generated by arranging the second unit data Yn in a time series with respect to the N unit periods T1-TN.
[0030] Specifically, the third unit data Zn is data indicating whether or not the pedal is operated. For example, the third unit data Zn is expressed by 1 bit. For example, if there is a pedal operation in the unit period Tn ( Figure 2 The black line) is set to 1 (on) when the pedal is not operated in the unit period Tn, and is set to 0 (off). When the operation period S is continuous over multiple unit periods Tn, the third unit data Zn is continuously set to 1 over multiple unit periods Tn. That is, the operation period S of the pedal is expressed by the time series of the third unit data Z1-ZN of the consecutive N unit periods T1-TN (that is, the pedal data U). As can be understood from the above description, the pedal data U is generated by arranging the third unit data Zn in a time series with respect to the N unit periods T1-TN. The period in which the key period H represented by the key data Q is pronounced and the period in which the pedal data U is extended in accordance with the content of the pedal data U is equivalent to the pronunciation period E of the performance data M.
[0031] The trained model is a statistical prediction model that has learned the relationship between the performance data M and the key data Q and the pedal data U. In the first embodiment, a trained model that has learned the relationship between the first unit data Xn and the second unit data Yn and the third unit data Zn is used. A neural network is preferably used as the trained model. For example, the trained model is composed of multiple layers of long short-term memory (LSTM) units connected in series with each other. The long short-term memory unit is a specific example of a recurrent neural network (RNN) suitable for analyzing time series data. Specifically, the trained model is realized by a combination of a program (such as a program module constituting artificial intelligence software) and a plurality of coefficients applied to the operation, and the program causes the control device 11 to perform an operation of generating key data Q and pedal data U based on the performance data M. The plurality of coefficients that define the trained model are set by machine learning (especially deep learning) using learning data of a plurality of data sets and stored in the storage device 13.
[0032] Each data set of learning data is data that associates the correct values of the first unit data Xn and the second unit data Yn and the third unit data Zn. The second unit data Yn and the third unit data Zn are generated by inputting the first unit data Xn of the learning data into a model (hereinafter referred to as a "provisional model") in which a plurality of coefficients are provisionally set, and the plurality of coefficients of the provisional model are successively updated so as to minimize an evaluation function representing the error between the generated second unit data Yn and the third unit data Zn and the correct value of the learning data. When updating each coefficient corresponding to the evaluation function, it is preferred to use, for example, an error back propagation algorithm. The updating of the coefficients described above is repeated, and the provisional model at the stage where the specified conditions are met is used as the determined trained model.
[0033] Figure 4 2 is a flowchart illustrating the processing executed by the control device 11. Figure 4 If Figure 4When the processing starts, the pre-processing unit 112 generates the first unit data Xn (Sa1) based on the performance data M stored in the storage device 13. The first unit data Xn is generated for each of the N unit periods T1-TN. The generating unit 114 generates the second unit data Yn and the third unit data Zn (Sa2) based on the first unit data Xn generated by the pre-processing unit 112. A trained model that has learned the relationship between the input corresponding to the performance data M (i.e., the first unit data Xn) and the output corresponding to the key data Q and the pedal data U (i.e., the second unit data Yn and the third unit data Zn) is used as the generating unit 114. After the second unit data Yn and the third unit data Zn are output for each of the N unit periods T1-TN, the key data Q and the pedal data U are generated.
[0034] Figure 1 The automatic musical instrument 20 performs automatic performance using the key data Q and pedal data U generated by the information processing device 10. Figure 1 As shown in the example, the automatic musical instrument 20 has a control device 21 in addition to the aforementioned keyboard 23 and pedal 25. The control device 21 is a processing circuit such as a CPU, and centrally controls the various elements of the automatic musical instrument 20. The operation of the keyboard 23 and the operation of the pedal 25 are controlled by the control device 21.
[0035] The control device 21 of the first embodiment operates the plurality of keys constituting the keyboard 23 in accordance with the key data Q. Specifically, the control device 21 starts pressing the key at the start point of the key pressing period H specified by the key data Q for each key, and releases the key at the end point of the key pressing period H. In addition, the control device 21 of the first embodiment operates the pedal 25 in accordance with the pedal data U. Specifically, the control device 21 starts the operation of the pedal 25 at the start point of the operation period S specified by the pedal data U, and ends the operation of the pedal 25 at the end point of the operation period S. Based on the control described above, the keyboard 23 and the pedal 25 operate. Therefore, each pitch K produced in accordance with the key pressing period H of the key data Q is extended in accordance with the operation period S of the pedal data U.
[0036] As described above, according to the first embodiment, key data Q and pedal data U are generated based on performance data M. The performance data M of the first embodiment is data representing the performance content of the music piece, and does not distinguish between the pronunciation performed by key and the extension of the pronunciation performed by pedal operation. In the first embodiment, pedal data U can also be generated based on the performance data M that does not distinguish between key and pedal operation as described above. In addition, key data Q and pedal data U can also be generated by distinguishing performance data M that does not distinguish between key and pedal operation as described above. In addition, in the first embodiment, data representing the pronunciation period E for each pitch K is used as performance data M, so key data Q and pedal data U can be appropriately generated corresponding to the pronunciation period E of each pitch K.
[0037] In the first embodiment, the trained model that has learned (trained) the relationship between the input corresponding to the performance data M and the output corresponding to the key data Q and the pedal data U generates the key data Q and the pedal data U. Therefore, for example, compared with the method of generating the key data Q and the pedal data U based on the rule that a predetermined time from the sound start point is set as the key period H and the subsequent time is set as the operation period S of the pedal 25, it is possible to appropriately generate the key data Q and the pedal data U according to the performance data M. Specifically, it is possible to statistically generate appropriate key data Q and the pedal data U based on the relationship between the performance data M and the key data Q and the pedal data U potential in a lot of learning data used when learning (training) the trained model.
[0038] In the first embodiment, in particular, the trained model is a recursive neural network that takes the first unit data Xn as input and outputs the second unit data Yn and the third unit data Zn for each unit period Tn. Therefore, a time series of the second unit data Yn (i.e., key data Q) and a time series of the third unit data Zn (i.e., pedal data U) are generated. In addition, the first unit data Xn includes pronunciation data An and starting point data Bn. Therefore, the key data Q and pedal data U can be appropriately generated according to whether there is pronunciation of each pitch K and whether it is a pronunciation starting point.
[0039] <Second embodiment>
[0040] In the following examples, elements having the same functions as those of the first embodiment are assigned the same reference numerals as those used in the description of the first embodiment, and detailed descriptions thereof are appropriately omitted.
[0041] Figure 5 2 is a block diagram illustrating the functional structure of the information processing device 10 according to the second embodiment. Figure 5As illustrated, the control device 11 according to the second embodiment realizes a post-processing unit 116 in addition to the pre-processing unit 112 and the generating unit 114 which are the same as those of the first embodiment.
[0042] The post-processing unit 116 performs a process of correcting the key data Q generated by the generating unit 114 in accordance with the performance data M (hereinafter referred to as "correction process"). The correction process of the second embodiment is a process of correcting the key data Q in accordance with the starting point data Bn. Correction key data W are generated by the correction process. The automatic musical instrument 20 of the second embodiment performs automatic performance in accordance with the pedal data U generated by the generating unit 114 and the correction key data W generated by the post-processing unit 116.
[0043] The specific content of the correction processing will be described below. In the following description, a case where the correction processing is performed on an arbitrary pitch K is exemplified. However, the correction processing can be performed on all the target pitches K among the 128 pitches K1 to K128.
[0044] <Correction Process 1>
[0045] Figure 6 This is an explanatory diagram for explaining the contents of correction processing 1. Figure 6 As shown in FIG. 1 , it is assumed that although the pronunciation start point P of the pitch K exists in the starting point data Bn, the key pressing period H corresponding to the pronunciation start point P does not exist in the key pressing data Q. Since the pronunciation start point P exists, the key pressing should be performed, and it can be inferred that the key pressing period H is omitted. Therefore, in the correction processing 1, when the key pressing period H starting from the pronunciation start point P of the starting point data Bn does not exist in the key pressing data Q, the key pressing period H of the prescribed length is added. That is, the post-processing unit 116 generates the corrected key pressing data W by adding the key pressing period H of the prescribed length starting from the pronunciation start point P to the key pressing data Q.
[0046] According to the correction process 1, when the key pressing period H starting from the pronunciation starting point of the starting point data Bn does not exist in the key pressing data Q, the key pressing period H of a predetermined length starting from the pronunciation starting point is added to the key pressing data Q. Therefore, the key pressing period H can be appropriately added to the position where the key pressing period H should actually exist (that is, the position that the generating unit 114 cannot detect).
[0047] <Correction Process 2>
[0048] Figure 7 This is an explanatory diagram for explaining the contents of correction processing 2. Figure 7As shown in FIG. 1 , it is assumed that the first pronunciation start point P1 exists in the key-press period H represented by the key data Q, and the second pronunciation start point P2 exists immediately after the first pronunciation start point P1. As described above, when there are two pronunciation start points located at different times on the time axis, there should be two key-press periods H corresponding to the two pronunciation start points, respectively. Therefore, in the correction processing 2, when a plurality of start points (the first pronunciation start point P1 and the second pronunciation start point P2) exist in the start point data Bn within one key-press period H represented by the key data Q, the key-press period H is separated. That is, the post-processing unit 116 generates the corrected key data W by separating the key-press period H represented by the key data Q into the key-press period H1 starting from the first pronunciation start point P1 and the key-press period H2 starting from the second pronunciation start point P2.
[0049] According to the correction process 2, when the first pronunciation starting point P1 and the second pronunciation starting point P2 exist in the key pressing period H represented by the key pressing data Q, the key pressing period H represented by the key pressing data Q is separated into the key pressing period H1 starting from the first pronunciation starting point and the key pressing period H2 starting from the second pronunciation starting point. Therefore, by adding the key pressing period H2 that is originally required, the key pressing period H can be appropriately generated for each pronunciation starting point.
[0050] <Correction Process 3>
[0051] Figure 8 This is an explanatory diagram for explaining the contents of correction processing 3. Figure 8 As shown, the following situation is assumed, that is, there is no pronunciation start point P at the starting point of the second key period H2 immediately following the first key period H1 in the key data Q. The first key period H1 and the second key period H2 are periods separated from each other on the time axis. In addition, there is a pronunciation start point P corresponding to the starting point of the first key period H1. In the case where there is no pronunciation start point P, the key period H corresponding to the pronunciation start point P should not exist, so it can be inferred that the second key period H2 without the corresponding pronunciation start point P is unnecessary. Therefore, in the correction processing 3, when there is no pronunciation start point P in the starting point data Bn corresponding to the starting point of the second key period H2 immediately following the first key period H1, the second key period H2 is deleted. That is, the post-processing unit 116 generates the corrected key data W by deleting the second key period H2 from the key data Q.
[0052] According to the correction process 3, when there is no sound start point P at the starting point of the second key pressing period H2 in the key pressing data Q, the second key pressing period H2 is deleted from the key pressing data Q. Therefore, by deleting the key pressing period H2 that is originally unnecessary, the key pressing period H can be appropriately generated for each sound start point P.
[0053] <Correction Process 4>
[0054] Fig. 9 1 is an explanatory diagram for explaining the contents of the correction process 4. In the correction process 4, as in the correction process 3, it is assumed that there is no sound start point at the starting point of the second key period H2 in the key data Q. However, the correction process 4 is to take into account the pedal data U generated by the generating unit 114 when correcting the key data Q. Fig. 9 As shown, when the operation period S in the pedal data U is continuous throughout the first key period H1 and the second key period H2, the correction process 4 is performed. Specifically, the starting point of the operation period S of the pedal data U is located before the end point of the first key period H1, and the end point of the operation period S of the pedal data U exists after the starting point of the second key period H2.
[0055] When the starting point of the operation period S is located at the key-pressing period H, the sound should be maintained until the end of the operation period S. Therefore, in the correction process 4, when there is no sound starting point P in the starting point data Bn corresponding to the starting point of the second key-pressing period H2 of the key data Q, and the operation period S in the pedal data U is continuous over the first key-pressing period H1 and the second key-pressing period H2, the first key-pressing period H1 and the second key-pressing period H2 are connected. That is, the post-processing unit 116 generates the correction key data W by connecting the first key-pressing period H1 and the second key-pressing period H2 in the key data Q.
[0056] According to the correction processing 4, when the pronunciation starting point P of the starting point data Bn does not exist at the starting point of the second key pressing period H2 in the key pressing data Q, and the operation period S in the pedal data U is continuous across the first key pressing period H1 and the second key pressing period H2, the first key pressing period H1 and the second key pressing period H2 are connected in the key pressing data Q. Therefore, the two key pressing periods H1 and H2, which are originally the key pressing periods H that should be continuous, can be appropriately connected.
[0057] In the case where the pronunciation start point P does not exist in the start point data Bn corresponding to the start point of the second key pressing period H2 of the key pressing data Q, the correction process 3 is executed in principle, but in the case where the operation period S of the pedal data U covers the first key pressing period H1 and the second key pressing period H2, the correction process 4 is executed as an exception. In addition, in the correction process 4, only the pedal data U may be considered when correcting the key pressing data Q. That is, it is not necessary to consider the start point data Bn in the correction process 4.
[0058] The second embodiment also achieves the same effects as the first embodiment. In the second embodiment, the key data Q is particularly corrected in accordance with the starting point data Bn, so there is an advantage that the key data Q can be corrected to appropriately reflect the tendency of the starting point data Bn.
[0059] In addition, the correction processing is not limited to the correction processing 1-4 described above. For example, a correction processing is also illustrated in which the key pressing period H of the key pressing data Q is extended in accordance with the performance data M. In addition, the following structure is also adopted, that is, a structure in which the pedal data U is corrected in accordance with the performance data M, a structure in which the key pressing data Q is corrected in accordance with the pedal data U, or a structure in which the pedal data U is corrected in accordance with the key pressing data Q.
[0060] <Modification>
[0061] Specific variations of the above-described embodiments are exemplified below. Two or more embodiments arbitrarily selected from the following examples may be combined as appropriate within a range that does not contradict each other.
[0062] (1) In each of the above-mentioned methods, the key data Q and the pedal data U are generated using a trained model, but the key data Q and the pedal data U may be generated based on a rule that sets a predetermined time from the pronunciation start point as a key press period H and a subsequent time as a pedal operation period S. As understood from the above description, the generation unit 114 is not limited to a trained model.
[0063] (2) In each of the above-mentioned embodiments, data indicating the sound generation period E for each pitch K is used as the performance data M, but the performance data M is not limited to the above examples. For example, sound data indicating the waveform of the performance sound may be used as the performance data M. In addition, the performance data M indicating the time series of the amplitude spectrum (amplitude spectrogram) may be used.
[0064] (3) In each of the aforementioned methods, key data Q and pedal data U are generated based on performance data M of a piece of music previously stored in the storage device 13, but key data Q and pedal data U may also be generated based on the performance data M in parallel with the generation of the performance data M by picking up the performance sound played by a performer, for example.
[0065] (4) In each of the above-mentioned methods, a trained model is used that takes the first unit data Xn corresponding to the performance data M as input and outputs the second unit data Yn corresponding to the key data Q and the third unit data Zn corresponding to the pedal data U for each unit period Tn, but the trained model is not limited to the above examples. For example, a trained model that takes the input performance data M and outputs the key data Q and the pedal data U may be used. That is, the pre-processing unit 112 that generates the first unit data Xn is not essential. As understood from the above description, the input corresponding to the performance data M includes the performance data M itself and the data generated based on the performance data M (for example, the first unit data Xn). In addition, the output corresponding to the key data Q and the pedal data U includes the key data Q and the pedal data U itself and the data corresponding to the key data Q (for example, the second unit data Yn) and the data corresponding to the pedal data U (for example, the third unit data Zn). In addition, the learning data used in the machine learning for generating the trained model is appropriately changed according to the content of the trained model.
[0066] (5) In each of the aforementioned methods, the first unit data Xn for each unit period Tn is input to the generating unit 114, but the time series of the first unit data Xn covering a plurality of unit periods Tn including the unit period Tn may be input to the generating unit 114. For example, with respect to a plurality of unit periods Tn, the first unit data Xn covering a predetermined number of unit periods Tn before and after the unit period Tn may be input to the generating unit 114. In the structure in which the time series of the first unit data Xn for a plurality of unit periods Tn is input to the trained model as described above, it is also possible to preferably use a trained model without recursion. For example, any neural network such as a convolutional neural network (CNN) may be used as the trained model.
[0067] (6) In each of the above-mentioned methods, the first unit data Xn includes the pronunciation data An and the starting point data Bn, but the starting point data Bn is not essential. That is, the key data Q and the pedal data U can be generated only based on the pronunciation data An. However, according to the structure in which the first unit data Xn includes the pronunciation data An and the starting point data Bn, the key data Q and the pedal data U can be appropriately generated compared with the structure in which the first unit data Xn only includes the pronunciation data An.
[0068] In addition, the first unit data Xn may also include other data different from the pronunciation data An and the starting point data Bn. For example, the first unit data Xn may include volume data representing the volume for each unit period Tn. Specifically, a multi-value vector representing the volume in multiple stages is used as the volume data. According to the above structure, the moment when the volume increases sharply is estimated to be the starting point of the key pressing period H with a high probability.
[0069] (7) In each of the above-mentioned methods, the pronunciation data An is exemplified in which the presence or absence of pronunciation is expressed by a two-value vector for each pitch K, but the pronunciation data An is not limited to the above examples. For example, a multi-value vector representing the intensity of pronunciation in multiple stages for each pitch K may be used as the pronunciation data An. For example, the numerical value for each pitch K in the pronunciation data An is set to 0 when there is no pronunciation of the pitch K, and is set to multiple stages of numerical values corresponding to the intensity of the pronunciation when there is pronunciation of the pitch K.
[0070] (8) In each of the aforementioned methods, the second unit data Yn is exemplified in which a binary vector is used to represent the presence or absence of a key corresponding to each pitch K. However, the second unit data Yn is not limited to the above examples. For example, a multi-value vector representing the strength of a key pressed in multiple stages for each pitch K may be used as the second unit data Yn. For example, the value of the second unit data Yn for each pitch K is set to 0 when there is no key pressed for the pitch K, and is set to multiple stage values corresponding to the strength (depth) of the key pressed when there is a key pressed for the pitch K.
[0071] (9) In each of the above-mentioned methods, the third unit data Zn is exemplified by a binary vector indicating the presence or absence of pedal operation, but the third unit data Zn is not limited to the above examples. For example, a multi-value vector indicating the intensity of pedal operation in multiple stages may be used as the third unit data Zn. For example, the value of the third unit data Zn is set to 0 when there is no pedal operation, and is set to multiple stages of values corresponding to the intensity (degree of depression) of the pedal operation when there is pedal operation.
[0072] (10) In each of the above-mentioned aspects, the information processing device 10 may be mounted on a server device that can communicate with the automatic musical instrument 20 via a communication network such as the Internet.
[0073] (11) In the above-mentioned embodiments, an automatic piano is exemplified as the automatic musical instrument 20 , but the automatic musical instrument 20 is not limited to an automatic piano as long as it has a keyboard and pedals. For example, a marimba that can be automatically played may be used as the automatic musical instrument 20 .
[0074] (12) In the above-mentioned embodiments, the information processing device 10 having both the pre-processing unit 112 and the generating unit 114 is exemplified, but the pre-processing unit 112 and the generating unit 114 may be implemented by separate devices. For example, the first unit data Xn generated by the pre-processing unit 112 of the information processing device 10 may be sent to a server device that can communicate with the information processing device 10, and the generating unit 114 of the server device may generate the second unit data Yn and the third unit data Zn. In the second embodiment, the post-processing unit 116 may be implemented by a device separate from the information processing device 10.
[0075] (13) The functions of the information processing device 10 involved in the aforementioned methods are realized by the collaborative action of a computer (such as the control device 11) and a program. The program involved in the preferred method of the present invention is provided and installed in the computer in the form of a computer-readable recording medium. The recording medium is, for example, a non-volatile (non-transitory) recording medium, and optical recording media (optical disks) such as CD-ROMs are preferred examples, but may also include any known form of recording medium such as semiconductor recording media or magnetic recording media. In addition, "non-volatile recording medium" includes any recording medium other than a temporary transmission signal (transitory, propagating signal), and does not exclude volatile recording media. In addition, the program can also be provided to the computer by transmission via a communication network.
[0076] (14) The execution body of the artificial intelligence software used to implement the trained model is not limited to the CPU. For example, a processing circuit dedicated to neural networks such as a Tensor Processing Unit and a Neural Engine, or a DSP (Digital Signal Processor) dedicated to artificial intelligence can execute the artificial intelligence software. In addition, multiple processing circuits selected from the above examples can also work together to execute the artificial intelligence software.
[0077] (15) In each of the above-mentioned embodiments, the generator 114 generates both the key data Q (the second unit data Yn) and the pedal data U (the third unit data Zn) based on the performance data M (the first unit data Xn), but it is also possible to generate only the pedal data U (the third unit data Zn). In this case, the trained model constituting the generator 114 can be learned (trained) by data that associates the correct values of the first unit data Xn and the third unit data Zn (without associating the second unit data Yn).
[0078] <Note>
[0079] According to the above-exemplified embodiment, for example, the following configuration can be understood.
[0080] The information processing method according to the preferred embodiment (the first embodiment) of the present invention generates key data indicating the period of pressing keys corresponding to a plurality of pitches respectively and pedal data indicating the period of operating a pedal for extending the sound produced by pressing the keys, based on the performance data indicating the performance content. According to the above embodiment, the key data and the pedal data can be generated based on the performance data indicating the performance content.
[0081] In a preferred example of the first aspect (the second aspect), the performance data is data indicating a sounding period for each pitch. According to the above aspect, the data indicating a sounding period for each pitch is used as the performance data, so that key data and pedal data can be appropriately generated in accordance with the sounding period of each pitch.
[0082] In a preferred example of the second embodiment (the third embodiment), the key data and the pedal data are generated according to the performance data by a trained model that has learned (trained) the relationship between the input corresponding to the performance data and the output corresponding to the key data and the pedal data. According to the above embodiment, the key data and the pedal data are generated by a trained model that has learned (trained) the relationship between the input corresponding to the performance data and the output corresponding to the key data and the pedal data. Therefore, for example, compared with a method of generating key data and pedal data based on a rule that a specified time from the start point of pronunciation is set as a key pressing period and the subsequent time is set as a pedal operation period, it is possible to appropriately generate key data and pedal data according to the performance data.
[0083] In a preferred example of the third mode (the fourth mode), the trained model is a recursive neural network that takes the first unit data corresponding to the performance data as input for each unit period, outputs the second unit data corresponding to the key data and the third unit data corresponding to the pedal data, the first unit data includes pronunciation data indicating whether the pronunciation of each pitch is present, the second unit data indicates whether the key corresponding to each pitch is pressed, and the third unit data indicates whether the pedal is operated. According to the above mode, the trained model is a recursive neural network that takes the first unit data as input for each unit period, outputs the second unit data and the third unit data, thereby generating a time series of the second unit data (i.e., key data) and a time series of the third unit data (i.e., pedal data). In addition, the first unit data includes pronunciation data indicating whether the pronunciation of each pitch is present, so the key data and the pedal data can be appropriately generated according to the pronunciation of each pitch.
[0084] In a preferred example of the fourth aspect (fifth aspect), the first unit data includes starting point data indicating whether it is a pronunciation starting point for each pitch. According to the above aspect, the first unit data includes starting point data indicating whether it is a pronunciation starting point for each pitch, so that key data and pedal data can be appropriately generated according to whether it is a pronunciation starting point.
[0085] In a preferred example of the fifth aspect (sixth aspect), the key data is corrected in accordance with the starting point data. According to the above aspect, the key data is corrected in accordance with the starting point data, so the key data can be corrected so as to appropriately reflect the tendency of the starting point data.
[0086] In a preferred example of the sixth mode (the seventh mode), when a key press period with the pronunciation starting point of the starting point data as the starting point does not exist in the key press data, a key press period of a prescribed length with the pronunciation starting point as the starting point is added to the key press data. According to the above mode, when a key press period with the pronunciation starting point of the starting point data as the starting point does not exist in the key press data, a key press period of a prescribed length with the pronunciation starting point as the starting point is added to the key press data. Therefore, a key press period can be appropriately added at a position where a key press period should actually exist.
[0087] In the preferred example of the sixth or seventh mode (the eighth mode), when there is a first pronunciation starting point and a second pronunciation starting point immediately following the first pronunciation starting point within the key-pressing period represented by the key data, the key-pressing period represented by the key data is separated into a key-pressing period with the first pronunciation starting point as the starting point and a key-pressing period with the second pronunciation starting point as the starting point. According to the above mode, when there is a first pronunciation starting point and a second pronunciation starting point immediately following the first pronunciation starting point within the key-pressing period represented by the key data, the key-pressing period represented by the key data is separated into a key-pressing period with the first pronunciation starting point as the starting point and a key-pressing period with the second pronunciation starting point as the starting point. Therefore, by adding the key-pressing period originally required, the key-pressing period can be appropriately generated for each pronunciation starting point.
[0088] In any preferred example (ninth mode) of the sixth mode or the eighth mode, when there is no pronunciation starting point in the starting point data corresponding to the starting point of the second key-pressing period immediately following the first key-pressing period of the key data, the second key-pressing period is deleted from the key data. According to the above mode, when there is no pronunciation starting point at the starting point of the second key-pressing period immediately following the first key-pressing period of the key data, the second key-pressing period is deleted from the key data. Therefore, by deleting the key-pressing period that is not originally necessary, it is possible to appropriately generate a key-pressing period for each pronunciation starting point.
[0089] In any preferred example (the tenth method) of the sixth method or the ninth method, when the pronunciation starting point of the starting point data does not exist at the starting point of the second key period immediately following the first key period of the key data, and the operation period of the pedal data is continuous throughout the first key period and the second key period, the first key period and the second key period are connected in the key data. According to the above method, when the pronunciation starting point of the starting point data does not exist at the starting point of the second key period immediately following the first key period of the key data, and the operation period of the pedal data is continuous throughout the first key period and the second key period, the first key period and the second key period are connected in the key data. Therefore, two key periods that should originally be continuous can be appropriately connected.
[0090] The information processing method according to the preferred embodiment of the present invention (the tenth embodiment) comprises the step of generating pedal data based on the performance data representing the performance content, wherein the pedal data represents the operation period of the pedal for extending the sound produced by the key. According to the above embodiment, the pedal data can be generated based on the performance data representing the performance content.
[0091] In a preferred example of the tenth aspect (the eleventh aspect), the generation includes generating the pedal data based on the performance data using a trained model that has learned a relationship between an input corresponding to the performance data and an output corresponding to the pedal data.
[0092] Preferred aspects of the present invention can also be achieved as an information processing device that executes the information processing method of each aspect described above, or as a program that causes a computer to execute the information processing method of each aspect described above.
[0093] Description of the label
[0094] 100…automatic playing system, 10…information processing device, 11…control device, 112…pre-processing unit, 114…generating unit, 116…post-processing unit, 13…storage device, 20…automatic playing musical instrument, 21…control device, 23…keyboard, 25…pedal.
Claims
1. An information processing method implemented by a computer, The information processing method includes a generation step of generating pedal data based on performance data representing performance content, the pedal data representing the operation period of a pedal for extending the sound produced by pressing a key, in, The generation step includes: generating the pedal data according to the performance data by a trained model, wherein the trained model learns the relationship between the input corresponding to the performance data and the output corresponding to the pedal data.
2. The information processing method according to claim 1, wherein: The musical performance data is data indicating a sound production period associated with each of a plurality of pitches.
3. The information processing method according to claim 1, wherein: The generating step includes generating the pedal data based on the performance data and further generating key pressing data indicating a key pressing period.
4. The information processing method according to claim 2, wherein: The generating step includes generating the pedal data based on the performance data and further generating key pressing data indicating a key pressing period.
5. The information processing method according to claim 3, wherein: The generation step includes: generating the key data and the pedal data according to the performance data by a trained model, and the trained model learns the relationship between the input corresponding to the performance data and the output corresponding to the key data and the pedal data.
6. The information processing method according to claim 4, wherein: The generation step includes: generating the key data and the pedal data according to the performance data by a trained model, and the trained model learns the relationship between the input corresponding to the performance data and the output corresponding to the key data and the pedal data.
7. The information processing method according to claim 6, wherein: The trained model is a recursive neural network that takes the first unit data corresponding to the performance data as input and outputs the second unit data corresponding to the key data and the third unit data corresponding to the pedal data for each unit period. The first unit data includes pronunciation data indicating whether or not each pitch is pronounced. The second unit data indicates whether or not a key corresponding to each pitch is pressed. The third unit data indicates whether or not the pedal is operated.
8. The information processing method according to claim 7, wherein: The first unit data includes starting point data indicating whether or not it is a sounding starting point for each of the pitches.
9. The information processing method according to claim 8, wherein: The key data is modified according to the starting point data.
10. An information processing device comprising a generating unit, The generating unit generates pedal data indicating a pedal operation period for extending a sound produced by pressing a key, based on performance data indicating performance contents. in, The generating section is configured to generate the pedal data based on the performance data by a trained model that has learned a relationship between an input corresponding to the performance data and an output corresponding to the pedal data.
11. The information processing device according to claim 10, wherein: The generating section generates the pedal data based on the performance data and also generates key pressing data indicating a key pressing period.
12. A recording medium storing an information processing program, the information processing program causing a computer to execute the following generation step: Pedal data is generated based on the performance data representing the performance content, and the pedal data represents the operation period of the pedal for extending the sound produced by the key. in, The generating step includes generating the pedal data according to the performance data by a trained model, wherein the trained model learns the relationship between an input corresponding to the performance data and an output corresponding to the pedal data.
13. The recording medium according to claim 12, wherein The generating step includes generating the pedal data based on the performance data and further generating key pressing data indicating a key pressing period.
Citation Information
Patent Citations
Performance system
JP2017102415A
Musical performance control method and musical performance control apparatus
CN109804427A
Musical performance training data transmitters and receivers, and storage mediums which contain musical performance training program
CN1239251A
Keyboard musical instrument
CN1670785A
Key touch speed converter and electronic musical instrument
JP1996227288A
