|
|
|
|
|
|
|
|
|
## Index of Berkshire Annual Meeting Transcripts
|
|
|
|
|
|
|
|
|
|
From Warren Buffett archive at CNBC.
|
|
|
|
|
|
|
|
|
|
* https://buffett.cnbc.com/video/1994/04/25/morning-session---1994-berkshire-hathaway-annual-meeting.html
|
|
|
|
|
|
|
|
|
|
# HOWTO To Create Training Set of GOAT Warren Buffett for Mozilla TTS
|
|
|
|
|
|
|
|
|
|
Following https://stackoverflow.com/a/66307612
|
|
|
|
|
|
|
|
|
|
Use the `LiveRecorder` Firefox plugin to record from Youtube.
|
|
|
|
|
|
|
|
|
|
Convert from webm to audio-only ogg.
|
|
|
|
|
```
|
|
|
|
|
ffmpeg -i berkshire-1994.webm -vn -acodec copy ./berkshire-1994-00:00_10:00.ogg
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Split by silence. This automated splitting of files is the killer app for command-line audio tools, imo.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sox ./berkshire-1994-00:00_10:00.ogg berkshire-1994-00:00_10:00-.wav silence 1 0.2 0.5% 1 0.2 0.5% : newfile : restart
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Play with trimming (start and duration)
|
|
|
|
|
then when you narrow down the clip, you can use `sox` to trim.
|
|
|
|
|
This is where GUIs like Audacity are still better.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
play ./berkshire-1994-00:00_10:00-149.wav trim 0:00 0:02.5
|
|
|
|
|
sox ./berkshire-1994-00:00_10:00-149.wav ./berkshire-1994-00:00_10:00-149a.wav trim 0:00 0:02.5
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
https://stackoverflow.com/questions/9667081/how-do-you-trim-the-audio-files-end-using-sox
|
|
|
|
|
|
|
|
|
|
https://unix.stackexchange.com/questions/381890/play-audio-file-from-a-certain-time-step-in-terminal
|
|
|
|
|
|
|
|
|
|
## To Train
|
|
|
|
|
|
|
|
|
|
Move the `wavs` to the output directory along with `config.json`, `metadata.csv`, `train.py` then run
|
|
|
|
|
```
|
|
|
|
|
CUDA_VISIBLE_DEVICES=0 python3 train.py
|
|
|
|
|
```
|