Skip to content

Commit

Permalink
Enable loading NHP45 IMRO files
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Apr 24, 2024
1 parent 4c50364 commit 195ecba
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion Source/Formats/IMRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class IMRO

static void parseValues(Array<int> values, ProbeType probeType, ProbeSettings& settings)
{
if (probeType == ProbeType::NP1 || probeType == ProbeType::NHP10)
if (probeType == ProbeType::NP1 || probeType == ProbeType::NHP10 || probeType == ProbeType::NHP45)
{
// 0 = 1.0 probe
// channel ID
Expand All @@ -176,6 +176,33 @@ class IMRO
case 2:
bank = Bank::C;
break;
case 3:
bank = Bank::D;
break;
case 4:
bank = Bank::E;
break;
case 5:
bank = Bank::F;
break;
case 6:
bank = Bank::G;
break;
case 7:
bank = Bank::H;
break;
case 8:
bank = Bank::I;
break;
case 9:
bank = Bank::J;
break;
case 10:
bank = Bank::K;
break;
case 11:
bank = Bank::L;
break;
default:
bank = Bank::A;
}
Expand Down

0 comments on commit 195ecba

Please sign in to comment.