novocaine
novocaine copied to clipboard
Using shorts instead of floats
Novocaine automatically converts from shorts to floats. Perhaps create a mechanism to pass back the raw shorts instead? This would probably require making some of the properties not readonly
and creating a new input / output blocks that take shorts.
Is there a specific use-case where the typecasting is producing undesirable performance hits?
Aren't there concerns with converting from float to short? Loss of precision?
If the data is provided as floating point from the mic, Novocaine uses that. So, I think floats are an optimal common format.