Skip to content

Commit

Permalink
Add missing arguments to docstring (facebookresearch#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome authored Aug 28, 2023
1 parent f339be6 commit 3901c1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def audio_write(stem_name: tp.Union[str, Path],
Args:
stem_name (str or Path): Filename without extension which will be added automatically.
wav (torch.Tensor): Audio data to save.
sample_rate (int): Sample rate of audio data.
format (str): Either "wav" or "mp3".
mp3_rate (int): kbps when using mp3s.
normalize (bool): if `True` (default), normalizes according to the prescribed
Expand Down

0 comments on commit 3901c1a

Please sign in to comment.