

from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


a_     =			datasets.utils.logging.get_logger(__name__)






class _UpperCamelCase							(							folder_based_builder.FolderBasedBuilderConfig      ):
			'''simple docstring'''







			lowerCamelCase__							=None
			lowerCamelCase__							=None






class _UpperCamelCase							(							folder_based_builder.FolderBasedBuilder      ):
			'''simple docstring'''







			lowerCamelCase__							=datasets.Audio()
			lowerCamelCase__							='audio'
			lowerCamelCase__							=AudioFolderConfig
			lowerCamelCase__							=42  # definition at the bottom of the script
			lowerCamelCase__							=AudioClassification(audio_column='audio'							,		label_column='label'      )

a_     =			[
    '.aiff',
    '.au',
    '.avr',
    '.caf',
    '.flac',
    '.htk',
    '.svx',
    '.mat4',
    '.mat5',
    '.mpc2k',
    '.ogg',
    '.paf',
    '.pvf',
    '.raw',
    '.rf64',
    '.sd2',
    '.sds',
    '.ircam',
    '.voc',
    '.w64',
    '.wav',
    '.nist',
    '.wavex',
    '.wve',
    '.xi',
    '.mp3',
    '.opus',
]
a_     =			AUDIO_EXTENSIONS


def 		_lowercase (     lowercase__   ,	lowercase__						):

      if density <= 0:
            raise ValueError('''Impossible fluid density'''						)
      if bulk_modulus <= 0:
            raise ValueError('''Impossible bulk modulus'''						)

      return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
 import doctest

 doctest.testmod()


