Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slowdown/jitter for certain instruments, note and loudness/gain combinations? #59

Open
abetusk opened this issue Dec 4, 2020 · 0 comments

Comments

@abetusk
Copy link

abetusk commented Dec 4, 2020

I'm not sure if this is a bug or a "feature" but for certain combinations of instruments and loudness and/or gain settings, there are playback issues, with playback jitter, slowdown and clipping.

I'm running Firefox 83.0. Here is a minimal example that causes jitter on my system:

Clock.bpm=180;
Theory.mode = "chromatic";
Theory.root = "a4";
m1 = Monosynth("bass", {"decay":0.25,"loudness": 2});
m1.note.seq( [ 16, 16, 12, 14, 14, 14, 24, 14, 14, 14, 14, 14, 14 ], [ 0.5, 0.25, 0.25, 0.5, 0.25, 0.25, 0.5, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25] );

The specific note is the 24 in the sequence that causes the jitter. Putting more notes of equal or greater value causes more jitter. Also, decreasing the loudness parameter to 1 causes the jitter to go away.

Note that the 24 note in the sequence is upwards of a7 or so, which I assume is on the high end of the note range.

Other instruments with certain note and loudness settings causes similar slowdown/jitter issues. I've encountered it enough, especially with the Monosynth's, that I have to be cautious about what note, loudness and instrument combinations I use.

I've encountered similar jitter/slowdown issues with shoving weird parameters in synthesizers in a wide range of applications so I suspect this is the nature of doing complex synthesizer manipulation in software. I hesitate to open an issue as it might either be something that takes too much work to fix or caused by the underlying audio API but I thought I'd pass along anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant