comparison scripts/hvresources/render.cpp @ 229:c768ed1055b0 mergingClockSync

Fixed heavy-midi and updated uploader.py
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 09 Apr 2016 00:52:57 +0100
parents 62f6269f4b3e
children 156e6955ccf6
comparison
equal deleted inserted replaced
228:a0a7f00cf98d 229:c768ed1055b0
125 // message.prettyPrint(); 125 // message.prettyPrint();
126 float noteNumber = message.getDataByte(0); 126 float noteNumber = message.getDataByte(0);
127 float velocity = message.getDataByte(1); 127 float velocity = message.getDataByte(1);
128 float channel = message.getChannel(); 128 float channel = message.getChannel();
129 // rt_printf("message: noteNumber: %f, velocity: %f, channel: %f\n", noteNumber, velocity, channel); 129 // rt_printf("message: noteNumber: %f, velocity: %f, channel: %f\n", noteNumber, velocity, channel);
130 hv_vscheduleMessageForReceiver(gHeavyContext, "hv_notein", 0, "fff", noteNumber, velocity, channel); 130 hv_vscheduleMessageForReceiver(gHeavyContext, "bela_notein", 0, "fff", noteNumber, velocity, channel);
131 } 131 }
132 break; 132 break;
133 case kmmControlChange: { 133 case kmmControlChange: {
134 hv_vscheduleMessageForReceiver(gHeavyContext, "hv_ctlin", 0, "fff", 134 hv_vscheduleMessageForReceiver(gHeavyContext, "bela_ctlin", 0, "fff",
135 (float)message.getDataByte(1), (float)message.getDataByte(0), (float)message.getChannel()); 135 (float)message.getDataByte(1), (float)message.getDataByte(0), (float)message.getChannel());
136 } 136 }
137 break; 137 break;
138 case kmmProgramChange: 138 case kmmProgramChange:
139 hv_vscheduleMessageForReceiver(gHeavyContext, "hv_pgmin", 0, "ff", 139 hv_vscheduleMessageForReceiver(gHeavyContext, "bela_pgmin", 0, "ff",
140 (float)message.getDataByte(0), (float)message.getChannel()); 140 (float)message.getDataByte(0), (float)message.getChannel());
141 break; 141 break;
142 } 142 }
143 } 143 }
144 } 144 }