Search found 45 matches

by bigboss97
Mon Mar 22, 2021 11:44 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Thanks, this is exactly what I need. Now I can Use NewLabelTrack: to insert a new track, use Select: to set the cursor and then AddLabel: . One thing I couldn't figure out, the number of tracks. I've to ensure that I'm selecting the right (last) track to add the labels. I love the pipeclient. Now I ...
by bigboss97
Mon Mar 22, 2021 9:59 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Another question...
'SetLabel:' modifies existing labels. Is there a way to insert new label through pipe?
by bigboss97
Sun Mar 21, 2021 11:24 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

What does the '1' mean? [ [ 1, [ [ 0, 0, "ccc" ], [ 1.55871, 1.55871, "aa" ], [ 3.26586, 3.26586, "Hello" ] ] ] ] My understanding, there's no newline in labels. For my purpose (label2lrc), I want to have multiple lines. My idea is, allow user to add a label with special characters, e.g.'\n' Then th...
by bigboss97
Sun Mar 21, 2021 11:01 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

I took the loop from pipeclient and added it to the old script. Now it works :) def do_command(command): """Send one command, and return the response.""" send_command(command) reply='' start = time.time() while reply == '': time.sleep(0.1) # allow time for reply if time.time() - start > 5: reply = '...
by bigboss97
Sun Mar 21, 2021 10:32 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Great! pipeclient works and the unicode issue has been resolved. Now I have to update my old script for v3. Thank you so much for your very patient help. Enter command or 'Q' to quit: GetInfo: Type=Labels Format=JSON Sending command: GetInfo: Type=Labels Format=JSON [ [ 1, [ [ 0, 0, "Hello" ], [ 1.3...
by bigboss97
Sun Mar 21, 2021 12:46 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Where can I find pipeclient.py?
by bigboss97
Sun Mar 21, 2021 12:08 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Just tried:
do_command('SetLabel: Text=Hello LabelIndex=1 Start=2 End=3')
that works.
by bigboss97
Sat Mar 20, 2021 11:49 pm
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

steve wrote:
Sat Mar 20, 2021 1:53 pm
Can you get any commands to work from Python? (for example, try sending "Play:")
"Play:" works, confirmed.
by bigboss97
Sat Mar 20, 2021 12:36 pm
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Now that Audacity 3.0.0 has been released, it's probably best to resume your Python work with the release version. See: https://www.audacityteam.org/download/windows/ Got the same result on v3 release. Do I have to do something under Extra menu which I've done on my v2? PS E:\work\python\Audacity> ...
by bigboss97
Sat Mar 20, 2021 2:07 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

If you feel comfortable doing so, there's a "release candidate" for Audacity 3.0.0 available for testing. See: https://forum.audacityteam.org/viewtopic.php?f=49&t=116221 I got RC6 portable. I haven't done that for such long that I'm not sure whether I've missed any step :lol: I enabled mod-script-p...