gillesdegottex / pulsemodel Goto Github PK
View Code? Open in Web Editor NEWPulse Model vocoder
License: Apache License 2.0
Pulse Model vocoder
License: Apache License 2.0
Line 54 in ecd3f1b
I got the following errors when run the copy-synthesis with the "awb_arctic_a0040.wav" example.
Traceback (most recent call last):
File "synthesis.py", line 374, in
main(sys.argv[1:])
File "synthesis.py", line 371, in main
synthesizef(args.fs, shift=args.shift, dftlen=args.dftlen, ff0=args.f0, flf0=args.logf0, fspec=args.spec, ffwlspec=args.fwlspec, ffwcep=args.fwcep, fmcep=args.mcep, fnm=args.nm, ffwnm=args.fwnm, nm_cont=args.nm_cont, fpdd=args.pdd, fmpdd=args.mpdd, fsyn=args.synth, verbose=args.verbose)
File "synthesis.py", line 340, in synthesizef
syn = synthesize(fs, f0s, SPEC, NM=NM, nm_cont=nm_cont, verbose=verbose)
File "synthesis.py", line 178, in synthesize
if winlen>dftlen: raise ValueError('winlen({})>dftlen({})'.format(winlen, dftlen)) # pragma: no cover
ValueError: winlen(801)>dftlen(118)
I got the f0 spec and nm features with the analysis,py (i'm sure pyworld is used),
analysisf("awb_arctic_a0040.wav",
shift=args.shift,
dftlen=args.dftlen,
finf0txt=args.inf0txt, f0_min=args.f0_min, f0_max=args.f0_max, ff0="awb_arctic_a0040.f0", f0_log=args.f0_log,
finf0bin=args.inf0bin,
fspec="awb_arctic_a0040.spec", spec_mceporder=59, spec_fwceporder=args.spec_fwceporder, spec_nbfwbnds=args.spec_nbfwbnds,
fpdd="pdd/"+fileid+".pdd", pdd_mceporder=59,
fnm="awb_arctic_a0040.nm", nm_nbfwbnds=None,
preproc_fs=args.preproc_fs, preproc_hp=args.preproc_hp,
verbose=args.verbose)
and run the synthesis command as
python synthesis.py awb_arctic_a0040.resyn.wav --f0 awb_arctic_a0040.f0 --spec awb_arctic_a0040.spec --nm awb_arctic_a0040.nm
Please help. Thx.
Dear all,
Does this type of vocoder considered as a source filter model or sinusoidal model?
Thank you very much in advance
$ make
[...]
Warning: Extension name 'sinusoidal' does not match fully qualified name 'pulsemodel.sigproc.sinusoidal' of 'sinusoidal.pyx'
[...]
Hi, it's not an issue. ^^
You can find the implementation here: https://github.com/tuanad121/Python-WORLD. It has Python version of CheapTrick for spectrogram analysis.
Line 283 in ecd3f1b
This might happens on some machines when running the tests:
Traceback (most recent call last):
File "../analysis.py", line 310, in
, verbose=args.verbose)
File "../analysis.py", line 262, in analysisf
PDD = analysis_pdd(wav, fs, f0s, dftlen=dftlen, verbose=verbose)
File "../analysis.py", line 117, in analysis_pdd
PDD = sp.sinusoidal.estimate_pdd(sinsps, f0sps, fs, pdd_sin_nbperperiod, dftlen, outFscale=True, rmPDtrend=True, extrapDC=True)
File "pulsemodel/sigproc/sinusoidal.pyx", line 506, in pulsemodel.sigproc.sinusoidal.estimate_pdd (sinusoidal.c:16028)
ValueError: ndarray is not C-contiguous
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.