Coder Social home page Coder Social logo

shifter's People

Contributors

k2kobayashi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

shifter's Issues

Run faster

Current implement, Shifter takes around 10s for a speech waveform. It should be shortened. In this issue, we should find where the code takes a long time and improve it.

bug in transform(......)

I got a corruption when using function: f0trans.transform(....)

mycode is like below:

def changePitch(pitch_r, sample_data, sample_rate=16000):
    # F0 transoformation based on WSOLA and resampling
    f0trans = Shifter(sample_rate, pitch_r, frame_ms=20, shift_ms=10)
    transformed = f0trans.transform(sample_data)
    return transformed

--size of sample_data is 416600,pitch_r is 0.9

Error message:
Traceback (most recent call last):
File "audio_process.py", line 269, in
data = audio_process.changePitch(pitch_ratio, data, sample_rate)
File "audio_process.py", line 230, in changePitch
transformed = f0trans.transform(sample_data)
File "audio_process.py", line 59, in transform
wsolaed = self.duration_modification(data)
File "audio_process.py", line 112, in duration_modification
wsolaed[outp:outp + self.sl] = spdata + epdata
ValueError: could not broadcast input array from shape (160) into shape (60)

Implement setup script

In order to use Shifter as a command line tool, it is necessary to implement an installation script for Linux and Mac environment. In this issue, we will modify the setup.py and requirements.txt to achieve it.

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.