Search found 45 matches

by bigboss97
Wed Mar 03, 2021 10:36 pm
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

[Python scripting now correctly handles multi-byte characters returned from Audacity. (fixed) Super! Just can't wait to test that (continue my work at where I stopped). Oh that was even pre-pendamic. The other day, I was thinking... I had started something with audacity and given up, but what was t...
by bigboss97
Wed Mar 03, 2021 5:35 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

You're getting less on Windows than I do on Linux. Your version appears to be completely choking on the Unicode characters. For the current version of Audacity, it appears that the script pipe module does not support Unicode at all on Windows. I've written to the developers about this, but I'm not ...
by bigboss97
Fri Mar 27, 2020 11:23 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

steve wrote:
Tue Mar 03, 2020 4:45 pm
I'll write back if I get more information. Sorry I couldn't be more help.
Any update?
by bigboss97
Tue Mar 03, 2020 9:28 pm
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Thank you for your time 👍
by bigboss97
Tue Mar 03, 2020 11:51 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

0.452789 0.452789 hello 1.044898 1.044898 小苹果 https://lh3.googleusercontent.com/PCGBw-wRvzlJN5dBZ799daECQVhWLDcRIxBTP720OXEIkhX2pv5wRc0MJukX3qM56dTr2UFxmYXq3L9CxKChqUKtsfFfPauUef9OGd37omqsIMOS68xCX4AuKXJXwYIRZ56mzCMwtw=w715-h203-no Just like my old post (above), there are 4x zero bytes then followe...
by bigboss97
Tue Mar 03, 2020 11:47 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

5b200a20205b20302c0a202020205b200a2020202020205b20302e3333363638392c20302e3333363638392c202248656c6c6f22205d2c0a00000000633a5c7778776964676574732d332e312e315c696e636c7564655c77785c7374727661724261746368436f6d6d616e642066696e69736865643a204f4b0a0a [ [ 0, [ [ 0.336689, 0.336689, "Hello" ], [ 2.15946,...
by bigboss97
Tue Mar 03, 2020 11:33 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

What output do you get from two labels, each containing: 不要你 What output do you get from the "GetInfo" menu command with those labels? https://lh3.googleusercontent.com/j6-9H7xhTLC__kLIbxAsZ5TrBkWySrc-7bjIKvlFx-gMcOb9kPniuUoIb4nBGrR-Qf8wZtY4TXGBzYppusImm8AOhIdrLINAkScPnoXVbZQdeUwOgn5oSWpFcD_Nh--9He...
by bigboss97
Tue Mar 03, 2020 2:59 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

Following pipe_test.py code adapted: WRITE_NAME = '\\\\.\\pipe\\ToSrvPipe' READ_NAME = '\\\\.\\pipe\\FromSrvPipe' EOL = '\r\n\0' This is my output. You still can see 4 zero bytes followed by the path "633a5c777877696467...", just like the last time I tried. C:\tmp>python get-labels.py Send: >>> GetI...
by bigboss97
Sun Mar 01, 2020 12:12 pm
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

I modified the code and write the output to a binary file: write_json = open('labels.json', 'wb') *snip* while (last != b'\n' or line != b'\n'): last = line line = read_pipe.read(1) print(line.hex(), end=' ') write_json.write( line) It still shows me the wxwidgets path: 0.452789 0.452789 hello 1.044...
by bigboss97
Sun Mar 01, 2020 11:53 am
Forum: Windows
Topic: Convert Label text to LRC file
Replies: 81
Views: 7833

Re: Convert Label text to LRC file

steve wrote:
Sat Feb 29, 2020 1:25 pm
Which version of Python are you using?
Python 3.7.5 on Windows 10
Audacity 2.3.3