Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions audiotools/core/audio_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ class AudioSignal(
Object to create AudioSignal from. Can be a tensor, numpy array,
or a path to a file. The file is always reshaped to
sample_rate : int, optional
Sample rate of the audio. If different from underlying file, resampling is
performed. If passing in an array or tensor, this must be defined,
by default None
Sample rate of the audio. Required if creating an AudioSignal from
a tensor or numpy array, ignored otherwise.
stft_params : STFTParams, optional
Parameters of STFT to use. , by default None
offset : float, optional
Expand Down