diff --git a/src/howler.core.js b/src/howler.core.js index b998b5dc..a558f933 100644 --- a/src/howler.core.js +++ b/src/howler.core.js @@ -1151,6 +1151,11 @@ return self; } + // Make sure the to/from/len values are numbers. + from = parseFloat(from); + to = parseFloat(to); + len = parseFloat(len); + // Set the volume to the start position. self.volume(from, id);