28
28
*
29
29
* Global transpose. Test.
30
30
* Mem search DONE
31
- * Midi channel DONE
31
+ * MIDI channel DONE
32
32
* Need to make sure transpose and channel selections are in the memories and
33
33
* recovered. Tested ctype, cc, transpose
34
34
*
43
43
* Copy page
44
44
* Fill values
45
45
*
46
- * Midi send and recieve clock. ffs.
46
+ * MIDI send and receive clock. ffs.
47
47
*/
48
48
49
49
#include <fcntl.h>
@@ -74,7 +74,7 @@ static int dc;
74
74
#define STEP_COUNT (PAGE_STEP * PAGE_COUNT)
75
75
76
76
#define TOTAL_DEVS (PAGE_STEP * OP_COUNT)
77
- #define CONTROL_COUNT 60 /* controls less memomry selectors/entry */
77
+ #define CONTROL_COUNT 60 /* controls less memory selectors/entry */
78
78
#define CONTROL_ACTIVE 20
79
79
#define COFF (TOTAL_DEVS * PAGE_COUNT)
80
80
#define ACTIVE_DEVS (COFF + CONTROL_ACTIVE)
@@ -555,19 +555,19 @@ bmMidiCallback(brightonWindow *win, int controller, int value, float n)
555
555
{
556
556
guiSynth * synth = findSynth (global .synths , win );
557
557
558
- printf ("midi callback: %x, %i\n" , controller , value );
558
+ printf ("MIDI callback: %x, %i\n" , controller , value );
559
559
560
560
switch (controller )
561
561
{
562
562
case MIDI_PROGRAM :
563
- printf ("midi program: %x, %i\n" , controller , value );
563
+ printf ("MIDI program: %x, %i\n" , controller , value );
564
564
synth -> bank = value - (value % 8 );
565
565
synth -> location = value % 8 ;
566
566
loadMemory (synth , "bassmaker" , 0 , synth -> bank * 10 + synth -> location ,
567
567
synth -> mem .active , 0 , 0 );
568
568
break ;
569
569
/*
570
- * This needs a case statement for midi clock which can then be used
570
+ * This needs a case statement for MIDI clock which can then be used
571
571
* to drive the fast timers.
572
572
*/
573
573
}
@@ -582,7 +582,7 @@ brightonApp bmApp = {
582
582
"bassmaker" ,
583
583
0 ,
584
584
"bitmaps/textures/metal2.xpm" ,
585
- BRIGHTON_STRETCH |BRIGHTON_REVERSE , /* default is tesselate */
585
+ BRIGHTON_STRETCH |BRIGHTON_REVERSE , /* default is tessellate */
586
586
bmInit ,
587
587
bmConfigure , /* 3 callbacks, unused? */
588
588
bmMidiCallback ,
@@ -1119,7 +1119,7 @@ bmSendControl(guiSynth *synth, bmMem *bm, int c, int o)
1119
1119
int note , chan , velocity ;
1120
1120
1121
1121
/*
1122
- * Convert the setting into 12 steps, take cc to be midi channel
1122
+ * Convert the setting into 12 steps, take cc to be MIDI channel
1123
1123
* Channel is the 'cc' setting here.
1124
1124
*/
1125
1125
if ((chan = bm -> control .cc ) > 15 )
@@ -1283,7 +1283,7 @@ bmCallLed(guiSynth *synth, int fd, int chan, int c, int o, int v)
1283
1283
BRISTOL_EVENT_KEYOFF , note , velocity );
1284
1284
break ;
1285
1285
case 1 :
1286
- /* Dont' send note off */
1286
+ /* Don't send note off */
1287
1287
if (v )
1288
1288
{
1289
1289
bmSendControl (synth , bm , c , o );
@@ -1292,7 +1292,7 @@ bmCallLed(guiSynth *synth, int fd, int chan, int c, int o, int v)
1292
1292
}
1293
1293
break ;
1294
1294
case 2 :
1295
- /* Dont' send note on, only off */
1295
+ /* Don't send note on, only off */
1296
1296
bristolMidiSendKeyMsg (global .controlfd , synth -> midichannel ,
1297
1297
BRISTOL_EVENT_KEYOFF , note , velocity );
1298
1298
return ;
0 commit comments