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

Hardware MIDI Polyphony requires twice as many voices as necessary #2

Open
DBraun opened this issue Apr 12, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@DBraun
Copy link
Owner

DBraun commented Apr 12, 2021

I'm using a MIDI controller. If I use faust code for 6 voices and select 6 voices for the Nvoices custom parameter, it only yields 3 effective voices.

declare options "[midi:on]";
declare options "[nvoices:6]";
import("stdfaust.lib");

freq = hslider("freq",60,36,96,1) +24 : ba.midikey2hz;
gain = hslider("gain",1,0,1,0.01);
gate = button("gate");
envelope = en.adsr(0.1,0.2,0.9,0.3,gate)*gain;

panVal = hslider("pan[midi:ctrl 41]", 0,0,1,.01) : si.smoo;

process = os.osc(freq)*envelope : sp.panner(panVal) <: _,_;

effect = dm.zita_light ;

If I set the parameters and code to 8 voices, I get just 4.

@DBraun DBraun added the bug Something isn't working label Apr 12, 2021
@DBraun DBraun self-assigned this Apr 12, 2021
@DBraun DBraun changed the title Polyphony requires twice as many voices as necessary Hardware MIDI Polyphony requires twice as many voices as necessary Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant