-
Notifications
You must be signed in to change notification settings - Fork 12
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
Portamento plugin and poly scale properties (rebase) #28
base: master
Are you sure you want to change the base?
Conversation
Hey Stefan, this looks mostly good, a bit of polishing is left though:
|
449ad3a
to
200e2c3
Compare
Ok, I believe I addressed all your concerns now.
Done.
Right. Today, I also believe that we should never have code like 'using namespace std', ever. I removed it and it still compiles.
Done.
Yes, we discussed this in person: I don't have strong feelings for either version, but I believe we could safely use plain frequencies and maybe introduce some kind of type-tag on streams to show whether a frequency is expected in the ui. On the other hand, if speed is all you care about, as long as BSE_SIGNAL_TO_FREQ / BSE_SIGNAL_FROM_FREQ is a linear function (not exponential or anything), we could simply operate on the scaled values directly, without calling either macro once-per-sample.
Done. Note: I also added a minimal portamento demo, which just shows off this feature in isolation. As things should be self contained, I neither used bleposc nor drum samples (i.e. from some hydrogen kit), although this would probably improve the overall sound quality of the demo. |
Signed-off-by: Stefan Westerfeld <[email protected]>
The scale has one parameter exponent, and should use: x^exponent Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
…lues Due to poly scale, users can select a value of 0 or very close to 0 for portamento time. This change avoid problems for these cases. Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
Signed-off-by: Stefan Westerfeld <[email protected]>
eb82031
to
5f822f6
Compare
I rebased this branch, you should be able to merge this now without problems. |
Portamento plugin (rebased), see original pull request #27