/[svn]/linuxsampler/trunk/src/engines/EngineChannel.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/EngineChannel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2120 by persson, Sun Jun 28 16:43:38 2009 UTC revision 2121 by schoenebeck, Tue Sep 14 17:09:08 2010 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005 - 2009 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2010 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 251  namespace LinuxSampler { Line 251  namespace LinuxSampler {
251               */               */
252              void ResetMidiRpnController();              void ResetMidiRpnController();
253    
254                /**
255                 * Set MIDI Non-Registered Parameter Number (NRPN) Controller
256                 * (upper 8 bits / coarse).
257                 */
258                void SetMidiNrpnControllerMsb(uint8_t CtrlMSB);
259    
260                /**
261                 * Set MIDI Non-Registered Parameter Number (NRPN) Controller
262                 * (lower 8 bits / fine).
263                 */
264                void SetMidiNrpnControllerLsb(uint8_t CtrlLSB);
265    
266                /**
267                 * Reset to no NRPN controller currently selected.
268                 */
269                void ResetMidiNrpnController();
270    
271               /**               /**
272               * Registers the specified listener to be notified when the number               * Registers the specified listener to be notified when the number
273               * of effect sends on this channel is changed.               * of effect sends on this channel is changed.
# Line 283  namespace LinuxSampler { Line 300  namespace LinuxSampler {
300              int GetMidiRpnController();              int GetMidiRpnController();
301    
302              /**              /**
303                 * Get currently selected MIDI Non-Registered Parameter Number
304                 * (NRPN) Controller, this method will return the already merged
305                 * value (MSB and LSB value).
306                 *
307                 * @e WARNING: you have to call @c ResetMidiNrpnController()
308                 * after using this value, otherwise all subsequent MIDI CC #6
309                 * (Data) messages are interpreted as NRPN controller value
310                 * messages.
311                 *
312                 * @returns currently selected NRPN controller number, a negative
313                 *          value if no NRPN controller currently selected
314                 */
315                int GetMidiNrpnController();
316    
317                /**
318               * Gets the current number of active voices.               * Gets the current number of active voices.
319               */               */
320              uint GetVoiceCount();              uint GetVoiceCount();

Legend:
Removed from v.2120  
changed lines
  Added in v.2121

  ViewVC Help
Powered by ViewVC