Skip to content

Commit

Permalink
fix: check that t input is audio rate
Browse files Browse the repository at this point in the history
  • Loading branch information
midouest committed Feb 26, 2021
1 parent 125d695 commit c3ada57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/ByteBeat/ByteBeat.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ ByteBeat : UGen {
}

checkInputs {
if (inputs.at(0).rate != 'audio') {
^("t input is not audio rate: " + inputs.at(0) + inputs.at(0).rate);
}
^this.checkValidInputs;
}
}

0 comments on commit c3ada57

Please sign in to comment.