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

Multiple effects in a single run #8

Open
dy opened this issue Aug 5, 2021 · 1 comment
Open

Multiple effects in a single run #8

dy opened this issue Aug 5, 2021 · 1 comment

Comments

@dy
Copy link
Contributor

dy commented Aug 5, 2021

Trying to recreate some real sounds with zzfx I found out it may be helpful to run multiple zzfx simultaneously.
I started thinking would that be something possible/desirable?
I can envision simple API expansion as ZZFX.PlaySamples(ZZFX.BuildSamples(...a), ZZFX.BuildSamples(...b))

(btw: what's the reasoning for naming methods with cap letter? Usually that convention in JS is for classes)

@KilledByAPixel
Copy link
Owner

Yea, I have been thinking about that too, certainly would allow for more sounds if they were overlapped. We are already doing basically that for ZZFXM. I may add something to the front end to make it easier to experiment with overlapping sounds.

I know now that the functions should be lowercase. I was coming from c++ where we use capital function names! I have started using lowercase in JavaScript now but haven't changed over zzfx yet.

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

2 participants