SynthMaker

Voice stuck on the envelope (bug synthmaker?)

Archive · 2012 8 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Anjey_Olaf ·

Hi all!) I've been doing DSP programming in an environment Synthmaker. I also maintain the original project "Cell synth" a reference to the topic - http://www.kvraudio.com/forum/viewtopic.php?t=332574. In the course of development there was a very big problem (I have no idea what the problem is in the synth maker, or in the algorithm). The problem is sticking a Poly Voice, because of the problem of writing on the envelope of the code, it can be easily checked by pressing the frequent notes on the MIDI keyboard and rapidly rotate the knob on the Decay of the envelope (which will lead to sticking to one voice ..... then the second. third ... and then .... and so I experimented to open the stuck up to 15 voices that continue to be computed by the processor). Then I had a test with the generator of the envelope are made on a standard ADSR primitive .... I am very surprised that there were not sticking once. Then I was tested several variants of the envelope from the forum OUTSIM, as well as optimization examples WIKI .... they are all sticky voice ..... In this situation, I lose the modulation possibilities ... On the other hand, I can `t properly modulate the control parameters on the envelope of a standard set. Your thoughts on this issue?

nix ·

You could possibly license Infuzion's ASM envelope, but what do u need the envelope to do- that the stock one doesn't? 'fuzion's envelope is just quicker CPU wise

btw-Welcome!& success to you

trogluddite ·

Hi there, welcome to the forum.

Sounds from your post that you are using a custom envelope (you say the stock one works OK) - this may help us to find the problem. SM uses a special form of "invisible" communication between envelopes and the MIDI voice manager. This path allows the voice manager to know when all envelopes have completed in order to kill the voices. The primitive "Envelope Control" is the key to this communication - if it is not present, or is connected incorrectly, voices will continue indefinitely because no "end" message will be received by the manager.

I realise that this is an important project to you (your examples at KVR sound very good) - so you may not wish to show the source files for your design. But would it be possible for you to post an example of one of your envelopes? - it is much easier to give help when we have an example to look inside.

Best wishes, the Luddite.

Anjey_Olaf ·

Here's a video that shows the entire problem.

http://youtu.be/FhA3-Seq8D8

I can not understand why the envelope is assembled on the code or cause sticking Voice, although the primitive stock envelope provides a good work ... but does not give me the necessary capacity to complete my complicated project.

DigitalWhiteByte ·

I was working with this type of envelope, but unfortunately lately I have little time to devote to SM.

Envelope-Poly-Update release while the note is played

I achieved a good result, but you should optimize it a bit, and add the ability to not only be linear.

Anjey_Olaf ·

Thank you very much DigitalWhiteByte. I want to rewrite the envelope generator ... I need to run by the envelope of the data type of poly.

trogluddite ·

Hi, Had a quick look at your video - it was a bit tricky because I have only a small screen - but I would say that the problem is almost certainly within the code of your custom envelopes. For some reason, the fast Decay modulation is stopping the "Envelope Control" from sending a correct "end of envelope" to the voice manager.

I have not made any custom envelopes myself, so I'm not sure that I could de-bug it - but there are people here with good knowledge of it. I suggest that you post with your envelope module and/or code attached so that we can take a look.

Anjey_Olaf ·

Good morning. That circuitry that was used when creating a video.)

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.