Official support for: bluecataudio.com
2 posts • Page 1 of 1
- 4779 posts since 8 Sep, 2004 from Paris (France)
For both native and angelscript, he dsp scripting framework proposes two types of scripts:
- audio sample processing: the script is called for every audio sample to process it. This is the most simple way to perform audio processing without the need to handle buffers and iterate thru samples. It is however limited: it cannot handle MIDI events, and transport information is not directly accessible in the processing routine. This type of script should implement the processSample function, as well as the updateInputParametersfunction that will be called to update internal variables from the input parameters array if any parameter is required.
- block processing: the processBlock function is called by the plug-in for every block of samples (buffer) provided by the host. You will want to use this type of script if specific parameters handling is required or if you want to process MIDI events. If no specific parameter smoothing is required, the updateInputParametersForBlock function will let you update parameters before every block, or you can use the start and end values provided in the processBlock call.
So depending on your needs and you capabilities you will have to choose one of these types of scripts.