python-wavefile icon indicating copy to clipboard operation
python-wavefile copied to clipboard

Smart format selection

Open vokimon opened this issue 11 years ago • 0 comments

Let the library be smart and given some clues deduce which is the format and subformat to use. For instance:

  • When no main format is specified, deduce it from the file name extension. Say from file.ogg, it could deduce you want to dump an ogg vorbis file.
  • When no subformat is specified, deduce it from the main format. Say you want to dump a Riff Wave, it could choose 16bits Linear PCM subformat.

vokimon avatar Jun 25 '14 01:06 vokimon