Skip to content
Unverified Commit 836fa427 authored by eonglints's avatar eonglints Committed by GitHub
Browse files

Random audio selection and padding as required

Currently we always take the beginning of the audio file up to `max_length`. This prevents us from making full use of the data (especially when dealing with lots of long audio files). This change selects random parts of the audio file rather than always cropping from the start. It also pads audio files shorter than `max_length`. 
Feel free to re-work this but you get the idea.
parent e0a4fd94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment