Mercurial > hg > auditok
view auditok/dataset.py @ 205:f3f8e2c9274d
Raise AudioEncodingError if encoding command fails
author | Amine Sehili <amine.sehili@gmail.com> |
---|---|
date | Sat, 01 Jun 2019 17:28:53 +0100 |
parents | be6f8899be43 |
children | 9741b52f194a |
line wrap: on
line source
""" This module contains links to audio files you can use for test purposes. """ import os __all__ = ["one_to_six_arabic_16000_mono_bc_noise", "was_der_mensch_saet_mono_44100_lead_trail_silence"] _current_dir = os.path.dirname(os.path.realpath(__file__)) one_to_six_arabic_16000_mono_bc_noise = "{cd}{sep}data{sep}1to6arabic_\ 16000_mono_bc_noise.wav".format(cd=_current_dir, sep=os.path.sep) """A wave file that contains a pronunciation of Arabic numbers from 1 to 6""" was_der_mensch_saet_mono_44100_lead_trail_silence = "{cd}{sep}data{sep}was_\ der_mensch_saet_das_wird_er_vielfach_ernten_44100Hz_mono_lead_trail_\ silence.wav".format(cd=_current_dir, sep=os.path.sep) """ A wave file that contains a sentence between long leading and trailing periods of silence"""