24 Jul
2015
24 Jul
'15
1:39 p.m.
Hi, I would like to record in Wave IEEE float signed 32bit, 8000hz 256kbps, mono format. For this I can set the record_stereo to false in the session and tried to modify mod_sndfile.c to configure the format, so far I tried like: if (mode & SFM_WRITE) { context->sfinfo.channels = handle->channels; context->sfinfo.samplerate = handle->samplerate; context->sfinfo.format = SF_FORMAT_WAV | SF_FORMAT_FLOAT; } But I receive some weird data when trying to load up the wav in goldwave. The format looks fine but the data is not. Do you have any suggestion? Many thanks, Zoltan