The disclosure of Japanese Patent Application No. 2016-080306, filed on Apr. 13, 2016, is incorporated herein by reference.
The technology shown here relates to a vibration control system, a vibration output apparatus, a storage medium having stored therein a vibration output program, and a vibration output method, and in particular, relates to a vibration control system, a vibration output apparatus, a storage medium having stored therein a vibration output program, and a vibration output method in which, for example, a plurality of apparatuses transmit data related to a vibration to each other.
Conventionally, there is a game system for achieving a so-called vibration-feedback game in which a vibrator provided in a controller is vibrated, thereby transmitting a vibration to the hand of a user holding the controller. In the game system, a signal indicating that a vibration is to be generated is transmitted from a game apparatus main body to the controller. Then, based on the vibration, the vibrator in the controller vibrates, thereby transmitting the vibration to the user.
In the game system, however, the game apparatus main body transmits a predetermined signal to the controller at certain intervals. However, it is possible that in a case where the radio wave condition of wireless communication is poor, the signal is interrupted. In this case, the controller cannot receive the signal. Thus, a signal generated in the controller is interrupted unintentionally.
Therefore, it is an object of an exemplary embodiment to provide a vibration control system, a vibration output apparatus, a storage medium having stored therein a vibration output program, and a vibration output method that are capable of preventing a vibration from being interrupted unintentionally.
To achieve the above object, the exemplary embodiment can employ, for example, the following configurations. It should be noted that it is understood that, to interpret the descriptions of the claims, the scope of the claims should be interpreted only by the descriptions of the claims. If there is a conflict between the descriptions of the claims and the descriptions of the specification, the descriptions of the claims take precedence.
In an exemplary configuration of a vibration control system according to the exemplary embodiment, a vibration control system includes at least a first apparatus and a second apparatus and vibrates a vibration apparatus. The first apparatus includes a computer processor configured to: receive vibration instruction data for vibrating the vibration apparatus from the second apparatus; store data related to the received vibration instruction data in a memory; vibrate the vibration apparatus using the data stored in the memory; and detect a state of the data related to the vibration instruction data stored in the memory. In the storage of the data in the memory, when the state of the data satisfies a predetermined condition, predetermined data related to the vibration instruction data is additionally stored in the memory.
Based on the above, when the state of data related to vibration instruction data stored in storage means to vibrate a vibration apparatus satisfies a predetermined condition, the predetermined data related to the vibration instruction data is added to the storage means. Thus, it is possible to prevent the vibration of the vibration apparatus from being interrupted unintentionally.
Further, in the reception of the vibration instruction data, the vibration instruction data may be received from the second apparatus through wireless communication.
Based on the above, even when a first apparatus and a second apparatus wirelessly communicate with each other, it is possible to prevent the vibration of the vibration apparatus from being interrupted unintentionally.
Further, in the vibration of the vibration apparatus, the vibration apparatus may be vibrated using the data additionally stored in the memory.
Based on the above, the data added to the storage means is used to vibrate the vibration apparatus. Thus, it is possible to prevent the vibration of the vibration apparatus from being interrupted.
Further, in the vibration of the vibration apparatus, the data related to the vibration instruction data stored in the memory to vibrate the vibration apparatus is output, and the data may also be deleted from the memory. In the detection of the state of the data, a remaining amount of the data related to the vibration instruction data stored in the memory may be detected as the state of the data. In the storage of the data in the memory, when the remaining amount of the data satisfies the predetermined condition, predetermined data related to the vibration instruction data may be additionally stored in the memory.
Based on the above, when the remaining amount of the data related to the vibration instruction data stored in the storage means to vibrate the vibration apparatus satisfies the predetermined condition, predetermined data related to the vibration instruction data is added to the storage means. Thus, it is possible to more accurately prevent the vibration of the vibration apparatus from being interrupted.
Further, in the storage of the data in the memory, the data related to the vibration instruction data previously received from the second apparatus may be additionally stored in the memory.
Based on the above, it is possible to add data based on the latest vibration instruction data to the storage means.
Further, in the storage of the data in the memory, data indicating that a vibration for gradually making smaller an amplitude of a vibration for which an instruction is given by the vibration instruction data previously received from the second apparatus is generated may be additionally stored in the memory.
Based on the above, in the case of a predetermined state, it is possible to prevent the vibration apparatus from continuing to vibrate.
Further, in the storage of the data in the memory, when the vibration instruction data is not received from the second apparatus for a predetermined time, the data indicating that the vibration for gradually making smaller the amplitude of the vibration which the instruction is given by the vibration instruction data previously received from the second apparatus is generated may be additionally stored in the memory.
Based on the above, in the state where the vibration instruction data cannot be received from a second apparatus for a long time, it is possible to prevent the vibration apparatus from continuing to vibrate.
Further, the second apparatus may include a computer processor configured to transmit the vibration instruction data to the first apparatus at least at a first time interval. In this case, in the storage of the data in the memory, when the vibration instruction data is not received from the second apparatus for a second time that is longer than the first time, data indicating that a vibration for gradually making smaller an amplitude of a vibration for which an instruction is given by the vibration instruction data previously received from the second apparatus is generated may be additionally stored in the memory.
Based on the above, in an abnormal state where the vibration instruction data cannot be received from a second apparatus for a long time, it is possible to prevent the vibration apparatus from continuing to vibrate.
Further, the computer processor of the first apparatus may be further configured to: when the data related to the vibration instruction data is additionally stored in the memory, generate notification data indicating that the data is added; and transmit the notification data to the second apparatus.
Based on the above, when the data related to the vibration instruction data is additionally stored in the storage means, notification data indicating this state is transmitted from a first apparatus for vibrating the vibration apparatus to a second apparatus for controlling a vibration. Thus, it is possible to understand the vibration state of the second apparatus.
Further, the second apparatus may include a computer processor configured to: receive the notification data transmitted from the first apparatus; based on the received notification data, determine the vibration instruction data to be transmitted next to the first apparatus; and when it is determined in the determination of the vibration instruction data that vibration instruction data is to be transmitted to the first apparatus, transmit the vibration instruction data to the first apparatus.
Based on the above, it is possible to transmit appropriate vibration instruction data to the first apparatus.
Further, the second apparatus may include a computer processor configured to, when a frequency and/or an amplitude of a vibration for instructing the first apparatus to vibrate the vibration apparatus next is the same, stop a process of transmitting the vibration instruction data to the first apparatus.
Based on the above, it is possible to reduce the number of times data is transmitted and received between a first apparatus and a second apparatus.
Further, the second apparatus may include a computer processor configured to generate the vibration instruction data by encoding modulation information indicating changes in an amplitude and/or a frequency in a vibration waveform for vibrating the vibration apparatus, and transmit the vibration instruction data to the first apparatus. In the storage of the data in the memory, every time the vibration instruction data is received, data obtained by decoding the vibration instruction data may be stored in the memory.
Based on the above, a first apparatus can generate a vibration waveform of which the frequency and/or the amplitude can be changed.
In an exemplary configuration of a vibration output apparatus according to the exemplary embodiment, a vibration output apparatus vibrates a vibration apparatus. The vibration output apparatus includes a computer processor configured to: receive vibration instruction data for vibrating the vibration apparatus from another apparatus; store data related to the received vibration instruction data in a memory; vibrate the vibration apparatus using the data stored in the memory; and detect a state of the data related to the vibration instruction data stored in the memory. In the storage of the data in the memory, when the state of the data satisfies a predetermined condition, predetermined data related to the vibration instruction data is additionally stored in the memory.
Based on the above, when the state of data related to vibration instruction data stored in storage means to vibrate a vibration apparatus satisfies a predetermined condition, predetermined data related to the vibration instruction data is added to the storage means. Thus, it is possible to prevent the vibration of the vibration apparatus from being interrupted unintentionally.
Further, the exemplary embodiment may be carried out in the forms of a non-transitory computer-readable storage medium having stored therein a vibration output program and a vibration output method.
In another configuration of the vibration control system according to the exemplary embodiment, a vibration control system includes at least a first apparatus and a second apparatus and vibrates a vibration apparatus. The first apparatus includes a computer processor configured to: receive vibration instruction data for vibrating the vibration apparatus from the second apparatus; store data related to the received vibration instruction data in a memory; and vibrate the vibration apparatus using the data stored in the memory. In the storage of the data in the memory, when the vibration instruction data cannot be received from the second apparatus in the reception of the vibration instruction data, predetermined data related to the vibration instruction data is additionally stored in the memory.
Based on the above, even when vibration instruction data for vibrating a vibration apparatus cannot be received, it is possible to prevent the vibration of the vibration apparatus from being interrupted.
According to the exemplary embodiment, when the state of data related to vibration instruction data stored in storage means to vibrate a vibration apparatus satisfies a predetermined condition, or when the vibration instruction data cannot be received, or the like, predetermined data related to the vibration instruction data is added to the storage means. Thus, it is possible to prevent the vibration of the vibration apparatus from being interrupted unintentionally.
These and other objects, features, aspects and advantages of the exemplary embodiments will become more apparent from the following detailed description of the exemplary embodiments when taken in conjunction with the accompanying drawings.
With reference to
While the vibration control program according to the exemplary embodiment can be applied by being executed by any computer system, the stationary information processing apparatus 2 is used as an example of the vibration control apparatus, and the vibration control program according to the exemplary embodiment is described using a vibration control program executed by the information processing apparatus 2. For example, the information processing apparatus 2 can execute a program stored in a storage medium such as an exchangeable optical disk or an exchangeable memory card, or received from another apparatus, or a pre-installed program (e.g., a game program). As an example, the information processing apparatus 2 can display on a screen (the monitor 4 in
Further, although the vibration output program according to the exemplary embodiment can also be applied by being executed by any computer system, the controller-type terminal apparatus 3 (e.g., a game controller) that can be held and operated by a user is used as an example of the vibration output apparatus, and the vibration output program according to the exemplary embodiment is described using a vibration output program executed by the terminal apparatus 3. For example, the terminal apparatus 3 can execute a pre-installed program, a program received from another apparatus, or a program stored in a storage medium such as an exchangeable memory card. As an example, the terminal apparatus 3 wirelessly communicates with the information processing apparatus 2 and thereby can operate a virtual object or the like displayed on a screen (the monitor 4 in
In the information processing apparatus 2, the information processing apparatus 2 executes information processing in accordance with an input to the terminal apparatus 3, and an image obtained as a result of the execution of the information processing is displayed on the monitor 4. As described above, the exemplary embodiment uses a configuration in which an input function, an information processing function, and a display function are achieved by the information processing apparatus 2 and the terminal apparatus 3. Alternatively, in another exemplary embodiment, the functions of the information processing apparatus 2 and the terminal apparatus 3 may be achieved by another apparatus. For example, in another embodiment, a plurality of apparatuses capable of communicating with each other via a network (a wide area network and/or a local network) may perform in a dispersed manner at least part of the processing performed by the information processing apparatus 2 and the terminal apparatus 3.
Within the terminal apparatus 3, an actuator 30 (see
To operate the operation section or view the display screen using the terminal apparatus 3, the user holds the terminal apparatus 3 with one hand (e.g., the right hand) or both hands. Then, in accordance with the situation of a virtual world displayed on the monitor 4 or the like, the main body of the terminal apparatus 3 vibrates. For example, in the exemplary embodiment, vibration instruction data for generating a vibration control signal for generating this vibration is given to the terminal apparatus 3 by the information processing apparatus 2. For example, the information processing apparatus 2 wirelessly transmits vibration instruction data for giving an instruction to generate a vibration to the terminal apparatus 3 using Bluetooth (registered trademark) technology, for example. Then, based on the acquired vibration instruction data, the terminal apparatus 3 generates a vibration control signal for controlling the driving of the actuator 30. Further, the terminal apparatus 3 wirelessly transmits operation data indicating an operation on the operation section, and report data indicating the vibration output state of the terminal apparatus 3 or the like to the information processing apparatus 2 using Bluetooth technology, for example.
Next, with reference to
As shown in
The program storage section 23 stores the information processing program. The program storage section 23 is any storage device accessible by the CPU 21. The program storage section 23 may be a storage section built into the information processing apparatus 2, such as a hard disk, or may be a storage section attachable to and detachable from the information processing apparatus 2, such as an optical disk. Alternatively, the program storage section 23 may be a storage device (a server or the like) connected to the CPU 21 via a network. The CPU 21 may load a part or all of the program into the memory 22 at appropriate timing and execute the loaded program.
The communication section 24 functions as a wireless controller module for wirelessly communicating with the terminal apparatus 3. The communication section 24 transmits vibration instruction data or the like to the terminal apparatus 3 at predetermined timing or repeatedly receives report data, operation data, and the like from the terminal apparatus 3.
The terminal apparatus 3 includes, as an input section for receiving an operation of the user and generating operation data representing the operation of the user, an acceleration sensor 34 and a gyro sensor 35 in addition to an operation section 33. The acceleration sensor 34 and the gyro sensor 35 are examples of a sensor for calculating the motion and the orientation of the terminal apparatus 3. For example, the terminal apparatus 3 may include a three-axis acceleration sensor 34. The three-axis acceleration sensor 34 detects linear accelerations generated in three directions, i.e., an up-down direction, a left-right direction, and a front-back direction. Further, the terminal apparatus 3 may include a three-axis gyro sensor 35. The three-axis acceleration sensor 35 detects angular velocities generated about three directions, i.e., the up-down direction, the left-right direction, the front-back direction. It should be noted that the terminal apparatus 3 may include a magnetic sensor as a sensor for calculating the motion and the orientation of the terminal apparatus 3.
The terminal apparatus 3 includes a CPU 36, a memory 37, a program storage section 38, and a communication section 39. The CPU 36 executes the vibration output program using the memory 37, thereby performing a vibration output process for imparting, to the user operating the terminal apparatus 3, a vibration based on vibration instruction data acquired from the information processing apparatus 2. For example, as an example of the vibration output process, the CPU 36 receives vibration instruction data transferred from the information processing apparatus 2 via the communication section 39, generates a vibration control signal for controlling a vibration to be generated by the actuator 30 based on the vibration instruction data (e.g., a vibration control signal indicating an analog voltage value), and outputs the vibration control signal to a low-pass filter 32. It should be noted that the terminal apparatus 3 may have any configuration so long as the terminal apparatus 3 can perform the vibration output process. For example, a part or all of the vibration output process may be executed by a dedicated circuit.
The program storage section 38 stores the vibration output program. The program storage section 38 may be any storage device accessible by the CPU 36. The program storage section 38 may be a storage section attachable to and detachable from the terminal apparatus 3. Alternatively, the program storage section 38 may be a storage device (a server or the like) connected to the CPU 36 via a network. The CPU 36 may load a part or all of the program into the memory 37 at appropriate timing and execute the loaded program.
The communication section 39 functions as a wireless controller module for wirelessly communicating with the information processing apparatus 2. The communication section 39 transmits report data indicating the vibration output state of the terminal apparatus 3, operation data generated by at least one of the operation section 33, the acceleration sensor 34, and the gyro sensor 35, and the like to the information processing apparatus 2. The above operation data is transmitted from the terminal apparatus 3 to the information processing apparatus 2 repeatedly, for example, once every certain time. The information processing apparatus 2 performs the above information processing using report data and operation data as inputs.
The terminal apparatus 3 includes a vibration output section for generating a vibration to be imparted to the user. For example, the vibration generation section includes an actuator (vibrator) 30, an amplification section 31, and a low-pass filter 32.
The low-pass filter 32 performs the process of acquiring a vibration control signal output from the CPU 36 and decreasing a frequency component higher than a predetermined frequency, thereby converting the vibration control signal into an analog value. Then, the analog value outputs the analog value to the amplification section 31. The amplification section 31 amplifies the analog value (a signal indicating an analog voltage value) output from the low-pass filter 32, thereby generating a driving signal for driving the actuator 30. Then, the amplification section 31 outputs the driving signal to the actuator 30.
The actuator 30 is driven in accordance with the driving signal output from the amplification section 31, thereby imparting a vibration corresponding to the driving signal to the main body of the terminal apparatus 3. For example, the actuator 30 is provided near a center portion of the main body of the terminal apparatus 3. Here, the method of the actuator 30 imparting a vibration to the main body of the terminal apparatus 3 may be any method. For example, the actuator 30 may use the method of generating a vibration by an eccentric motor (ERM: Eccentric Rotating Mass), the method of generating a vibration by a linear vibrator (LRA: Linear Resonant Actuator), the method of generating a vibration by a piezoelectric element, or the like. When a driving signal to be output from the amplification section 31 is generated in accordance with the method of the actuator 30 generating a vibration, an actuator using any method can impart various vibrations to the user of the terminal apparatus 3.
It should be noted that in the above description, an example has been used where a driving signal for driving the actuator 30 is generated by amplifying the analog value generated by the low-pass filter 32. Alternatively, the signal output to the amplification section 31 may be a digital signal. For example, when the actuator 30 is driven by pulse width modulation (PWM) control, a pulse signal for turning on and off the actuator 30 may be input to the amplification section 31. In this case, the signal output to the amplification section 31 is a digital vibration signal for controlling the driving of the actuator 30 using pulse waves. Consequently, the amplification section 31 amplifies the digital vibration signal.
The monitor 4 is an example of a display device for displaying a generated image and outputting a generated sound. The monitor 4 can acquire data transmitted from the information processing apparatus 2. When an image generated by the information processing apparatus 2 is output to the monitor 4, the monitor 4 displays the image.
It should be noted that in the exemplary embodiment, the controller-type terminal apparatus 3, in which an input device is provided, is used. Alternatively, in another exemplary embodiment, the terminal apparatus 3 may be a device obtained by integrating a display device and an input device. In this case, the terminal apparatus 3 may function as an input device and a display device, and the information processing apparatus 2 may cause an image to be displayed on the monitor 4 and the display device provided in the terminal apparatus 3.
Next, with reference to
A vibration control signal for controlling a vibration to be generated by the actuator 30 is generated based on vibration instruction data transmitted from the information processing apparatus 2. In the exemplary embodiment, the terminal apparatus 3 receives, as vibration instruction data, AM/FM code data transmitted from the information processing apparatus 2 and decodes the AM/FM code data, thereby generating vibration waveform (AM/FM wave) data. Then, a bit pattern corresponding to the duty cycle of this vibration waveform (AM/FM wave) is used as a vibration control signal. Here, AM code data indicates data representing the amplitude modulation of a vibration. FM code data indicates data representing the frequency modulation of a vibration. AM/FM code data indicates data representing both the amplitude modulation and the frequency modulation of a vibration. Then, an AM/FM wave indicates a vibration waveform amplitude-modulated and frequency-modulated based on AM/FM code data.
As shown in
Next, a frequency-modulated sine wave (an FM wave) is generated from the FM information. Here, the FM wave is a sine wave as shown in
Then, the FM wave is multiplied by the AM information, thereby generating an AM/FM wave. Here, the AM/FM wave has a waveform as shown in
It should be noted that to reduce the amount of communication data between the information processing apparatus 2 and the terminal apparatus 3, vibration instruction data transmitted from the information processing apparatus 2 may be transmitted in a cycle longer than the above certain update cycle. For example, when a vibration instruction based on the same vibration value continues to be transmitted from the information processing apparatus 2, the transmission of vibration instruction data indicating the vibration based on the same vibration value may be omitted, and the transmission cycle may be made relatively long (e.g., every 0.5 sec). As will be apparent later, on the terminal apparatus 3 side, when the remaining amount of vibration waveform data generated based on vibration instruction data becomes less than a predetermined threshold, the process of adding vibration waveform data based on the vibration instruction data received last is performed. Thus, even when the transmission cycle is made relatively long, the terminal apparatus 3 can continue to vibrate. Further, when the terminal apparatus 3 does not vibrate, the information processing apparatus 2 may not transmit vibration instruction data, or may transmit vibration instruction data indicating that the terminal apparatus 3 does not vibrate.
Vibration instruction data is transmitted by such an AM/FM transmission method, whereby it is possible to expect the following effects. As a first effect, it is possible to reduce the amount of data communication for transmitting vibration instruction data as compared to a method for transmitting vibration instruction data as it is, a method for transmitting vibration instruction data by lowering the sampling rate of the vibration instruction data, and a method for transmitting vibration instruction data by compressing the vibration instruction data by a predetermined method. As a second effect, the processing load for decoding the transmitted AM/FM code data is relatively low, and therefore, it is possible to perform the decoding process in real time and lead to controlling the vibration of the actuator 30. As a third effect, parameters for controlling the vibration are the frequency and the amplitude, and therefore, it is possible to simplify the work of generating a vibration material. As a fourth effect, the frequency of the vibration controlled by the AM/FM transmission method is set near the resonance frequency of the actuator 30, whereby it is possible to impart a relatively strong (power-efficient) vibration to the user. It should be noted that if these effects are not desired, vibration instruction data may be transmitted to the terminal apparatus 3 by a transmission method different from the AM/FM transmission method.
Further, in the above AM/FM transmission method, the AM/FM code data may be transmitted with respect to each frequency range. For example, the AM/FM code data is transmitted from the information processing apparatus 2 with respect to each of a plurality of frequency ranges in the certain update cycle of modulating a vibration and functions as a command for updating the amplitude and the frequency of a vibration with respect to each frequency range. For example, a set of AM/FM code data targeted for a low-frequency range (e.g., the 160 Hz band) and AM/FM code data targeted for a high-frequency range (e.g., the 320 Hz band) is transmitted as the vibration instruction data from the information processing apparatus 2.
The AM/FM code data targeted for the low-frequency range is decoded using the predetermined encoding table similarly to the above process, thereby retrieving AM information and FM information and generating an FM wave from the FM information. Then, the FM wave is multiplied by the AM information targeted for the low-frequency range, thereby generating an AM/FM wave targeted for the low-frequency range.
Meanwhile, the AM/FM code data targeted for the high-frequency range is also decoded using the predetermined encoding table similarly to the above process, thereby retrieving AM information and FM information and generating an FM wave from the FM information. Then, the FM wave is multiplied by the AM information targeted for the high-frequency range, thereby generating an AM/FM wave targeted for the high-frequency range.
Then, the AM/FM wave targeted for the low-frequency range and the AM/FM wave targeted for the high-frequency range are summed up, thereby generating a combined wave. Then, vibration waveform data indicating the generated combined wave is stored in the vibration waveform data buffer set in the memory 37. The combined wave has both the AM/FM information targeted for the low-frequency range and the AM/FM information targeted for the high-frequency range and therefore has a vibration waveform that is displaced based on information of the frequency and information of the amplitude for a plurality of frequency ranges. A vibration control signal is generated using a bit pattern corresponding to the duty cycle of the thus generated combined wave, whereby it is possible to vibrate the actuator 30 with a frequency and an amplitude indicated by the combined wave.
When vibration data is thus transmitted by the AM/FM transmission method with respect to each of a plurality of frequency ranges, it is possible to transfer a change in the frequency and a change in the amplitude with respect to each of the plurality of frequency ranges. Thus, it is possible to transmit the vibration from the information processing apparatus 2 to the terminal apparatus 3 more accurately. Thus, it is possible to transmit vibration waveform data without causing the deterioration of vibrating sensation to be imparted to the user as compared to another transmission method.
Next, with reference to
For example, using an equable bit pattern conversion table as shown in
In an N-bit binary number, an equable bit pattern represented by m “1”s and N−m “0”s is referred to as an “(N, m)-bit pattern” (here, 0≦m≦N). Then, when a_{N, m} in the (N, m)-bit pattern is represented by an N-bit binary number, the bit of the k-th highest digit is defined as b_{N, m, k} (here 0≦k≦N−1). In this case, a_{N, m} is represented in binary notation as:
Thus, as shown in
Further, when the data sequence of a 12.5% duty cycle is to be output as a vibration control signal, a data sequence represented by two “1”s and fourteen “0”s is output. At this time, a (16, 2)-equable bit pattern represented by two “1”s and fourteen “0”s is:
Thus, as shown in
As is clear from
Next, with reference to
In
A vibration time indicated to the terminal apparatus 3 by the information processing apparatus 2 is set based on the transmission cycle of vibration instruction data, but can be changed in accordance with the vibration state of the terminal apparatus 3. For example, the information processing apparatus 2 can set the vibration time to be indicated to the terminal apparatus 3 between times of 0 ms to 15 ms (e.g., which correspond to 0 to 60 samples of vibration waveform data to be generated by the terminal apparatus 3). Further, vibration instruction data is generated by the information processing apparatus 2 and transmitted from the information processing apparatus 2 to the terminal apparatus 3 every predetermined transmission cycle (e.g., every 5 ms). Then, to stop a vibration, data indicating the stop of the vibration (e.g., data indicating a vibration of which the amplitude is 0) is transmitted, and the transmission of vibration instruction data is stopped after that. It should be noted that the process of adding vibration waveform data when a predetermined condition is satisfied in the terminal apparatus 3 is automatically performed, the transmission cycle of transmitting vibration instruction data from the information processing apparatus 2 to the terminal apparatus 3 may be made longer (e.g., 0.5 s) than the longest time of the vibration time that can be indicated, and also when the amplitude and/or the frequency of a vibration for which an instruction is given change, vibration instruction data indicating the changes may be transmitted from the information processing apparatus 2. Here, the vibration instruction data transmitted when the amplitude and/or the frequency of a vibration for which an instruction is given change may be transmitted to the terminal apparatus 3 at timing different from the transmission cycle.
In accordance with the fact that the vibration instruction data (the AM/FM code data) is received from the information processing apparatus 2, the CPU 36 of the terminal apparatus 3 transmits report data to the information processing apparatus 2. For example, when the report data is transmitted, the CPU 36 acquires, as an example of information indicating the vibration state of the terminal apparatus 3, the remaining amount of vibration waveform data stored in the vibration waveform data buffer set in the memory 37. Further, between the transmission of the previous report data and the transmission of the current report data, the CPU 36 acquires data indicating whether or not the current state is the state where the remaining amount of vibration waveform data stored in the vibration waveform data buffer is less than a predetermined amount (remaining amount deficiency flag data). Then, the CPU 36 generates report data including at least the remaining amount of vibration waveform data and data indicating whether or not the remaining amount of vibration waveform data is less than the predetermined amount. Then, the CPU 36 transmits the report data to the information processing apparatus 2. It should be noted that the report data may be transmitted from the terminal apparatus 3 at timing other than the time when the vibration instruction data is received from the information processing apparatus 2. For example, report data may be transmitted in each certain cycle not related to the reception of vibration instruction data. Alternatively, report data may be transmitted by being included in another piece of data to be sent from the terminal apparatus 3 (e.g., operation data of an operation on the operation section 31, detection data of the acceleration sensor 35, or detection data of the gyro sensor 35).
Then, the CPU 36 of the terminal apparatus 3 decodes the received AM/FM code data, thereby generating vibration waveform data. Then, the CPU 36 stores the vibration waveform data in the vibration waveform data buffer set in the memory 37. For example, if receiving AM/FM code data corresponding to 20 samples of vibration waveform data, the CPU 36 decodes the AM/FM code data into vibration waveform data (AM/FM wave data) corresponding to 20 samples and adds the vibration waveform data as new data to vibration waveform data already stored in the vibration waveform data buffer. It should be noted that if receiving vibration instruction data corresponding to to 0 samples of vibration waveform data, the CPU 36 skips the above decoding process and the above vibration waveform data storage process.
Vibration waveform data stored in the vibration waveform data buffer is sequentially read by the CPU 36 and converted into a vibration control signal. Then, the vibration control signal is output to the vibration output section (the low-pass filter 32). At this time, vibration waveform data stored in the vibration waveform data buffer is read by an FIFO method, and the read data is sequentially erased from the vibration waveform data buffer.
It should be noted that in the above example, as an example of the information indicating the vibration state of the terminal apparatus 3 included in the report data, data indicating the remaining amount of vibration waveform data stored in the vibration waveform data buffer is used. Alternatively, another piece of data may be used. For example, data indicating data free space in the vibration waveform data buffer, data indicating the amount of data consumed in the vibration waveform data buffer, or data indicating the remaining time until the amount of vibration waveform data in the vibration waveform data buffer becomes 0 may be the information indicating the vibration state included in the report data. Alternatively, data indicating whether or not the terminal apparatus 3 vibrates when the report data is transmitted, or data indicating a vibration parameter for the vibration of the terminal apparatus 3 when the report data is transmitted (e.g., the amplitude and the frequency of the vibration) may be the information indicating the vibration state included in the report data. Yet alternatively, data indicating the value of a clock (e.g., a clock frequency) used in the terminal apparatus 3 may be the information indicating the vibration state included in the report data. For example, when there is a lag between the clock of the information processing apparatus 2 and the clock of the terminal apparatus 3, it is possible that the time in which the terminal apparatus 3 actually vibrates is shorter or longer than the vibration time indicated by the information processing apparatus 2. A shift in the vibration state due to such a lag in time between clocks can be estimated by comparing the clock value of the information processing apparatus 2 with the clock value of the terminal apparatus 3. Thus, it is possible to use, as the information indicating the vibration state of the terminal apparatus 3, the value of the clock used in the terminal apparatus 3.
Receiving the report data, then based on the information indicating the vibration state of the terminal apparatus 3 included in the report data, the information processing apparatus 2 adjusts the vibration time in vibration instruction data to be transmitted next. For example, when the remaining amount of vibration waveform data stored in the vibration waveform data buffer is larger than an assumed amount, the CPU 21 adjusts the vibration time in the vibration instruction data to be transmitted next to be short. Further, when the remaining amount of vibration waveform data stored in the vibration waveform data buffer is smaller than the assumed amount, the CPU 21 adjusts the vibration time in the vibration instruction data to be transmitted next to be long. Further, when the state where the remaining amount of vibration waveform data stored in the vibration waveform data buffer becomes less than the predetermined amount occurs at unexpected timing, the vibration time in the vibration instruction data to be transmitted next is adjusted to be long, or the transmission timing of the next vibration instruction data is adjusted to be early.
On the other hand, the CPU 36 of the terminal apparatus 3 acquires the remaining amount of vibration waveform data stored in the vibration waveform data buffer in each certain cycle and determines whether or not the remaining amount of vibration waveform data is less than the predetermined amount. Then, when the remaining amount of vibration waveform data is less than the predetermined amount, the CPU 36 performs a vibration waveform data addition process for adding vibration waveform data to the vibration waveform data buffer. For example, when the remaining amount of vibration waveform data is less than 10 samples, the CPU 36 decodes the AM/FM code data received last again and adds 20 samples of vibration waveform data to the vibration waveform data buffer. Such a vibration waveform data addition process is performed, whereby even when the terminal apparatus 3 cannot temporarily receive vibration instruction data from the information processing apparatus 2, it is possible to vibrate the terminal apparatus 3 without interrupting the vibration. Further, such a vibration waveform data addition process is performed, whereby even when the information processing apparatus 2 does not transmit vibration instruction data, the terminal apparatus 3 can continue to vibrate based on the vibration instruction data transmitted last. That is, the terminal apparatus 3 performs the process of automatically adding vibration waveform data, whereby it is possible to reduce the amount of communication of vibration instruction data transmitted from the information processing apparatus 2 to the terminal apparatus 3.
It should be noted that when the remaining amount of vibration waveform data is less than the predetermined amount, and the current state is an abnormal state where the reception of vibration instruction data from the information processing apparatus 2 is interrupted for a certain time or more, the CPU 36 of the terminal apparatus 3 performs a vibration waveform data addition process for adding fade-out data to the vibration waveform data buffer. Here, the fade-out data is vibration waveform data for gradually making smaller the amplitude of a vibration waveform obtained by decoding the AM/FM code data received last again. The terminal apparatus 3 is vibrated based on the fade-out data, whereby the vibration generated in the terminal apparatus 3 becomes gradually smaller and stops. Further, the certain time for determining the abnormality of the reception of vibration instruction data may be set to be longer (e.g., 0.5 sec) than the maximum cycle of transmitting vibration instruction data from the information processing apparatus 2, and may be set to 1.0 sec, for example.
Further, in the above example, when the remaining amount of vibration waveform data stored in the vibration waveform data buffer is less than the predetermined amount, vibration waveform data is added to the vibration waveform data buffer. Alternatively, when the state of vibration waveform data stored in the vibration waveform data buffer satisfies another condition, predetermined vibration waveform data may be added to the vibration waveform data buffer. As a first example, when the amount of change in the consumption of vibration waveform data stored in the vibration waveform data buffer is equal to or greater than a predetermined amount, a predetermined amount of vibration waveform data obtained by decoding the AM/FM code data received last again is added to the vibration waveform data buffer. As a second example, when the amount of vibration waveform data that can be further stored in the vibration waveform data buffer is equal to or greater than a predetermined amount, a predetermined amount of vibration waveform data obtained by decoding the AM/FM code data received last again is added to the vibration waveform data buffer. As a third example, when the amplitude indicated by vibration waveform data stored in the vibration waveform data buffer is outside a predetermined range (e.g., when the indicated amplitude is less than the amplitude at which the actuator 30 can vibrate, or when the indicated amplitude is less than the amplitude of a vibration that can be recognized by the user, or when the indicated amplitude exceeds an amplitude allowed by the actuator 30), vibration waveform data indicating the state of being outside the predetermined range is deleted from the vibration waveform data buffer. Then, the amplitude indicated by the deleted vibration waveform data is converted into an amplitude within the predetermined range, and the vibration waveform data after the conversion is added to the vibration waveform data buffer. As a fourth example, when the frequency indicated by vibration waveform data stored in the vibration waveform data buffer is outside a predetermined range (e.g., when the indicated frequency is other than the frequency at which the actuator 30 can vibrate, or when the indicated frequency is outside the frequency range in which a human being is considered to be able to feel the vibration (e.g., 0 to 1000 Hz)), vibration waveform data indicating the state of being outside the predetermined range is deleted from the vibration waveform data buffer. Then, the frequency indicated by the deleted vibration waveform data is converted into a frequency within the predetermined range, and the vibration waveform data after the conversion is added to the vibration waveform data buffer.
Next, a description is given of the details of a vibration control process performed by the information processing apparatus 2, which is the transmission source of vibration instruction data (AM/FM code data). First, with reference to
As shown in
The AM/FM code data Da is data indicating AM/FM code data (vibration instruction data) encoded based on original vibration waveform data prepared in advance in the information processing apparatus 2.
The transmission data Db is data indicating transmission data to be transmitted to the terminal apparatus 3. The reception data Dc is data indicating reception data received from the terminal apparatus 3.
The vibration time data Dd is data indicating the vibration time for which an instruction is given as vibration instruction data.
Next, with reference to
When performing the vibration control process, the CPU 21 initializes the memory 22 and the like and loads the vibration control program from the program storage section 23 into the memory. Then, the CPU 21 starts the execution of the vibration control program. The flow chart shown in
It should be noted that the processes of all of the steps in the flow chart shown in
Referring to
Next, the CPU 21 determines whether or not to start giving a vibration output instruction to the terminal apparatus 3 (step 62). For example, when an application executed by the information processing apparatus 2 reaches the timing when the terminal apparatus 3 starts outputting a vibration, the determination is affirmative in the above step 62. Then, when the CPU 21 is to start giving a vibration output instruction to the terminal apparatus 3, the processing proceeds to step 63. On the other hand, when the CPU 21 is not to give a vibration output instruction to the terminal apparatus 3, the processing proceeds to step 71.
In step 63, the CPU 21 generates code data to be transmitted to the terminal apparatus 3, and the processing proceeds to the next step. As described above, using original vibration waveform data from which AM/FM code data is to be generated, the CPU 21 generates an envelope waveform and FM information of each frequency range to be transmitted and encodes the amount of change in the amplitude of the vibration and the amount of change in the frequency of the vibration based on the predetermined encoding table, thereby generating AM/FM code data corresponding to a predetermined vibration time with respect to each frequency range. Then, the CPU 21 stores the AM/FM code data in the AM/FM code data Da.
Next, the CPU 21 stores the AM/FM code data stored in the AM/FM code data Da, together with another piece of transmission data in the transmission data Db. Then, the CPU 21 transmits the transmission data stored in the transmission data Db to the terminal apparatus 3 via the communication section 24 (step 64), and the processing proceeds to the next step.
It should be noted that the above process of encoding AM/FM code data (i.e., the process of step 63) may be performed in advance in an offline process by the information processing apparatus 2, and the AM/FM code data may be stored as the AM/FM code data Da. Alternatively, the above process of encoding AM/FM code data may be performed in real time in accordance with a request to generate a vibration.
Next, the CPU 21 determines whether or not report data is received from the terminal apparatus 3 (step 65). Then, when report data is received from the terminal apparatus 3, the CPU 21 stores the received report data in the reception data Dc, and the processing proceeds to step 66. On the other hand, when report data is not received from the terminal apparatus 3, the processing proceeds to step 67.
In step 66, based on the report data received in the above step 65, the CPU 21 determines the vibration time for which a vibration instruction is to be given next to the terminal apparatus 3, and the processing proceeds to step 67. For example, based on information indicating the vibration state of the terminal apparatus 3 included in the report data (e.g., data indicating whether or not the remaining amount of vibration waveform data in the vibration waveform data buffer or vibration waveform data is automatically added), the CPU 21 determines the vibration time in vibration instruction data to be transmitted next. As an example, when the remaining amount of vibration waveform data is larger than an assumed amount, the CPU 21 sets the vibration time in the vibration instruction data to be transmitted next to a relatively short time (e.g., a time shorter than the vibration time for which the previous vibration instruction is given, or a time shorter than a time normally determined in advance), thereby updating the vibration time data Dd. Further, when the remaining amount of vibration waveform data is smaller than the assumed amount, the CPU 21 sets the vibration time in the vibration instruction data to be transmitted next to a relatively long time (e.g., a time longer than the vibration time for which the previous vibration instruction is given, or a time longer than the time normally determined in advance), thereby updating the vibration time data Dd. Further, when vibration waveform data is added to the vibration waveform data buffer in the terminal apparatus 3 at unexpected timing, the CPU 21 sets the vibration time in the vibration instruction data to be transmitted next to a relatively long time, thereby updating the vibration time data Dd. Alternatively, the CPU 21 adjusts the transmission timing of the next vibration instruction data to be early.
In step 67, the CPU 21 determines whether or not the current time is the timing when vibration instruction data is transmitted to the terminal apparatus 3. Then, when the current time is the timing when vibration instruction data is transmitted to the terminal apparatus 3, the processing proceeds to step 68. On the other hand, when the current time is not the timing when vibration instruction data is transmitted to the terminal apparatus 3, the processing proceeds to step 70. Here, as described above, the timing when the information processing apparatus 2 transmits vibration instruction data to the terminal apparatus 3 may be every predetermined transmission cycle corresponding to a predetermined sample of vibration waveform data to be generated by the terminal apparatus 3, or may be the timing when the amplitude and/or the frequency of the vibration for which an instruction is given change.
In step 68, based on the vibration time indicated by the vibration time data Dd, the CPU 21 generates code data to be transmitted to the terminal apparatus 3, and the processing proceeds to the next step. For example, using original vibration waveform data from which AM/FM code data is to be generated, the CPU 21 generates AM/FM code data corresponding to a vibration length corresponding to the vibration time indicated by the vibration time data Dd, similarly to the above step 63, and stores the AM/FM code data in the AM/FM code data Da. It should be noted that when stopping the vibration of the terminal apparatus 3 in the above step 68, the CPU 21 may generate data indicating the stop of the vibration (e.g., AM/FM code data indicating a vibration of which the amplitude is 0).
Next, the CPU 21 stores the AM/FM code data stored in the AM/FM code data Da, together with another piece of transmission data in the transmission data Db. Then, the CPU 21 transmits the transmission data stored in the transmission data Db to the terminal apparatus 3 via the communication section 24 (step 69), and the processing proceeds to step 70.
In step 70, the CPU 21 determines whether or not to end the vibration output instruction given to the terminal apparatus 3. For example, when data indicating the stop of the vibration is generated in the above step 68, the determination is affirmative in the above step 70. Then, when the CPU 21 is to end the vibration output instruction given to the terminal apparatus 3, the processing proceeds to step 71. On the other hand, when the CPU 21 is to continue the vibration output instruction given to the terminal apparatus 3, the processing returns to the above step 65, and the process of step 65 is repeated.
In step 71, the CPU 21 determines whether or not the processing is to be ended. Examples of a condition for ending the processing include: the satisfaction of the condition under which the processing is to be ended; and the fact that the user performs the operation of ending the processing. When the processing is not to be ended, the processing returns to the above step 62, and the process of step 62 is repeated. When the processing is to be ended, the processing indicated by the flow chart ends.
Next, a description is given of the details of a vibration output process performed by the terminal apparatus 3, which is the transfer destination of AM/FM code data. First, with reference to
As shown in
The vibration waveform data buffer Dm is a data area for temporarily accumulating vibration waveform data generated in a decoding process by the CPU 36.
The reception data Dn is data indicating reception data received from the information processing apparatus 2. The transmission data Do is data indicating transmission data to be transmitted to the information processing apparatus 2.
The vibration waveform data Dp is data indicating a vibration waveform generated by decoding vibration instruction data (AM/FM code data) received from the information processing apparatus 2. The vibration control signal data Dq is data indicating a vibration control signal to be output to the vibration output section (the low-pass filter 32).
The vibration output flag data Dr is data indicating a vibration output flag, which is set to on when the process of vibrating the terminal apparatus 3 is performed. The remaining amount deficiency flag data Ds is data indicating a remaining amount deficiency flag, which is set to on when the process of automatically adding vibration waveform data to the vibration waveform data buffer Dm is performed.
The report data Dt is data indicating information (report data) for notifying the information processing apparatus 2 of the state of the vibration of the terminal apparatus 3.
Next, with reference to
The CPU 36 of the terminal apparatus 3 initializes the memory 37 and the like and loads the vibration output program from the storage section 38 of the information processing apparatus 3 into the memory 37. Then, the CPU 36 starts the execution of the vibration output program. The flow charts shown in
It should be noted that the processes of all of the steps in the flow charts shown in
Referring to
Next, the CPU 36 performs a reception process for receiving data from the information processing apparatus 2 (step 82), and the processing proceeds to the next step. For example, the CPU 36 stores, as the reception data Dn, data received from the information processing apparatus 2 via the communication section 39.
Next, the CPU 36 determines whether or not the reception data received in the above step 82 is vibration instruction data for giving an instruction to output a vibration (step 83). Then, when the reception data is vibration instruction data, the processing proceeds to step 84. On the other hand, when the reception data is not vibration instruction data, or when reception data is not received, the processing proceeds to step 91 (see
In step 84, the CPU 36 sets the vibration output flag to on, and the processing proceeds to the next step. For example, when the vibration output flag indicated by the vibration output flag data Dr is off, the CPU 36 updates the vibration output flag to on.
Next, the CPU 36 detects the remaining amount of vibration waveform data (step 85), and the processing proceeds to the next step. For example, the CPU 36 detects the remaining amount of vibration waveform data stored in the vibration waveform data buffer Dm. It should be noted that as will be apparent later, in the vibration waveform data buffer Dm, vibration waveform data generated by a vibration instruction data decoding process, an additional data decoding process, and a fade-out data decoding process is additionally stored. Further, as described above, regarding vibration waveform data stored in the vibration waveform data buffer Dm, in accordance with the fact that a vibration control signal to be output to the vibration output section is generated in each predetermined cycle, read vibration waveform data is sequentially erased from the vibration waveform data buffer Dm. That is, in the above step 85, the balance between the amount of vibration waveform data additionally stored in the vibration waveform data buffer Dm and the amount of vibration waveform data read and erased from the vibration waveform data buffer Dm is detected.
Next, the CPU 36 generates report data in which the remaining amount of vibration waveform data detected in the above step 85 is described, and transmits the report data to the information processing apparatus 2 via the communication section 39 (step 86), and the processing proceeds to the next step. Here, with reference to the remaining amount deficiency flag data Ds, when the remaining amount deficiency flag is set to on, the CPU 36 also describes, in the report data, data indicating that the process of automatically adding vibration waveform data to the vibration waveform data buffer Dm is performed. Then, the CPU 36 transmits the report data to the information processing apparatus 2.
Next, when the remaining amount deficiency flag indicated by the remaining amount deficiency flag data Ds is set to on, the CPU 36 updates the remaining amount deficiency flag to off (step 87), and the processing proceeds to the next step.
Next, the CPU 36 performs the process of decoding the AM/FM code data received in the above step 82 (step 88), and the processing proceeds to the next step. For example, the CPU 36 retrieves AM information and FM information from the AM/FM code data received in the above step 82, generates a frequency modulation sine wave (an FM wave) from the retrieved FM information, and generates an AM/FM wave that is displaced with an amplitude corresponding to the AM information. Then, the CPU 36 generates an AM/FM wave corresponding to the vibration length of the received AM/FM code data with respect to each frequency range and sums up the AM/FM waves of the respective frequency ranges, thereby generating a combined wave. Then, the CPU 36 stores, as the vibration waveform data Dp, vibration waveform data indicating the combined wave.
Next, the CPU 36 stores the vibration waveform data decoded in the above step 88 in the vibration waveform data buffer Dm by the FIFO method (step 89), and the processing proceeds to step 91 (see
Referring to
In step 92, the CPU 36 determines whether or not the vibration output process is to be ended. For example, when the vibration instruction data received from the information processing apparatus 2 is data indicating that the vibration is to be stopped (e.g., data indicating a vibration of which the amplitude is 0), the CPU 36 determines that the vibration output process is to be ended. Then, the vibration output process is not to be ended, the processing proceeds to step 93. On the other hand, when the vibration output process is to be ended, the processing proceeds to step 102.
In step 93, the CPU 36 detects the remaining amount of vibration waveform data, and the processing proceeds to the next step. It should be noted that the CPU 36 detects the remaining amount of vibration waveform data stored in the vibration waveform data buffer Dm also in the above step 93. The process of step 93, however, is similar to the process of the above step 85 and therefore is not described in detail here.
Next, the CPU 36 determines whether or not the remaining amount of vibration waveform data detected in the above step 93 is less than a predetermined amount (step 94). For example, when the remaining amount of vibration waveform data stored in the vibration waveform data buffer Dm is less than 10 samples, the determination is affirmative in the above step 94. Then, when the remaining amount of vibration waveform data is less than the predetermined amount, the processing proceeds to step 95. On the other hand, when the remaining amount of vibration waveform data is equal to or greater than the predetermined amount, the processing proceeds to step 103.
In step 95, the CPU 36 determines whether or not vibration instruction data periodically transmitted from the information processing apparatus 2 is received within a predetermined time. For example, when vibration instruction data is received within 1.0 sec, the determination is affirmative in the above step 95. Then, when vibration instruction data is received within the predetermined time, the processing proceeds to step 96. On the other hand, when vibration instruction data is not received within the predetermined time, the processing proceeds to step 99.
In step 96, the CPU 36 performs an additional data decoding process, and the processing proceeds to the next step. For example, with reference to the reception data Dn, the CPU 36 decodes the AM/FM code data received last again for a predetermined vibration length (e.g., 20 samples), thereby generating vibration waveform data to be added to the vibration waveform data buffer Dm. Then, the CPU 36 stores the vibration waveform data in the vibration waveform data Dp. It should be noted that the process of decoding the AM/FM code data is similar to the above step 88 and therefore is not described in detail here.
Next, the CPU 36 performs the process of additionally storing, in the vibration waveform data buffer Dm by the FIFO method, the vibration waveform data corresponding to the predetermined vibration length decoded in the above step 95 (step 97), and the processing proceeds to the next step.
Next, the CPU 36 updates the remaining amount deficiency flag indicated by the remaining amount deficiency flag data Ds to on (step 98), and the processing proceeds to step 103.
On the other hand, when the determination is negative in the above step 95 (i.e., when vibration instruction data is not received within the predetermined time), the CPU 36 performs a fade-out data decoding process, and the processing proceeds to the next step. For example, based on the vibration waveform data decoded and generated last in the above step 88 or the above step 96, the CPU 36 generates a vibration waveform in which the amplitude indicated by this vibration waveform becomes gradually smaller and becomes 0. Then, the CPU 36 stores vibration waveform data indicating the vibration waveform in the vibration waveform data Dp.
Next, the CPU 36 performs a fade-out data addition process for additionally storing, in the vibration waveform data buffer Dm by the FIFO method, the vibration waveform data generated in the above step 99 (step 100), and the processing proceeds to the next step.
Next, the CPU 36 updates the vibration output flag indicated by the vibration output flag data Dr to off (step 101), and the processing proceeds to step 103.
Further, when the determination is affirmative in the above step 92 (i.e., when the vibration output process is to be ended), the CPU 36 updates the vibration output flag indicated by the vibration output flag data Dr to off (step 102), and the processing proceeds to step 103.
In step 103, the CPU 36 determines whether or not the current time is the timing when report data is transmitted to the information processing apparatus 2. For example, as the report data, report data may be transmitted in each certain cycle not related to the above step 86. Alternatively, report data may be transmitted by being included in another piece of data to be sent from the terminal apparatus 3. In the above step 103, it is determined whether or not the current moment corresponds to this cycle or another data transmission timing. Then, when the current time is the timing when report data is transmitted, the processing proceeds to step 104. On the other hand, when the current time is not the timing when report data is transmitted, the processing proceeds to step 106.
In step 104, the CPU 36 generates report data in which the remaining amount of vibration waveform data detected in the above step 93 is described, and transmits the report data to the information processing apparatus 2 via the communication section 39, and the processing proceeds to the next step. Here, with reference to the remaining amount deficiency flag data Ds, when the remaining amount deficiency flag is set to on, the CPU 36 also describes, in the report data, data indicating that the process of automatically adding vibration waveform data to the vibration waveform data buffer Dm (i.e., the process of the above step 96) is performed. Then, the CPU 36 transmits the report data to the information processing apparatus 2.
Next, when the remaining amount deficiency flag indicated by the remaining amount deficiency flag data Ds is set to on, the CPU 36 updates the remaining amount deficiency flag to off (step 105), and the processing proceeds to step 106.
In step 106, the CPU 36 determines whether or not the processing is to be ended. Examples of a condition for ending the processing include: the satisfaction of the condition under which the processing is to be ended; and the fact that the user performs the operation of ending the processing. When the processing is not to be ended, the processing returns to the above step 82 (see
As described above, in the processing according to the above exemplary embodiment, report data indicating a vibration output state and the like is transmitted from the terminal apparatus 3 to the information processing apparatus 2. Consequently, the information processing apparatus 2 can perform an appropriate vibration control process using the transmitted report data. For example, when the remaining amount of vibration waveform data to be generated by the terminal apparatus 3 is described in the report data, the information processing apparatus 2 can transmit, to the terminal apparatus 3, AM/FM code data indicating a vibration for a vibration length corresponding to this remaining amount. Thus, it is possible to control a vibration based on an appropriate amount of data.
Further, in the processing according to the above exemplary embodiment, when the remaining amount of vibration waveform data in the vibration waveform data buffer is less than a predetermined amount, the terminal apparatus 3 automatically adds vibration waveform data. Consequently, even when the terminal apparatus 3 cannot temporarily receive vibration instruction data from the information processing apparatus 2, it is possible to vibrate the terminal apparatus 3 without interrupting the vibration. Further, even when the information processing apparatus 2 does not transmit vibration instruction data, the terminal apparatus 3 can continue to vibrate based on the vibration instruction data transmitted last. Thus, it is possible to reduce the amount of communication of vibration instruction data transmitted from the information processing apparatus 2 to the terminal apparatus 3.
It should be noted that in the above exemplary embodiment, when the terminal apparatus 3 receives vibration instruction data transmitted from the information processing apparatus 2, the terminal apparatus 3 transmits report data to the information processing apparatus 2 and then decodes the vibration instruction data. Consequently, it is possible to create report data in the state where the remaining amount of vibration waveform data in the vibration waveform data buffer Dm is relatively small. Thus, it is possible to notify the information processing apparatus 2 of a more detailed remaining amount, using the number of bits that can be transmitted by report data. It should be noted that if such an effect is not desired, the terminal apparatus 3 may decode the received vibration instruction data, store vibration waveform data corresponding to the vibration instruction data in the vibration waveform data buffer Dm, and then generate report data indicating the remaining amount of vibration waveform data in the vibration waveform data buffer Dm.
Further, in the above exemplary embodiment, the information processing apparatus 2 transmits vibration instruction data generated by encoding vibration waveform data to the terminal apparatus 3. Alternatively, the information processing apparatus 2 may transmit data in another form as data for instructing the terminal apparatus 3 to vibrate. For example, the information processing apparatus 2 may transmit vibration waveform data as it is as vibration instruction data. Alternatively, the information processing apparatus 2 may transmit, as vibration instruction data, data obtained by compressing vibration waveform data by a predetermined method.
Further, in the above exemplary embodiment, vibration waveform data generated by decoding AM/FM code data is stored in the vibration waveform data buffer Dm, and the vibration waveform data stored in the vibration waveform data buffer Dm is converted into a predetermined bit pattern and thereby output to the vibration output section. However, data to be stored in the vibration waveform data buffer Dm may be in another data format. For example, AM/FM code data received by the terminal apparatus 3 may be stored as it is in the vibration waveform data buffer Dm. Then, when output to the vibration output section, the AM/FM code data stored in the vibration waveform data buffer Dm is decoded every time, thereby generating vibration waveform data. Alternatively, data obtained by converting, into a predetermined bit pattern, vibration waveform data generated by decoding AM/FM code data received by the terminal apparatus 3 may be stored in the vibration waveform data buffer Dm.
Further, one of the amplitude and the frequency of a vibration to be generated by the terminal apparatus 3 may be a certain value determined in advance. In this case, without giving a vibration instruction for one of the amplitude and the frequency set to the certain value, the information processing apparatus 2 transmits, to the terminal apparatus 3, vibration instruction data (i.e., AM code data or FM code data) indicating a parameter for the other of the amplitude and the frequency.
Further, the actuator 30 may be provided outside the terminal apparatus 3. For example, the actuator 30 may be provided in an external apparatus attachable to the body (e.g., the head or the foot) of the user operating the terminal apparatus 3, or in an external apparatus that can be operated with the other hand. In this case, the terminal apparatus 3 and the external apparatus may perform wireless communication or wired communication with each other.
Further, in the above exemplary embodiment, an example has been used where a single actuator 30 is provided in the terminal apparatus 3. Alternatively, a plurality of actuators for imparting vibrations to the user may be provided inside the terminal apparatus 3 and/or outside the terminal apparatus 3. As an example, a pair of actuators may be provided in upper and lower portions or left and right portions in the terminal apparatus 3, or provided in the terminal apparatus 3 operated with one hand and an external apparatus operated with the other hand. In this case, the CPU 36 may generate vibration control signals for driving the respective actuators from a single piece of code data, or may generate vibration control signals for driving the respective actuators from different pieces of code data (e.g., code data for one of the actuators, and code data for the other actuator). In the second case, the information processing apparatus 2 transmits, to the terminal apparatus 3, vibration instruction data including a set of code data for one of the actuators and code data for the other actuator.
For example, when a plurality of actuators 30 are provided and independent vibrations are generated from the respective actuators 30, the CPU 36 outputs a vibration control signal for controlling the vibration of each actuator 30. In this case, with the use of phantom sensation that stimulates two different points in the user's skin (as an example, one hand of the user holding the terminal apparatus 3 and the other hand holding an external apparatus) to cause the user to perceive a pseudo stimulus at one point, it is also possible to impart, to the user of the terminal apparatus 3, vibrations for causing the user to perceive a place other than the position where the actuators are provided, as the vibration source in a pseudo manner.
Further, in the above exemplary embodiment, an example has been used where the information processing apparatus 2 for transmitting vibration instruction data wirelessly transmits the vibration instruction data to the terminal apparatus 3. Alternatively, the information processing apparatus 2 may transmit the vibration instruction data to the terminal apparatus 3 in a wired manner.
Further, the terminal apparatus 3 as the transmission destination of vibration instruction data may not be an operation apparatus (a so-called controller) held and operated by the user, and may be a device such as a mobile game apparatus, a mobile phone, or a PDA. It should be noted that the terminal apparatus 3 wirelessly connected to the information processing apparatus 2 may be a plurality of terminal apparatuses 3 (e.g., a plurality of controllers held by a plurality of users, or a pair of controllers held by a single user with both hands), and the system (e.g., a game system) may include the information processing apparatus 2 and the plurality of terminal apparatuses 3 into which actuators 30 are built. In this case, the information processing apparatus 2 transmits vibration instruction data for generating vibration waveform data to each of the plurality of terminal apparatuses 3 by wireless communication, thereby enabling each terminal apparatus 3 to generate a vibration corresponding to the vibration instruction data. It should be noted that the information processing apparatus 2 may not perform the process of encoding vibration waveform data, and data obtained by encoding vibration waveform data may be included in advance in a program or the like installed in the information processing apparatus 2. In this case, the information processing apparatus 2 outputs code data encoded in advance to the terminal apparatus 3, where necessary, and the terminal apparatus 3 decodes the code data. It should be noted that the communication between the information processing apparatus 2 and a single terminal apparatus 3 or a plurality of terminal apparatuses 3 may be performed in a wireless or wired manner.
Further, the above descriptions have been given using an example where the information processing apparatus 2 performs the vibration control process, and the terminal apparatus 3 performs the vibration output process. Alternatively, another apparatus may perform at least some of the processing steps in the processing. For example, when the information processing apparatus 2 and the terminal apparatus 3 are further configured to communicate with another apparatus (e.g., another server, another game apparatus, or another mobile terminal), the other apparatus may cooperate to perform the processing steps in the processing. Another apparatus may thus perform at least some of the processing steps in the processing, thereby enabling processing similar to the above processing. Further, the above processing can be performed by a processor or the cooperation of a plurality of processors, the processor or the plurality of processors included in an information processing system including at least one information processing apparatus. It should be noted that the information processing system including at least one information processing apparatus can be an information processing system including a plurality of information processing apparatuses (a so-called system including a complex of a plurality of apparatuses), or can be an information processing system including a single information processing apparatus (a so-called system including a single apparatus including a plurality of units). Further, in the above exemplary embodiment, the processing in the above flow charts is performed by the control section of each of the information processing apparatus 2 and the terminal apparatus 3 executing a predetermined vibration signal generation program. Alternatively, a part or all of the processing in the flow charts may be performed by a dedicated circuit included in each of the information processing apparatus 2 and the terminal apparatus 3.
Here, the above variations make it possible to achieve the exemplary embodiment also by a system form such as so-called cloud computing, or a system form such as a distributed wide area network or a local area network. For example, in a system form such as a distributed local area network, it is possible to execute the processing between a stationary information processing apparatus (a stationary game apparatus) and a mobile information processing apparatus (a mobile game apparatus) by the cooperation of the apparatuses. It should be noted that, in these system forms, there is no particular limitation on which apparatus performs the process of each step of the above processing. Thus, it goes without saying that it is possible to achieve the exemplary embodiment by sharing the processing in any manner.
Further, the processing orders, the setting values, the conditions used in the determinations, and the like that are used in the above information processing are merely illustrative. Thus, it goes without saying that the exemplary embodiment can be achieved also with other orders, other values, and other conditions. Further, the shapes, the number, the placement positions, the functions, and the like of the components used by the above information processing apparatus are merely illustrative, and may be other shapes, number, and placement positions. It goes without saying that the exemplary embodiment can be achieved by the information processing apparatus having other functions. Alternatively, the terminal apparatus 3 may be a handheld apparatus or a portable apparatus that is larger than a mobile apparatus. Here, a handheld apparatus is an apparatus that can be operated by the user holding it in their hands, and is a concept including the above mobile apparatus. Further, a portable apparatus is an apparatus that allows the movement of the main body of the apparatus when the apparatus is used, or allows a change in the orientation of the main body of the apparatus when the apparatus is used, or allows the carrying around of the main body of the apparatus, and is a concept including the above handheld apparatus and mobile apparatus.
Further, the vibration control program and the vibration output program may be supplied to the information processing apparatus 2 or the terminal apparatus 3 not only through an external storage medium such as an external memory, but also through a wired or wireless communication link. Further, the vibration control program and the vibration output program may be stored in advance in a non-volatile storage device included in the information processing apparatus 2 or the terminal apparatus 3. It should be noted that examples of an information storage medium having stored therein the vibration control program and the vibration output program may include CD-ROMs, DVDs, optical disk storage media similar to these, flexible disks, hard disks, magneto-optical disks, and magnetic tapes, as well as non-volatile memories. Alternatively, an information storage medium having stored therein the vibration control program and the vibration output program may be a volatile memory for storing the vibration control program and the vibration output program. It can be said that such a storage medium is a storage medium readable by a computer or the like. For example, it is possible to provide the above various functions by causing a computer or the like to load a game program from the storage medium and execute it.
While some exemplary systems, exemplary methods, exemplary devices, and exemplary apparatuses have been described in detail above, the above descriptions are merely illustrative in all respects, and do not limit the scope of the systems, the methods, the devices, and the apparatuses. It goes without saying that the systems, the methods, the devices, and the apparatuses can be improved and modified in various manners without departing the spirit and scope of the appended claims. It is understood that the scope of the systems, the methods, the devices, and the apparatuses should be interpreted only by the scope of the appended claims. Further, it is understood that the specific descriptions of the exemplary embodiment enable a person skilled in the art to carry out an equivalent scope on the basis of the descriptions of the exemplary embodiment and general technical knowledge. It should be understood that, when used in the specification, the components and the like described in the singular with the word “a” or “an” preceding them do not exclude the plurals of the components. Furthermore, it should be understood that, unless otherwise stated, the terms used in the specification are used in their common meanings in the field. Thus, unless otherwise defined, all the jargons and the technical terms used in the specification have the same meanings as those generally understood by a person skilled in the art in the field of the exemplary embodiment. If there is a conflict, the specification (including definitions) takes precedence.
As described above, the exemplary embodiment is useful as, for example, a vibration control system, a vibration output apparatus, a vibration output program, a vibration output method, and the like in order, for example, to prevent a vibration from being interrupted unintentionally.
Number | Date | Country | Kind |
---|---|---|---|
2016-080306 | Apr 2016 | JP | national |