3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2009 Christian Schoenebeck * |
* Copyright (C) 2005 - 2014 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* 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 * |
315 |
break; |
break; |
316 |
|
|
317 |
case SND_SEQ_EVENT_CHANPRESS: |
case SND_SEQ_EVENT_CHANPRESS: |
318 |
pMidiInputPort->DispatchControlChange(128, ev->data.control.value, ev->data.control.channel); |
pMidiInputPort->DispatchChannelPressure(ev->data.control.value, ev->data.control.channel); |
319 |
|
break; |
320 |
|
|
321 |
|
case SND_SEQ_EVENT_KEYPRESS: |
322 |
|
pMidiInputPort->DispatchPolyphonicKeyPressure(ev->data.note.note, ev->data.note.velocity, ev->data.control.channel); |
323 |
break; |
break; |
324 |
|
|
325 |
case SND_SEQ_EVENT_PITCHBEND: |
case SND_SEQ_EVENT_PITCHBEND: |