Input device, control method therefor, and program
By introducing a detection and control unit into the input device, the problem of the fact that the note opening event cannot be generated again in the state of giving after-touch effect in the prior art, and the effect of pronunciation can be achieved even under strong operation.
Patent Information
- Application Number
- CN202411112191.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-28
- Filing Date
- 2024-08-14
- Publication Date
- 2025-02-28
AI Technical Summary
In the state of giving after-touch effect, the pronunciation is not indicated even if the pressing signal level exceeds the threshold, resulting in the notes opening event being generated again when the operation intensity is high.
An input device is designed, including a pressed part, an output part, a detection part and a control part. By detecting the operation detection value of the pressing unit, the control unit sets the state to be valid or invalid, and generates a corresponding note opening or closing event, and a post-touch opening event.
Even in the state of giving after-touch effect, a note opening event can be generated through strong operations, ensuring that it can be pronounced again during operation, enhancing the flexibility and richness of the performance.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an input device and a control method and program thereof. Background Art
[0002] In the past, in input devices having a pressed portion, there are known devices that provide an aftertouch effect. For example, in Patent Document 1, if the level of a pressing signal exceeds a threshold, an instruction to produce sound is given. Based on the subsequent transition of the level of the pressing signal, an aftertouch effect is given to the sound being produced.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Laid-Open No. 06-43867 Summary of the invention
[0006] Problems to be solved by the invention
[0007] However, in Patent Document 1, when the aftertouch effect is applied, even if the level of the pressure signal exceeds the threshold, the sound is not instructed. In other words, even if a strong operation is performed while the aftertouch effect is applied, the sound is not instructed again.
[0008] An object of the present invention is to provide an input device capable of generating a note-on event even by an operation during application of an aftertouch effect.
[0009] Means for solving problems
[0010] According to one embodiment of the present invention, an input device is provided, comprising: a pressed portion; an output portion, which outputs a detection value of an operation detected on the pressed portion; a detection portion, which detects a note-on operation and a note-off operation based on the detection value; and a control portion, which sets a control state to a valid state or an invalid state based at least on the detection value, wherein the valid state sets the granting of an aftertouch effect to be valid, and the invalid state sets the granting of an aftertouch effect to be invalid, wherein the control portion generates a note-on event or a note-off event based on the detected note-on operation or the note-off operation, and generates an aftertouch-on event based on the detection value output in the valid state, and wherein the control portion also generates the note-on event when the note-on operation is detected based on the detection value output in the valid state.
[0011] Effects of the Invention
[0012] According to one aspect of the present invention, a note-on event can be generated even by an operation during application of an aftertouch effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a plan view of the input device according to the first embodiment.
[0014] Figure 2 is a schematic side view showing a sensor structure of a pad.
[0015] Figure 3 is a schematic top view of a gold-plated pattern.
[0016] Figure 4 is a block diagram of an input device.
[0017] Figure 5 This is a diagram showing a functional block that realizes note processing and aftertouch processing.
[0018] Figure 6 It is a diagram illustrating the transition of control in the note processing and aftertouch processing of the first mode.
[0019] Figure 7 It is a flowchart of note processing.
[0020] Figure 8 This is a flowchart of aftertouch processing.
[0021] Fig. 9 1 is a diagram illustrating the transition of control in the note processing and aftertouch processing of the first pattern of the modification.
[0022] Fig.10 1 is a diagram illustrating the transition of control in the note processing and aftertouch processing of the first pattern in the second embodiment.
[0023] Fig.11 It is a diagram illustrating the transition of control in the note processing and aftertouch processing of the second mode. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0025] (First Embodiment)
[0026] Figure 1 1 is a plan view of an input device according to a first embodiment of the present invention. The input device 100 is an input device suitable for inputting a musical performance operation, and is configured as an electronic musical instrument (electronic percussion instrument) as an example.
[0027] The input device 100 includes a housing 102. A panel 103 is provided on the upper surface side of the housing 102. The panel 103 includes a pad operation unit 50, a setting operation unit 90, a display unit 96, and a speaker 97. The setting operation unit 90 is an operation member for receiving various setting instructions from a user 101. The setting operation unit 90 includes a menu button 91, a mode start / end button 92, a mode switching button 93, other buttons 94, a determination button 95, and an increase / decrease button 98.
[0028] The pad operation unit 50 includes a plurality of pressed portions (hereinafter referred to as pads) operated by the user 101. As the pads used, it is assumed that the pads are mainly used for pressing operations or tapping operations. The plurality of pads included in the pad operation unit 50 include pads K, H1 to H3, C1, C2, S1, S2, R1, R2, M1, M2, and T1 to T6.
[0029] like Figure 1 As shown, usually, the user 101 uses the input device 100 with the pad K at the front side. Hereinafter, for convenience, the front side viewed from the user 101 is referred to as the front side, the back side is referred to as the back side, and the left and right directions are also based on the direction viewed from the user 101.
[0030] Each pad is assigned (assigned) a timbre of an electronic sound, such as the timbre of a drum (which may also include percussion). The timbre of the assigned electronic sound is not limited. If the user 101 operates the pad, the sound of the timbre associated with the pad is emitted from the speaker 97. Hereinafter, "operating a pad" and "pressing (pressing down) or striking a pad" are used synonymously. The timbre assigned to each pad can be changed. In addition, for some pads, the assigned timbre may remain unchanged (fixed). In addition, as described later, an aftertouch effect is imparted via the speaker 97 through an aftertouch operation.
[0031] The pads have different shapes, but the basic structure is common to each other. Each pad is a physical switch constituting an input area to be subjected to input operation (performance operation).
[0032] Figure 2 is a schematic side view showing a sensor structure of a pad. Figure 2 , the sensor structure of pad K is representatively illustrated, but the sensor structure is also common to other pads.
[0033] In the pad K, a printed circuit board 10, a conductive sheet 20, and a surface sheet 21 are arranged in order from bottom to top.
[0034] The surface sheet 21 constitutes the surface of the pad. The surface of the pad is flat and exposed from the panel 103. When the user 101 performs input operation, he / she may hit the pad with his / her finger. In order to alleviate the impact on the finger, the surface sheet 21 is made of, for example, a rubber sheet.
[0035] The printed circuit board 10 has a substrate 11, and a gold-plated pattern 12 is arranged on the substrate 11. A conductive sheet 20 is arranged below the surface sheet 21. The conductive sheet 20 has a film material 22 made of polyethylene terephthalate or the like, and a carbon pattern 23 is arranged below the film material 22. The conductive sheet 20 further includes an insulating spacer 15, and the insulating spacer 15 is arranged below the carbon pattern 23. The gold-plated pattern 12, the carbon pattern 23, and the spacer 15 constitute a sensor 30 (output unit).
[0036] The gold-plated pattern 12 and the carbon pattern 23 are examples of conductors, and other types of conductors may be used. The spacer 15 may be provided as a part of the printed circuit board 10 or may be provided independently of the conductive sheet 20 and the printed circuit board 10 .
[0037] Figure 3 1 is a schematic top view of the gold-plated pattern 12. The gold-plated pattern 12 is composed of an input pattern 13 for applying a voltage (Vin) and a GND pattern 14 for grounding (GND). The input pattern 13 and the GND pattern 14 are arranged in a comb-tooth shape. Due to the presence of the spacer 15, the input pattern 13 and the GND pattern 14 are not conductive in the non-operating state.
[0038] When the user 101 operates the surface sheet 21 with a finger (tap or press down, etc.) and applies pressure from above, the conductive sheet 20 is recessed between the spacers 15, so that the carbon pattern 23 contacts the gold-plated pattern 12. Then, the input pattern 13 and the GND pattern 14 are connected. The voltage value changes according to the contact area between the carbon pattern 23 and the gold-plated pattern 12. The sensor 30 outputs the voltage value as a detection value for detecting the operation on the pad K. The detection value changes continuously according to the intensity of the operation. Therefore, the presence or absence of the operation and the intensity can be detected as a continuous quantity based on the detection value.
[0039] The structure of the sensor 30 is not limited to a sensor that detects changes in pressure applied to the pad, and may be a vibration sensor. Or it may be a sensor that detects displacement of the pad. In addition, it is not necessary to detect the operation intensity or the displacement of the pad as a continuous amount, and it may be a sensor that outputs values in multiple stages.
[0040] Figure 480 is a block diagram of the input device 100. The sensor 30 is provided for each pad, so that the output of the sensor 30 becomes the performance information generated by the operation of the corresponding pad. The performance information generated by the operation of each pad in the pad operation unit 50 and the operation information generated by the operation of each operating element in the setting operation unit 90 are sent to the CPU 81 via the bus 80. The display unit 96 is composed of an LCD and the like, and displays various information according to the instructions from the CPU 81. In addition, the CPU 81 is connected to the sounding unit 79, the ROM 82, the RAM 83, the timer 84, the storage unit 85, and various I / F (interfaces) 86 via the bus 80.
[0041] CPU 81 controls the entire device. ROM 82 stores the control program executed by CPU 81 and various data. RAM 83 provides a work area for CPU 81 to execute the control program. Storage unit 85 includes a non-volatile memory to store various information. Various I / Fs 86 include MIDI (Musical Instrument Digital Interface) in addition to wired or wireless communication I / Fs. Sounding unit 79 includes speaker 97 ( Figure 1 ) also includes a sound source circuit and an effect circuit (not shown) that generates sounds based on performance information generated by operating each pad.
[0042] Figure 5 Is to perform note processing ( Figure 7 described later) and post-touch processing ( Figure 8 81, ROM 82, RAM 83, timer 84, storage unit 85, etc. are implemented by cooperation of the detection unit 31 and the control unit 32.
[0043] The detection unit 31 detects a note-on operation and a note-off operation based on a detection value of the operation on the pad. The control unit 32 sets the control state to a valid state in which the granting of the aftertouch effect is valid, or to an invalid state in which the granting of the aftertouch effect is invalid, based at least on the detection value. The control unit 32 generates a note-on event or a note-off event based on the detected note-on operation or note-off operation, and generates an aftertouch-on event based on the detection value output in the valid state. The control unit 32 also generates a note-on event when a note-on operation is detected based on the detection value output in the valid state.
[0044] Figure 6 is an example of the first mode of note processing ( Figure 7 described later) and post-touch processing ( Figure 8A diagram showing the transfer of control in (described later). Note processing and aftertouch processing are executed in parallel. The details of the first mode, note processing, and aftertouch processing will be described later.
[0045] In Figure 6 it, the horizontal axis takes the elapsed time Time, and the vertical axis takes the detection value output from the sensor 30. In Figure 6 it, the process from when a certain pad changes from the non-operating state to the operating state and then returns to the non-operating state is shown. In Figure 6 it, the larger the detection value, the stronger (deeper) the pressing.
[0046] In Figure 6 it, the detection values obtained at the timing of the control process related to the note are represented by dots, and the curve connecting them represents the change in the detection value over time. The aftertouch process time represents the interval of the control process related to the aftertouch. In addition, the interval of the control process related to the note is shorter than the aftertouch process time, but the two can also be the same.
[0047] Figure 6 it, the note threshold THN (note minimum level) (second threshold) and the post threshold THA (aftertouch minimum level) (first threshold) are shown as thresholds. In this example, the size relationship is THN < THA. In addition, it can be THN = THA or THN > THA. Furthermore, the note idle time, note rise time, note fall time, post idle time (aftertouch idle time), and post activation time (aftertouch active time) are shown as periods.
[0048] Here, during the post idle time, the control state related to the aftertouch is an invalid state in which the assignment of the aftertouch effect is set to invalid. During the post activation time, the control state related to the aftertouch is a valid state in which the assignment of the aftertouch effect is set to valid. The specified speed V1 (note minimum speed) is a speed threshold for determining a note-on operation.
[0049] The detection (determining the existence of a note-on operation and a note-off operation) of the note-on operation and the note-off operation is controlled as follows.
[0050] First, the detection unit 31 obtains the detected values output at each timing of the control process related to the musical note. The detection unit 31 may also detect the musical note on operation when the detected value exceeds the musical note threshold THN. Alternatively, the detection unit 31 may detect the operation speed VS of the pad and detect the musical note on operation when the operation speed VS exceeds the specified speed V1 (V1 < VS). In this case, the detection unit 31 may also detect the operation speed VS based on two or more detected values output at mutually different times. The two or more detected values mentioned here may be values that are adjacent to each other in time in the detection order or may be non-adjacent to each other. In addition, the operation speed VS may be detected based on the average or weighted average of three or more detected values.
[0051] In the present embodiment, the detection unit 31 uses both the musical note threshold THN and the operation speed VS to detect the musical note on operation. For example, the detection unit 31 detects the operation speed VS of the pad by the above method and detects the musical note on operation when the detected value exceeds the musical note threshold THN and the operation speed VS exceeds the specified speed V1.
[0052] In addition, after the detection unit 31 detects the musical note on operation, it detects the musical note off operation when the detected value becomes below the musical note threshold THN. Additionally, the threshold for detecting the musical note off operation and the threshold for detecting the musical note on operation may be set separately.
[0053] Regarding the setting of the control state related to aftertouch (whether to set it to the effective state or the invalid state), the control is performed as follows.
[0054] First, the detection unit 31 obtains the detected values output at each timing of the control process related to aftertouch. As a principle, the control unit 32 sets the control state to the effective state when the detected value exceeds the after threshold THA and sets the control state to the invalid state when the detected value becomes below the after threshold THA. However, during the transfer prohibition period (specified time) for backward activation, even if the detected value exceeds the after threshold THA, the control unit 32 does not cause the control state to transfer to the effective state. Here, the "transfer prohibition period" corresponds to the musical note rising period and the musical note falling period. The musical note rising period and the musical note falling period are each periods of a predetermined length. The musical note on velocity is determined based on the detected value during the musical note rising period. Additionally, the method for determining the musical note on velocity is not limited. In addition, at least one of the musical note rising period or the musical note falling period may be zero.
[0055] In the note processing and aftertouch processing in the first mode, a note-on event, a note-off event, an aftertouch-on event, and an aftertouch-off event are generated as events. By outputting these events, the start of sounding or the start of mute corresponding to the event is indicated, and the sound generation processing (not shown) is used to control the sounding and mute. For example, according to the output of the note-on event, the sound assigned to the operated pad is sounded from the sounding section 79 at a volume corresponding to the note-on speed. In addition, it is not necessary to sound according to the output of the note-on event, and processing other than sounding can also be applied. For example, choke (the effect of mute the sound being sounded) and control change (the effect of converting the note-on into a control change and outputting it) can also be applied.
[0056] In addition, a set type of aftertouch effect is applied according to the output of the aftertouch on event. The types of aftertouch effects that can be set are not limited, and examples thereof include note repeat (an effect of repeatedly producing the sound assigned to the pad at a predetermined interval in accordance with the tempo), mute (an effect of muting the sound being produced), volume (an effect of changing the volume of the sound being produced), control change (an effect of converting the aftertouch into a control change and outputting it), and the like.
[0057] Time points A11 to A15 are timings of control processing related to aftertouch (symbols of some timings are not shown).
[0058] The first mode is a processing mode for generating a note-on event in response to a note-on operation being detected based on the detection value output in the effective state. The start of the first mode is indicated by an operation of the setting operation unit 90 (for example, the mode start / end button 92). Alternatively, the first mode may be started in response to the input device 100 being activated. When the first mode is started, the note processing and aftertouch processing are started, and the note idle period and the post-idle period are first entered.
[0059] At time point A11, during the note-free period, a detection value exceeding the post-threshold value THA is acquired (strictly speaking, a detection value exceeding the post-threshold value THA is acquired at the timing of the control process related to the aftertouch during the note-free period; the same applies hereinafter). Then, the state shifts to the post-activation period (valid state), and an aftertouch-on event corresponding to the detection value is generated and output. Thereafter, while the same state continues, an aftertouch-on event corresponding to the detection value is generated and output at the timing of each control process (for example, time point A12).
[0060] In the post-activation period, if a detection value indicating an operation speed VS exceeding the predetermined speed V1 is obtained in a region exceeding the note threshold THN, a note-on operation is detected. Then, an aftertouch-off event is generated and output. Accordingly, the operation is transferred to the post-idle period (inactive state) and the note-up period (time point A13, time point N11).
[0061] When the note-up period (time point N12) has passed, a note-on event is generated and output based on the detection value in the note-up period, and the process further shifts to the note-down period.
[0062] After the note-down period (time point N13) has passed, the state is transferred to the note-free period. If a detection value exceeding the post-threshold value THA is obtained during the note-free period, the state is transferred to the post-activation period (time point A14), and an aftertouch-on event corresponding to the detection value is generated and output. After that, while the same state continues, an aftertouch-on event corresponding to the detection value is generated and output at the timing of each control process.
[0063] After that, if a detection value below the note threshold THN is obtained, a note-off operation is detected (time point N14). Then, a note-off event is generated and output, and the transition to the note-free period is made. In the post-activation period, a detection value below the post-threshold THA is obtained (time point A15), and an aftertouch-off event is generated and output. Accordingly, the transition to the post-free period is made.
[0064] Figure 7 It is a flowchart of note processing. Figure 8 8 is a flowchart of the aftertouch processing. The note processing and aftertouch processing, and the sound generation processing (not shown) are realized by CPU 81 loading the program stored in ROM 82 into RAM 83 for execution. The note processing, aftertouch processing, and sound generation processing are executed in parallel. The note processing and aftertouch processing start when the input device 100 is started or indicates the start of the first mode, and are then executed regularly at each processing interval. In addition, when the input device 100 stops or indicates the end of the first mode, these processes are ended. In addition, when the note processing and aftertouch processing are first started when the first mode is started, it becomes a note idle period and a post-idle period.
[0065] First, note processing ( Figure 7). In step S101, the CPU 81 determines whether a note-on operation has occurred. As described above, when the detection value exceeds the note threshold value THN and the operation speed VS exceeds the prescribed speed V1, it is determined that a note-on operation has occurred. In addition, it may be configured so that at least one of the note threshold value THN and the prescribed speed V1 is changed depending on whether it is in the post-active period or the post-idle period. If the CPU 81 does not determine that a note-on operation has occurred, it proceeds to step S109, and if it determines that a note-on operation has occurred, it proceeds to step S102.
[0066] In step S102, the CPU 81 determines whether the current period is the post-activation period (whether the control state is the valid state). Then, if the current period is not the post-activation period, the CPU 81 proceeds to step S104. If the current period is the post-activation period, the CPU 81 executes step S103 and then proceeds to step S104.
[0067] In step S103, the CPU 81 generates an aftertouch-off event and outputs the generated aftertouch-off event. Furthermore, the CPU 81 shifts to the post-idle period (invalid state) (time point A13). In step S104, the CPU 81 shifts to the note-up period (time point N11).
[0068] In step S105, the CPU 81 waits until the note-up period has passed. During the note-up period, the CPU 81 monitors and stores the detected value. Then, if the note-up period has passed, the CPU 81 proceeds to step S106. In step S106, the CPU 81 generates a note-on event based on the stored value, and outputs the generated note-on event. If the note-on event is output, the sound of the assigned timbre is produced through the sound generation process.
[0069] Therefore, if a note-on operation is performed, a note-on event is generated not only in the post-idle period but also in the post-active period (S102 to S106). Furthermore, if a note-on operation is performed in the post-active period, the process shifts to the post-idle period (S102 to S103).
[0070] In step S107, the CPU 81 shifts to the note-down period (time point N12). In step S108, the CPU 81 waits until the note-down period has passed, and if the note-down period has passed (time point N13), the CPU 81 shifts to step S109.
[0071] In step S109, CPU 81 performs other processing. Here, for example, the processing of detecting a note-off operation and generating and outputting a note-off event if a note-off operation is present (time point N14) is performed. After step S109, CPU 81 ends the note processing ( Figure 7 ).
[0072] Next, the after-touch processing ( Figure 8 ). In step S201, the CPU 81 determines whether the current period is the post-activation period. Then, the CPU 81 proceeds to step S205 if the current period is the post-activation period, and proceeds to step S202 if the current period is not the post-activation period.
[0073] In step S202, the CPU 81 determines whether the current period is the transition prohibition period of backward activation (whether it is the note-up period or the note-down period). If the current period is the transition prohibition period, the CPU 81 ends the present process, and if the current period is not the transition prohibition period, the process proceeds to step S203.
[0074] In step S203, the CPU 81 determines whether a detection value exceeding the rear threshold THA is obtained. If a detection value exceeding the rear threshold THA is not obtained, the CPU 81 ends the present process, and proceeds to step S204 if a detection value exceeding the rear threshold THA is obtained.
[0075] In step S204, the CPU 81 generates an aftertouch start event corresponding to the detection value, and outputs the generated aftertouch start event, and further transfers to the post-activation period (valid state) (time points A11 and A14). After that, the CPU 81 ends this processing. If the aftertouch start event is output, the assigned type of aftertouch effect is given through the sound generation processing.
[0076] In step S205, the CPU 81 determines whether the current period is the backward active transfer prohibition period. If the current period is the transfer prohibition period, the CPU 81 proceeds to step S208 (time point N11, time point A13), and if the current period is not the transfer prohibition period, the CPU 81 proceeds to step S206.
[0077] In step S206, the CPU 81 determines whether a detection value exceeding the rear threshold THA is obtained. Then, the CPU 81 proceeds to step S208 (time point A15) if a detection value exceeding the rear threshold THA is not obtained, and proceeds to step S207 if a detection value exceeding the rear threshold THA is obtained.
[0078] In step S207, the CPU 81 generates an aftertouch start event corresponding to the detection value, and outputs the generated aftertouch start event, and further maintains the after-activation period (time point A12). Therefore, during the after-activation period, according to the timing of each control process related to the aftertouch, the aftertouch effect is given according to the detection value exceeding the after-threshold value THA obtained. Thereafter, the CPU 81 ends this process.
[0079] In step S208 , the CPU 81 generates a post-touch-off event, outputs the generated post-touch-off event, and further transitions to the post-idle period. Thereafter, the CPU 81 ends the present process.
[0080] According to the present embodiment, the control unit 32 generates a note-on event (S102→S103-S106) when a note-on operation is detected based on the detection value output in the effective state. Thus, a note-on event can be generated even by an operation during the aftertouch effect. In addition, by outputting a note-on event, a percussion sound can be produced.
[0081] In particular, it is assumed that a horizontally long pad such as the pad K is operated with both hands. For example, an input device is known in which a percussion sound is not produced even if the same pad is operated with the right hand during the aftertouch operation. In contrast, in the present embodiment, when the same pad is operated during the aftertouch operation, the aftertouch effect is interrupted and a percussion sound is produced. Therefore, a variety of performance operations can be performed.
[0082] In addition, in response to the detection of a note-on operation based on the detection value output in the effective state, the control state is set to the invalid state, and an aftertouch off event is generated (S103). Therefore, the percussion sound can be clearly produced without imparting the aftertouch effect. In addition, after the control state is set to the invalid state, during the transition prohibition period, even if the detection value exceeds the post-threshold value THA, the control state does not transition to the effective state (S202). Therefore, the imparting of the aftertouch effect can be started at an appropriate timing.
[0083] Alternatively, you can use Fig. 9 A first mode of the modified example is shown. Fig. 9 FIG. 2 is a diagram illustrating the transition of control in the note processing and aftertouch processing according to the first mode of the modification example. Fig. 9 In the migration of control shown, relative to Figure 6 The control transition shown is the same except that the period from time point A13 to time point A14 is a post-activation period.
[0084] Figure 6 In the control transition shown, when a note-on operation is detected based on the detection value output in the effective state, the control state is set to the invalid state (S103). In addition, during the transition prohibition period, the control state is not transferred to the effective state.
[0085] In contrast, in the first mode of the modification, note processing ( Figure 7 ) and aftertouch ( Figure 8 ). However, discard Figure 7 Steps S102, S103 and Figure 8 Steps S202 and S205.
[0086] For example, the control unit 32 sets the control state to the effective state when the detection value exceeds the post threshold value THA, and sets the control state to the ineffective state when the detection value becomes less than the post threshold value THA. In addition, even if the control unit 32 detects a note-on operation based on the detection value output in the effective state, the control unit 32 maintains the effective state. Fig. 9 As shown, the post-activation period is also maintained from the time point A13 to the time point A14.
[0087] Furthermore, the modification is not limited to the first mode, and even if a note-on operation is detected based on the detection value output in the effective state, the effective state may be maintained.
[0088] (Second Embodiment)
[0089] In the first embodiment, the sensor 30 is a structure that detects the operation strength and the displacement of the pad as a continuous amount. In contrast, in the second embodiment of the present invention, from the perspective of simplifying the sensor structure, a structure is adopted that detects the operation strength and the displacement of the pad in stages at multiple positions. The displacement of the pad can also be replaced by a stroke position.
[0090] Fig.10 This is a diagram illustrating the transition of control in the note processing and aftertouch processing based on the first mode.
[0091] The structure of the sensor used is not shown in the figure, but a known structure such as an optical type can be used. For example, as threshold values, a three-configuration structure is used that uses a note threshold TH1 and a note threshold TH2 in addition to the back threshold THA. The magnitude relationship is THA <TH1<TH2。
[0092] Basic control and Figure 6 Same as shown. Fig.10As shown, when the detection value exceeds the post-threshold value THA, the control unit 32 shifts to the post-activation period (valid state). The control unit 32 determines the note-on speed based on the time ΔT from when the detection value exceeds the note threshold value TH1 to when it exceeds the note threshold value TH2. The control unit 32 shifts to the post-idle period (invalid state) at time point T11 when the detection value exceeds the note threshold value TH2. The period from time point T11 to time point T12 is the note-rising period, and the period from time point T12 to time point T13 is the note-falling period. When the note-falling period ends, the control unit 32 shifts to the post-activation period (time point T13). When the detection value becomes less than the post-threshold value THA, the control unit 32 shifts to the post-idle period (invalid state) (time point T14).
[0093] In this way, the present invention can be realized even when sensors that detect the operation strength and the displacement of the pad at three positions are used.
[0094] In order to further simplify the structure, a sensor that detects the operation strength and the displacement of the pad at two positions may be used. In this case, for example, the back threshold THA and the note threshold TH1 may be made common.
[0095] Furthermore, when using a sensor that detects the operation strength or the displacement of the pad at four or more positions, two threshold values related to aftertouch may be set.
[0096] In addition, when using sensors that detect the operation strength and the displacement of the pad at multiple positions, the first mode of the modified example ( Fig. 9 ). That is, in Fig.10 In the embodiment, the post-activation period may be maintained from the time point T11 to the time point T13.
[0097] According to the present embodiment, even when a note-on event is generated by an operation during the application of an aftertouch effect, it is possible to achieve the same effects as those of the first embodiment.
[0098] In the first and second embodiments, the control may be performed by switching between the first mode and the second mode different from the first mode. The switching of the processing mode is instructed by, for example, the operation of the mode switching button 93 by the user 101 .
[0099] Fig.11 It is a diagram illustrating the transition of control in the note processing and aftertouch processing based on the second mode.
[0100] The first mode is a processing mode for generating a note-on event when a note-on operation is detected based on the detection value output in the effective state. The second mode is a processing mode for not generating a note-on event even if a note-on operation is detected based on the detection value output in the effective state.
[0101] In the second mode, if Fig.11 As shown, at time point A22, and at time point A11 ( Figure 6 ) Similarly, a detection value exceeding the post threshold value THA is acquired during the note-free period. Then, the period shifts to the post-activation period (valid state), and an aftertouch-on event corresponding to the detection value is generated and output.
[0102] After that, from time point A22 to time point A23, the note-off period is also maintained in the post-activation period. That is, even if a note-on operation is detected during this period, a note-on event is not generated.
[0103] At time point A23, and at time point A15 ( Figure 6 ) Similarly, a detection value below the post-threshold value THA is obtained during the post-activation period. Then, a touch-off event is generated and output. Accordingly, the process is transferred to the post-idle period. In addition, the processing when the note-off operation is detected is the same as in the first mode ( Figure 6 ) in the same way.
[0104] In addition, not limited to the first mode ( Figure 6 ) and the second mode ( Fig.11 ) can be switched, or the first mode ( Fig. 9 ) and the second mode ( Fig.11 ). Alternatively, it may be possible to switch to the first mode ( Figure 6 ) and the first mode of the modification ( Fig. 9 ). Alternatively, it may be possible to switch to the first mode ( Figure 6 )、The first mode of the modified example ( Fig. 9 ) and the second mode ( Fig.11 ).
[0105] By being able to switch the modes, various musical performance operations can be performed. In addition, the plurality of processing modes that can be controlled by the control unit 32 are not limited to the processing modes illustrated above.
[0106] In addition, a different processing mode may be applicable for each pad.
[0107] Alternatively, different processing modes may be applied to units of two or more pads as a group. For example, assume that one or more second pads are pre-associated with the first pad, and these belong to the same group. Then, when the control unit 32 applies a certain processing mode to the first pad, it also applies the same processing mode to the second pad. The association for setting the group may also be implemented by user instructions. For example, consider including pad groups adjacent to each other within a specified range, or pad groups to which the same type of sound is assigned, in the same group.
[0108] In addition, the input device 100 does not necessarily have a sounding function. Therefore, the control unit 32 does not necessarily output each generated event and instruct the generation of sound. For example, each generated event can also be stored as data in the storage unit 85 and then used for playback.
[0109] In addition, the pads in the input device 100 are physical switches. However, the present invention can be applied even to virtual pads. For example, the pad operation unit 50 may be displayed on the display unit 96, and each pad may be touch-operated. Alternatively, the pad operation unit 50 may be provided on the panel surface of an electronic musical instrument, etc.
[0110] In the above-mentioned embodiments, in the comparison between the detection value and the threshold values THN and THA, the following may be rewritten and applied. “Exceeding the note threshold value THN”, “Exceeding the post-threshold value THA”, “Below the note threshold value THN”, and “Below the post-threshold value THA” may be rewritten as “Above the note threshold value THN”, “Above the post-threshold value THA”, “Small than the note threshold value THN”, and “Small than the post-threshold value THA”, respectively. Similarly, “The operation speed VS exceeds the prescribed speed V1” may be rewritten as “The operation speed VS is above the prescribed speed V1”.
[0111] The present invention has been described in detail above based on its preferred embodiments, but the present invention is not limited to these specific embodiments, and various forms within the scope not departing from the gist of the present invention are also included in the present invention. Parts of the above-mentioned embodiments may also be appropriately combined.
[0112] In addition, the same effect as the present invention can be achieved by reading out the storage medium storing the control program represented by the software for achieving the present invention to the input device. In this case, the program code itself read out from the storage medium realizes the new function of the present invention, and the non-temporary computer-readable recording medium storing the program code constitutes the present invention. In addition, the program code can also be provided via a transmission medium, etc., in which case the program code itself constitutes the present invention. In addition, as the storage medium in these cases, in addition to ROM, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, etc. can also be used. As a non-temporary computer-readable recording medium, it is also included as a volatile memory (such as DRAM (Dynamic Random Access Memory)) inside a computer system that becomes a server or client in the case of sending a program via a network such as the Internet, a communication line such as a telephone line, etc., a medium that keeps a program for a certain period of time.
[0113] [Explanation of Symbols]
[0114] 30 sensor, 31 detection unit, 32 control unit, 50 pad operation unit.
Claims
1. An input device, comprising: pressed part; an output unit that outputs a detection value of an operation on the pressed portion; a detection unit, which detects a note-on operation and a note-off operation based on the detection value; as well as The control unit sets a control state to a valid state or an invalid state based on at least the detection value, wherein the valid state enables the provision of the aftertouch effect or the invalid state disables the provision of the aftertouch effect. the control section generates a note-on event or a note-off event based on the detected note-on operation or the note-off operation, and generates an aftertouch-on event based on the detection value output in the effective state, The control section also generates the note-on event when the note-on operation is detected based on the detection value output in the effective state.
2. The input device according to claim 1, wherein: The control section sets the control state to the invalid state in response to detection of the note-on operation based on the detection value output in the valid state.
3. The input device according to claim 2, wherein: After the control section sets the control state to the invalid state in response to detection of the note-on operation based on the detection value output in the valid state, the control section does not set the control state to the valid state until a predetermined time has passed.
4. The input device according to claim 3, wherein: The control unit sets the control state to the invalid state when the predetermined time has passed and the detection value exceeds a first threshold value after the control state is set to the invalid state in response to the note-on operation being detected based on the detection value output in the valid state.
5. The input device according to claim 1, wherein: The control unit sets the control state to the effective state when the detection value exceeds a first threshold value, and sets the control state to the ineffective state when the detection value becomes equal to or less than the first threshold value.
6. The input device according to claim 1, wherein: The control section maintains the effective state even if the note-on operation is detected based on the detection value output in the effective state.
7. The input device according to claim 1, wherein: The control unit is capable of controlling a second mode in which the note-on event is not generated even if the note-on operation is detected based on the detection value output in the effective state, differently from the first mode in which the note-on event is generated in response to the note-on operation being detected based on the detection value output in the effective state, The control unit can switch between the first mode and the second mode to perform control.
8. The input device according to claim 1, wherein: There are multiple pressed parts. In response to the note-on operation being detected based on the detection value outputted in the effective state, the mode in which the note-on event is generated is one of a plurality of processing modes controllable by the control unit, The control unit can apply a different processing mode to each of the pressed parts.
9. The input device according to claim 1, wherein: There are multiple pressed parts. In response to the note-on operation being detected based on the detection value outputted in the effective state, the mode in which the note-on event is generated is one of a plurality of processing modes controllable by the control unit, A first pressed portion among the plurality of pressed portions is associated with one or more second pressed portions in advance, When the control unit applies a certain processing mode to the first pressed portion, the control unit also applies the same processing mode to the second pressed portion.
10. The input device according to claim 1, wherein: The detection unit detects an operation speed based on the two or more detection values output at different times, and detects the note-on operation when the detection value exceeds a second threshold and the operation speed exceeds a predetermined speed.
11. The input device according to claim 1, wherein: The detection unit detects the note-on operation when the detection value exceeds a second threshold value.
12. The input device according to claim 1, wherein: The detection unit detects an operation speed based on the two or more detection values output at different times, and detects the note-on operation when the operation speed exceeds a predetermined speed.
13. A method for controlling an input device, the method being implemented by a computer and comprising controlling an input device having a pressed portion. The control method: detecting a note-on operation and a note-off operation based on a detection value of the operation on the pressed portion; At least based on the detection value, setting the control state to a valid state or an invalid state, wherein the valid state sets the granting of the aftertouch effect to be valid, and the invalid state sets the granting of the aftertouch effect to be invalid; generating a note-on event or a note-off event based on the detected note-on operation or the detected note-off operation, and generating an aftertouch-on event based on the detection value output in the effective state; as well as The note-on event is also generated when the note-on operation is detected based on the detection value output in the valid state.
14. A computer program product, comprising a computer program, the computer program causing a computer to execute a method for controlling an input device having a pressed portion, The control method of the input device: detecting a note-on operation and a note-off operation based on a detection value of the operation on the pressed portion; At least based on the detection value, setting the control state to a valid state or an invalid state, wherein the valid state sets the granting of the aftertouch effect to be valid, and the invalid state sets the granting of the aftertouch effect to be invalid; generating a note-on event or a note-off event based on the detected note-on operation or the detected note-off operation, and generating an aftertouch-on event based on the detection value output in the effective state; as well as The note-on event is also generated when the note-on operation is detected based on the detection value output in the valid state.
Citation Information
Patent Citations
Electronic musical instrument
JP1994043867A