PLUG'N SCRIPT
rapid plugin development
Tutorial
DSP
KUIML
How-to
Scripts
Main functions
  • processBlock
  • processSample
  • updateInputParameters
  • updateInputParametersForBlock
  • computeOutputData
Additional
  • initialize
  • shutdown
  • reset
  • getTailSize
  • getLatency
  • wantSilence
DSPgetTailSize
December 27, 2021

getTailSize

Reports to the DAW the length of the tail your plugin makes (in samples).

  1. int getTailSize() {
  2. return -1;
  3. }

For instance, if you're making a reverb or delay with a 1-second tail, the corresponding value in samples would be 48000 or 96000, depending on the sample rate.

If your plugin is a tone generator or a synthesizer, set this value to -1 (indicating that your tail can be infinite).

In situations where your plugin doesn't leave a tail, you can either omit this function or return 0.


Comments

Please, authorize to view and post comments.

2020 - 2026 © Site by LetiMix · Donate  |  Plug'n Script and KUIML by Blue Cat Audio