@Callum_Matthews Building a custom automatic speech recognition (ASR)/speech-to-text dataset is probably quite challenging. Would it help to look at the source code of some pre-made TensorFlow Datasets, such as Librispeech or speech_commands?


Dataset: librispeech  |  TensorFlow Datasets


Source code: https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/audio/librispeech.py 1


Dataset: speech_commands  |  TensorFlow Datasets 1


Source code: https://github.com/tensorflow/datasets/blob/master/tensorflow_datasets/audio/speech_commands.py 2