Lines Matching +full:mono +full:- +full:channel
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
43 #define NOTE2OCTAVE(n) (n / 12 - 1)
44 #define NOTE2FREQ(n) (440 * pow(2.0f, ((float)n - 69) / 12))
93 [0x44] = "Legato Foot-Switch",
111 [0x58] = "Hi-Res Velocity Prefix",
125 /* Channel mode messages */
132 [0x7e] = "Mono Mode",
139 fprintf(stderr, "usage: %s [-t] device\n", getprogname()); in usage()
162 while ((ch = getopt(argc, argv, "t")) != -1) { in main()
172 argc -= optind; in main()
193 snprintf(buf, sizeof(buf), "%s%d", pn->name, in main()
195 if (pn->alt != NULL) { in main()
197 "/%s%d", pn->alt, NOTE2OCTAVE(b1)); in main()
199 printf("Note %-3s channel=%d, " in main()
207 printf("Polyphonic aftertouch channel=%d, note=%d, " in main()
214 if (b1 > nitems(ctls) - 1) in main()
216 printf("Control/Mode change channel=%d, " in main()
235 printf("Program change channel=%d, " in main()
241 printf("Channel aftertouch channel=%d, " in main()
249 printf("Pitch bend channel=%d, change=%d\n", in main()