# HG changeset patch # User Amine Sehili # Date 1585686487 -7200 # Node ID 02f4aa16598adc418436f208d8daed9a05d3f047 # Parent 3d6e4d8f6903e11816044db9b845b5b55c7ebc95# Parent 4f8e660641d6a79188845d7331cb0f3f03b65733 Merge branch 'master' of github.com:amsehili/auditok diff -r 3d6e4d8f6903 -r 02f4aa16598a auditok/core.py --- 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