Hi, audacity-heads!
Problem:
After voice recognition is done I need to launch audacity from bash script and it should contain
(1) wav_file
(2) labeling_file0 (true transcription)
(3) labeling_file1 (estimate transcription)
My "solution":
I have opened wav_file, imported label1 and label2. Saved it as project (*.aup).
From that sample project and aup DTD http://audacityteam.org/xml/audacityproject-1.3.0.dtd....
I had no problem with creating a project which contains two labeling sections
<labeltrack name="Label Track" numlabels="323">
<label t="0.00000000" t1="0.00000000" title="Bla"/>
.......
<label t="330.01300000" t1="330.01300000" title="Bla"/>
</labeltrack>
But problem comes when I need to write part of aup xml file which needs to describe wav file that should be loaded.
Does any know how should I generate that part of xml code or is there any other easier way to start audacity with that three files opened.
Tnx:)
Generating *.aup file
-
kozikowski
- Forum Staff
- Posts: 69365
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Generating *.aup file
My neck hurts. I think I have whiplash from sudden acceleration change. Most people want to know how to change the volume of a song.
Anyway, I would create a roughly similar show to the one you want, save the project and cut and paste the code.
Koz
Anyway, I would create a roughly similar show to the one you want, save the project and cut and paste the code.
Koz
Re: Generating *.aup file
Tnx for comments.
I have downloaded source and added support for loading multiple trancription files from command line.
./audacity --wav=<wav_file> --trans=1.lab --trans=2.lab etc...
I have downloaded source and added support for loading multiple trancription files from command line.
./audacity --wav=<wav_file> --trans=1.lab --trans=2.lab etc...
-
kozikowski
- Forum Staff
- Posts: 69365
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Generating *.aup file
Are you in contact with the programmers? I think some of them hang out here:
http://audacityteam.org/forum/viewforum.php?f=20
Koz
http://audacityteam.org/forum/viewforum.php?f=20
Koz