You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I realize it's been a few years, but I'll chime in with what I've found for anyone else looking at this.
I'm new to Node and I'm not sure how those enumerations are supposed to work - I can't find them anywhere. But I did find the code where they're defined:
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.
The text was updated successfully, but these errors were encountered: