Date:2012-02-14 01:03:37 (7 years 9 months ago)
Author:Werner Almesberger
Commit:45a0c1786466d6900d9147603f0dd86d1ebed21e
Message:midi2osc: added processing of program change events

Files: midi2osc/midi2osc.c (1 diff)

Change Details

midi2osc/midi2osc.c
125125            msg[2] = ctrl;
126126            msg[3] = value;
127127            break;
128        case SND_SEQ_EVENT_PGMCHANGE:
129            if (debug)
130                fprintf(stderr, "prog c%u=%u\n",
131                    ev->data.control.channel,
132                    ev->data.control.value);
133            msg[1] = 0xe0 | ev->data.control.channel;
134            msg[2] = ev->data.control.value;
135            msg[3] = 0;
136            break;
128137        case SND_SEQ_EVENT_PITCHBEND:
129138            if (debug)
130139                fprintf(stderr, "pitch c%u=%u\n",

Archive Download the corresponding diff file

Branches:
master



interactive