diff --git a/cwIo.cpp b/cwIo.cpp index c3c6147..1ac1da7 100644 --- a/cwIo.cpp +++ b/cwIo.cpp @@ -2883,6 +2883,30 @@ cw::rc_t cw::io::midiDeviceSend( handle_t h, unsigned devIdx, unsigned portIdx, return midi::device::send( p->midiH, devIdx, portIdx, status, d0, d1 ); } +cw::rc_t cw::io::midiDeviceAllNotesOff( handle_t h, unsigned devIdx, unsigned portIdx ) +{ + rc_t rc = kOkRC; + unsigned devN = midiDeviceCount(h); + for(unsigned i=0; i