Lines Matching refs:controller
87 * If the Hold Pedal (a controller; see
185 * Reacts to a change in the specified controller's value. A controller
192 * <code>Instrument</code> reacts to a controller change may be
203 * The value of a 7-bit controller is set completely by the
205 * provide 14-bit precision by using two controller numbers, one
208 * most significant 7 bits of 14-bit controllers; controller numbers
210 * these controllers. For example, controller number 7 (0x07) controls
211 * the upper 7 bits of the channel volume controller, and controller
213 * The value of a 14-bit controller is determined
215 * of a controller are set (using controller numbers 0 through 31), the
216 * lower 7 bits are automatically set to 0. The corresponding controller
218 * controller value.
221 * does not support a specific controller message. In order
225 * @param controller the controller number (0 to 127; see the MIDI
227 * @param value the value to which the specified controller is changed (0 to 127)
231 public void controlChange(int controller, int value);
234 * Obtains the current value of the specified controller. The return
236 * LSB controller value needs to be obtained separately. For example,
237 * the 14-bit value of the volume controller can be calculated by
238 * multiplying the value of controller 7 (0x07, channel volume MSB)
240 * value of controller 39 (0x27, channel volume LSB).
242 * If the device does not support setting a specific controller,
243 * this method returns 0 for that controller.
246 * @param controller the number of the controller whose value is desired.
250 * @return the current value of the specified controller (0 to 127)
254 public int getController(int controller);
362 * If the Hold Pedal controller (see