wav

WAV I/O module.

Classes

WAVReader

Safe WAV reader.

WAVWriter

Safe WAV writer.

class WAVReader[source]

Bases: object

Safe WAV reader.

static check(path)[source]

Checks that a file has the correct extension and exists.

Parameters:

path (Union[str, Path]) – Path to the file.

Returns:

class WAVWriter[source]

Bases: object

Safe WAV writer.

static check(path, overwrite=False)[source]

Checks that a file has of the correct extension and verifies that we can overwrite it if it exists.

Parameters:
  • path (Union[str, Path]) – Path to the file.

  • overwrite (bool)

Returns: