Data output method, program, data output device, and electronic musical instrument
By obtaining user performance data and assigning virtual position information, it simulates a multi-person performance environment, solves the problem of insufficient presence in automatic performance, and improves the user's performance experience.
Patent Information
- Application Number
- CN202280093455.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-25
- Filing Date
- 2022-12-27
- Publication Date
- 2024-10-15
AI Technical Summary
The existing technology is difficult to simulate the feeling of multiple people playing in automatic performance, resulting in users lacking a sense of presence when playing alone.
By obtaining user performance data, the music score performance position is determined, virtual position information is assigned to the data, and playback data containing position information is output to simulate a multi-person performance environment and improve the user's sense of presence.
It realizes the feeling of simulating multi-player performance in automatic performance, enhances the user's sense of presence, and can achieve the effect of multi-player performance even when playing alone.
Smart Images

Figure CN118786478A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a technique for outputting data. Background Art
[0002] A technique has been proposed for analyzing the sound data obtained by a user's performance of a given piece of music to thereby determine the performance position on the score of the piece of music. A technique has also been proposed for implementing automatic performance that follows the performance of the user by applying this technique to automatic performance (for example, Patent Document 1).
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2017-207615 Summary of the invention
[0006] Problems to be solved by the invention
[0007] By making the automatic performance follow the performance of the user, even if one person performs, the performance can be felt as if it were performed by multiple people. Users are required to further improve the sense of presence.
[0008] One of the objects of the present invention is to enhance the sense of presence given to a user in automatic processing that follows the user's performance.
[0009] Means for solving problems
[0010] According to one embodiment, a data output method is provided, comprising: obtaining performance data generated by a performance operation; determining a music score performance position in a given music score based on the performance data; playing first data based on the music score performance position; assigning first position information corresponding to a first virtual position set corresponding to the first data to the first data; and outputting playback data, the playback data including the first data to which the first position information is assigned.
[0011] Effects of the Invention
[0012] According to the present invention, it is possible to enhance the sense of presence given to the user in the automatic processing that follows the user's performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a diagram for explaining the system configuration in the first embodiment.
[0014] Figure 2 It is a diagram for explaining the structure of the electronic musical instrument in the first embodiment.
[0015] Figure 3It is a diagram for explaining the structure of the data output device in the first embodiment.
[0016] Figure 4 It is a diagram for explaining the position control data in the first embodiment.
[0017] Figure 5 It is a diagram for explaining the position information and the direction information in the first embodiment.
[0018] Figure 6 It is a diagram for explaining a structure for realizing the performance following function in the first embodiment.
[0019] Figure 7 It is a diagram for explaining the data output method in the first embodiment.
[0020] Figure 8 It is a diagram for explaining a structure for realizing the performance following function in the second embodiment. DETAILED DESCRIPTION
[0021] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. The embodiment shown below is an example, and the present invention is not limited to these embodiments and is interpreted. In the drawings referred to in the multiple embodiments described below, the same parts or parts having the same functions are sometimes marked with the same reference numerals or similar reference numerals (only reference numerals such as A and B are marked after the numbers), and their repeated descriptions are omitted. In the drawings, in order to make the description clear, a part of the structure is sometimes omitted from the drawings and schematically described.
[0022] <First embodiment> [Overview]
[0023] With respect to a data output device in one embodiment of the present invention, for a given piece of music, the automatic performance corresponding to the music is realized by following the performance of an electronic musical instrument performed by the user. The musical instrument that is the object of automatic performance can be set to be various. In the case where the electronic musical instrument played by the user is an electronic piano, the musical instrument that is the object of automatic performance is conceivable to be a musical instrument other than the piano part (Part), such as vocals (Vocal), bass (Bass), drums (Drum), guitar, horn section, etc. In this example, the data output device provides the user with the playback sound obtained by the automatic performance, and the image of the performer who imitates the musical instrument (hereinafter sometimes referred to as the performer image). According to the data output device, the user can be given the feeling of playing with other performers. Below, a data output device and a system including the data output device are described.
[0024] [System Structure]
[0025] Figure 1It is a diagram for explaining the system configuration in the first embodiment. Figure 1 The system shown includes a data output device 10 and a data management server 90 connected via a network NW such as the Internet. In this example, a head mounted display 60 (hereinafter sometimes referred to as HMD 60) and an electronic musical instrument 80 are connected to the data output device 10. In this example, the data output device 10 is a computer such as a smartphone, a tablet computer, a laptop computer, or a desktop computer. In this example, the electronic musical instrument 80 is an electronic keyboard device such as an electronic piano.
[0026] The data output device 10 has a function of performing an automatic performance following the performance and outputting data based on the automatic performance (hereinafter referred to as a performance following function) when the user plays a given piece of music using the electronic musical instrument 80 as described above. The detailed description of the data output device 10 will be described later.
[0027] The data management server 90 includes a control unit 91, a storage unit 92 and a communication unit 98. The control unit 91 includes a processor such as a CPU and a storage device such as a RAM. The control unit 91 uses the CPU to execute the program stored in the storage unit 92, and processes according to the instructions described in the program. The storage unit 92 includes storage devices such as a non-volatile memory and a hard disk drive. The communication unit 98 is connected to the network NW and includes a communication module for communicating with other devices. The data management server 90 provides music data to the data output device 10. The music data is data associated with automatic performance, and the details will be described later. In the case where the music data is provided to the data output device 10 by other methods, the data management server 90 may not exist.
[0028] In this example, the HMD 60 includes a control unit 61, a display unit 63, a behavior sensor 64, a sound unit 67, a camera unit 68, and an interface 69. The control unit 61 includes a CPU, a RAM, and a ROM, and controls each structure in the HMD 60. The interface 69 includes a connection terminal for connecting to the data output device 10. The behavior sensor 64 includes, for example, an acceleration sensor, a gyro sensor, etc., and is a sensor that measures the behavior of the HMD 60, such as a change in the orientation of the HMD 60. In this example, the measurement result based on the behavior sensor 64 is provided to the data output device 10. As a result, the data output device 10 can recognize the movement of the HMD 60. In other words, the data output device 10 can recognize the movement of the user wearing the HMD 60 (such as the movement of the head). The user can input instructions to the data output device 10 via the HMD 60 by moving the head. If an operation unit is provided in the HMD 60, the user can also input instructions to the data output device 10 via the operation unit.
[0029] The camera unit 68 includes an image sensor, which captures the front of the HMD 60, that is, the front side of the user wearing the HMD 60, and generates camera data. The display unit 63 includes a display that displays an image corresponding to the animation data. The animation data is included in the playback data provided by the data output device 10, for example. The display has a glasses-like shape. The display can also be semi-transmissive so that the user wearing it can visually recognize the outside. In the case where the display is non-transmissive, the area captured by the camera unit 68 can also be superimposed on the animation data and displayed on the display. As a result, the user can visually recognize the outside of the HMD 60 through the display. The sound unit 67 is, for example, a headphone, etc., and includes a vibrator that converts the sound signal corresponding to the sound data into air vibration and provides sound to the user wearing the HMD 60. The sound data is included in the playback data provided by the data output device 10, for example.
[0030] [Electronic musical instruments]
[0031] Figure 2 1 is a diagram for explaining the structure of an electronic musical instrument in the first embodiment. In this example, the electronic musical instrument 80 is an electronic keyboard device such as an electronic piano, and includes a performance operating member 84, a sound source unit 85, a speaker 87, and an interface 89. The performance operating member 84 includes a plurality of keys, and outputs a signal corresponding to the operation of each key to the sound source unit 85.
[0032] The sound source unit 85 includes a DSP (Digital Signal Processor) and generates sound data including a sound wave signal according to an operation signal. The operation signal corresponds to a signal output from the performance operating member 84. The sound source unit 85 converts the operation signal into a sequence of data (hereinafter referred to as operation data) in a given format for controlling the emission of sound (hereinafter referred to as sound production) and outputs it to the interface 89. In this example, the given format is a MIDI format. Thus, the electronic musical instrument 80 can send the operation data corresponding to the performance operation on the performance operating member 84 to the data output device 10. The operation data is information that specifies the content of the sound production, for example, it is sequentially output as sound production control information such as note on (Note On), note off (Note Off), note number (Note Number), etc. The sound source unit 85 can provide the sound data to the speaker 87 at the same time as providing it to the interface 89, or instead of providing it to the interface 89.
[0033] The speaker 87 can convert the sound wave signal corresponding to the sound data provided from the sound source unit 85 into air vibration and provide it to the user. The speaker 87 can also provide sound data from the data output device 10 via the interface 89. The interface 89 includes a module for sending and receiving data with an external device wirelessly or by wire. In this example, the interface 89 is connected to the data output device 10 by wire, and sends the operation data and sound data generated in the sound source unit 85 to the data output device 10. These data can also be received from the data output device 10.
[0034] [Data output device]
[0035] Figure 3 1 is a diagram illustrating the structure of the data output device in the first embodiment. The data output device 10 includes a control unit 11, a storage unit 12, a display unit 13, an operation unit 14, a speaker 17, a communication unit 18, and an interface 19. The control unit 11 is an example of a computer having a processor such as a CPU and a storage device such as a RAM. The control unit 11 uses the CPU (processor) to execute a program 12a stored in the storage unit 12, and realizes functions for executing various processes in the data output device 10. The functions realized in the data output device 10 include a performance follow-up function described later.
[0036] The storage unit 12 is a storage device such as a nonvolatile memory or a hard disk drive. The storage unit 12 stores various data such as a program 12a executed in the control unit 11 and music data 12b required when executing the program 12a. Programming is also possible. In this case, the data output device 10 only needs to have a device for reading the recording medium. It can be said that the storage unit 12 is also an example of a recording medium.
[0037] Similarly, the music data 12b can be downloaded from the data management server 90 or other servers via the network NW and stored in the storage unit 12, or can be provided in a state of being recorded in a non-transitory computer-readable recording medium. The music data 12b is data stored in the storage unit 12 for each music, and includes setting data 120, background data 127, and music score data 129. The details of the music data 12b will be described later.
[0038] The display unit 13 is a display having a display area that displays various screens according to the control of the control unit 11. The operation unit 14 is an operation device that outputs a signal corresponding to the user's operation to the control unit 11. The speaker 17 emits sound by amplifying and outputting the sound data supplied from the control unit 11. The communication unit 18 is a communication module for connecting to the network NW through the control of the control unit 11 and communicating with other devices such as the data management server 90 connected to the network NW. The interface 19 includes a module for communicating with an external device through wireless communication such as infrared communication and short-range wireless communication or wired communication. In this example, the external device includes an electronic musical instrument 80 and an HMD 60. The interface 19 is used to communicate without going through the network NW.
[0039] [Song data]
[0040] Next, the music data 12b will be described. The music data 12b is data stored in the storage unit 12 for each music, and includes setting data 120, background data 127, and music score data 129. In this example, the music data 12b includes data for reproducing a given live performance (Live Performance) following the user's performance. The data for reproducing the live performance includes information related to the form of the venue where the live performance is performed, multiple musical instruments (performance parts), performers of each performance part, and the positions of the performers. Any one of the multiple performance parts is determined as the user's performance part. In this example, four performance parts (vocal part, piano part, bass part, drum part) are specified. The user's performance part among the four performance parts is determined to be the piano part.
[0041] The score data 129 is data corresponding to the score of the user's performance part. In this example, the score data 129 is data representing the score of the piano part in the music, for example, data described in a given format such as MIDI format. That is, the score data 129 includes time information and pronunciation control information associated with the time information. The pronunciation control information is information that specifies the content of the pronunciation at each time, for example, it is represented by information including timing information such as note on, note off, note number, and pitch information. The pronunciation control information further includes text information, so that the singing sound in the vocal part can also be included in the pronunciation. The time information is, for example, information indicating the playback timing based on the beginning of the music, and is represented by information such as time difference (delta time), beat (tempo), etc. It can also be said that the time information is information used to identify the position on the data. It can also be said that the score data 129 is data that specifies the music sound control information in a time series.
[0042] The background data 127 is data corresponding to the form of the venue where the live performance is performed, and includes data indicating the structure of the stage, the structure of the auditorium, the structure of the room, etc. For example, the background data 127 includes coordinate data for determining the position of each structure and image data for reproducing the space in the venue. The coordinate data is defined as coordinates in a given virtual space. It can also be said that the background data 127 includes data for forming a background image that simulates the venue in the virtual space.
[0043] The setting data 120 corresponds to each performance part in the music. Therefore, the music data 12b sometimes includes a plurality of setting data 120. In this example, the setting data 120 corresponding to three parts different from the piano part associated with the score data is included in the music data 12b. Specifically, the three parts are the vocal part, the bass part, and the drum part. In other words, the setting data 120 exists corresponding to the performers of each part. Setting data other than the performers may exist. For example, the music data 12b may also include setting data 120 corresponding to the audience. Even the audience has movements and cheers during the live performance, so it can also be treated as a part equivalent to a performance part.
[0044] The setting data 120 includes sound control data 121, animation control data 123, and position control data 125. The sound control data 121 is data for playing sound data corresponding to the performance part, and is data described in a given format such as MIDI format, for example. That is, the sound control data 121 includes time information and sound control information, similar to the score data 129. In this example, the sound control data 121 and the score data 129 are the same data except that the performance part is different. It can also be said that the sound control data 121 is data that specifies the musical sound control information in time series.
[0045] The animation control data 123 is data for playing the animation data, and includes time information and image control information associated with the time information. The image control information specifies the performer image at each time. As described above, the performer image is an image that imitates the performer corresponding to the performance part. In this example, the animation data played includes the performer image corresponding to the performer who performs the performance related to the performance part. It can also be said that the animation control data 123 is data that specifies the image control information in time series.
[0046] Figure 41 is a diagram for explaining position control data in the first embodiment. Position control data 125 includes information indicating the position of a performer corresponding to a performance part (hereinafter referred to as position information) and information indicating the direction of the performer (the front direction of the performer) (hereinafter referred to as direction information). In position control data 125, position information and direction information are associated with time information. Position information is defined as coordinates in a virtual space used in background data 127. Direction information is defined by an angle based on a given direction in the virtual space. Figure 4 As shown, if the time information advances to t1, t2, , the position information changes to P1, P2, , direction information changes to D1, D2 It can also be said that the position control data 125 is data that specifies the position information and direction information in time series.
[0047] Figure 5 1 is a diagram for explaining the position information and direction information in the first embodiment. As described above, in this example, four setting data 120 exist corresponding to three performance parts and audiences. Therefore, position control data 125 also exists corresponding to three performance parts and audiences. Figure 5 is an example of viewing a given virtual space from above. Figure 5 In the present invention, the wall surface RM and the stage ST of the venue are specified by the background data 127. The performer corresponding to each setting data is set with a virtual position corresponding to the position information specified in the position control data and a virtual direction corresponding to the direction information.
[0048] The virtual position and virtual direction of the performer of the vocal part are set to the position information C1p and the direction information C1d. The virtual position and virtual direction of the performer of the bass part are set to the position information C2p and the direction information C2d. The virtual position and virtual direction of the performer of the drum part are set to the position information C3p and the direction information C3d. The virtual position and virtual direction of the audience are set to the position information C4p and the direction information C4d. Here, each performer is located on the stage ST. The audience is located in the area (auditorium) outside the stage ST. Figure 5 The examples shown are situations at a specific moment, and therefore, the virtual positions and virtual directions of the performers and audience may change over time.
[0049] exist Figure 5In the example, the virtual position and virtual direction of the player of the piano part corresponding to the user are set as the position information Pp and the direction information Pd. The virtual position and the virtual direction change according to the action of the HMD 60 (the measurement result of the behavior sensor 64). For example, if the user wearing the HMD 60 changes the direction of the head, the direction information Pd changes corresponding to the direction of the head. If the user wearing the HMD 60 moves, the position information Pp changes corresponding to the movement of the user. It is also possible to set the position information Pp and the direction information Pd to change according to the operation of the operation unit 14 and the input of the user's instructions. The initial values of the position information Pp and the direction information Pd can be pre-set in the music data 12b.
[0050] As described later, if animation is provided to the user via the HMD 60, the user can Figure 5 Other players arranged in the virtual space are visually identified by the positions and directions (position information Pp, direction information Pd) shown. For example, the player of the drum part (position information C3p, direction information C3d) is visually identified by the user as a player image playing in front of the left side (position indicated by vector V3) with respect to the front direction and facing the right side.
[0051] [Performance follow function]
[0052] Next, the performance following function realized by the control unit 11 executing the program 12 a will be described.
[0053] Figure 6 1 is a diagram for explaining a structure for realizing the performance following function in the first embodiment. The performance following function 100 includes a performance data acquisition unit 110, a performance sound acquisition unit 119, a performance position determination unit 130, a signal processing unit 150, a reference value acquisition unit 164, and a data output unit 190. The structure for realizing the performance following function 100 is not limited to the case where it is realized by executing a program, and at least a part of the structure may be realized by hardware.
[0054] The performance data acquisition unit 110 acquires performance data. In this example, the performance data corresponds to the operation data provided by the electronic musical instrument 80. The performance sound acquisition unit 119 acquires sound data (performance sound data) corresponding to the performance sound provided by the electronic musical instrument 80. The reference value acquisition unit 164 acquires a reference value corresponding to the performance part of the user. The reference value includes a reference position and a reference direction. The reference position corresponds to the above-mentioned position information Pp. The reference direction corresponds to the direction information Pd. As described above, the control unit 11 changes the position information Pp and the direction information Pd from a preset initial value according to the action of the HMD 60 (the measurement result of the behavior sensor 64). The reference value can also be preset. At least one of the reference position and the reference direction in the reference value can also be associated with the time information in the same way as the position control data 125. In this case, the reference value acquisition unit 164 can acquire the reference value associated with the time information based on the correspondence between the score performance position and the time information described later.
[0055] The performance position determination unit 130 refers to the score data 129 to determine the score performance position corresponding to the performance data sequentially acquired by the performance data acquisition unit 110. The performance position determination unit 130 compares the history of the sound control information in the performance data (i.e., the group of the time information and the sound control information corresponding to the timing of the acquired operation data) with the group of the time information and the sound control information in the score data 129, and analyzes the mutual correspondence through a given matching process. The given matching process can be exemplified by a known matching process using a statistical inference model, such as DP matching, hidden Markov model, matching using machine learning, etc. The score performance position can also be determined at a predetermined speed at a given time after the start of the performance.
[0056] The performance position determination unit 130 determines the score performance position corresponding to the performance on the electronic musical instrument 80 based on the corresponding relationship. The score performance position indicates the position of the current performance in the score in the score data 129, and is determined, for example, as time information in the score data 129. The performance position determination unit 130 sequentially acquires performance data as the electronic musical instrument 80 is played, and sequentially determines the score performance position corresponding to the acquired performance data. The performance position determination unit 130 provides the determined score performance position to the signal processing unit 150.
[0057] The signal processing unit 150 includes a data generating unit 170-1, 170-n (in the case of not distinguishing each in particular, referred to as a data generation unit 170). The data generation unit 170 is set corresponding to the setting data 120. As in the above example, when the music data 12b includes four setting data 120 corresponding to three performance parts (vocal part, bass part, drum part) and the audience, the signal processing unit 150 includes four data generation units 170 (170-1 to 170-4). In this way, the data generation unit 170 and the setting data 120 are associated via the performance part.
[0058] The data generating unit 170 includes a reproducing unit 171 and an assigning unit 173. The reproducing unit 171 acquires the sound producing control data 121 and the animation control data 123 in the associated setting data 120. The assigning unit 173 acquires the position control data 125 in the associated setting data 120.
[0059] The playback unit 171 plays sound data and animation data based on the score performance position provided by the performance position determination unit 130. The playback unit 171 refers to the sound control data 121, reads out the sound control information corresponding to the moment information determined according to the score performance position, and plays the sound data. It can also be said that the playback unit 171 has a sound source unit that plays sound data based on the sound control data 121. The sound data is data corresponding to the performance sound of the associated performance part. In the case of the vocal part, the sound data can also be data corresponding to the singing sound generated using at least text information and pitch information. The playback unit 171 refers to the animation control data 123, reads out the image control information corresponding to the moment information determined according to the score performance position, and plays the animation data. The animation data is data corresponding to the image of the performer of the associated performance part, that is, the performer image.
[0060] The assigning unit 173 assigns position information and direction information to the sound data and animation data played in the playback unit 171. The assigning unit 173 refers to the position control data 125 and reads out the position information and direction information corresponding to the time information determined according to the performance position of the musical score. The assigning unit 173 uses the position information Pp and the direction information Pd to correct the reference value obtained by the reference value acquisition unit 164, that is, the read position information and direction information. Specifically, the assigning unit 173 converts the read position information and direction information into relative information represented by a coordinate system based on the position information Pp and the direction information Pd. The assigning unit 173 assigns the corrected position information and direction information, that is, the relative information, to the sound data and the animation data.
[0061] exist Figure 5In the example shown, the virtual position and virtual direction of the player of the piano part corresponding to the user become the reference values. Therefore, the part related to the position information in the relative information related to the player and the audience of each performance part includes information represented by vectors V1 to V4. The part related to the direction information in the relative information corresponds to the direction of the direction information C1d, C2d, C3d, and C4d relative to the direction information Pd (hereinafter referred to as relative direction).
[0062] Assigning relative information to sound data is equivalent to performing signal processing on the sound signals of the left channel (Lch) and the right channel (Rch) contained in the sound data so that the sound image is localized to a given position in the virtual space. The given position is the position specified by the vector contained in the relative information. If Figure 5 In the example shown, the sound of the drum part is localized at the position specified by the vector V3. At this time, a given filtering process may be performed using a technique such as HRTF (Head related transfer function). The imparting unit 173 may also refer to the background data 127 and perform signal processing on the sound signal to add reverberation caused by the structure of the room, etc. At this time, the imparting unit 173 may also impart directivity so that the sound is output from the relative direction included in the sound image relative information.
[0063] The so-called giving relative information to the animation data is equivalent to performing image processing on the performer image contained in the animation data so that it is arranged at a given position in the virtual space and faces a given direction. The given position is the position where the above-mentioned sound image is located. The given direction corresponds to the relative direction contained in the relative information. If Figure 5 In the example shown, for example, the player image of the drum part is visually recognized by the user wearing the HMD 60 as being oriented to the right (more precisely, in front of the right hand) at a position specified by the vector V3.
[0064] In this example, the data generation unit 170-1 outputs the animation data and the sound data to which the position information is given for the vocal part. The data generation unit 170-2 outputs the animation data and the sound data to which the position information is given for the bass part. The data generation unit 170-3 outputs the animation data and the sound data to which the position information is given for the drum part. The data generation unit 170-4 outputs the animation data and the sound data to which the position information is given for the audience.
[0065] The data output unit 190 receives the data from the data generating unit 170-1, The animation data and sound data output by 170-n are synthesized and output as playback data. The playback data is supplied to HMD60, so that the user wearing HMD60 can visually recognize the performer images of the vocal part, bass part and drum part at the corresponding positions, and can listen to the corresponding performance sounds from their respective positions. Therefore, the sense of presence brought to the user is improved. Furthermore, in this example, the user can also visually recognize the audience and listen to the cheers of the audience. At this time, the animation data and sound data contained in the playback data follow the user's performance, so the progress of the sound of each performance part and the movement of the performer image change according to the speed of the user's performance. In other words, around the instrument played by the user, the performance and singing that follow the performance are realized in a virtual environment. As a result, even if the user performs alone, the feeling of multiple people playing can be obtained. Therefore, a customer experience with a high sense of presence is provided to the user.
[0066] The data output unit 190 may also refer to the background data 127 and include a background image imitating a venue in a virtual space in the animation data. Figure 5 The data output unit 190 may also output playback data synthesized from the performance sound data acquired by the performance sound acquisition unit 119. Thus, the performance sound performed by the user can also be listened to via the HMD 60. The above is the description of the performance follow-up function.
[0067] [Data output method]
[0068] Next, a description will be given of a data output method executed in the performance follow-up function 100. The data output method described here starts when the program 12a is executed.
[0069] Figure 7 1 is a diagram for explaining the data output method in the first embodiment. The control unit 11 obtains the performance data provided in sequence (step S101), and determines the performance position of the music score (step S103). The control unit 11 plays the animation data and the sound data based on the performance position of the music score (step S105), assigns position information to the played animation data and the sound data (step S107), and outputs them as the playback data (step S109). The control unit 11 repeats the processing from step S101 to step S109 until an instruction to end the processing is input (step S111; No), and if an instruction to end the processing is input (step S111; Yes), the control unit 11 ends the processing.
[0070] <Second embodiment>
[0071] In the first embodiment, an example in which animation data and sound data are played following the performance of one user is described, but they may be played following the performances of multiple users. In the second embodiment, an example in which animation data and sound data are played following the performances of two users is described.
[0072] Figure 8 1 is a diagram for explaining a structure for realizing a performance following function in a second embodiment. The performance following function 100A in the second embodiment has the following structure: the two performance following functions 100 in the first embodiment are parallel, and the background data 127, the score data 129, and the performance position determination unit 130 are shared by both parties. The two performance following functions 100 are provided corresponding to the first user and the second user.
[0073] The performance data acquisition unit 110A-1 acquires first performance data related to a first user. The first performance data is, for example, operation data output from the electronic musical instrument 80 played by the first user. The performance data acquisition unit 110A-2 acquires second performance data related to a second user. The second performance data is, for example, operation data output from the electronic musical instrument 80 played by the second user.
[0074] The performance position determination unit 130A determines the score performance position by comparing the history of the sound control information of any one of the first performance data and the second performance data with the sound control information in the score data 129. The selection of the first performance data and the second performance data is determined based on the first performance data and the second performance data. For example, the performance position determination unit 130A performs both the matching process related to the first performance data and the matching process related to the second performance data, and adopts the score performance position determined by the one with higher calculation accuracy. The calculation accuracy may be, for example, an index indicating the error of the matching in the calculation result.
[0075] As another example, the performance position determination unit 130A determines whether to use the score performance position obtained from the first performance data or the score performance position obtained from the second performance data based on the position in the music determined by the score performance position. In this case, in the score data 129, the performance target period of the music is divided into a plurality of periods, and a priority order is set for the performance part for each period. The performance position determination unit 130A refers to the score data 129 and determines the score performance position using the performance data corresponding to the performance part with a higher priority order.
[0076] The signal processing units 150A-1 and 150A-2 have the same functions as the signal processing unit 150 in the first embodiment, and correspond to the first user and the second user, respectively. The signal processing unit 150A-1 uses the score playing position determined in the playing position determination unit 130A and the reference value related to the first user obtained in the reference value acquisition unit 164A-1 to play the animation data and the sound data. The data generation unit 170 related to the performance part of the second user in the signal processing unit 150A-1 may exist or not. The data generation unit 170 related to the performance part of the second user may not play the sound data, but may play the animation data. In the playback of the animation data, the reference value related to the second user obtained in the reference value acquisition unit 164A-2 may be used instead of the position control data 125.
[0077] The signal processing unit 150A-2 plays the animation data and the sound data using the score playing position determined by the playing position determining unit 130A and the reference value related to the second user obtained by the reference value obtaining unit 164A-2. The data generating unit 170 related to the playing part of the first user in the signal processing unit 150A-2 may or may not exist. The data generating unit 170 related to the playing part of the first user may play the animation data instead of the sound data. In the playing of the animation data, the reference value related to the first user obtained by the reference value obtaining unit 164A-1 may be used instead of the position control data 125.
[0078] The data output unit 190A-1 synthesizes the animation data and the sound data output from the signal processing unit 150A-1 and outputs them as playback data. The playback data is provided to the HMD 60 of the first user. The data output unit 190A-1 may refer to the background data 127 and include a background image imitating a venue in a virtual space in the animation data. The data output unit 190A-1 may output playback data synthesized by further synthesizing the performance sound data acquired by the performance sound acquisition units 119A-1 and 119A-2. The sound data acquired by the performance sound acquisition unit 119A-1 is, for example, sound data output from an electronic musical instrument 80 played by the first user. The sound data acquired by the performance sound acquisition unit 119A-2 is, for example, sound data output from an electronic musical instrument 80 played by a second user. It is also possible to assign relative information corresponding to the second user's reference value relative to the first user's reference value to the sound data acquired by the performance sound acquisition unit 119A-2, or assign relative information to the animation data related to the performance part of the second user, so that the sound image is localized at a given position.
[0079] The data output unit 190A-2 synthesizes the animation data and the sound data output from the signal processing unit 150A-2 and outputs them as playback data. The playback data is provided to the HMD 60 of the first user. The data output unit 190A-2 may also refer to the background data 127 and include a background image that simulates a venue in a virtual space in the animation data. The data output unit 190A-2 may also output playback data that is further synthesized with the performance sound data obtained by the performance sound acquisition units 119A-1 and 119A-2. It is also possible to assign relative information corresponding to the first user's reference value relative to the second user's reference value to the sound data acquired by the performance sound acquisition unit 119A-1, or assign relative information to the animation data related to the performance part of the first user, so that the sound image is localized at a given position.
[0080] As described above, according to the performance follow-up function 100A in the second embodiment, even when the user performs two performance parts, the sense of presence given to the user can be improved.
[0081] <Modification>
[0082] The present invention is not limited to the above-mentioned embodiments, and includes various other modified examples. For example, the above-mentioned embodiments are embodiments described in detail in order to easily explain the present invention, and are not limited to all the structures described. Below, some modified examples are described. The first embodiment is modified as an example, but it can also be applied as an example of other embodiments. It is also possible to combine multiple modified examples and apply them to each embodiment.
[0083] (1) The animation data and the sound data included in the playback data are not limited to the case where they are provided to the HMD 60, and they may be provided to a fixed display, for example. The animation data and the sound data may be provided to different devices. For example, the animation data may be provided to the HMD 60, and the sound data may be provided to a speaker device different from the HMD 60. The speaker device may be, for example, the speaker 87 in the electronic musical instrument 80. When the data are provided to the speaker device, the assigning unit 173 may perform signal processing assuming the provided speaker device. For example, in the case of the speaker 87 of the electronic musical instrument 80, the speaker unit of Lch and the speaker unit of Rch are fixed to the electronic musical instrument 80, and the position of the ear of the player is roughly estimated. In such a case, based on the estimated positions of the two speaker units and the right ear and the left ear of the player, the sound data may be subjected to signal processing so as to localize the sound image using the crosstalk cancellation technique. In this case, the shape of the room where the electronic musical instrument 80 is installed may be obtained, and the sound data may be subjected to signal processing so as to cancel the sound field generated by the shape of the room. The shape of the room may be obtained by a known method such as a method using sound reflection or a method using a camera.
[0084] (2) At least one of the animation data and the sound data included in the playback data may not exist. In other words, at least one of the animation data and the sound data may be automatically processed to follow the user's performance.
[0085] (3) The adding unit 173 may not add the position information and the direction information to at least one of the video data and the audio data.
[0086] (4) The functions of the data output device 10 and the functions of the electronic musical instrument 80 may be included in one device. For example, the data output device 10 may be embedded as a function of the electronic musical instrument 80. A part of the structure of the electronic musical instrument 80 may be included in the data output device 10, and a part of the structure of the data output device 10 may be included in the electronic musical instrument 80. For example, the structure other than the performance operating part 84 of the electronic musical instrument 80 may be included in the data output device 10. In this case, the data output device 10 may generate sound data using the sound source unit based on the acquired operation data.
[0087] (5) The musical score data 129 may be included in the music data 12 b in the same format as the setting data 120 . In this case, by setting the user's performance part in the data output device 10 , the sound control data 121 included in the setting data 120 corresponding to the performance part may be used as the musical score data 129 .
[0088] (6) The position information and direction information are determined as a virtual position and a virtual direction in a virtual space, but may be determined as a virtual position and a virtual direction in a virtual plane as long as they are determined as information specified in a virtual area.
[0089] (7) The position control data 125 in the setting data 120 may not include direction information or time information.
[0090] (8) The assigning unit 173 may not change the position information assigned to the sound data based on the position control data 125. For example, the position information may be fixed while maintaining the initial value. In this case, it is possible to imagine a situation where sound is produced from a specific speaker (a situation where the sound image is fixed), and the performer image can be moved. As a result, the sound image may be positioned at a position different from that of the performer image. The information included in the position control data 125 may be divided into the information for the animation data and the information for the sound data, thereby enabling the performer image and the sound image to be controlled at different positions.
[0091] (9) The animation data included in the broadcast data may also be still image data.
[0092] (10) The performance data acquired by the performance data acquisition unit 110 may not be operation data but may be sound data (performance sound data). When the performance data is sound data, the performance position determination unit 130 compares the sound data as the performance data with the sound data generated based on the musical score data 129 to perform a known matching process. Through this process, the performance position determination unit 130 can determine the musical score performance position corresponding to the performance data acquired in sequence. The musical score data 129 may be sound data. In this case, the time information is associated with each part of the sound data.
[0093] (11) The sound control data 121 included in the music data 12b may be sound data. In this case, the time information is associated with each part of the sound data. In the case of the sound data of the vocal part, the sound data includes singing sound. When the playback unit 171 reads the sound data based on the score performance position, the sound data may be read based on the relationship between the score performance position and the time information, and the pitch may be adjusted according to the reading speed. The pitch may be adjusted, for example, to the pitch when the sound data is read at a given reading speed.
[0094] (12) The control unit 11 may also record the playback data output from the data output unit 190 in a recording medium or the like. The control unit 11 may generate recording data for outputting the playback data and record it in a recording medium. The recording medium may be the storage unit 12 or a computer-readable recording medium connected as an external device. The recording data may also be sent to a server device connected via the network NW. For example, the recording data may also be sent to the data management server 90 and stored in the storage unit 92. The recording data may be in a form including animation data and sound data or in a form including setting data 120 and time series information of the performance position of the musical score. In the latter case, the playback data may also be generated based on the recording data by functions equivalent to the signal processing unit 150 and the data output unit 190.
[0095] (13) The performance position determination unit 130 may determine the score performance position during a portion of the music piece, regardless of the performance data acquired by the performance data acquisition unit 110. In this case, the score data 129 may specify the speed at which the score performance position should be determined during the portion of the music piece. The performance position determination unit 130 may determine the score performance position in such a manner that the score performance position changes at the specified speed during the portion of the music piece.
[0096] (14) The setting data 120 included in the music data 12b that can be used in the performance follow-up function 100 can also be restricted by the user. In this case, the data output device 10 can also be set to implement the performance follow-up function 100 based on the input of the user ID. The restricted setting data 120 can also be changed by the user ID. For example, when the user ID is a specific ID, it is sufficient for the control unit 11 to control so that the setting data 120 related to the vocal part cannot be used in the performance follow-up function 100. The relationship between the ID and the restricted data can also be registered in the data management server 90. In this case, the data management server 90 can also provide the music data 12b to the data output device 10 without including the setting data 120 that cannot be used.
[0097] The above is the description of the modified example.
[0098] As described above, according to one embodiment of the present invention, there is provided a data output method, comprising: obtaining performance data generated by a performance operation; determining a music score performance position in a given music score based on the performance data; playing first data based on the music score performance position; assigning first position information corresponding to a first virtual position set corresponding to the first data to the first data; and outputting playback data, the playback data including the first data to which the first position information is assigned.
[0099] The first virtual position may also be set corresponding to the music score performance position.
[0100] The first data may also include audio data.
[0101] The audio data may also include singing sounds.
[0102] The singing sound may also be generated based on text information and pitch information.
[0103] Assigning the first position information to the first data may include performing signal processing for localizing a sound image on the sound data.
[0104] The first data may also include animation data.
[0105] The first position information corresponding to the first virtual position may also include relative information of the first virtual position with respect to a set reference position and reference direction.
[0106] The method may include changing at least one of the reference position and the reference direction based on an instruction input from a user.
[0107] At least one of the reference position and the reference direction may also be set corresponding to the score performance position.
[0108] The method may also include assigning first direction information corresponding to a first virtual direction set corresponding to the first data to the first data.
[0109] The method may also include: playing second data based on the score playing position; and assigning second position information corresponding to a second virtual position set corresponding to the second data to the second data. The playing data may also include the first data assigned with the first position information and the second data assigned with the second position information.
[0110] The playback data may include performance sound data corresponding to the performance operation.
[0111] The method may further include generating recording data for outputting the playback data.
[0112] Acquiring the performance data may also include acquiring at least first performance data generated by a performance operation of the first part and second performance data generated by a performance operation of the second part. It may also include: selecting either the first performance data or the second performance data based on the first performance data and the second performance data. The score performance position may also be determined based on the selected first performance data or the second performance data.
[0113] The performance data may also include performance sound data corresponding to the performance operation.
[0114] The performance data may also include operation data corresponding to the performance operation.
[0115] A program may also be provided, the program being used to cause a processor to execute any one of the data output methods described above.
[0116] There may also be provided a data output device comprising a processor for executing the program as described above.
[0117] The device may include a sound source unit that generates sound data based on the musical performance operation.
[0118] It is also possible to provide an electronic musical instrument comprising: the data output device as described above; and a performance operating member for inputting the performance operation.
[0119] Description of Reference Numerals
[0120] 10: data output device, 11: control unit, 12: storage unit, 12a: program, 12b: music data, 13: display unit, 14: operation unit, 17: speaker, 18: communication unit, 19: interface, 60: head mounted display, 61: control unit, 63: display unit, 64: behavior sensor, 67: sound generation unit, 68: camera unit, 69: interface, 80: electronic musical instrument, 84: performance operation member, 85: sound source unit, 87: speaker, 89: interface, 90: data management server, 91: control unit, 92: storage unit, 98: communication unit, 100, 100A: performance follow-up function, 110, 110 A-1, 110A-2: performance data acquisition unit, 119, 119A-1, 119A-2: performance sound acquisition unit, 120: setting data, 121: sound control data, 123: animation control data, 125: position control data, 127: background data, 129: score data, 130, 130A: performance position determination unit, 150, 150A-1, 150A-2: signal processing unit, 164, 164A-1, 164A-2: reference value acquisition unit, 170: data generation unit, 171: playback unit, 173: assignment unit, 190, 190A-1, 190A-2: data output unit.
Claims
1. A data output method, comprising: Acquiring performance data generated by the performance operation; determining a music score performance position in a given music score based on the performance data; Playing first data based on the music score performance position; assigning first position information corresponding to a first virtual position set corresponding to the first data to the first data; as well as The playback data including the first data to which the first position information is assigned is output.
2. The data output method according to claim 1, wherein: The first virtual position is also set corresponding to the music score performance position.
3. The data output method according to claim 1 or claim 2, wherein: The first data includes sound data.
4. The data output method according to claim 3, wherein: The audio data includes singing sounds.
5. The data output method according to claim 4, wherein: The singing sound is generated based on the text information and the pitch information.
6. The data output method according to any one of claims 3 to 5, wherein: Assigning the first position information to the first data includes performing signal processing for localizing a sound image on the sound data.
7. The data output method according to any one of claims 1 to 6, wherein: The first data includes animation data.
8. The data output method according to any one of claims 1 to 7, wherein: The first position information corresponding to the first virtual position includes relative information of the first virtual position with respect to a set reference position and reference direction.
9. The data output method according to claim 8, wherein: The data output method includes changing at least one of the reference position and the reference direction based on an instruction input from a user.
10. The data output method according to claim 8, wherein: At least one of the reference position and the reference direction is set corresponding to the score performance position.
11. The data output method according to any one of claims 1 to 10, wherein: The data output method includes: assigning first direction information corresponding to a first virtual direction set corresponding to the first data to the first data.
12. The data output method according to any one of claims 1 to 11, wherein: The data output method comprises: Playing second data based on the performance position of the music score; and assigning second position information corresponding to a second virtual position set corresponding to the second data to the second data, The playback data includes the first data to which the first position information is assigned and the second data to which the second position information is assigned.
13. The data output method according to any one of claims 1 to 12, wherein: The playback data includes performance sound data corresponding to the performance operation.
14. The data output method according to any one of claims 1 to 13, wherein: The data output method includes generating recording data for outputting the playback data.
15. The data output method according to any one of claims 1 to 14, wherein: Acquiring the performance data includes acquiring at least first performance data generated by a performance operation of the first performance part and second performance data generated by a performance operation of the second performance part, The method further comprises: selecting any one of the first performance data and the second performance data based on the first performance data and the second performance data, The musical score performance position is determined based on the selected first performance data or the second performance data.
16. The data output method according to any one of claims 1 to 15, wherein: The performance data includes operation data corresponding to the performance operation.
17. A procedure, Used to cause a processor to execute the data output method according to any one of claims 1 to 16.
18. A data output device, comprising: a control unit that executes the program according to claim 17; and The sound source unit generates sound data according to the performance operation.
19. An electronic musical instrument comprising: The data output device according to claim 18; and A performance operation member for inputting the performance operation.
