merlin logo

merlin

CSTR-Edinburgh/merlin

Neural Network based Speech Synthesis System

GraphCanon updated today · GitHub synced today

1.3k
Stars
431
Forks
207
Open issues
99
Watchers
6y
Last push
Python Apache-2.0Created Aug 10, 2016

Trust & integrity

Full report
Maintenance
Dormant (2321d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Organization account
As of today · Source: github_public_v1
Security (OSV)
594 low (594 low)
As of today · Source: osv@v1

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

Merlin is a toolkit for building Deep Neural Network models for statistical parametric speech synthesis. It uses Python and relies on Theano, with optional support for TensorFlow and Keras.

Capability facts

Languages
python

Source: github.language · Jul 12, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

The system is written in Python and relies on the Theano numerical computation library.
Source link

Tags

README

Merlin: The Neural Network (NN) based Speech Synthesis System

This repository contains the Neural Network (NN) based Speech Synthesis System
developed at the Centre for Speech Technology Research (CSTR), University of Edinburgh.

Merlin is a toolkit for building Deep Neural Network models for statistical parametric speech synthesis. It must be used in combination with a front-end text processor (e.g., Festival) and a vocoder (e.g., STRAIGHT or WORLD).

The system is written in Python and relies on the Theano numerical computation library.

Merlin comes with recipes (in the spirit of the Kaldi automatic speech recognition toolkit) to show you how to build state-of-the art systems.

Merlin is free software, distributed under an Apache License Version 2.0, allowing unrestricted commercial and non-commercial use alike.

Read the documentation at cstr-edinburgh.github.io/merlin.

Merlin is compatible with: Python 2.7-3.6.

Installation

Merlin uses the following dependencies:

  • numpy, scipy
  • matplotlib
  • bandmat
  • theano
  • tensorflow (optional, required if you use tensorflow models)
  • sklearn, keras, h5py (optional, required if you use keras models)

To install Merlin, cd merlin and run the below steps:

  • Install some basic tools in Merlin
bash tools/compile_tools.sh
  • Install python dependencies
pip install -r requirements.txt

For detailed instructions, to build the toolkit: see INSTALL and CSTR blog post.
These instructions are valid for UNIX systems including various flavors of Linux;

Getting started with Merlin

To run the example system builds, see egs/README.txt

As a first demo, please follow the scripts in egs/slt_arctic

Now, you can also follow Josh Meyer's blog post for detailed instructions
on how to install Merlin and build SLT demo voice.

For a more in-depth tutorial about building voices with Merlin, you can check out:

Synthetic speech samples

Listen to synthetic speech samples from our SLT arctic voice.

Development pattern for contributors

  1. Create a personal fork of the main Merlin repository in GitHub.
  2. Make your changes in a named branch different from master, e.g. you create a branch my-new-feature.
  3. Generate a pull request through the Web interface of GitHub.

Contact Us

Post your questions, suggestions, and discussions to GitHub Issues.

Citation

If you publish work based on Merlin, please cite:

Zhizheng Wu, Oliver Watts, Simon King, "Merlin: An Open Source Neural Network Speech Synthesis System" in Proc. 9th ISCA Speech Synthesis Workshop (SSW9), September 2016, Sunnyvale, CA, USA.