ESC-50 | ESC-50 : Dataset for Environmental Sound Classification | Dataset library

 by   karolpiczak Python Version: Current License: Non-SPDX

kandi X-RAY | ESC-50 Summary

kandi X-RAY | ESC-50 Summary

ESC-50 is a Python library typically used in Artificial Intelligence, Dataset applications. ESC-50 has no bugs, it has no vulnerabilities, it has build file available and it has medium support. However ESC-50 has a Non-SPDX License. You can download it from GitHub.

ESC-50: Dataset for Environmental Sound Classification
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ESC-50 has a medium active ecosystem.
              It has 1078 star(s) with 264 fork(s). There are 33 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 10 have been closed. On average issues are closed in 67 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ESC-50 is current.

            kandi-Quality Quality

              ESC-50 has no bugs reported.

            kandi-Security Security

              ESC-50 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              ESC-50 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ESC-50 releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ESC-50
            Get all kandi verified functions for this library.

            ESC-50 Key Features

            No Key Features are available at this moment for ESC-50.

            ESC-50 Examples and Code Snippets

            No Code Snippets are available at this moment for ESC-50.

            Community Discussions

            QUESTION

            Getting different background colour of spectrograph from audio reading
            Asked 2021-Nov-03 at 15:39
            import numpy as np
            
            import pandas as pd
            
            import matplotlib.pyplot as plt
            
            import librosa as lr
            
            import glob
            
            path = r'/content/drive/MyDrive/ESC-50/305 - Coughing/*.ogg'
            
            a = glob.glob(path)
            
            print(len(a))
            
            for file in range(0,len(a),1):
              #scale, sr = librosa.load(a[file])
              #print(sr)
            
            
              scale, sr = librosa.load(a[file])
             
              mel_spectrogram = librosa.feature.melspectrogram( scale, sr=sr, n_fft=1024, hop_length=512, 
             
              n_mels=228
                                                               )
              mel_spectrogram.shape
              
              log_mel_spectrogram = librosa.power_to_db((mel_spectrogram))
              
              log_mel_spectrogram.shape
            
              plt.figure(figsize=(10, 5))
               
              librosa.display.specshow(log_mel_spectrogram, x_axis="time",
                                        y_axis="log", 
                                        
                                        sr=sr)
              plt.colorbar(format="%+2.f")
            
              plt.show()
            
            ...

            ANSWER

            Answered 2021-Nov-03 at 15:39

            The values of your spectrogram looks reasonable, and to be generally in the same range for all the audio clips. But you have not specified the color map when plotting, so some of them have different color maps due to the autodetection in librosa. Specify cmap='magma' for librosa.display.specshow and that should not be a problem.

            Note that for machine learning, you should not use the plot of the spectrogram, but the spectrogram values directly. If you want an image representation of that, see https://stackoverflow.com/a/57204349/1967571

            Source https://stackoverflow.com/questions/69821348

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ESC-50

            The dataset can be downloaded as a single .zip file (~600 MB):.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/karolpiczak/ESC-50.git

          • CLI

            gh repo clone karolpiczak/ESC-50

          • sshUrl

            git@github.com:karolpiczak/ESC-50.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Dataset Libraries

            datasets

            by huggingface

            gods

            by emirpasic

            covid19india-react

            by covid19india

            doccano

            by doccano

            Try Top Libraries by karolpiczak

            EARS

            by karolpiczakPython

            paper-2015-esc-convnet

            by karolpiczakJupyter Notebook

            paper-2015-esc-dataset

            by karolpiczakJupyter Notebook

            paper-2017-DCASE

            by karolpiczakJupyter Notebook

            echonet

            by karolpiczakPython