Begins a trigger with the given `duration`. */
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected