1. Field of the Invention
The present invention relates to a performance apparatus for use by a user in performing an exercise, dance or the like to the rhythm of music, and relates to a computer-readable storage medium in which a program for executing a method for controlling the performance apparatus is stored.
2. Description of the Related Art
A performance apparatus used by a user for performing an exercise, dance or the like to the rhythm of music is conventionally known.
For example, such a performance apparatus is configured to generate a time-dependent target pulse rate pattern for a time period from start to end of a user's exercise based on the intensity of exercise or other conditions which are input to the apparatus, detect the pulse rate of the user performing the exercise in time with the reproduction of selected music data, calculate a correction value for correcting the tempo of music data based on the user's exercise tempo and a difference between the target and detected pulse rates, and correct the tempo of music data with the correction value (for example, see Japanese Laid-open Patent Publication No. 2001-299980).
This conventional performance apparatus discloses a technical concept of reproducing selected music data in a corrected tempo, but does not disclose nor suggest a technical concept of making a shift from reproduction of music data to reproduction of different music data.
When, for example, music data whose reproduction time is several minutes is reproduced during the user's exercise of several ten minutes, the same music data is repeatedly reproduced about ten times during the exercise, making the user to get tired of the music. It is therefore preferable that a plurality of music pieces should sequentially be reproduced during the exercise. This also applies to a case where music data is reproduced in a corrected tempo as in the above described performance apparatus. If the reproduction of music data being reproduced can be changed over to the reproduction of different music data stored in the performance apparatus, the user is encouraged to make efforts to perform the exercise for a long time with a fresh mind.
Upon changeover of music pieces during the exercise, music pieces must be reproduced without any discontinuity so as not to hinder the exercise. To this end, a cross-fade technique is frequently used to connect a preceding music piece to a subsequent music piece without discontinuity. However, when music pieces are crossfade-connected, a deviation is often produced between the beat of the preceding music piece and the beat of the subsequent music piece, which disturbs the rhythm of exercise or dance.
The present invention provides a performance apparatus capable of changing reproduction of a music piece over to reproduction of a different music piece without disturbing the rhythm of exercise, dance, or the like performed by a user to the rhythm of music, and provides a computer-readable storage medium storing a program for executing a method for controlling the performance apparatus.
According to a first aspect of this invention, there is provided a performance apparatus comprising storage unit adapted to store a plurality of performance data, a selection unit adapted to select any of the plurality of performance data stored in the storage unit, a reproduction unit adapted to reproduce performance data selected by the selection unit, a control unit adapted to control said reproduction unit such that performance data being reproduced by the reproduction unit is changed over to another performance data selected by the selection unit and performance data reproduction is continuously carried out, and a beat position acquisition unit adapted to acquire a beat position in preceding performance data used for performance data reproduction before changeover controlled by the control unit, and acquire a beat position in subsequent performance data used for performance data reproduction after the changeover, wherein the control unit is adapted to control the changeover such that the beat position in the preceding performance data matches the beat position in the subsequent performance data.
With the performance apparatus according to the first aspect of this invention, upon changeover from the preceding performance data to the subsequent performance data, the changeover is carried out such that the beat position in the preceding performance data matches the beat position in the subsequent performance data. Thus, when a user performs exercise, dance, or the like to the rhythm of music, the changeover and reproduction of music can be carried out without disturbing the rhythm of the user's exercise or dance.
The performance apparatus can further include a transmission/reception unit adapted to be connected to an external unit for data transmission and data reception to and from the external unit, and a data acquisition unit adapted to acquire, from the external unit via the transmission/reception unit, pieces of performance data and pieces of beat position data each indicating a beat position in a corresponding one of the performance data in terms of time. The storage unit can be adapted to store the performance data acquired by the acquisition unit and also store the beat position data corresponding to the performance data. The beat position acquisition unit can be adapted to acquire the beat position in the preceding performance data and the beat position in the subsequent performance data from the beat position data stored in the storage unit.
In this case, performance data and beat position data representative of beat positions in the performance data in terms of time are acquired from the external unit and stored in the storage unit, and the beat position in preceding performance data and the beat position in subsequent performance data are acquired from the stored beat position data. As a result, the performance apparatus is not required to have a high calculation processing ability, whereby fabrication costs can be reduced.
According to a second aspect of this invention, there is provided a performance apparatus comprising a storage unit adapted to store a plurality of performance data, a selection unit adapted to select any of the plurality of performance data stored in the storage unit, a first reproduction unit adapted to reproduce performance data selected by the selection unit, a control unit adapted to control the first reproduction unit such that performance data being reproduced by the first reproduction unit is changed over to another performance data selected by the selection unit and performance data reproduction is continuously carried out, a musical tone characteristic acquisition unit adapted to acquire a musical tone characteristic of at least one of preceding performance data used for performance data reproduction before changeover controlled by the control unit and subsequent performance data used for performance data reproduction after the changeover, a generation unit adapted, based on the musical tone characteristic acquired by the musical tone characteristic acquisition unit, to generate stopgap performance data for connecting between the preceding performance data and the subsequent performance data, and a second reproduction unit adapted to reproduce the stopgap performance data generated by the generation unit, wherein the control unit is adapted to control the second reproduction unit such that the stopgap performance data is inserted between the preceding performance data and the subsequent performance data and is reproduced.
With the performance apparatus according to the second aspect of this invention, the musical tone characteristic of at least one of the preceding performance data and the subsequent performance data is acquired, and in accordance with the acquired characteristic, stopgap performance data used for connection between the preceding and subsequent performance data is generated and inserted therebetween for reproduction. As a result, the preceding performance data can smoothly be connected to the subsequent performance data, and therefore, when a user performs exercise, dance, or the like to the rhythm of music, the changeover and reproduction of music can be carried out without disturbing the rhythm of the user's exercise or dance.
The musical tone characteristic acquisition unit can be adapted to acquire musical tone characteristics of both the preceding performance data and the subsequent performance data, and the generation unit can be adapted to generate stopgap performance data that varies from the musical tone characteristic of the preceding performance data to the musical tone characteristic of the subsequent performance data with elapse of time.
In this case, both the musical tone characteristic of the preceding performance data and that of the subsequent performance data are acquired, and stopgap performance data varying from the musical tone characteristic of the preceding performance to the musical tone characteristic of the subsequent performance data is generated. As a result, the preceding performance data can further be smoothly connected to the subsequent performance data.
The performance apparatus can further include a stopgap performance data storage unit adapted to store a plurality of the stopgap performance data, and the generation unit can be adapted, based on the musical tone characteristic acquired by the musical tone characteristic acquisition unit, to select the stopgap performance data from among the plurality of the stopgap performance data stored in the stopgap performance data storage unit.
In this case, the stopgap performance data is selected by the generation unit from among the data stored in the stopgap performance data storage unit in accordance with the acquired musical tone characteristic, and therefore, it is unnecessary for the generation unit to generate the stopgap performance data. As a result, the performance apparatus is not required to have a high calculation processing ability, whereby fabrication costs can be reduced.
The performance apparatus can further include a transmission/reception unit adapted to be connected to an external unit for data transmission and data reception to and from the external unit, and a data acquisition unit adapted to acquire, from the external unit via the transmission/reception unit, pieces of performance data and pieces of musical tone characteristic data each indicating a musical tone characteristic of a corresponding one of the performance data. The storage unit can be adapted to store the performance data acquired by the acquisition unit and also store the musical tone characteristic corresponding to the performance data, and the musical tone characteristic acquisition unit can be adapted to acquire the musical tone characteristic of at least one of the preceding performance data and the subsequent performance data from the musical tone characteristic data stored in the storage unit.
In this case, musical tone characteristic data indicating the musical tone characteristic of performance data are acquired from the external unit and stored in the storage unit, and the musical tone characteristic of at least one of the preceding and subsequent performance data is acquired from the stored musical tone characteristic data. As a result, the performance apparatus is not required to have a high calculation processing ability, whereby fabrication costs can be reduced.
According to a third aspect of this invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute a method for controlling a performance apparatus including a storage unit storing a plurality of performance data, the method comprising a selection step of selecting any of the plurality of performance data stored in the storage unit, a reproduction step of reproducing performance data selected in the selection step, a control step of controlling the reproduction step such that performance data being reproduced in the reproduction step is changed over to another performance data selected in the selection step and performance data reproduction is continuously carried out, and a beat position acquisition step of acquiring a beat position in preceding performance data used for performance data reproduction before changeover controlled by the control step, and acquire a beat position in subsequent performance data used for performance data reproduction after the changeover, wherein the control step controls the changeover such that the beat position in the preceding performance data matches the beat position in the subsequent performance data.
According to a fourth aspect of this invention, there is provided a computer-readable storage medium storing a program for causing a computer to execute a method for controlling a performance apparatus including a storage unit storing a plurality of performance data, the method comprising a selection step of selecting any of the plurality of performance data stored in the storage unit, a first reproduction step of reproducing performance data selected in the selection step, a control step of controlling the first reproduction step such that performance data being reproduced in the first reproduction step is changed over to another performance data selected in the selection step and performance data reproduction is continuously carried out, a musical tone characteristic acquisition step of acquiring a musical tone characteristic of at least one of preceding performance data used for performance data reproduction before changeover controlled by the control step and subsequent performance data used for performance data reproduction after the changeover, a generation step of generating, based on the musical tone characteristic acquired in the musical tone characteristic acquisition step, stopgap performance data for connecting between the preceding performance data and the subsequent performance data, and a second reproduction step of reproducing the stopgap performance data generated in the generation step, wherein the control step controls the second reproduction step such that the stopgap performance data is inserted between the preceding performance data and the subsequent performance data and is reproduced.
Further features of the present invention will become apparent from the following description of an exemplary embodiment with reference to the attached drawings.
The present invention will now be described in detail below with reference to the drawings showing a preferred embodiment thereof.
As shown in
The above described elements 5 to 18 are connected to a bus 19. The MIDI tone generator circuit 15 and the compressed audio decoder 16 are connected to the effect circuit 17 which is connected to the amplifier 18. The headphone 4 is connected to the amplifier 18.
The pulse sensor 1 is attached to user's earlap, hand, finger, or the like, and adapted to output a signal in synchronism with the user's pulse. In this embodiment, the pulse sensor 1 is provided in an earmuff part of the headphone 4 for detection of the user's pulse. Needless to say, the pulse sensor 1 may be attached to or provided in any other part than headphone earmuff so long as it can detect the pulse without hindering user's exercise.
The acceleration sensor 2 is provided in a housing of the music player MP. Since the music player MP is attached to the user's waist or the like as described below, vertical and horizontal accelerations are produced in the music player MP while the user is performing exercise, and are detected by the acceleration sensor 2. It should be noted that the acceleration sensor 2 is not limited to being incorporated in the music player MP, but may be configured separately from the music player MP.
The flash memory 13 can be adapted to store control programs for execution by the CPU 8, as described above. In the case of such control programs not being stored in the ROM 9, the control programs can be stored in the flash memory 13. By reading the control programs from the flash memory 13 into the RAM 10, it is possible to cause the CPU 8 to make actions similarly to the case where the control programs are stored in the ROM 9. In that case, the control programs can easily be added and version upgraded.
As shown in
The music player MP is attached to the user's waist via a belt, for example.
The play list file 13a includes a play list 13a1 for walk use and a play list 13a2 for jogging use. Each of the play lists is a tabulated list in which pieces of reproducible (performable) music are listed. In some music player other than the music player MP of this embodiment, pieces of reproducible music and the order of reproduction thereof are listed in the play list. On the other hand, in the play list of this embodiment, pieces of reproducible music are only listed, with the order of reproduction thereof omitted. The play list 13a1 for walk use is a tabulated list in which pieces of music selected for use in walk mode are included, whereas the play list 13a2 for jogging use is a tabulated list in which pieces of music selected for use in jogging mode are included. In the play lists of this embodiment, IDs assigned to respective pieces of music (compressed audio performance files 13dn) are registered, but this is not limitative. Alternatively, names or any others may be registered so long as respective pieces of music can be specified. In this embodiment, there are only shown two types of operation modes, i.e., the walk mode and the jogging mode, for the sake of simplified explanation. Actually, however, there are provided operation modes in a number corresponding to the number of types of exercise (normally, about ten types).
Like the play list file 13a, the personal information file 13b includes a plurality of types of personal information for selection according to the operation modes. In this embodiment, the personal information file 13b includes personal information 13b1 for walk mode and personal information 13b2 for jogging mode. Specifically, each personal information is a tempo range specified by minimum and maximum tempo values. Each tempo range is used to select, from among performance files 13dn, personal files to be registered in the play list concerned. Specifically, performance files selected from the performance files 13dn are registered in the play list 13a1 for walk use, wherein each of the selected performance files has a tempo value (=a tempo value of main point) falling within a range from 80 bpm (=the minimum tempo value in walk mode) to 140 bpm (=the maximum tempo value in walk mode). On the other hand, performance files each having a tempo value (=a tempo value of main point) falling within a range from 140 bpm (=the minimum tempo value in jogging mode) to 190 bpm (=the maximum tempo value in jogging mode) and selected from the performance files 13dn are registered in the play list 13a2 for jogging use.
The music information file 13c includes pieces of meta data 13cn (n=1, 2, . . . ) respectively corresponding to the performance files 13dn. Each of the pieces of meta data 13cn includes a main point which remains substantially unchanged through the music concerned, tempos which change from time to time, beat positions, fade positions, and so on, which are registered therein. The main point is a value representing a tempo that is most sustainable through the entire music, and is a tempo value that represents the entire music. The main point is used for the selection of music data to be registered in the play list and for the selection, from among the music data registered in the play list, of music data to be reproduced. The beat positions represent positions of beats of from beginning to end of music in terms of time measured from the beginning of music. Typically, the beat positions represent time-based positions of every beat, but may represent time-based positions of every plural beats (for example, every four beats). The beat positions, fade positions, sound volumes, and atmosphere of music are used for making a shift from the reproduction of the music piece concerned to the reproduction of another music piece. This invention is characterized in the way of how the music reproduction is changed over based on beat position data and the like, and detailed procedures therefor will be described later.
The performance files 13dn each consist of compressed audio performance data. Any compression method can be used for audio performance data compression. There may be mentioned, for example, MP3 (MPEG audio layer 3), WMA (Windows (registered trademark) media audio), AAC (advanced audio coding), etc. Compressed audio performance data on which the performance files 13dn are based are acquired by the PC 100, as described below with reference to
In the following, a control process for execution by the music player MP constructed as described above will be schematically described with reference to
The music player MP mainly carries out the following processes.
(A) A music selection/reproduction process, in which pieces of music are selected and reproduced such as to change the user's heart rate along an optimal heart rate curve; and
(B) A pace change process to change the exercise pace in accordance with user's operations of the pace up/down buttons 3b, 3c.
When an instruction to start fitness exercise is given by the user to the music player MP, the CPU 8 causes the process to proceed to the music selection/reproduction process (A) in which an optimal heart rate curve is calculated based on current settings. It is assumed here that the jogging mode has been set as the operation mode.
When the selected music data is continued to be reproduced for a predetermined time period (30 seconds, for example), the CPU 8 detects user's pulse (=heart rate) via the pulse detection circuit 5, and calculates a difference between the detected heart rate and a target heart rate (i.e., a heart rate on the optimal heart rate curve at a given elapsed time from the start of fitness exercise). If the difference between the detected and target heart rates falls outside a predetermined range (in which the difference does not vary more than plus or minus 3% from the target heart rate, for example), the CPU 8 changes the target tempo such as to decrease the difference therebetween. Specifically, when the detected heart rate is more than 3% larger than the target heart rate, the CPU 8 decreases the target tempo by 5%. On the other hand, when the detected heart rate is more than 3% smaller than the target heart rate, the target tempo is increased by 5%. Then, the CPU 8 newly selects music in accordance with the target tempo having been changed as described above. As a result, the target tempo is adjusted such that the user's heart rate is made along the optimal heart rate curve, and pieces of music each having a tempo corresponding to the target tempo are selected and reproduced in sequence until completion of the fitness exercise.
One of features of this invention resides in that upon changeover of selected music data, the beat of a preceding music piece and that of a subsequent music piece are made to match each other. As a result, a shift from the reproduction of the preceding music piece to the reproduction of the subsequent music piece can smoothly be carried out, and therefore, the rhythm of a user's exercise or dance is not disturbed even at the changeover of music. In this embodiment, there are provided six types of the way of matching the beat of the preceding music piece to the beat of the subsequent music piece, i.e., six types of methods for connecting them, as shown in
When the pace up/down button 3b or 3c is operated by the user during the fitness exercise, the CPU 8 causes the process to proceed to the pace change process (B), in which the target tempo is increased or decreased by a predetermined value (5%, for example). Then, the CPU 8 determines whether or not the pace up/down button 3b or 3c has been operated in predetermined timing. If it is determined that the button has been operated in the predetermined timing, the personal information 13b2 is changed. Therefore, in accordance with the user's instruction, the music is reproduced in the tempo after the change and the personal information is updated in a predetermined timing. It should be noted that the changeover to the reproduction of the music piece having been changed in tempo is also carried out by the selected connection method.
Next, the control process is explained in detail below.
In the main routine, the CPU 8 mainly performs the following processes.
(1) An initialization process (step S1);
(2) A communication process with the PC 100 (step S3);
(3) A process before the start of fitness exercise (steps S4 to S6);
(4) A process at the start of fitness exercise (steps S8 to S10);
(5) A fitness process (step S11); and
(6) A process upon completion of fitness exercise (steps S13 and S14).
The main routine is started when power is turned on by the power button 3a. Upon start of the main routine, the initialization process (1) is executed once. Subsequently, the processes (2) to (6) are executed in sequence. When the process (6) is completed, the process is returned to the process (2). Then, the processes (2) to (6) are repeatedly carried out until the power is turned off by the power button 3a.
In the initialization process (1), the CPU 8 performs initialization to clear the RAM 6 and sets various parameter values to default values, and so on. Initialization for the operation mode and the connection method is also performed. For example, the “walk mode” is set as the default operation mode, and an “instantaneous changeover” (see
When a communication start operation, such as connecting the USB I/F 14 to the PC 100 via, e.g., the USB cable (not shown), is performed by a user (step S2 in
Since the music player MP is extremely smaller in storage capacity than the PC 100, it is impossible for the music player MP (more specifically, the flash memory 13 thereof) to store all the music data (including the compressed audio performance files 13dn) in all the operation modes (in this embodiment, two types of operation modes are shown by way of example, but about ten types of operation modes are provided in actuality). Thus, an immediately necessary part of music data which are stored beforehand in the PC 100 is selected and stored in the flash memory 13. A determination to determine the presence or absence of the immediate necessity of respective music data, storage of necessary music data into the flash memory 13, elimination of unnecessary music data from the flash memory 13, renewal of the play list file 13a, and so on are all performed on the PC 100 side. To this end, the communication process between the PC 100 and the music player MP is required.
In the communication process on the PC 100 side, a CPU (not shown) of the PC 100 performs the following processes.
(101) A process to request the music player MP to transmit the personal information file 13b, and receive the transmitted file 13b (step S101);
(102) A process to acquire a tempo range in each operation mode from the personal information file 13b (step S102);
(103) A process to select music data in accordance with the tempo range in each operation mode acquired by the process (102) (step S103);
(104) A process to produce the music information file 13c and the play list file 13a in accordance with a result of selection by the process (103) (step S104); and
(105) A process to renew the compressed audio performance files 13dn, the music information file 13c, and the play list file 13a in the music player MP (specifically, in the flash memory 13 thereof) (step S105).
In the music selection process (103), music data are selected according to the tempo range specified by the minimum and maximum tempo values indicated in the personal information for each operation mode. Here, the words “according to the tempo range” do not indicate that music data having a tempo even slightly deviating from the tempo range should not be selected, but indicate that music data may be selected with some margin, for example, about 10%. As a result, when the minimum tempo value of 90 bpm and the maximum tempo value of 140 bpm are indicated in the personal information, music data each having a tempo falling within the range from 81 bpm to 154 bpm are selected.
By the music selection process (103), music data to be registered in the play list are selected for each operation mode. In the process (104), the play list for each operation mode is produced, and all the play lists are combined together to thereby produce one play list file. Since there is always present meta data corresponding to each selected music data (meta data is produced simultaneously with acquisition of music data as described below with reference to
In response to a request for transmission from the PC 100 in the process (101), the CPU 8 of the music player MP transmits the personal information file 13b stored in the flash memory 13 to the PC 100 via the USB I/F 14 (step S21). In response to renewal of files in the process (105), the CPU 8 renews the compressed audio performance files 13dn, the music information file 13c, and the play list file 13a, which are stored in the flash memory 13 (step S22).
In accordance with, for example, a user's instruction, the CPU of the PC 100 acquires compressed audio performance data, and causes the acquired data to be stored into an external storage unit (not shown) such as an HDD (hard disk unit) (step S111). There may be several sources from which the compressed audio performance data are acquired. For example, a compressed audio performance data provider site on the Internet can be mentioned, which is of course not limitative. To acquire the compressed audio performance data, audio performance data obtained from the source of audio performance data (such as a music CD) can be compressed using software for compressing uncompressed audio performance data into compressed audio performance data.
Next, the CPU analyzes the acquired compressed audio performance data and produces meta data (step S112). Specifically, the CPU analyzes the compressed audio performance data to detect therefrom a main point, tempos, beat positions, fade positions, etc., and produces meta data having these parameters indicated therein. As a method for analyzing the compressed audio performance data, there can be mentioned, for example, a method in which the compressed audio performance data is signal-processed to detect a time-dependent change in sound volume or the periodicity of time-dependent change in sound volume, or in which such a detection is performed for signals having frequencies falling within a particular frequency range.
In particular, by detecting the periodicity of sound volume change in a low-frequency range, bass drum beats or bass drum tempos can be detected. Alternatively, meta data can be produced or modified by the user, while listening to music sound reproduced from data obtained by expanding the compressed audio performance data.
Furthermore, the CPU causes the produced meta data to be stored in the external storage unit such as to correspond to the compressed audio performance data (step S113).
Referring to
Next, in accordance with user's operation or initialization, the CPU 8 sets the operation mode into either the walk mode or the jogging mode (step S5). As described previously, the walk mode is set in the initialization. Therefore, the operation mode is set into the walk mode, if the operation mode setting is not changed by the user. On the other hand, if the operation mode setting is changed by the user, the walk mode is changed to the jogging mode. The method for setting the operation mode may be the same as the above described method for changing the connection method setting.
Furthermore, in accordance with user's operation or initialization, the CPU 8 sets either the play list 13a1 for walk use or the play list 13a2 for jogging use into the play list (step S6). As the method for the play list setting, a method similar to the above described method for changing the connection method setting can be used. It should be noted that instead of positively setting the play list, it is possible to automatically set the play list corresponding to the operation mode when the operation mode is set.
When an instruction to start fitness exercise is given by the user by, for example, operating the menu button 3d (step S7), the CPU 8 causes the process to proceed to the processing at the start of fitness exercise (4). In this processing (4), the CPU 8 calculates an optimal heart rate curve based on the set operation mode (step S8). The optimal heart rate curve shown in
Next, the CPU 8 initializes the target tempo to a minimum tempo value which varies according to the operation mode (step S9). The minimum tempo value is a minimum tempo value indicated in the personal information 13b1 or 13b2 of the personal information file 13b. In the example of
Next, the CPU 8 performs a music selection process to select music data having a tempo corresponding to the set target tempo (step S10).
In the music selection process, the CPU 8 searches for music having a tempo corresponding to the target tempo from the currently selected play list (step S31). Specifically, the CPU 8 accesses, one by one, pieces of meta data 13cn in music information file 13c which respectively correspond to pieces of music registered in the play list, and compares a main point value indicated in each of meta data 13cn with the target tempo value. If the main point value falls within a range in which the main point does not vary more than plus or minus 3% from the target tempo value, the music corresponding to the currently accessed meta data is determined as intended music. When a plurality of intended music are found, any of them is randomly selected and the selected music is finally determined as intended music, thereby preventing the same music from being always determined as the intended music.
As a result of the search in step S31, if it is determined that intended music is present, the CPU 8 gives an instruction to reproduce the music to the compressed audio decoder 16 (steps S32 and S34). On the other hand, if it is determined that intended music is not present, the CPU 8 automatically produces music data (MIDI data) having the target tempo (steps S32 and S33), and then instructs the MIDI tone generator circuit 15 to reproduce the produced MIDI data (step S34). It should be noted that this invention is not characterized by the way of automatically producing music data having a tempo corresponding to the target tempo, and therefore, any known method for producing such music data can be used.
When the music selection process is completed, the CPU 8 causes the process to proceed to the fitness process (5). The fitness process (5) is continued until an instruction to terminate the fitness exercise is given by the user or until an estimated completion time of fitness exercise (see
In the fitness process (5), the CPU 8 performs the following processes.
(21) A process for renewing the target tempo along the optimal heart rate curve (steps S44 to S46);
(22) A music selection process performed when the target tempo is renewed (steps S47 and S49);
(23) A pace change process performed when the pace up/down button 3b or 3c is operated (steps S42 and S48); and
(24) A music selection process performed when the music data performance has been reached to a position short of the changeover position by a predetermined distance (steps S41 and S49).
As described above, upon elapse of a predetermined time period (30 seconds in this embodiment) from the start of performance (playback) based on music data having a tempo corresponding to the target tempo (step S43), the CPU 8 causes the process to proceed to the target tempo renewal process (21). In this process (21), the CPU 8 detects user's pulse (heart rate) via the pulse detection circuit 5 (step S44). Next, the CPU 8 compares the detected heart rate with a target heart rate (a heart rate on the optimal heart rate curve at the time point of heart rate detection), and if the detected heart rate falls outside a range in which the heart rate does not vary more than plus or minus 3% from the target heart rate, the target tempo is increased or decreased by 5% (steps S45 and S46). Specifically, when the detected heart rate is more than 3% higher than the target heart rate, the current fitness exercise is too hard for the user, and the target tempo is decreased by 5% to decrease the load of the user. On the other hand, if the detected heart rate is more than 3% lower than the target heart rate, the current fitness exercise is too light for the user and the target tempo is increased by 5% to increase the load of the user. If, however, the target tempo falls outside a tempo range determined by the selected personal information (either the personal information 13b1 or 13b2) due to the increase or decrease in the target tempo, the target tempo is set to the lower or upper limit of the tempo range (the minimum or maximum tempo value). When the detected heart rate is within the range in which the hear rate does not vary more than plus or minus 3% from target heart rate (step S45), the target tempo is kept unchanged.
When the target tempo has been renewed by the target tempo renewal process (21), the CPU 8 causes the process to proceed to the music selection process (22) (steps S47 and S49). In this process (22), the CPU 8 performs the music selection process which is basically the same as the process shown in
In the case that the preceding music piece A is made to fade out, but the subsequent music piece B is not made to fade in upon changeover of music (as shown in
In the case that upon changeover of music, the preceding music piece A is changed over to the subsequent music piece B while being cross-faded (as shown in
In this embodiment, the preceding music piece A is changed over to the subsequent music piece B based on beat positions X, Y in the preceding music piece A and the subsequent music piece B, using the positions X, Y as changeover position. However, it is not inevitably necessary to use the beat positions X, Y as changeover position since the changeover from the preceding music piece A to the subsequent music piece B can be made in any state, if the beats of the music pieces match each other. In other words, the changeover position may be set to a position shifted from the beat positions X, Y by predetermined timing (for example, a position shifted by half a beat), with the beats of the music pieces made to match each other. Specifically, in the example shown in
In the above, how the music data changeover position can be determined has been described by taking as examples the cases of
In this embodiment, compressed audio performance data is used for each of the preceding music piece A and the subsequent music piece B, if such data is registered in the play list concerned. Since almost all the compressed audio performance data for use by the user for immediate needs are registered in the play list, compressed audio performance data corresponding to the preceding music piece A and the subsequent music piece B can be selected in most cases. If compressed audio performance data are selected for both the preceding music piece A and subsequent music piece B, two compressed audio decoders 16 are required to concurrently reproduce these compressed audio performance data as shown in
Next, a method for generating the stopgap phrase will be described.
In this embodiment, the stopgap phrase is generated in the form of MIDI data whose tempo can freely be changed as compared to audio data. In a case that there is a large difference in tempo between the preceding music piece A and the subsequent music piece B, even if the generated stopgap phrase is constant in tempo (which is the case where the stopgap phrase is selected from among a plurality of stopgap phrases stored in the flash memory 13 and each having a constant tempo), the CPU 8 is able to change the tempo of the stopgap phrase as desired. As a result, there can be inserted the stopgap phrase whose tempo gradually changes from the tempo of the preceding music piece A to the tempo of the subsequent music piece B. At this time, by generating the stopgap phrase only comprised of rhythm tone color (for example, drum tone color), the preceding music piece A can relatively smoothly be connected to the subsequent music piece B without being affected by a tune of the preceding music piece A and a tune of the subsequent music piece B whatever their tunes. If there is a difference in tempo between the preceding music piece A and the subsequent music piece B, some user feels comfortable when the tempo immediately changes from the tempo of the preceding music piece A to the tempo of the subsequent music piece B rather than when the tempo gradually changes to the tempo of the subsequent music piece B. For such a user, there can be generated the stopgap phrase having a tempo that is the same as the tempo of the subsequent music piece and that does not change with progression of music.
In this embodiment, the case where the tempo of each of the preceding music piece A and the subsequent music piece B is acquired as a musical tone characteristic thereof has been described, and the stopgap phrase of what tempo should be generated based on the acquired tempo has been explained. However, the musical tone characteristic to be acquired is not limited to the tempo, but may be any other characteristic. Since the musical tone characteristic is indicated in the meta data 13cn and therefore can easily be acquired. Specifically, the preceding music piece A and the subsequent music piece B may be subjected to frequency analysis, thereby determining in advance a time-dependent variation in power spectrum thereof as a value of EXCITE/CALM which is one of atmosphere information. Then there can be generated, as stopgap phrase, a MIDI phrase in which the number of musical tones to be sounded gradually changes such as to realize a gradual change from the preceding music piece A to the subsequent music piece B, or a phrase having the number of musical tones to be sounded which corresponds to that of either the preceding music piece A or the subsequent music piece B. Alternatively, there can be generated a phrase whose sound volume gradually changes from the preceding music piece A to the subsequent music piece B or whose sound volume matches that of either the preceding music piece A or the subsequent music piece B.
As described above, in this embodiment, the stopgap phrase is generated in the form of MIDI data based on the musical tone characteristic of at least one of the preceding music piece A and the subsequent music piece B, but this is not limitative. A plurality of compressed audio performance data each being selectable as stopgap phrase can be stored in the flash memory 13, and from among these, the stopgap phrase suited to the musical tone characteristic can be selected. In that case, since the flash memory 13 is small in storage capacity and a large number of stopgap phrases cannot be stored therein, a limited number of stopgap phrases which are neutral and not affected by tune and which are suited to any combination of preceding music piece A and subsequent music piece B whatever their musical tone characteristics should be stored in the flash memory 13.
If a music piece which is a classic in genre, a therapeutic music in tune, and is 80 bpm in tempo is selected as the preceding music piece A and another music piece which is hard rock in genre, a hot number in tune, and 180 bpm in tempo is selected as the subsequent music piece B, there may be selected the stop phrase in which bass drum is gradually faded in while an ambient phrase without beats is reproduced, and finally ambient tones are faded out and only bass drum tones are sounded in a tempo of the subsequent music piece B. To this end, such a stopgap phrase is stored beforehand in the flash memory 13. The “fade-in” and the “fade-out” in the stopgap phrase do not relate to the “fade-out” in the preceding music piece A and the “fade-in” in the subsequent music piece B. The musical tone characteristic (genre, tune, tempo, and the like) of each of the preceding music piece A and the subsequent music piece B is indicated in the meta data 13cn concerned as described above, and hence can be acquired with ease.
On the other hand, if a music piece which is a pops in genre, bright (C major) in tune, and 120 bpm in tempo is selected as the preceding music piece A and another music piece which is a R&B in genre, sad (A minor) in tune, and 90 bpm in tempo is selected as the subsequent music piece B, there may be selected the stopgap phrase in which a C major chord phrase is smoothly modulated to an A minor chord phrase. To this end, such a stopgap phrase is stored beforehand in the flash memory 13.
It should be noted that the above described stopgap phrases are shown by way of example. The stopgap phrase of the above described tune is not necessarily selected, even if the musical tone characteristic of each of the preceding music piece A and the subsequent music piece B is determined. To select or generate the stopgap phrase, the musical tone characteristic of at least one of the preceding music piece A and the subsequent music piece B is acquired, and with reference to the acquired musical tone characteristic, the tune of the stopgap phrase is determined. One of features of this invention resides in this point.
Next, an explanation will be given of how a part of the music selection processing shown in
As described above, in the music selection processing of
Since the connection method is already set in step S4 in
Referring to
In the pace change process (23), when the pace-up button 3b is operated, the CPU 8 increases the target tempo by 5%. On the other hand, when the pace-down button 3c is operated, the target tempo is decreased by 5% (step S51).
Next, the CPU 8 appropriately modifies the shape of the optimal heart rate curve in accordance with the increase/decrease in target tempo (step S52). The words “appropriately modify” implies that the shape of the optimal heart rate curve may not be modified. In such a case, even if the user operates the pace up/down button 3b or 3c so as to increase or decrease the target tempo and musical performance is performed based on music data having a tempo corresponding to the increased or decreased target tempo, the target heart rate per se remains the same as a value on the original optimal heart rate curve. As a result, the target tempo is gradually made close to the target tempo determined based on the original optimal heart rate curve, i.e., the target tempo for the case that the pace up/down button 3b or 3c is not operated, whereas a state is continued where the detected heart rate varies more than plus or minus 3% from the target heart rate. In other words, even if the pace up/down button 3b or 3c is operated and the target tempo is renewed, the renewed target tempo is only temporarily maintained. When the pace up/down button 3b or 3c is operated and the target tempo is renewed, therefore, it is preferable that the shape of the optimal heart rate curve should also be modified accordingly. The degree of modification of the curve shape may be a 5% increase or decrease similarly to the degree of modification of the target tempo, but may be greater or smaller than 5%. In addition, the degree of modification can be varied according to a time period for which the fitness exercise has been performed.
Next, the CPU 8 determines whether or not a time point at which an instruction to increase or decrease the target tempo has been given by the pace up/down button 3b or 3c is within 30 seconds from the start of the fitness exercise. If so, the minimum tempo value in the currently set operation mode is renewed to the increased or decreased target tempo value (steps S53 and S54). Specifically, in the case that the jogging mode is currently set and the initial value of target tempo has been set at 140 bpm, when the pace-down button 3c is operated by the user within 30 seconds from the start of fitness exercise, the target tempo is changed to 133 bpm (5% smaller than 140 bpm), and the minimum tempo value of the personal information 13b2 is made equal to the changed target tempo of 133 bpm. As a result, the minimum tempo value of the personal information 13b2 is renewed from 140 bpm to 133 bpm. It should be noted that the minimum tempo value of the personal information 13b2 is not immediately renewed by the processing in step S54 but temporarily renewed. The renewal is fixed upon receipt of user's approval in the processing in step S14 described below.
When the pace-down button 3c is operated by the user and the target tempo is decreased to below the maximum tempo value after elapse of more than 30 seconds from the start of fitness exercise or when the pace-up button 3b is operated and the target tempo exceeds the maximum tempo value, the maximum tempo value in the operation mode currently set is renewed by the CPU 8 to the increased or decreased target tempo value (steps S55 and S56). More specifically, in the state that the jogging mode has been set and the target tempo has been set to 190 bpm, when the pace-down button 3c is operated by the user, the target tempo is changed to 181 bpm (5% smaller than 190 bpm), and the maximum tempo vale of the personal information 13b2 is made equal to the changed target tempo of 181 bpm. As a result, the maximum tempo value of the personal information 13b2 is renewed from 190 bpm to 181 bpm. It should be noted that the maximum tempo value of the personal information 13b2 is not immediately renewed by the processing in step S56 but temporarily renewed. The renewal is fixed upon receipt of user's approval in the processing in S14.
When the target tempo has been changed by the pace change process (23) as described above, the CPU 8 subsequently performs the music selection process in step S49.
When the selected music data is performed up to a position short of the music changeover position by a predetermined distance (step S41), the CPU 8 causes the process to the music selection process (24). In the process (24), the CPU 8 selects music data having a tempo corresponding to a target tempo by performing a music selection process in step S49, in which the music selection process in
Referring to
As described above, in this embodiment, the reproduction of the preceding music piece A can be changed over to the reproduction of the subsequent piece B, with silent parts and fade-in/out parts of the preceding music piece A and the subsequent music piece B removed and the beat positions in the preceding music piece A and the subsequent music piece B made to match each other. As a result, music pieces can be reproduced while making changeover therebetween without disturbing the rhythm of exercise, dance, or the like performed by the user to the rhythm of music.
In addition, the musical tone characteristic of each of the preceding music piece A and the subsequent music piece B is acquired, and based on the acquired musical tone characteristic, the stopgap phase for use in connecting the preceding music piece A and the subsequent music piece B is generated. As a result, the preceding music piece A can smoothly be connected to the subsequent music piece B, whereby the rhythm of user's exercise or dance can be prevented from being disturbed. Furthermore, since the musical tone characteristic analyzed beforehand by another apparatus (the PC 100 in this embodiment) and written into meta data concerned is read out and acquired by the CPU 8, the CPU 8 may not have high calculation ability capable of analyzing the musical tone characteristic of music data, whereby fabrication costs can be reduced.
In this embodiment, the music selection process is performed each time the target tempo is renewed by the pace changing operation. However, since a frequent change of music is unnatural and impractical, it is preferable that the change of music should be prohibited until 30 seconds have elapsed from the preceding change of music.
It is to be understood that the present invention may also be accomplished by supplying a system or an apparatus with a storage medium in which a program code of software, which realizes the functions of the above described embodiment is stored, and causing a computer (or CPU or MPU) of the system or apparatus to readout and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium realizes the novel functions of the present invention, and hence the program code and a storage medium on which the program code is stored constitute the present invention.
Examples of the storage medium for supplying the program code include a flexible disk, a hard disk, a magneto-optical disk, an optical disk such as a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, a DVD-RW, or a DVD+RW, a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communication network.
Further, it is to be understood that the functions of the above described embodiment may be accomplished not only by executing a program code read out by a computer, but also by causing an OS (operating system) or the like which operates on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the functions of the above described embodiment may be accomplished by writing a program code readout from the storage medium into a memory provided in an expansion board inserted into a computer or a memory provided in an expansion unit connected to the computer and then causing a CPU or the like provided in the expansion board or the expansion unit to perform a part or all of the actual operations based on instructions of the program code.
This application is based on, and claims priority to, Japanese Patent Application Nos. 2007-085509 and 2007-085510, both filed on 28 Mar. 2007. The disclosures of the priority applications, in their entirety, including the drawings, claims, and the specification thereof, are incorporated herein by reference
Number | Date | Country | Kind |
---|---|---|---|
2007-085509 | Mar 2007 | JP | national |
2007-085510 | Mar 2007 | JP | national |
This application is a divisional of and claims priority to U.S. patent application Ser. No. 12/057,317 filed Mar. 27, 2008, the entire content of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12057317 | Mar 2008 | US |
Child | 12794032 | US |