




"""simple docstring"""




from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


lowerCAmelCase							:			str     							=							datasets.utils.logging.get_logger(__name__)






class     __magic_name__							(       folder_based_builder.FolderBasedBuilderConfig				):






				'''simple docstring'''
				__UpperCamelCase			  =						None
				__UpperCamelCase			  =						None






class     __magic_name__							(       folder_based_builder.FolderBasedBuilder				):






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




lowerCAmelCase							:			Tuple     							=							[
    """.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""",
]
lowerCAmelCase							:			Dict     							=							AUDIO_EXTENSIONS









"""simple docstring"""




from __future__ import annotations



def     a__ (				snake_case__       , snake_case__				)						->					bool:
			if len(snake_case__				) == 0:
						return False
			lowerCamelCase			      =					len(snake_case__				) // 2
			if a_list[midpoint] == item:
						return True
			if item < a_list[midpoint]:
						return binary_search(a_list[:midpoint]       , snake_case__				)
			else:
						return binary_search(a_list[midpoint + 1 :]       , snake_case__				)


if __name__ == "__main__":
					lowerCAmelCase							:			List[Any]     							=							input("""Enter numbers separated by comma:\n""").strip()
					lowerCAmelCase							:			Optional[Any]     							=							[int(item.strip()) for item in user_input.split(""",""")]
					lowerCAmelCase							:			Optional[int]     							=							int(input("""Enter the number to be found in the list:\n""").strip())
					lowerCAmelCase							:			Union[str, Any]     							=							"""""" if binary_search(sequence, target) else """not """
					print(F"""{target} was {not_str}found in {sequence}""")



