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 a tail your plugin makes (in samples).

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

Let's say you're making a reverb or delay with a 1 second tail. Depending on the sample rate, the number in samples that you'd report here would be 48000 or 96000 etc.

If you're making a tone generator or a synth, put -1 here (meaning your tail can be infinite).

In other cases, when your plugin doesn't leave a tail, you can omit this function or return 0.


Comments

2020 © Plug'n Script and KUIML by Blue Cat Audio  |  Site by LetiMix