3ba6fff239cb4bc25d0bf22001ebc6cd253ec77b,librosa/core/audio.py,,stream,#,213

Before Change



    if not (isinstance(block_length, int) and block_length > 0):
        raise ParameterError("block_length={} must be a positive integer")
    if not (isinstance(frame_length, int) and frame_length > 0):
        raise ParameterError("frame_length={} must be a positive integer")
    if not (isinstance(hop_length, int) and hop_length > 0):
        raise ParameterError("hop_length={} must be a positive integer")

After Change



    """

    if not (np.issubdtype(type(block_length), np.integer) and block_length > 0):
        raise ParameterError("block_length={} must be a positive integer")
    if not (np.issubdtype(type(frame_length), np.integer) and frame_length > 0):
        raise ParameterError("frame_length={} must be a positive integer")
    if not (np.issubdtype(type(hop_length), np.integer) and hop_length > 0):
        raise ParameterError("hop_length={} must be a positive integer")

    // Get the sample rate from the file info
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: librosa/librosa
Commit Name: 3ba6fff239cb4bc25d0bf22001ebc6cd253ec77b
Time: 2019-05-05
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: stream


Project Name: librosa/librosa
Commit Name: 3ba6fff239cb4bc25d0bf22001ebc6cd253ec77b
Time: 2019-05-05
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: stream


Project Name: rasbt/mlxtend
Commit Name: 9b292db701a05ec2748be18d51a8bc52b98c646c
Time: 2016-07-14
Author: mail@sebastianraschka.com
File Name: mlxtend/evaluate/decision_regions.py
Class Name:
Method Name: plot_decision_regions


Project Name: librosa/librosa
Commit Name: 5a35ee5a98a7021ef07d2481719335d84de42a5e
Time: 2019-06-21
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: stream