I am still in the mock phase for a Webaudio plugin. In WebAudio there are many AudioNode subclasses. I see many examples of calling functions, but not any places getting or setting properties.
Example, there is an AnalyserNode. It has properties, AnalyserNode - Web APIs | MDN : fftSize, frequencyBitCount (getter only), minDecibels, maxDecibels, & smoothingTimeConstant.
If it is not a function, how do you define it in c++?