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

Sampler: not triggering all notes as expected #1190

Open
xribene opened this issue May 25, 2023 · 0 comments
Open

Sampler: not triggering all notes as expected #1190

xribene opened this issue May 25, 2023 · 0 comments

Comments

@xribene
Copy link

xribene commented May 25, 2023

Describe the bug

I'm making an arpegiator, where the user plays a midi note, and this triggers a series of triggerAttack and triggerRelease events to be played later in time. The problem I'm experiencing is that a triggerRelease of a note N at timestep T, prevents any triggerAttacks of the same note at later time >T.
This happens only when I'm using a Sampler. However when I replaced the Sampler with a Polysynth that problem was fixed.

To Reproduce

I made a jsfiddle that demonstrates both the expected (right button) and the problematic behavior (left button).

Expected behavior
When clicking the left button, note "A4" should sound for 0.5sec, while "E5" and "C5" should sound indefinitely.

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