Comments (8)
When trying to use LSPDF after applying lpc2lsp, I keep getting "ParameterError: Audio buffer is not finite everywhere". Is this the bug you're referring to?
If so, has there been any progress in fixing it? Or, alternatively, are there plans to implement an lsp2lpc function?
Thanks so much!
from pysptk.
No, as I remember correctly it wasn't a ParameterError. Could you paste your code so that I can reproduce the issue? For now there is no plan to implement lsp2lpc from scratch.
from pysptk.
Tests failure is here:
pysptk/tests/test_synthesis.py
Lines 217 to 219 in 0977531
from pysptk.
Thanks for the quick response!
I modified your test code and inserted it at the end of the speech analysis notebook. It now results in an AssertionError.
from pysptk.synthesis import LSPDF
order = 10
lpc = np.apply_along_axis(pysptk.lpc, 1, frames, order)
# make sure lsp has loggain
lsp = np.apply_along_axis(pysptk.lpc2lsp, 1, lpc)
lsp[:, 0] = np.log(lsp[:, 0])
# synthesis
synthesizer = Synthesizer(LSPDF(order), hop_length)
y = synthesizer.synthesis(source_excitation, lsp)
assert np.all(np.isfinite(y))
AssertionError Traceback (most recent call last)
<ipython-input-42-0aa71a6f3baa> in <module>()
10 synthesizer = Synthesizer(LSPDF(order), hop_length)
11 y = synthesizer.synthesis(source_excitation, lsp)
---> 12 assert np.all(np.isfinite(y))
AssertionError:
from pysptk.
Yes, this is what I was trying to solve.
from pysptk.
Ok, at least we're on the same page :)
The problem seems to be for orders out of the range [20,25] as well.
On Tue, May 24, 2016 at 4:02 PM, Ryuichi Yamamoto [email protected]
wrote:
Yes, this is what I was trying to solve.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#22 (comment)
from pysptk.
Is that the same issue you see before? This is not a ParameterError.
from pysptk.
Yes, sorry. I got a ParameterError when I tried to plot the result using
waveplot.
On Tue, May 24, 2016 at 5:01 PM, Ryuichi Yamamoto [email protected]
wrote:
Is that the same issue you see before? This is not a ParameterError.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#22 (comment)
from pysptk.
Related Issues (20)
- v1.0.0
- pysptk setup error HOT 3
- Test for python 3.7
- mgcep with itype != 0 HOT 5
- difference between pysptk.sp2mc AND pyworld.code_spectral_envelope HOT 11
- Failing build with readthedocs on external package HOT 4
- Getting the error 'pysptk' has no attribute 'sptk'
- f0 and pitch HOT 2
- The env var used to determine the build tools path for compiling c stuff HOT 1
- install failed on python3.6 HOT 2
- Questions regarding pitch estimators
- theq() : determinant of the normal matrix is too small! HOT 6
- --wenum-conversion error: implicit conversion from enumeration type 'enum __pyx_t_6pysptk_5_sptk_Window' to different enumeration type 'Window' (aka 'enum _Window')
- RAPT is giving all zeros HOT 1
- About MCEP Function HOT 1
- CI is broken HOT 2
- Numpy<v1.20.0 requirement causing problems in Python 3.10 HOT 5
- PYPI install broken HOT 5
- Add wheels to pypi HOT 2
- Errors building installing 0.2.0 via pip install HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysptk.