I asked a question to Chat GPT how to build a code to convert Log Value to Linear Value based on the value sensed by Trill.
// Function to convert V/oct voltage to frequency in Hz
float vOctToFrequency(float vOct) {
return referenceFrequency * pow(2.0, vOct); }
then, the above answers were obtained.
The resolution of the data output from the 16-bit Trill is rounded up and processed by the function in question to correspond to Theremin’s PitchValue, but in the end, the results are probably to be matched by physical matching.
It seems that the resolution and sensing speed of the data output from Trill can be set with this command.

The data type of the frequency range is not const but volatile, and the setting value is selected by “switch”.

This method of handling data from the sensor requires

the introduction of a rotary encoder to adjust detailed setting values in the ribbon controller’s control circuit.

The parameters I am considering at the moment are the sensitivity of the sensor, the noise floor, fine tuning of Pitch and Volme, and A/R to process the envelope.
