Part 1: How to manually label an audio file
1)下载Audacity 软件并安装: http://www.audacityteam.org/download
2)打开软件:导入语音demo.wav(可以在左边框选用"Waveform" 或"Spectrogrm"展示语音)
3)依次点击: Tracks --> Add New --> Label Track
4)在语音区域,按住鼠标左键拖选择一个区域,然后同时按下ctrl + B
在Label Track 区域会出现一个“填空题”,把你的标签(speech)添在上面,
5)重复4)直到听到语音结束
6)依次点击 Tracks --> Edit Labels -- > Export 存为:demo.txt
1)下载Audacity 软件并安装: http://www.audacityteam.org/download
2)打开软件:导入语音demo.wav(可以在左边框选用"Waveform" 或"Spectrogrm"展示语音)
3)依次点击: Tracks --> Add New --> Label Track
4)在语音区域,按住鼠标左键拖选择一个区域,然后同时按下ctrl + B
在Label Track 区域会出现一个“填空题”,把你的标签(speech)添在上面,
5)重复4)直到听到语音结束
6)依次点击 Tracks --> Edit Labels -- > Export 存为:demo.txt
Part 2: how to prepare and import label file for audio with Audacity
Step 1: ensure your label file is in correct format:
segment_startTime_inSecond segment_endTime_inSecond label
Must use TAB not space as separator.
For example:
Audacity_label.txt
29.473812 49.066307 text1
57.213861 96.885166 text2
Note: column1 and column2 indicates starting and ending time in second, respectively
Audacity_label.txt
29.473812 49.066307 text1
57.213861 96.885166 text2
Note: column1 and column2 indicates starting and ending time in second, respectively
save the label file as txt
Step 2: Import:
File->Import->Label
For more, please refer [1]
Reference:
[1] http://manual.audacityteam.org/o/man/label_tracks.html
[1] http://manual.audacityteam.org/o/man/label_tracks.html
No comments:
Post a Comment