Skip to content

Commit bbee836

Browse files
committed
Point to proper license, and allow 10V full CV range.
1 parent e654abc commit bbee836

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Port of Bastl Eurorack modules. All **source code** in `src/` is copyright (C) 2
33
Panel graphics in the `res` directory are copyright (C) 2018-2021 Bastl [CC-BY-SA V4](https://creativecommons.org/licenses/by-sa/4.0/).
44

55
Original Source (CC-BY-SA V4):
6-
https://github.com/stziopa/kompas/blob/master/LICENSE.md/license.md
6+
https://github.com/bastl-instruments/kompas/blob/master/LICENSE.md/license.md

src/Kompas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ struct Kompas : Module {
140140

141141
const float modeCV = inputs[CV_LAT_INPUT + mode].getVoltage();
142142
// CV only contributes if we're not in the mode where CV is used to provide per-channel resets
143-
const int rescaledCV = (firmware == DEFAULT) ? rescale(clamp(modeCV, 0.f, 5.f), 0.f, 10.f, 0.f, 1023.f) : 0;
143+
const int rescaledCV = (firmware == DEFAULT) ? rescale(clamp(modeCV, 0.f, 10.f), 0.f, 10.f, 0.f, 1023.f) : 0;
144144

145145
stepValue[mode] = (rescaledCV > 1011) ? 1 : patternArray[mode][pos[mode]];
146146
prob[mode] = params[mode].getValue() + rescaledCV;

0 commit comments

Comments
 (0)