I guess it might be more efficient writing it in proper C++ in form of a VST plug-in.
The normal patching would be employing a rotator plugin (e.g. mcfx_rotator), control the angles via MIDI / OSC, and use a binaural decoder plugin afterwards (e.g. IEM's BinauralDecoder ;-) )
There are also binaural decoding plug-ins out there which already have a rotation feature implemented.
For your project, an interface for your bluetooth quaternion data in C++ would be great, maybe in form of a library / class under a proper license, so third party plug-in manufacturers could use it?
PS: I think this discussion should be continued in another thread, as it's off-topic.
|