hey, i'm wanting to use WvOut2 to write 24bit or higher sound files, but am not finding a way to do it, though the documentation says it is possible. well, it seems to write Matlab files to high bit depths, so if anyone knows how to convert those to wav or air, that would also get me where i need to be. any ideas? thanks! dan
Hey Dan,
Yup, STK WvOut, which WvOut2 is based on, seems to support 24+ bit audio,
but ChucK hardcodes it to use 16-bit for WAV/AIF. Also the latest release
of ChucK broke MAT-file output from WvOut(2).
It *should* be trivial to convert a MAT file to WAV in Matlab/Octave, but I
can't get MAT files from ChucK (using an older version with functional MAT
output) to open in Octave.
We can definitely add adjustable bit-depth to WvOut + fix MAT-file output
for the next release. But until then I don't have a great answer for this.
spencer
On Fri, Oct 4, 2013 at 9:09 PM, Dan Trueman
hey, i'm wanting to use WvOut2 to write 24bit or higher sound files, but am not finding a way to do it, though the documentation says it is possible. well, it seems to write Matlab files to high bit depths, so if anyone knows how to convert those to wav or air, that would also get me where i need to be. any ideas?
thanks! dan _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
ok cool, no worries. would be handy for the next release, though, thanks spencer!
On Oct 6, 2013, at 5:19 PM, Spencer Salazar
Hey Dan,
Yup, STK WvOut, which WvOut2 is based on, seems to support 24+ bit audio, but ChucK hardcodes it to use 16-bit for WAV/AIF. Also the latest release of ChucK broke MAT-file output from WvOut(2).
It *should* be trivial to convert a MAT file to WAV in Matlab/Octave, but I can't get MAT files from ChucK (using an older version with functional MAT output) to open in Octave.
We can definitely add adjustable bit-depth to WvOut + fix MAT-file output for the next release. But until then I don't have a great answer for this.
spencer
On Fri, Oct 4, 2013 at 9:09 PM, Dan Trueman
wrote: hey, i'm wanting to use WvOut2 to write 24bit or higher sound files, but am not finding a way to do it, though the documentation says it is possible. well, it seems to write Matlab files to high bit depths, so if anyone knows how to convert those to wav or air, that would also get me where i need to be. any ideas? thanks! dan _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Dan Trueman
-
Spencer Salazar