MCPcopy Create free account
hub / github.com/VCVRack/Befaco / trigger

Method trigger

src/plugin.hpp:441–444  ·  view source on GitHub ↗

Begins a trigger with the given `duration`. */

Source from the content-addressed store, hash-verified

439
440 /** Begins a trigger with the given `duration`. */
441 void trigger(simd::float_4 mask, float duration = 1e-3f) {
442 // Keep the previous pulse if the existing pulse will be held longer than the currently requested one.
443 remaining = ifelse(mask & (duration > remaining), duration, remaining);
444 }
445};
446
447// Zavalishin 2018, "The Art of VA Filter Design", http://www.native-instruments.com/fileadmin/ni_media/downloads/pdf/VAFilterDesign_2.0.0a.pdf

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected