Skip to content

Commit

Permalink
Fixed vocoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Jan 10, 2021
1 parent 73883ec commit 802fcea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/SimpleVoiceChanger.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Vocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export default function vocoder(ctx, cb, mb) {
// Populate with a "curve" that does an abs()
var n = 65536;
var n2 = n / 2;
var x;

for (var i = 0; i < n2; ++i) {
x = i / n2;
Expand Down
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
import "../assets/locales/init.js";
import "../assets/locales/data.js";
import "./main.js";
import DelayBuffer from "./DelayBuffer";
import Limiter from "./Limiter";
import Vocoder from "./Vocoder";

export { };
export default { DelayBuffer, Limiter, Vocoder };

0 comments on commit 802fcea

Please sign in to comment.