Skip to content

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Chysn committed Aug 27, 2018
1 parent abcc65d commit e2ff6f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion software/o_c_REV/HEM_CVRec.ino
Expand Up @@ -37,7 +37,12 @@ public:

if (Clock(0)) {
if (record) {
ForEachChannel(ch) sequence[step + (ch * 64)] = In(ch);
ForEachChannel(ch)
{
int cv = In(ch);
cv = constrain(cv, 0, HEMISPHERE_MAX_CV);
sequence[step + (ch * 64)] = cv;
}
if (--punch_in == 0) record = 0;
}
ForEachChannel(ch) Out(ch, sequence[step + (ch * 64)]);
Expand Down

0 comments on commit e2ff6f9

Please sign in to comment.