Description
Hi, first of all thank you very much for this very useful module.
I have been reading the docs but I'm a bit confused. SampleFormat in the documentation says:
sampleFormat [default sampleFormatFloat32]
Bit depth - Number of bits used to represent sample values
formats are sampleFormatFloat32, sampleFormatInt32, sampleFormatInt24, sampleFormatInt16, sampleFormatInt8, sampleFormatUInt8.
However, when I try:
engine.setOptions({
sampleFormat: "sampleFormatInt16",
});
it doesn't change anything. I did see that I can change it between 1 and 2. 1 seems be the floating value and 2 seems to be integer based, however I don't know if it's 20bit or something similar?
The highest value seems to go to 95.000.000 which is higher than 16-bit but a lot lower than 24-bit. Any input on this would be much appreciated.