Giter Club home page Giter Club logo

sptk's Introduction

SPTK 4.0 (Under Construction)

The Speech Signal Processing Toolkit (SPTK) is a software for speech signal processing tools for UNIX environments.

Documentation

See this page for a reference manual.

Requirements

  • GCC 4.8+

Installation

The latest release can be installed through Git:

git clone https://github.com/sp-nitech/SPTK.git
cd SPTK
make

Then the SPTK commands can be used by adding SPTK/bin/ directory to the PATH environment variable. If you would like to use a part of the SPTK library, please link the static library SPTK/lib/libsptk.a.

Examples

The SPTK provides some examples. Go to an example directory and execute run.sh, e.g.,

cd egs/analysis_synthesis/mgc
./run.sh

The below is a simple example that decreases the volume of input audio. You may need to install sox command on your system.

sox -t wav input.wav -c 1 -t s16 -r 16000 - | \
   x2x +sd | sopr -m 0.5 | x2x +ds -r | \
   sox -c 1 -t s16 -r 16000 - -t wav output.wav

Changes from SPTK3

  • Input and output types are changed to double from float
  • New features:
    • Provide signal processing classes written in C++
    • Support conversion from/to log area ratio (lar2par and par2lar)
    • Support nonrecursive MLPG (mlpg)
    • Support pitch extraction by DIO used in WORLD (pitch)
    • Entropy calculation (entropy)
    • Huffman coding (huffman, huffman_encode, and huffman_decode)
    • Subband decomposition (pqmf and ipqmf)
    • Mel-filter-bank extraction (fbank)
  • Obsoluted commands:
    • acep, agcep, and amcep -> amgcep
    • bell ->
    • c2sp -> mgc2sp
    • cat2 and echo2 ->
    • da ->
    • ds, us, us16, and uscd -> sox
    • gc2gc -> mgc2mgc
    • gcep, mcep, and uels -> mgcep
    • glsadf, lmadf, and mlsadf -> mglsadf
    • ivq -> imsvq
    • lsp2sp -> mglsp2sp
    • mgc2mgclsp and mgclsp2mgc -> mgc2mgc
    • raw2wav, wav2raw, wavjoin, and wavsplit -> sox
    • smcep ->
    • vq -> msvq
  • Separated commands:
    • dtw -> dtw and dtw_merge
    • mglsadf -> mglsadf and imglsadf
    • train -> train and mseq
    • ulaw -> ulaw and iulaw
    • vstat -> vstat and median
  • Renamed commands:
    • c2ir -> c2mpir
    • mgclsp2sp -> mglsp2sp

Relationship at a glance

diagram

Authors

Contributors

License

This software is released under the Modified BSD license - see LICENSE file for details.

sptk's People

Contributors

sp-nitech-admin avatar taka19 avatar takenori-y avatar

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.