Mercurial > hg > auditok
changeset 352:02f4aa16598a
Merge branch 'master' of github.com:amsehili/auditok
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Tue, 31 Mar 2020 22:28:07 +0200 |
parents | 3d6e4d8f6903 (current diff) 4f8e660641d6 (diff) |
children | 5edf3f0ad2bc |
files | auditok/core.py |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/auditok/core.py Tue Mar 31 22:21:13 2020 +0200 +++ b/auditok/core.py Tue Mar 31 22:28:07 2020 +0200 @@ -250,7 +250,6 @@ Parameters ---------- - duration : float a given duration in seconds or ms. analysis_window: float @@ -292,7 +291,6 @@ Parameters ---------- - frame_duration: float duration of analysis window in seconds start_frame : int @@ -499,7 +497,7 @@ ---------- data : bytes raw audio data as a bytes object - samling_rate : int + sampling_rate : int sampling rate of audio data sample_width : int number of bytes of one audio sample @@ -513,6 +511,7 @@ See also -------- AudioRegion.load + """ check_audio_data(data, sample_width, channels) self._data = data @@ -985,7 +984,6 @@ Parameters ---------- - validator : callable, DataValidator (must implement `is_valid`) called with each data frame read from source. Should take one positional argument and return True or False for valid and invalid frames