You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1155,7 +1156,8 @@ let OctaviaDevice = class OctaviaDevice extends CustomEventSource {
1155
1156
};
1156
1157
break;
1157
1158
};
1158
-
casemodeMap.g2: {
1159
+
casemodeMap.g2:
1160
+
casemodeMap.rhc: {
1159
1161
if(det.data[1]===120){
1160
1162
if(upThis.#chType[part]===0){
1161
1163
upThis.setChType(part,upThis.CH_DRUMS);
@@ -1204,6 +1206,34 @@ let OctaviaDevice = class OctaviaDevice extends CustomEventSource {
1204
1206
case0x4100: {
1205
1207
break;
1206
1208
};
1209
+
case0x587f: {
1210
+
upThis.switchMode("rhc",2);
1211
+
upThis.setPortModeId(part>>4,1,modeMap.rhc);
1212
+
console.info(`MIDI reset: Roland HyperCanvas (NRPN)`);
1213
+
return;
1214
+
break;
1215
+
};
1216
+
default: {
1217
+
if(msb===88){
1218
+
console.warn(`NRPN 0x${combined.toString(16).padStart(4,"0")} is specific of Roland HyperCanvas. Please reset into respective mode by committing NRPN 0x587f first.`);
@@ -1215,7 +1245,7 @@ let OctaviaDevice = class OctaviaDevice extends CustomEventSource {
1215
1245
};
1216
1246
};
1217
1247
if(warnNRPN){
1218
-
console.warn(`NRPN (0x${combined.toString(16).padStart(4,"0")}) commits are not available under "${modeIdx[upThis.getChModeId(part)]}" mode, even when they are supported in Octavia. Please consider using non-NRPN CC or SysEx instead if available.`);
1248
+
console.warn(`NRPN (0x${combined.toString(16).padStart(4,"0")}) commits are not available under "${modeIdx[upThis.getChModeId(part)]}" mode, even when they may be supported in Octavia. Please consider using non-NRPN CC or SysEx instead if available.`);
1219
1249
};
1220
1250
if(msb===1){
1221
1251
lettoCc=nrpnCcMap.indexOf(lsb);
@@ -1232,13 +1262,14 @@ let OctaviaDevice = class OctaviaDevice extends CustomEventSource {
1232
1262
if(nrpnIdx>-1){
1233
1263
upThis.#nrpn[part*10+nrpnIdx]=det.data[1]-64;
1234
1264
}else{
1235
-
console.warn(`NRPN 0x01${lsb.toString(16).padStart(2,"0")}is not supported.`);
1265
+
console.warn(`NRPN 0x01${lsb.toString(16).padStart(2,"0")}has no global support implemented. Please check if the selected parameter actually exists.`);
<divclass="columns is-multiline is-mobile is-vcentered" x-data="{active:[],profiles:{'none':'None','chromium':'Chrome','macos':'macOS'},dumps:[[0,'All','Place no restrictions on dumps.'],[2,'Mode','Only dumps with the same mode as the channel are allowed.']]}">
0 commit comments