espnet2.fileio.vad_scp.VADScpWriter
Less than 1 minute
espnet2.fileio.vad_scp.VADScpWriter
class espnet2.fileio.vad_scp.VADScpWriter(scpfile: Path | str, dtype=None)
Bases: object
Writer class for ‘vad.scp’
Examples
key1 0:1.2000 key2 3.0000:4.5000 7.0000:9:0000 …
>>> writer = VADScpWriter('./data/vad.scp')
>>> writer['aa'] = list of tuples
>>> writer['bb'] = list of tuples
close()