Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstring of sample_rate in AudioSignal constructor #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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