However, you need to be careful and send the data from a 'timer' thread and not directly from the process function, for example, when sending from a 'process' call. If you should need to exchange more data than just parameter changes, such as tempo, sample rate, FFT, Pitch Analysis, or any other data resulting from your processing, you can use the IMessage interface (see AGain example). You add the parameter (ID) to a list that will be used by the host to send them back to the user interface at the correct time. In the process function you can inform the host of changes by using the outputParameterChanges (from ProcessData). The parameter then is associated with an ID. If you need to communicate the changes of parameters to the user interface, such as metering changes and peaks, you need to define the parameter as an exported type. With the term 'Processing' we mean the code implementing the Steinberg::Vst::IAudioProcessor interface, and with 'User Interface' the editor component implementing the Steinberg::Vst::IEditController interface. Q: How should I communicate between the 'Processing' and the 'User Interface'?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |