Sam Lapp
Sam Lapp
Couldn't find an API so I asked here: https://github.com/libsndfile/libsndfile/issues/1008
I don't really understand the syntax but over in that libsndfile thread 1008 evpobr linked to this documentation: https://github.com/libsndfile/libsndfile/blob/c81375f070f3c6764969a738eacded64f53a076e/docs/command.md#sfc_set_bitrate_mode
Hm, I don't know in that case
@bastibe more details provided by arthurt now https://github.com/libsndfile/libsndfile/issues/1008#issuecomment-2135784810 it seems like exposing the SFC_SET_COMPRESSION_LEVEL in the python-soundfile API would be useful. The argument takes values 0-1. > For VBR, it...
I gave it a try, but did not see any effect. I first added the constant defining SFC_SET_COMPRESSION_LEVEL to soundfile_build.py: ``` SFC_SET_COMPRESSION_LEVEL = 0x1301, ``` then running `pythin setup.py install`,...
I tried 'double', no change. The returned value is 0 (not `SF_TRUE` or `SF_FALSE`). I also updated libsndfile to 1.2.2 with `brew install libsndfile`, no difference.
Interesting, thanks for looking into it. Perhaps @paulpeyret-biophonia has a minimal working example of the issue with logging using " / " on Windows?
Sorry for the delay - I'm largely off grid for fieldwork. I would consider @paulpeyret-biophonia's suggestion a workaround rather than a solution - it is buggy that " /" causes...
I can't tell how the input is shaped from that code. I've tried all of these shapes and none are valid: [1, 2,144000] [2,1,144000] [2,144000] [1, 144000, 2] the only...
Thank you, I have it working now. As a PyTorch user, it didn't occur to me that I would need to modify the model before passing batched samples.