# Audio upsampling on-the-fly

**URL:** <https://discuss.huggingface.co/t/audio-upsampling-on-the-fly/45570>\
**Category:** Intermediate\
**Created:** [July 4, 2023, 7:21am UTC](https://discuss.huggingface.co/t/audio-upsampling-on-the-fly/45570 "2023-07-04T07:21:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SantiagoMoreno-UdeA](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@SantiagoMoreno-UdeA](https://discuss.huggingface.co/u/SantiagoMoreno-UdeA)\
**Post date:** [July 4, 2023, 7:21am UTC](https://discuss.huggingface.co/t/audio-upsampling-on-the-fly/45570/1 "2023-07-04T07:21:24Z")

</div>

Hello everyone!

After a couple of hours looking for it I have to ask

Is there any way to made adding noise upsampling while fine-tuning Whisper?

I’m using Dataset class and WhisperForConditionalGeneration to fine-tuning Whisper. I would like to add some custom noise to the dataset, but I was looking for a way to do it on the fly. Something like .transform of torchvision

Someone know if there is a way to do it?

Cheers!
