asuni / wavelet_prosody_toolkit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
python3 setup.py install --user
Traceback (most recent call last):
File "setup.py", line 6, in
from sphinx.setup_command import BuildDoc
ImportError: No module named sphinx.setup_command
pip3 install sphinx
ok
python3 setup.py install --user
ok
python3 wavelet_prosody_toolkit/wavelet_gui.py
Traceback (most recent call last):
File "wavelet_prosody_toolkit/wavelet_gui.py", line 21, in
import yaml
ModuleNotFoundError: No module named 'yaml'
pip3 install pyyaml
ok
python3 wavelet_prosody_toolkit/wavelet_gui.py
ok
pip3 install pyreaper
errors
(checking r9y9/pyreaper#6 )
ARCHFLAGS="-arch x86_64" pip3 install pyreaper --no-cache-dir -v
ok
Hi,
when I run the prosody_labeller, I cannot change the tier from words to phones.
it seems that the
labels:
anotation_tier: "phones"
from the configuration is ignored.
From the gui I can annotate with phoneme tiers.
Add a proper message area in the gui and show log message in it
Hi, I meet a problem. When I run the tool by going to the root directory of the program in the terminal, and starting by:
python3
wavelet_prosody_toolkit/wavelet_gui.pythen, I select directory with speech and transciption files in
samples/`, but I get an error:
wavelet_prosody_toolkit/wavelet_gui.py:1026: UserWarning: FixedFormatter should only be used together with FixedLocator
self.ax[2].set_yticklabels(["sum", "dur", "en", "f0"])
Traceback (most recent call last):
File "wavelet_prosody_toolkit/wavelet_gui.py", line 674, in onWavChanged
self.analysis()
File "wavelet_prosody_toolkit/wavelet_gui.py", line 1036, in analysis
self.ax[3].set_yticklabels(np.around(self.freqs[:-1],2).astype('str'))
File "/home/mcc/project/wavelet_prosody_toolkit/venv/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 63, in wrapper
return get_method(self)(*args, **kwargs)
File "/home/mcc/project/wavelet_prosody_toolkit/venv/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 451, in wrapper
return func(*args, **kwargs)
File "/home/mcc/project/wavelet_prosody_toolkit/venv/lib/python3.8/site-packages/matplotlib/axis.py", line 1793, in _set_ticklabels
return self.set_ticklabels(labels, minor=minor, **kwargs)
File "/home/mcc/project/wavelet_prosody_toolkit/venv/lib/python3.8/site-packages/matplotlib/axis.py", line 1714, in set_ticklabels
raise ValueError(
ValueError: The number of FixedLocator locations (35), usually from a call to set_ticks, does not match the number of ticklabels (34).
Can u help me, thanks
Hi I am using this toolkit to analyze a speech corpus. The software worked amazingly well on individual files. However, whenever I tried to click the "process all files" button, I got the following error. I tired this with the samples folder and my own data and the errors were always the same.
configuration = apply_configuration(configuration, defaultdict(lambda: False, yaml.load(f)))
20
Traceback (most recent call last):
File "/mnt/exp/wavelet_prosody_toolkit-master/wavelet_prosody_toolkit/wavelet_gui.py", line 684, in processAll
feats.append("%0.5f" % p[1])
IndexError: string index out of range
Aborted (core dumped)
If you happen to have some time, could you give me some hints as to how to solve this problem? Thanks very much. My Python version is 3.6 and everything works well except this "process all files" function.
(base) KNG-H-IM-27-2011:~ HK$ pip install -e
Usage:
pip install [options] [package-index-options] ...
pip install [options] -r [package-index-options] ...
pip install [options] [-e] ...
pip install [options] [-e] ...
pip install [options] <archive url/path> ...
-e option requires 1 argument
(base) KNG-H-IM-27-2011:~ HK$ export PATH=/.local/bin:$PATH HK$ wavelet_gui
(base) KNG-H-IM-27-2011:
-bash: wavelet_gui: command not found
Tons of warning are produced when autosummary is activated as it seems to try to find the documentation from pyqt but failed to do it. See if we can ignore inherited members
Hello, I want to install this tool and follow your installation instructions. But I don’t understand what you mean by "To be able to run the application globally, the following line should be added to your shell profile file (~/.bashrc or ~/.profile in general): ". I want to know if there is one less sentence written here or which line should be added to my shell profile? Could u help me? Thanks!
question.docx
Move all hardcoded values to a constant files
Hi! I've installed the package successfully (MacOS), opened the GUI successfully, but when I try to upload a file - python crashes and I get the following error:
ValueError: cannot reshape array of size 0 into shape (0,newaxis)
Any idea what might cause that?
Thanks!
Add and validate configuration file support in the command line
Hi,
first of all thanks for the great tool.
I am running
python3 cwt_analysis_synthesis.py {item} {out} --config configs/libritts_boundary.yaml
to produce results from raw .wav and textgrids.
expecting a similar output to the graphical interface, but in the output files I get only a long list of numbers without words next to them (textGrid files are in the same folder of the wavs, it works well in the graphical interface):
Graphical interface output:
T6B09203415 0.450 0.940 that 2.405 1.065
T6B09203415 1.050 1.340 said 0.745 0.085
T6B09203415 1.340 1.970 slightly 0.728 1.317
T6B09203415 2.200 2.390 is 0.357 0.000
T6B09203415 2.390 2.580 what 1.901 0.000
T6B09203415 2.580 2.770 i 0.097 0.513
T6B09203415 2.770 2.960 was -0.018 0.000
T6B09203415 2.960 3.530 thinking 0.725 1.00
CLI output
-0.000049,-0.000102,-0.000204,-0.000409,-0.002442
-0.000086,-0.000151,-0.000276,-0.000511,-0.002790
-0.000096,-0.000183,-0.000333,-0.000602,-0.003124
-0.000104,-0.000198,-0.000371,-0.000676,-0.003431
-0.000099,-0.000202,-0.000392,-0.000730,-0.003705
-0.000104,-0.000203,-0.000400,-0.000765,-0.003939
-0.000099,-0.000202,-0.000403,-0.000785,-0.004131
-0.000103,-0.000202,-0.000403,-0.000794,-0.004284
-0.000098,-0.000201,-0.000401,-0.000797,-0.004399
-0.000102,-0.000200,-0.000399,-0.000796,-0.004483
-0.000097,-0.000199,-0.000397,-0.000793,-0.004539
-0.000101,-0.000198,-0.000395,-0.000789,-0.004573
-0.000096,-0.000196,-0.000392,-0.000784,-0.004589
-0.000100,-0.000195,-0.000390,-0.000779,-0.004591
-0.000094,-0.000193,-0.000387,-0.000773,-0.004582
-0.000098,-0.000192,-0.000384,-0.000768,-0.004564
-0.000093,-0.000190,-0.000381,-0.000762,-0.004541
-0.000097,-0.000189,-0.000378,-0.000755,-0.004512
-0.000091,-0.000187,-0.000374,-0.000749,-0.004481
-0.000095,-0.000186,-0.000371,-0.000742,-0.004447
-0.000089,-0.000184,-0.000368,-0.000735,-0.004411
-0.000093,-0.000182,-0.000364,-0.000728,-0.004375
-0.000088,-0.000180,-0.000361,-0.000722,-0.004338
-0.000092,-0.000179,-0.000357,-0.000715,-0.004302
-0.000086,-0.000177,-0.000354,-0.000708,-0.004266
-0.000090,-0.000175,-0.000350,-0.000702,-0.004232
-0.000084,-0.000173,-0.000347,-0.000695,-0.004198
-0.000088,-0.000172,-0.000344,-0.000689,-0.004167
-0.000083,-0.000170,-0.000341,-0.000684,-0.004138
-0.000087,-0.000169,-0.000338,-0.000678,-0.004112
-0.000081,-0.000168,-0.000336,-0.000674,-0.004088
-0.000086,-0.000167,-0.000334,-0.000669,-0.004069
-0.000080,-0.000166,-0.000332,-0.000666,-0.004053
-0.000085,-0.000165,-0.000330,-0.000663,-0.004043
-0.000080,-0.000164,-0.000329,-0.000661,-0.004037
-0.000084,-0.000164,-0.000329,-0.000660,-0.004036
and in the config I specify word level.
Also, it would be great to have a way of processing a whole folder which seems to me not to be there.
See to include directly _modules/modules.rst
the pyreaper is troublesome, setup should try to install it but if fails, things should not crash but just fall back to using my pitch tracker
Hi! For some reason I cannot process a batch of files in a directory without my python crashing.
Is there a way to do this via code, to run files in a loop (preferably within python)?
Thanks!
Hi, I'm trying to analysis speech in Chinese with Chinese character transcriptions annotated in textgrid. It seems that the program does not recognize tiers encoded in UTF-16, which Praat uses to encode everything with special characters. After converting the textgrids into UTF-8, annotation tiers are able to show but Chinese characters are displayed as squares. Any chance to customize the display? Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.