Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Monophonic slot voice #29

Open
adamrenklint opened this issue Jun 25, 2015 · 2 comments
Open

Monophonic slot voice #29

adamrenklint opened this issue Jun 25, 2015 · 2 comments

Comments

@adamrenklint
Copy link
Owner

Should be able to define a slot as monophonic, i.e. placing the slot in its own choke group, allowing only a single voice.

@adamrenklint adamrenklint changed the title Monophonic voice Monophonic slot voice Jun 25, 2015
@ivanmalagon
Copy link

Hello.

Willing to help on this. I've tried several libraries / methods (tone.js, raw webaudio API, bap) to simulate how I work with samples. Not only with one sample, but having all chops of a sample in its own group. So far, no luck with it. I always get some clicks when stopping a source node to start a new one.

If you have any clue or idea I'd appreciate to hear it. Perhaps not to include it in Bap (I'm here 2 years late and it's likely you're not interested in new PRs) but for implementing it in WebAudio anyway.

Long live the Boom Bap!!

@adamrenklint
Copy link
Owner Author

Hey, would be great to see a PR with this! I would probably approach it by letting slots + layers be assigned to a group, and when starting a layer (https://github.com/adamrenklint/bap/blob/master/lib/Layer.js#L38) check if there any active layers in the same group, and if so, choke them.

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

No branches or pull requests

2 participants