Skip to content

run copy_syn error #7

@KnowBetterHelps

Description

@KnowBetterHelps

when I run demo_copy_synthesis_lossless.py or demo_copy_synthesis_low_dim.py or 2_batch_wave_generation.py I always get the following error: A value in x_new is above the interpolation range

Analysing.....................................................
Extracting epochs with REAPER...
Residual symmetry: P:2120.314453 N:1149.693604 MEAN:0.606241
Inverting signal
Synthesising.................................................
Traceback (most recent call last):
File "./demo_copy_synthesis_low_dim.py", line 74, in
v_syn_sig = mp.synthesis_from_compressed(m_mag_mel_log, m_real_mel, m_imag_mel, v_lf0, fs, fft_len)
File "/home/huawei/magphase-master/src/magphase.py", line 530, in synthesis_from_compressed
m_real_mel = f_intrp_real(np.arange(ncoeffs_mag))
File "/usr/local/lib/python2.7/dist-packages/scipy/interpolate/polyint.py", line 79, in call
y = self._evaluate(x)
File "/usr/local/lib/python2.7/dist-packages/scipy/interpolate/interpolate.py", line 498, in _evaluate
out_of_bounds = self._check_bounds(x_new)
File "/usr/local/lib/python2.7/dist-packages/scipy/interpolate/interpolate.py", line 528, in _check_bounds
raise ValueError("A value in x_new is above the interpolation "
ValueError: A value in x_new is above the interpolation range.

and I found that labs_var_rate/ file is always empty, can you give me some help? ^_^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions