Search found 5 matches

by ennoausberlin
Tue Apr 27, 2021 8:31 pm
Forum: Macros and Scripting
Topic: Creating two label tracks for a given wav file
Replies: 9
Views: 397

Re: Creating two label tracks for a given wav file

Hello Steve I will try your suggested solution tomorrow. I hope it works that way, but looks not very intuitive to me. In the audacity git repo are some named pipe scripts to create screenshots for documentation. One of them is a label script that creates labels like Intro or Chopin. I do not see a ...
by ennoausberlin
Tue Apr 27, 2021 11:05 am
Forum: Macros and Scripting
Topic: Creating two label tracks for a given wav file
Replies: 9
Views: 397

Re: Creating two label tracks for a given wav file

Hello Steve, Yes, because this is the log from the first label track I add. And even this does not work. If I omit the Label= parameter it works well for a single label track. Did you try the snippet? The helper methods like doCommand - I did not post - are from pipeclient As you can see, the label ...
by ennoausberlin
Tue Apr 27, 2021 10:08 am
Forum: Macros and Scripting
Topic: Creating two label tracks for a given wav file
Replies: 9
Views: 397

Re: Creating two label tracks for a given wav file

Hello Steve This is the input file 0 37.171186 1 37.171186 38.058502 0 38.058502 154.308178 1 154.308178 155.664585 0 155.664585 255.32089 1 255.32089 255.886059 0 255.886059 261.7 1 and this is the corresponding output Last index 0 Send: >>> NewLabelTrack Rcvd: <<< BatchCommand finished: OK Send: >...
by ennoausberlin
Tue Apr 27, 2021 6:04 am
Forum: Macros and Scripting
Topic: Creating two label tracks for a given wav file
Replies: 9
Views: 397

Re: Creating two label tracks for a given wav file

But if I want to load the second one additionally The first label track is messed up and the second label track has empty text labels and start and end is always the full span. The label index is for "all labels", not "labels in current track". So if your first label track has 8 labels (index 0 to ...
by ennoausberlin
Mon Apr 26, 2021 3:03 pm
Forum: Macros and Scripting
Topic: Creating two label tracks for a given wav file
Replies: 9
Views: 397

Creating two label tracks for a given wav file

Hello, I have two label tracks as tab separated text files for a given .wav file. I load the wav file using commands over named pipe and additional I can load one of the label tracks by sending addLabel and setLabel: from inside a loop. That works. But if I want to load the second one additionally T...