tuanad121 / python-world Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Please Help to female audio file to male. Can it be done using this library?
May I ask how to use Harvest to obtain pitch data separately
I was trying to modify duration for a sub-duration of a signal, but realized that the synthesizer doesn't generate good quality output. I then noticed this line in the example:
https://github.com/tuanad121/Python-WORLD/blob/master/example/prosody.py#L44
and the modify_duration function, which seems to be exactly what I wanted:
https://github.com/tuanad121/Python-WORLD/blob/master/world/main.py#L177
Seems like the current code fails on this operation? Is there any understand why this is happening?
Hello
I wanted to experiment with the D4C measure. I have a question and a suggestion
I don't quite see the difference reason to have a d4cRequiem version. Could you explain what the Requiem means here ?
On a side note: I stumbled a bit when reading round_matlab :
This is a little bit confusing as the function does in fact not round it just returns a float array that if converted to int does matlab rounding. How about using this as replacement
def round_matlab(x):
return np.floor(x + 0.5*np.sign(x))
using pure numpy (no numba) this function is 3 times faster than your version and does indeed round.
Not everyone uses pycharm for all their python development
Thanks for your word.
As the titled, I can not find this two functions in world/main. How can I reproduce them line by line?
I am getting this error every time I try
ValueError: operands could not be broadcast together with shapes (144,) (2,). the code is as follows:
from scipy.io.wavfile import read as wavread
wav_path = '/content/thats-okay-1.wav'
fs, x_int16 = wavread(wav_path)
x = x_int16 / (2 ** 15 - 1)
from world import main
vocoder = main.World()
dat = vocoder.encode(fs, x,f0_method ='harvest')# f0_method='harvest', is_requiem=False)
Hi, I'm new to WORLD. IT is obviously an awesome software but I was wondering how I can use it in realtime, since it is the main point of the original paper. I'm doing some like this now, but the result is very choppy:
def apply(vocoder,fs,x_int16):
#fs, x_int16 = wavread(wav_path)
x = x_int16 / (2 ** 15 - 1)
# analysis
dat = vocoder.encode(fs, x,f0_method ='harvest')# f0_method='harvest', is_requiem=False) # use requiem analysis and synthesis
dat = vocoder.scale_pitch(dat, 1.5)
dat = vocoder.decode(dat)
return (dat['out'] * 2 ** 15).astype(np.int16)
i'm applying the function to 1024 bytes of the stream that I get. any ideas how I can improve?
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.