countmodula / VCVRackPlugins

Plugins for VCV Rack
Other
61 stars 11 forks source link

S&H with a CV note range gate/trigger out #50

Open blackearth2014 opened 4 years ago

blackearth2014 commented 4 years ago

I don't know if you have developed a modular like the idea I have or not but I am like to have one. I would like to have a basic sample and hold module that sends a gate or trigger based on a range of notes below and above set voltages. For example, some sample and hold modules have a noise attenuator to reduce the pitch range. I want to set limited of notes outputted by the S&H like 1,2,3,or 4 octaves. Once the range is set, only the pitch limit you hear but a builtin CV2Gate outputs every time there is a CV note over the set range limit.

The only other module that I know that is somewhat I am asking for is Geodesic's Fate but that module is based on probability. I want it based on any CV note about a limited range to be converter to a gate/trigger to trigger an envelope to modulate a filter or whatever.

AdamVerspaget commented 4 years ago

Hi, thank you for the module suggestion. It sounds like you are after a "window comparator" where the output is high when the input voltage is between two points. For example, the upper limit is 2 volts, the lower limit is 1 volt. When the input is between 1 and 2 volts, the output is high and when it less than 1 volt or greater than 2 volts, the output low. Does that sound right?

blackearth2014 commented 4 years ago

You are very close. When the S&H generate a high note, it doesn't output that note but only a gate or trigger to a second output. The set range on the S&H only gets output to a 1V/Oct VCO input.

On Wed, Apr 8, 2020, 5:02 AM AdamVerspaget notifications@github.com wrote:

Hi, thank you for the module suggestion. It sounds like you are after a "window comparator" where the output is high when the input voltage is between two points. For example, the upper limit is 2 volts, the lower limit is 1 volt. When the input is between 1 and 2 volts, the output is high and when it less than 1 volt or greater than 2 volts, the output low. Does that sound right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/countmodula/VCVRackPlugins/issues/50#issuecomment-610841530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4WTJPI46NP5TF2VGCJGC3RLQ4STANCNFSM4MDIXUJA .

AdamVerspaget commented 4 years ago

Ah, right. so we have a sample output and an "out of range" gate output. When the sampled voltage is outside of the selected range, a gate is generated and the voltage at the sample output remains as it was. When the sampled voltage is within the range, the sample output reflects that voltage and no gate is output to the "Out f Range" output.

blackearth2014 commented 4 years ago

Super yes. You got it right. If you want to get really freaky, integrate your chances module as the gate output based on the voltage range not probability. One gate output can be for the hi notes and the other gate output can be for low notes when they are out of the selected range.

Plus make it audio rate also because if you send an sequence VCO through it, it will track the pitch and output the low and hi pitches gates/triggers.

Major thanks

On Sat, Apr 11, 2020, 3:22 AM AdamVerspaget notifications@github.com wrote:

Ah, right. so we have a sample output and an "out of range" gate output. When the sampled voltage is outside of the selected range, a gate is generated and the voltage at the sample output remains as it was. When the sampled voltage is within the range, the sample output reflects that voltage and no gate is output to the "Out f Range" output.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/countmodula/VCVRackPlugins/issues/50#issuecomment-612353735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4WTJOEG6RZPR3S4F3CKULRMALCNANCNFSM4MDIXUJA .