Coder Social home page Coder Social logo

i am confused about this tool about opensvip HOT 5 CLOSED

lvZic avatar lvZic commented on August 17, 2024
i am confused about this tool

from opensvip.

Comments (5)

yqzhishen avatar yqzhishen commented on August 17, 2024

Opencpop contains raw wav files so you can simply use pitch extraction algorithms to get the f0

from opensvip.

lvZic avatar lvZic commented on August 17, 2024

Opencpop contains raw wav files so you can simply use pitch extraction algorithms to get the f0

thanks for reply.
So the wav file of oencpop used to extract F0 is the human voice? not the melody. I should use the human voice to get F0. is it right?

from opensvip.

yqzhishen avatar yqzhishen commented on August 17, 2024

yes

from opensvip.

lvZic avatar lvZic commented on August 17, 2024

yes

i used librosa to get F0:
y, sr = librosa.load(filename, sr=None)
f0_new = librosa.yin(y[:], fmin=librosa.note_to_hz('A1'), fmax=librosa.note_to_hz('G7'), sr=sr)
f0_new[np.isnan(f0_new)] = 0

param['f0_seq'] = f0_new
param['f0_timestamp'] = str(2048 * 1.0 / sr)

however, the final wav file sounds weird, which means the F0 is not fit.

from opensvip.

yqzhishen avatar yqzhishen commented on August 17, 2024

See https://github.com/openvpi/DiffSinger/blob/d79ce3fe8ac8a0832202ce8fe1e48cce17e64aa6/utils/binarizer_utils.py#L12 and be careful about f0_timestep.

I will close this issue since it's not related to this project.

from opensvip.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.