Randomly sampling YouTube videos
- Python 3.12 (
brew install python
or the Windows way via MS Store) - FFMPEG (
brew install ffmpeg
or the Windows way via ffmpeg website)
pip3 install -r requirements.txt -t ./python_modules
- Open words.txt, enter one word per line of what you want to search for samples.
- Run
python3 app/random-sampler.py
from folder's root project, the outputs are into thewav/
folder. - Stop generating samples by pressing Ctrl+C (or ^C on macOS).
Credits to @ColugoMusic and @hazedbeats.
Original tweet with code here : https://twitter.com/ColugoMusic/status/1726001266180956440