diff options
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ func linesToUtterances(lines []string, fd *FileData) []*Utterance { RightTime: strings.TrimSpace(splitted[1]), FD: fd, } - u.OutPath = fmt.Sprintf("%s/%s_%s_%s.wav", outdir, fd.AudioBase, + u.OutPath = fmt.Sprintf("%s/%s_%s_%s.opus", outdir, fd.AudioBase, u.LeftTime, u.RightTime) // todo: compare and filter time @@ -166,7 +166,7 @@ func main() { // filteredUtterances := []*Utterance{} // === concurrent === - queue := make(chan *Utterance) + queue := make(chan *Utterance, len(utterances)) done := make(chan bool, 1) for _, ut := range utterances { |