Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Envelope Selector Clipping, Help please

For general discussion related FlowStone

Envelope Selector Clipping, Help please

Postby glitchcpt » Wed Oct 22, 2014 11:33 am

Hey guys,

I am working on a design that switches between a Multi-Stage envelope and an ADSR module using a selector and switch method.

It gives me a brutal clip if I hold the note down and flip the switch, any ideas how to tone it down? thanks
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Envelope Selector Clipping, Help please

Postby KG_is_back » Wed Oct 22, 2014 8:20 pm

The problem is, that selector recompiles the code of your schematic, which if it happens while audio is running, causes clicks. selector Basically rips part of the code and replaces is with new one, so after the selection the deselected code is not computed ( =better CPU performance). If you don't mind a little bit of CPU you may have the things running in parallel and switch their outputs on/off (or even creating a mix knob) using a simple code (I'm sure you can figure it out on your own ;-) ).
With ADSR/envelope shapers the story is a little bit more complicated. The two modules do two things:
1. they react to midi on/off massages and create the shapes when that happens.
2. they kill the voice when "release" stage is finished (which generally happens some time after the note-off midi massage, or even after note-on massages with percussion-type of synths).
Both of these things are managed via "envelope control" primitive (it has the "kill voice" input and "stage" output). The thing is - you can have only one of it per poly chain. Otherwise they will interfere with each other ( with two parallel envelope followers the one with shorter release will be killing the voice before the one with longer release has time to finish).
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Envelope Selector Clipping, Help please

Postby glitchcpt » Fri Oct 24, 2014 7:54 am

Thanks for your insightful feedback!! :D

I tried it with a little crossfader/dry-wet module I created, connected that to the switch and it did the same thing :oops:
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Envelope Selector Clipping, Help please

Postby KG_is_back » Fri Oct 24, 2014 11:11 am

glitchcpt wrote:Thanks for your insightful feedback!! :D

I tried it with a little crossfader/dry-wet module I created, connected that to the switch and it did the same thing :oops:


did you used dezipper?
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Envelope Selector Clipping, Help please

Postby glitchcpt » Fri Oct 24, 2014 11:56 am

Yea i tried with a de-zipper too, I will upload a section of the module when i get home this evening to see
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm


Return to General

Who is online

Users browsing this forum: No registered users and 72 guests