/[svn]/linuxsampler/trunk/src/drivers/midi/VirtualMidiDevice.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/VirtualMidiDevice.h

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

revision 3017 by schoenebeck, Wed Feb 19 19:21:31 2014 UTC revision 3018 by schoenebeck, Wed Oct 19 17:22:28 2016 UTC
# Line 1  Line 1 
1  /*  /*
2      Copyright (C) 2008 - 2014 Christian Schoenebeck      Copyright (C) 2008 - 2016 Christian Schoenebeck
3   */   */
4    
5  #ifndef LS_VIRTUALMIDIDEVICE_H  #ifndef LS_VIRTUALMIDIDEVICE_H
# Line 24  public: Line 24  public:
24          EVENT_TYPE_NOTEOFF = 2,          EVENT_TYPE_NOTEOFF = 2,
25          EVENT_TYPE_CC      = 3,          EVENT_TYPE_CC      = 3,
26          EVENT_TYPE_PITCHBEND,          EVENT_TYPE_PITCHBEND,
27          EVENT_TYPE_PROGRAM          EVENT_TYPE_PROGRAM,
28            EVENT_TYPE_CHPRESSURE,
29      };      };
30    
31      struct event_t {      struct event_t {
# Line 62  public: Line 63  public:
63      bool SendCCToSampler(uint8_t Controller, uint8_t Value);      bool SendCCToSampler(uint8_t Controller, uint8_t Value);
64    
65      /**      /**
66         * Sends a MIDI @e Channel @e Pressure (aftertouch) event to the sampler.
67         *
68         * @returns true on success, false if internal FIFO full
69         *          (or provided value invalid)
70         */
71        bool SendChannelPressureToSampler(uint8_t Pressure);
72    
73        /**
74       * Sends a MIDI @e Pitch @e Bend event to the sampler.       * Sends a MIDI @e Pitch @e Bend event to the sampler.
75       *       *
76       * @param Pitch - MIDI pitch value (-8192 ... +8191)       * @param Pitch - MIDI pitch value (-8192 ... +8191)

Legend:
Removed from v.3017  
changed lines
  Added in v.3018

  ViewVC Help
Powered by ViewVC