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

Convex shape for modEnv #406

Merged
merged 4 commits into from
Dec 1, 2018
Merged

Convex shape for modEnv #406

merged 4 commits into from
Dec 1, 2018

Conversation

derselbst
Copy link
Member

@derselbst derselbst commented Jun 25, 2018

This implements the convex shape of modEnvAttack as per soundfont spec.

Tested with the data set by @mrbumpy409 in issue #153. First picture shows the spectrogram of the audigy's version, second is the new convex version of fluidsynth. (Previously it was linear.)

@jjceresa Could you please look into correct handling during legato playing, such as in fluid_rvoice_multi_retrigger_attack()?

audigy-convex
fluidsynth-convex

Fixes #153.

@derselbst derselbst added the bug label Jun 25, 2018
@derselbst derselbst added this to the 2.1 milestone Jun 25, 2018
@derselbst derselbst requested a review from jjceresa June 25, 2018 16:17
@jjceresa
Copy link
Collaborator

Could you please look into correct handling during legato playing, such as in fluid_rvoice_multi_retrigger_attack()?

Yes, i will look and add the adequate handling, during the next days,weeks!

@derselbst
Copy link
Member Author

Ok, no hurry. I've scheduled this for 2.1, so we have plenty of time.

- this insures seamless pitch and filter frequency cutoff transition.
@jjceresa
Copy link
Collaborator

jjceresa commented Jul 1, 2018

Commit 8d8e7ec is a complement related to the convex attack section of modenv. This complement is need when skipping from attack section to section above attack.

Ok, no hurry. I've scheduled this for 2.1, so we have plenty of time.

Ok. Reversely handling when skipping from a section above hold to attack, will be done later

Since v 2.1 ,as recommended by soundfont 2.01/2.4 spec
ATTACK section is convex. So, when skiping from a
section above ATTACK to ATTACK, it is necessary to
correct current modulation envelope value to get
seamless transition.
@derselbst derselbst changed the base branch from master to 2.1-testing December 1, 2018 13:40
@derselbst derselbst merged commit b67ecb8 into 2.1-testing Dec 1, 2018
@derselbst derselbst deleted the modenv-convex branch December 1, 2018 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants