Remove wavread and wavwrite #81
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As
wavread()
andwavwrite()
will be removed in future Matlab versions I think it is ok to remove them from the Toolbox as well.wavread()
was easy as it is just replaced byaudioread()
. Forwavwrite()
we have the problems of multichannel wav-files as we use it to save the BRS files. I copied thesavewav
file from the Binaural simulator and stored it assave_ssr_brs()
for the moment.Maybe it is a better idea to store it also as
savewav
underSFS_general
?I also switched the order of input arguments to be identical to
audiowrite()
.At the moment we can only save to 32bit. In prior experiments I saved the BRS files as 16bit, was this a bad idea or should we include that option as well to
save_ssr_brs()
in order to save space as BRS files are normally quite large?At the moment I have the copyright statement from the original
savewav
file. Can we simply replace it by the SFS copyright statement or would you prefer to stay with the original one?After we agree on this questions I will clean up the code of the function.