The app runs, but..

the result is insufficient,
I have to rearrange the logic.
Moved accuracyForFrequency to VRWave

Simplified code
Multiple changes.

Now I can look at the reasonability of the calculation