Skip to content

lexicographical soundfile names #16

@AlexLashield

Description

@AlexLashield

Thanks for this tool! It really benefits me a lot.
However, there is a little bit problem here when use a batch program to traverse the result set for STT I found that the file names of the results are not following lexicographical order.
I hope to revise slicer2.py
Change Line 182 to

soundfile.write(os.path.join(out, f'%s_%05d.wav' % (os.path.basename(args.audio).rsplit('.', maxsplit=1)[0], i)), chunk, sr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions