Robert J. H. wrote:Your Vst plug-in introduces some nasty clicks in the audio (on windows 7 at least).
- Default settings
- Audacity 2.0.6a
- with music or chirp tone
- 44100 Hz
- buffer 8192
- compensation on
I will have to investigate that
BTW: Does this only happen with Audacity 2.0.6a, or can you reproduce it in, e.g.,
Acoustica or
GoldWave?
Robert J. H. wrote:I think you should give some more descriptive names for the sliders i.e. write them out--meant for text only Gui and screen reader.
I wish I could. But the maximum length of the string that can be returned by
getParameterName() without risking a buffer overflow is
kVstMaxParamStrLen, which is defined as
8
(That's a limitation of the VST interface. Audacity can do
nothing about this. Even if Audacity did allow for longer strings, other VST hosts may not. So a VST plug-in has to stay within
kVstMaxParamStrLen to avoid crashes)
Robert J. H. wrote:Where has the boundary setting gone to?
Another limitation of VST
The VST interface is designed to process an ongoing sequence of samples. I think the designers of VST were focused on "live" applications. Therefore, the plug-in has
no way to tell
when we have reached the
end of the file. If we are processing a
file, the host stops feeding the plug-in with new input at some point, yes. But, after each
processReplacing() call, the plug-in must expect that more input is going to arrive soon - which may happen or not.
Now you may think that at least the
beginning of a file could be handled in a special way. But, if multiple files are processed in the same application, there is
no guarantee that the particular application will unload and re-initialize the plug-in between the individual files. Instead, the application may decide to pump the different files trough the
same plug-in instance. In this case, the plug-in has
no way to recognize
where one file ends and a new file begins.
So
no dedicated handling of the "boundaries" is possible via VST. At least I have no idea how it could be possible...
Robert J. H. wrote:You could also include the Readme.htm file in the archive, this would somewhat facilitate the test usage of your plug-in.
The README is generated and included in the "normal" release packages by my "release" script. Just not in the ZIP that I created
manually for this thread
