1. Technical Field
The present invention relates to a data interchange format for interchanging musical sequence data, a sound generating system capable of being mounted on portable terminals such as mobile phones and reproducing a musical file having the data interchange format, and a musical file creation tool capable of creating a musical file having the data interchange format from musical sequence data.
2. Related Art
There are known SMF (Standard MIDI file format) and SMAF (Synthetic Music Mobile Application Format) as data interchange formats for distributing musical sequence data to reproduce musical pieces using a sound generator.
The SMF is a data format for saving musical performance information and interchanging data. When an SMF file is created based on the GM (General MIDI) standard, the file can be reproduced to a certain degree of quality according to a timbre map using musical instrument timbres provided for the sound generator.
The SMAF is a data format specification for representing multimedia contents on mobile terminals (see Online document “SMAF specification outline” by YAMAHA CORPORATION retrieved on Jun. 30, 2004, at the Internet address <URL:http//smaf-yamaha.com/jp/what/smaf_spec.html>).
Further, Patent document, Japanese Patent Unexamined Publication No. 2003-22072, discloses the musical file (SMAF file) with timbre data. For FM sound generators, timbre data (timbre parameters) signifies parameters to specify an FM operation algorithm. For waveform memory (WT) sound generators, timbre data signifies timbre waveform data and the like.
Depending on models of sound generators, the same musical instrument generates different timbre overtones and sound pressures. If an SMF file is created in accordance with the GM timbre map, there may be a case where the musical piece cannot be reproduced as faithfully as producer's intention depending on types and models of sound generators used for the reproduction.
There may be a case of reproducing the musical file (SMAF file) with timbre data as described in the above-mentioned patent document on a sound generator that is incompatible with the timbre data contained in the SMAF file. In this case, the sound generator reproduces equivalent timbres using its own timbre data while ignoring the timbre data attached to the file. Likewise the case of SMF files, the sound generator reproduces the file using its own default timbres corresponding to program change numbers (timbre numbers) included in program change messages.
Presently, some portable terminals use sound generators incompatible with the timbre data contained in the SMAF file. Other portable terminals use sound generators compatible with the timbre data contained in the SMAF file.
According to the example shown in
Regarding the piano corresponding to program change number #1, for example, the SMAF file originally contains the timbre data representing the specific piano timbre tuned to the musical piece's atmosphere. It is not proper to use any generic piano timbres in place of the specific piano timbre tuned to the musical piece's atmosphere. Nevertheless, the SMAF-incompatible sound generating system generates substitute timbres. Accordingly, the timber reproduced by the SMAF-incompatible sound generator becomes different from the original timbre that the producer has intended.
Nevertheless, a user still listens to nothing but the reproduced piano sound and may not notice a delicate difference from the original piano sound. The user misunderstands the grade of the musical file, degrading its true value.
It is an object of the present invention to provide a data interchange format (hereinafter, occasionally referred to as “data format” for simplicity) capable of ensuring reproduction of musical pieces as intended by a producer and capable of interchanging musical sequence data, a sound generating system capable of reproducing a musical file having the data interchange format, and a musical file creation tool capable of creating a musical file having the data interchange format.
In order to achieve the above-mentioned object, according to one aspect of the invention, there is provided a data format of music sequence data which represents a music piece and which enables a compatible sound generating apparatus to reproduce the music piece at a first quality while allowing a non-compatible sound generating apparatus to reproduce the music piece at a second quality different from the first quality. The music sequence data comprises: event data that represents various types of musical events occurring during the course of reproducing the music piece; and timing data that specifies occurrence timing of each musical event. characterizingly, the event data representing at least one type of the musical events is scrambled such as to affect performance of the non-compatible sound generating apparatus without affecting performance of the compatible sound generating apparatus, so that the compatible sound generating apparatus can maintain the first quality of the music piece even when the music piece is reproduced from the music sequence data containing the scrambled event data, while the non-compatible sound generating apparatus cannot maintain the second quality of the music piece when the music piece is reproduced from the music sequence data containing the scrambled event data.
Preferably, the inventive data format further comprises timbre data which represents a set of timbres applicable to sounds of the music piece and identified by program change numbers, wherein said one type of the musical events are program change events which contain the program change numbers for specifying the timbres, and wherein the program change numbers are scrambled such that the non-compatible sound generating apparatus cannot apply equivalent timbres corresponding to the specified timbres in response to the program change events thereby failing to maintain the second quality, while the compatible sound generating apparatus can properly apply the specified timbres in response to the program change events thereby maintaining the first quality.
Preferably, the inventive data format further comprises channel attribute information which defines correspondence between channel numbers and kinds of timbres allocated to notes of the music piece, wherein said one type of the musical events are note events which determine the notes occurring during the course of reproducing the music piece and which contain the channel numbers specifying the kinds of the timbres allocated to the notes, and wherein the channel numbers are scrambled such that the non-compatible sound generating apparatus cannot allocate the specified kinds of the timbres to the notes in response to the note events thereby failing to maintain the second quality, while the compatible sound generating apparatus can allocate the specified kinds of the timbres to the notes properly based on the channel attribute information in response to the note events thereby maintaining the first quality.
Preferably, the inventive data format further comprises scramble information which can be interpreted by the compatible sound generating apparatus for restoring the scrambled event data and which cannot be interpreted by the non-compatible sound generating apparatus, whereby the compatible sound generating apparatus can restore the scrambled event data based on the scramble information so as to reproduce the music piece at the first quality, while the non-compatible sound generating apparatus cannot restore the scrambled event data thereby failing to maintain the second quality of the music piece.
Typically, said one type of the musical events are note events which determine notes occurring during the course of reproducing the music piece and which contain note numbers specifying pitches of the notes, and wherein the note numbers are scrambled so that the non-compatible sound generating apparatus cannot reproduce the notes of the music piece at the specified pitches, thereby failing to maintain the second quality.
Practically, the event data representing two or more types of the musical events are scrambled such as to affect performance of the non-compatible sound generating apparatus.
In another aspect of the invention, there is provided a sound generating apparatus comprising: an input section that receives a musical file which contains music sequence data representing a music piece and also contains timbre data representing a set of timbres applicable to sounds of the music piece and identified by program change numbers, the music sequence data comprising event data and timing data, the event data representing program change events which occur during the course of reproducing the music piece and which contain the program change numbers for specifying the timbres, the program change numbers being previously scrambled, the timing data specifying occurrence timing of each program change event; a storage section that stores the timbre data which is contained in the inputted musical file and which represents the set of the timbres in correspondence to the scrambled program change numbers; and a generating section that generates the sounds of the music piece according to the music sequence data such that the specified timbres are properly applied to the generated sounds from the stored set of the timbres in response to the program change events even though the program change numbers are previously scrambled.
In still another aspect of the invention, there is provided a sound generating apparatus comprising: an input section that receives a musical file which contains music sequence data representing a music piece and also contains channel attribute information which defines correspondence between channel numbers and kinds of timbres allocated to notes of the music piece, the music sequence data comprising event data and timing data, the event data representing note events which determine the notes occurring during the course of reproducing the music piece and which contain the channel numbers specifying the kinds of the timbres allocated to the notes, the channel numbers previously being scrambled, the timing data specifying occurrence timing of each program change event; a setup section that sets the correspondence between the scrambled channel numbers and the kind of the timbres based on the channel attribute information contained in the inputted musical file; and a generating section that generates the notes of the music piece according to the music sequence data contained in the inputted musical file such that the specified kinds of the timbres are properly allocated to the notes in response to the scrambled channel numbers contained in the note events.
In a further aspect of the invention, there is provided a sound generating apparatus comprising: an input section that receives a musical file which contains scramble information and music sequence data representing a music piece, the music sequence data comprising event data which represents various types of musical events occurring during the course of reproducing the music piece, and timing data which specifies occurrence timing of each musical event, the event data which represents at least one type of the musical events being scrambled, the scramble information being used for restoring the scrambled event data; a restoring section that interprets the scramble information contained in the inputted musical file and that restores the scrambled event data according to the interpreted scramble information; and a generating section that generates sounds of the music piece according to the music sequence data containing the restored event data. Preferably, said one type of the musical events are program change events which contain program change numbers for specifying timbres applied to the sounds of the music piece, so that the event data representing the program change numbers are scrambled. Otherwise, said one type of the musical events are note events which determine notes occurring during the course of reproducing the music piece and which contain channel numbers specifying kinds of timbres allocated to the notes, so that the event data representing the channel numbers are scrambled.
In a still further aspect of the invention, there is provided an apparatus for creating a musical file, comprising: an input section that provides music sequence data representing a music piece and having a data format which enables a compatible sound generating apparatus to reproduce the music piece at a first quality while allowing a non-compatible sound generating apparatus to reproduce the music piece at a second quality different from the first quality, the music sequence data comprising event data which represents various types of musical events occurring during the course of reproducing the music piece, and timing data which specifies occurrence timing of each musical event; a scrambling section that scrambles the event data representing at least one type of the musical events such as to affect performance of the non-compatible sound generating apparatus without affecting performance of the compatible sound generating apparatus; and an output section that outputs a musical file of the music sequence data containing the scrambled event data, so that the compatible sound generating apparatus can maintain the first quality of the music piece even when the music piece is reproduced from the outputted musical file, while the non-compatible sound generating apparatus cannot maintain the second quality of the music piece when the music piece is reproduced from the outputted musical file.
Preferably, the scrambling section scrambles the event data representing said one type of the musical events which are program change events containing program change numbers for specifying timbres applicable to sounds of the music piece, and wherein the output section outputs the musical file containing timbre data which represents the timbres specified by the program change numbers, such that the non-compatible sound generating apparatus cannot apply equivalent timbres corresponding to the specified timbres in response to the program change events thereby failing to maintain the second quality, while the compatible sound generating apparatus can properly apply the specified timbres contained in the musical file in response to the program change events thereby maintaining the first quality.
Preferably, the scrambling section scrambles the event data representing said one type of the musical events which are note events determining notes occurring during the course of reproducing the music piece and containing channel numbers specifying kinds of timbres allocated to the notes, and wherein the output section outputs the musical file containing channel attribute information which defines correspondence between the channel numbers and the kinds of the timbres allocated to the notes of the music piece, such that the non-compatible sound generating apparatus cannot allocate the specified kinds of the timbres in response to the note events thereby failing to maintain the second quality, while the compatible sound generating apparatus can allocate the specified kinds of the timbres to the notes properly based on the channel attribute information contained in the musical file thereby maintaining the first quality.
In a still further aspect of the invention, there is provided a computer program for use in creating a musical file. The computer program is executable by a computer to perform a method comprising the steps of: providing music sequence data representing a music piece and having a data format which enables a compatible sound generating apparatus to reproduce the music piece at a first quality while allowing a non-compatible sound generating apparatus to reproduce the music piece at a second quality different from the first quality, the music sequence data comprising event data which represents various types of musical events occurring during the course of reproducing the music piece, and timing data which specifies occurrence timing of each musical event; scrambling the event data representing at least one type of the musical events such as to affect performance of the non-compatible sound generating apparatus without affecting performance of the compatible sound generating apparatus; and creating a musical file of the music sequence data containing the scrambled event data, so that the compatible sound generating apparatus can maintain the first quality of the music piece even when the music piece is reproduced from the created musical file, while the non-compatible sound generating apparatus cannot maintain the second quality of the music piece when the music piece is reproduced from the created musical file.
There may be a non-compatible sound generating system that cannot process a scrambled event as mentioned above. When such sound generating system reproduces a musical file having the data interchange format according to the present invention, an obviously different timbre is reproduced. Namely, the quality of the music piece reproduced by the non-compatible sound generating system is degraded. Thus, the user can be free from the above-mentioned misunderstanding. Namely, the user can realize that the music file is not wrong but the sound generating system is non-compatible to the music file. The user realize that a compatible generating system should be used to evaluate a true grade of the music file.
Accordingly, the data interchange format according to the present invention for interchanging musical sequence data can ensure reproduction of musical pieces according to the producer's intention. It is possible to preserve the value of musical files (contents).
The sound generating system according to the present invention can reproduce musical files having the data interchange format for interchanging the musical sequence data according to the present invention by generating timbres as a producer has intended.
Further, the musical file creation tool according to the present invention can create a musical file having the data interchange format according to the present invention from the musical sequence data.
FIGS. 1(a) and 1(b) are diagrams showing the structure of an musical file having a data interchange format embodied for musical sequence data according to the present invention, wherein
The musical file has the chunk structure like SMAF files. The reference numeral 1 denotes a musical file's file chunk. The file chunk 1 has a header and a body. The header contains a file ID (chunk ID) to identify the file and a chunk size to indicate the length of the body to follow.
The body comprises a series of chunks. As shown in
The Contents Info Chunk 2 stores various management information such as a content type and copy status. The Optional Data Chunk 3 stores a genre name, a song name, an artist name, a songwriter/composer name, and the like.
A Score Track Chunk 4 stores various data for reproducing the sound generator. The Score Track Chunk 4 contains: a Sequence Data Chunk 5 to store actual musical performance data (sequence data); a Setup Data Chunk 6 to store timbre data and effect setting; and a Scramble Chunk 7 to store scramble information to be described later.
In this manner, the musical file is a modification of an SMAF file. Inclusion of the Scramble Chunk 7 indicates a difference from the ordinary SMAF file. The Scramble Chunk 7 needs not always be contained in the Score Track Chunk 4 and may be disposed elsewhere. An SMAF file may contain a PCM audio track chunk and a graphic trunk chunk that are omitted here, however.
The musical file according to the present invention differs from the conventional SMAF file in that, as will be described late, a scramble process is applied to a specific event in the sequence data contained in the Sequence Data Chunk 5.
In
As input, the authoring tool 11 is supplied with the existing sound file (musical sequence data) 12 such as an SMF file (.mid) or a conventional SMAF file (.mmf). The authoring tool 11 applies a scramble process to specific events in the sound file and outputs the musical file (SMAF file) 16 according to the present invention. For example, a computer program implements the authoring tool 11.
Namely, the music file creating apparatus composed of the authoring tool 11 is designed for creating a musical file. In the apparatus, an input section provides music sequence data representing a music piece and having a data format which enables a compatible sound generating apparatus to reproduce the music piece at a first quality while allowing a non-compatible sound generating apparatus to reproduce the music piece at a second quality different from the first quality, the music sequence data comprising event data which represents various types of musical events occurring during the course of reproducing the music piece, and timing data which specifies occurrence timing of each musical event. A scrambling section scrambles the event data representing at least one type of the musical events such as to affect performance of the non-compatible sound generating apparatus without affecting performance of the compatible sound generating apparatus. An output section outputs a musical file of the music sequence data such as SMAF file containing the scrambled event data, so that the compatible sound generating apparatus can maintain the first quality of the music piece even when the music piece is reproduced from the outputted musical file, while the non-compatible sound generating apparatus cannot maintain the second quality of the music piece when the music piece is reproduced from the outputted musical file.
The authoring tool 11 may be composed of a computer program use in creating a musical file. The computer program is executable by a computer to perform a method comprising the steps shown in
Various cases can be considered concerning which event should be scrambled or which algorithm the scramble process should implement. The embodiment applies the scramble process that randomly reallocates program change numbers contained in a program change message so as not to duplicate numbers.
The process is supplied with a sound file (musical sequence data) such as SMF as a material (S1). Based on user's instructions (setting, change, trial listening, and the like) from the operation section 13, the process accordingly makes adjustment such as sound volumes, obtains timbre data, makes correspondence with program change numbers, or enables playback for trial listening (S2, S3). As a result of the trial listening, for example, the ordinary piano timbre may be changed to a specific piano timbre. In such case, the process obtains timbre data for the specific piano timbre and associates it with the corresponding program change number.
When a file output instruction is issued (YES at S4) thereafter, the process converts the sound file into the above-mentioned SMAF file (S5). the process associates the specified timbre data with the program change number to create data for the Setup Data Chunk (S6).
The process determines whether or not the scramble mode is enabled (S7). When the scramble mode is disabled, the process outputs the SMAF file and then terminates.
When the scramble mode is enabled, the process randomly reallocates program change numbers in the program change event contained in the Sequence Data Chunk (S9). At this time, the process also reallocates program change numbers in the timbre data contained in the Setup Data Chunk. The purpose is to change correspondence between the timbre data and the program change number before the reallocation to correspondence between the timbre data and the program change number after the reallocation.
The process creates information (scramble information) used to recover the reallocated program change number. The information is used for the reallocation algorithm and is attached as a Scramble Chunk (S10). In this manner, the process outputs the musical file 16 according to the present invention with scrambled data for the specific event and then terminates (S11).
As mentioned above, the scramble process is provided in the scramble mode and is not provided otherwise. Alternatively, the scramble process may be always provided.
It may be preferable to be able to create SMAF files without defining timbre data. Depending on whether or not timbre data is available, the scramble process may be performed only when the timbre data is contained.
Before reallocation in
The content separately stores the scramble information needed to recover the reallocated program change numbers such as information used for the reallocation process algorithm.
As will be described later, the scramble information is unnecessary for reproduction of the musical file according to the embodiment. Using the scramble information makes it possible to recover the reallocated program change numbers and can facilitate works such as editing scrambled contents.
As described above, the data format of music sequence data represents a music piece and enables a compatible sound generating apparatus to reproduce the music piece at a first quality while allowing a non-compatible sound generating apparatus to reproduce the music piece at a second quality different from the first quality. The music sequence data is composed of event data and timing data. The event data represents various types of musical events occurring during the course of reproducing the music piece. The timing data specifies occurrence timing of each musical event. The event data representing at least one type of the musical events is scrambled such as to affect performance of the non-compatible sound generating apparatus without affecting performance of the compatible sound generating apparatus, so that the compatible sound generating apparatus can maintain the first quality of the music piece even when the music piece is reproduced from the music sequence data containing the scrambled event data, while the non-compatible sound generating apparatus cannot maintain the second quality of the music piece when the music piece is reproduced from the music sequence data containing the scrambled event data.
In detail, the data format further contains timbre data which represents a set of timbres applicable to sounds of the music piece and identified by program change numbers. The afore-mentioned one type of the musical events are program change events which contain the program change numbers for specifying the timbres. The program change numbers are scrambled such that the non-compatible sound generating apparatus cannot apply equivalent timbres corresponding to the specified timbres in response to the program change events thereby failing to maintain the second quality, while the compatible sound generating apparatus can properly apply the specified timbres in response to the program change events thereby maintaining the first quality.
In
As shown in
The sound generating system having the above-mentioned construction may receive an instruction to reproduce SMAF files or musical files having the data interchange format according to the present invention. (It should be noted that these musical files are generically referred to as SMAF files because the musical files can be assumed to be enhanced SMAF files as mentioned above.) In such case, the CPU 21 extracts timbre data contained in the Setup Data Chunk from the SMAF file stored in the RAM 23 and sends the timbre data to the sound generating apparatus 24. The timbre data is written to the timbre RAM 30 via the interface circuit 27.
The CPU 21 then serially transmits sequence data (duration and event) in the SMAF file to the sound generating apparatus 24. The sequence data is transmitted to the sequencer 29 via the interface circuit 27 and the FIFO buffer 28.
The sequencer serially interprets the received sequence data to set sound generator control parameters in the sound generating section 31. in accordance with program change events, the sequencer 29 supplies the program change numbers to the timbre RAM 30. In this manner, the sound generating section 31 is provided with corresponding timbre data from the timbre RAM 30. Since the timbre data is already associated with the corresponding program change (Pch) numbers, correct timbre data can be selected.
The sound generating section 31 generates a musical sound signal based on the configured timbre parameter and the sound generator control parameter. The musical sound signal is sounded from the speaker 25 via the DAC 32.
This sound generating system is mounted on portable information terminals such as cellular phones and is used to reproduce a call signal with melodies and the like. In this case, the portable information terminals originally have the sound generating system except the sound generating apparatus 24. When a call is terminated, for example, the CPU 21 transfers a musical file from the ROM 22 or the RAM 23 to the sound generating apparatus 24. The sound generating system 14 in
The sound generator 25 may be implemented by software or special hardware. The sound generating system may be FM or PCM. However, it is desirable to be able to reproduce existing musical piece formats such as SMF and SMAF.
In
As shown in
Namely, the sound generating apparatus 24 has an input section 27, a storage section 30 and an generating section 31. The input section 27 receives a musical file which contains music sequence data representing a music piece and also contains timbre data representing a set of timbres applicable to sounds of the music piece and identified by program change numbers. The music sequence data is composed of event data and timing data. The event data represents program change events which occur during the course of reproducing the music piece and which contain the program change numbers for specifying the timbres. The program change numbers are previously scrambled. The timing data specifies occurrence timing of each program change event. The storage section 30 stores the timbre data which is contained in the inputted musical file and which represents the set of the timbres in correspondence to the scrambled program change numbers. The generating section 31 generates the sounds of the music piece according to the music sequence data such that the specified timbres are properly applied to the generated sounds from the stored set of the timbres in response to the program change events even though the program change numbers are previously scrambled.
On the other hand, let us assume that the scramble content (a) is input to the SMAF-incompatible (general) sound generating system as shown in
The program change numbers differ from the timbres according to the timbre map originally created by the producer. The musical piece is reproduced with timbres the producer did not intend. Accordingly, it is possible to prevent a user from mistakenly underestimating the musical piece.
While the scramble process according to the above-mentioned embodiment randomly reallocates the program change numbers, the present invention is not limited thereto. The following describes a second embodiment of the present invention.
Generally, there are used 16 MIDI channels. The GM standard specifies channel 10 to be used for rhythm performance. The embodiment here aims at scrambling channel numbers in contents.
According to the example in
The data interchange format according to the embodiment of the present invention allows the channel attribute information to be defined as an extended event. Sound generating systems compliant with the data interchange format according to the present invention can interpret the extended event.
An authoring tool is used to create musical files having the data interchange format according to the embodiment and randomly reallocate channel numbers in a content between 1 and 16. Reallocation means for this reallocation uses such a reallocation algorithm as not to duplicate channel numbers. The reallocation means stores the reallocated channel attribute information separately in an area other than the sequence data. The reallocation means also stores the scramble information such as the information used for the reallocation algorithm in a specified area such as the Scramble Chunk.
A timbre and an event are defined for each MIDI channel. A program change message determines the timbre. The event indicates musical performance for that channel. This embodiment randomly reallocates the channel numbers and simply changes the channel numbers alone, not to change the correspondence between the timbre and the event for each channel. In the GM standard, the channel 10 is determined to reproduce rhythm instrument sound. Normally, an ordinary sound generator reproduces the sounds of the channel 10 as rhythm instrument sound in compliant to the GM standard. As the result of scrambling process of the channel numbers, the ordinary sound generator treats the original channel 10 as now renumbered channel 2, hence the ordinary sound generator reproduces the sound of original channel 10 as different sound than the rhythm instrument sound. That is, when the content with the scrambled channel numbers is input to an ordinary sound generating system as mentioned above, the extended event as the channel attribute information becomes a message incompatible with the ordinary sound generating system and is therefore ignored. When the note event is received, the content is reproduced with the channel attributes which the ordinary sound generating system maintains by default.
In this case, the channel attributes differ from the original ones explicitly created by the producer. The channels are reproduced with timbres the producer did not intend.
On the other hand, the sound generating system according to the present invention is configured to be able to interpret the scrambled channel attribute information (
Like the first embodiment, the scramble information is unnecessary for reproduction. However, the scramble information can be used to release the scramble. In this manner, this can facilitate works such as editing scrambled contents.
The following describes a third embodiment of the present invention. In MIDI standard, each note event contains each note number. The embodiment randomly reallocates note numbers (equivalent to MIDI key numbers) 0 through 127 for note events in a music content. At this time, reallocation means for the reallocation uses such an algorithm as not to duplicate note numbers. The system stores the scramble information such as information used for the reallocation algorithm separately in a specified area such as the Scramble Chunk other than sequence data in the content. Accordingly, for example, a note event originally specified to sound “do” may be specified to sound “mi”. Namely, the data format of the invention contains scramble information which can be interpreted by the compatible sound generating apparatus for restoring the scrambled event data and which cannot be interpreted by the non-compatible sound generating apparatus, whereby the compatible sound generating apparatus can restore the scrambled event data based on the scramble information so as to reproduce the music piece at the first quality, while the non-compatible sound generating apparatus cannot restore the scrambled event data thereby failing to maintain the second quality of the music piece. In detail, the afore-mentioned one type of the musical events are note events which determine notes occurring during the course of reproducing the music piece and which contain note numbers specifying pitches of the notes, and the note numbers are scrambled so that the non-compatible sound generating apparatus cannot reproduce the notes of the music piece at the specified pitches, thereby failing to maintain the second quality.
The sound generating system according to the embodiment of the present invention has means that uses the scramble information to unscramble note numbers. Therefore, it is possible to restore the note numbers to the original note numbers based on the scramble information and then perform the reproduction. Namely, the sound generating apparatus has an input section, a restoring section and a generating section. The input section receives a musical file which contains scramble information and music sequence data representing a music piece. The music sequence data comprises event data which represents various types of musical events occurring during the course of reproducing the music piece, and timing data which specifies occurrence timing of each musical event. The event data representing at least one type of the musical events are scrambled. The scramble information is used for restoring the scrambled event data. The restoring section interprets the scramble information contained in the inputted musical file and that restores the scrambled event data according to the interpreted scramble information. The generating section generates sounds of the music piece according to the music sequence data containing the restored event data.
Let us assume that the sound generating system according to the present invention is supplied with a musical file containing the content with scrambled note numbers and the scramble information. The sound generating system decodes or restores all note events in the file into the original note numbers based on the scramble information. The system transmits the note events to the sound generator in accordance with the time information. The sound generator reproduces the musical piece in accordance with the note events. In this case, the note numbers correspond to the original keys (pitches). The musical piece can be reproduced as the producer has intended.
On the other hand, when the musical file having the data interchange format according to the embodiment is input to an ordinary sound generating system, the scramble information contained in the musical piece is ignored. When a note event is received, it is reproduced with the scrambled note number. Consequently, the note number differs from the key (pitch) originally created by the producer and is reproduced with a pitch not intended by the producer.
The following describes a fourth embodiment of the present invention so as to scramble one or more events in a content.
This embodiment of the present invention applies the scramble process to one or more events contained in the sequence data as shown in
The sound generating system according to the embodiment of the present invention is configured to be able to use the scramble information and unscramble the sequence data.
Let us assume that the sound generating system according to the embodiment is supplied with a musical file having such data interchange format. The system decodes the scrambled event into the original event based on the scramble information contained in the musical file. The system transmits the events to the sound generator in accordance with the time information. The sound generator reproduces the musical piece in accordance with the events. The musical piece can be reproduced as the producer intended.
On the other hand, when the musical file having the data interchange format is input to an ordinary sound generating system, the scramble information is ignored. The system cannot interpret the scrambled events, causing an error.
In this manner, this embodiment can also reproduce the musical piece according to the producer's intention.
Number | Date | Country | Kind |
---|---|---|---|
2004-229075 | Aug 2004 | JP | national |