Skip to content

Commit

Permalink
Formal release version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorise committed Feb 15, 2021
1 parent 846ead4 commit a825684
Show file tree
Hide file tree
Showing 40 changed files with 80 additions and 109 deletions.
21 changes: 4 additions & 17 deletions doc/readme_ENG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,15 @@ WORLD is free software for high-quality speech analysis, manipulation and synthe
It can estimate Fundamental frequency (F0), aperiodicity and spectral envelope
and also generate the speech like input speech with only estimated parameters.

2. Usage
Please see test.cpp.

(1) F0 estimation by Dio()
(1-1) F0 is refined by StoneMask() if you need more accurate result.
(2) Spectral envelope estimation by CheapTrick()
(3) Aperiodicity estimation by D4C().
(4) You can manipulation these parameters in this phase.
(5) Voice synthesis by Synthesis().

English document is written by a Japanese poor editor.
I willingly accept your kind indication on my English text.

3. License
1. License
WORLD is free software, and you can redistribute it and
modify it under the terms of the modified BSD License.
Please see copying.txt for more information.
You can use this program for business, while I hope that
you contact me after you developed software with WORLD.
This information is crucial to obtain a grant to develop WORLD.

4. Contacts
2. Contacts
WORLD was written by Masanori Morise.
You can contact him via e-mail (mmorise [at] yamanashi.ac.jp)
or Twitter: @m_morise
E-mail: mmorise [at] meiji.ac.jp
Twitter: @m_morise
15 changes: 1 addition & 14 deletions doc/readme_JP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,6 @@

WORLD�͏C��BSD���C�Z���X�ł��D

--------------------------------------------------------------------
��{�I�ȍl�����F
�����́C�����Ɖ��F�ɂ��\���ł���Ƃ����܂��D
�ŐV�łł́C������F0�C��������w�W�C�X�y�N�g����ŕ\�����܂��D
����́CVocoder�Ɠ���̍l�����ł��D

(1) Dio() �ɂ�艹���̊�{���g���𐄒�
(1-1) �K�v�ɉ�����StoneMask() �ɂ���{���g����␳
(2) CheapTrick() �ɂ�艹���̃X�y�N�g����𐄒�
(3) D4C() �ɂ�艹���̔�������w�W�𐄒�
(4) �K�v�ɉ����ĉ����≹�F�̐���
(5) Synthesis() �ɂ�艹��������

--------------------------------------------------------------------
���肢�F
WORLD�𗘗p�����ꍇ�́C���p/�񏤗p�Ɋւ�炸�X����
Expand All @@ -25,5 +12,5 @@ WORLD
�����̌��������́C����WORLD�𔭓W�����邽�߂ɗ��p���܂��D

��҂֘A��
mmorise [at] yamanashi.ac.jp
mmorise [at] meiji.ac.jp
Twitter: @m_morise
4 changes: 2 additions & 2 deletions examples/codec_test/apanalysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/05/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates the aperiodicity from an audio file
Expand Down
4 changes: 2 additions & 2 deletions examples/codec_test/f0analysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/29
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates F0 from an audio file and saves it to a file.
Expand Down
4 changes: 2 additions & 2 deletions examples/codec_test/readandsynthesis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/29
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example reads three parameters and generates a waveform from them.
Expand Down
4 changes: 2 additions & 2 deletions examples/codec_test/spanalysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates the spectral envelope from an audio file
Expand Down
4 changes: 2 additions & 2 deletions examples/parameter_io/apanalysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/12
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates the aperiodicity from an audio file
Expand Down
4 changes: 2 additions & 2 deletions examples/parameter_io/f0analysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/12
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates F0 from an audio file and saves it to a file.
Expand Down
4 changes: 2 additions & 2 deletions examples/parameter_io/readandsynthesis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/12
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example reads three parameters and generates a waveform from them.
Expand Down
4 changes: 2 additions & 2 deletions examples/parameter_io/spanalysis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/12
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Summary:
// This example estimates the spectral envelope from an audio file
Expand Down
4 changes: 2 additions & 2 deletions src/cheaptrick.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Spectral envelope estimation on the basis of the idea of CheapTrick.
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/codec.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/05/09
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Coder/decoder functions for the spectral envelope and aperiodicity.
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/common.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/29
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// common.cpp includes functions used in at least two files.
// (1) Common functions
Expand Down
4 changes: 2 additions & 2 deletions src/d4c.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Band-aperiodicity estimation on the basis of the idea of D4C.
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/dio.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2019/04/11
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// F0 estimation based on DIO (Distributed Inline-filter Operation).
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/fft.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2018/01/21
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// This file represents the functions about FFT (Fast Fourier Transform)
// implemented by Mr. Ooura, and wrapper functions implemented by M. Morise.
Expand Down
4 changes: 2 additions & 2 deletions src/harvest.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2018/01/21
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// F0 estimation based on Harvest.
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/matlabfunctions.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Matlab functions implemented for WORLD
// Since these functions are implemented as the same function of Matlab,
Expand Down
4 changes: 2 additions & 2 deletions src/stonemask.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// F0 estimation based on instantaneous frequency.
// This method is carried out by using the output of Dio().
Expand Down
4 changes: 2 additions & 2 deletions src/synthesis.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2018/12/13
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Voice synthesis based on f0, spectrogram and aperiodicity.
// forward_real_fft, inverse_real_fft and minimum_phase are used to speed up.
Expand Down
4 changes: 2 additions & 2 deletions src/synthesisrealtime.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2018/12/13
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// Voice synthesis based on f0, spectrogram and aperiodicity.
// This is an implementation for real-time applications.
Expand Down
4 changes: 2 additions & 2 deletions src/world/cheaptrick.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_CHEAPTRICK_H_
#define WORLD_CHEAPTRICK_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/codec.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2017 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/29
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_CODEC_H_
#define WORLD_CODEC_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/common.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/04/29
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_COMMON_H_
#define WORLD_COMMON_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/constantnumbers.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2019/04/11
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// This header file only defines constant numbers used for several function.
//-----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/world/d4c.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_D4C_H_
#define WORLD_D4C_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/dio.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_DIO_H_
#define WORLD_DIO_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/fft.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// These functions and variables are defined to use FFT as well as FFTW
// Please see fft.cpp to show the detailed information
Expand Down
4 changes: 2 additions & 2 deletions src/world/harvest.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/04
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_HARVEST_H_
#define WORLD_HARVEST_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/matlabfunctions.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_MATLABFUNCTIONS_H_
#define WORLD_MATLABFUNCTIONS_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/stonemask.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_STONEMASK_H_
#define WORLD_STONEMASK_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/synthesis.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/03/04
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_SYNTHESIS_H_
#define WORLD_SYNTHESIS_H_
Expand Down
4 changes: 2 additions & 2 deletions src/world/synthesisrealtime.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/05/09
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//-----------------------------------------------------------------------------
#ifndef WORLD_SYNTHESISREALTIME_H_
#define WORLD_SYNTHESISREALTIME_H_
Expand Down
5 changes: 1 addition & 4 deletions styleguide.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
WORLD follows the Google C++ Style Guide
Japanese:
http://www.textdrop.net/google-styleguide-ja/cppguide.xml
English:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
https://github.com/google/styleguide

However, there are several exceptions about variable names.
Since these names are generally used in the acoustic signal processing,
Expand Down
4 changes: 2 additions & 2 deletions test/ctest.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//-----------------------------------------------------------------------------
// Copyright 2012 Masanori Morise
// Author: mmorise [at] yamanashi.ac.jp (Masanori Morise)
// Last update: 2017/02/01
// Author: mmorise [at] meiji.ac.jp (Masanori Morise)
// Last update: 2021/02/15
//
// test.exe input.wav outout.wav f0 spec
// input.wav : Input file
Expand Down
Loading

0 comments on commit a825684

Please sign in to comment.