belcanto

Vocal engine

Usage no npm install needed!

<script type="module">
  import belcanto from 'https://cdn.skypack.dev/belcanto';
</script>

README

Bel Canto · npm version License: MIT

Bel Canto is a vocal synthesis library that uses optimised physical-modelling techniques to enable realistic, real-time synthesis.

Installation

npm i viardot

Usage

import * as Viardot from 'viardot'

// Initialize global AudioContext for voices
Viardot.start().then(() => Init())

// Initialize voices
function Init() {
    const voice = new Viardot.Voice('soprano')
    window.addEventListener('mousedown', e => voice.start(), false)
    window.addEventListener('mouseup', e => voice.stop(), false)
}

Reference

  • Tone.js
  • Pink Trombone - Neil Thapen
  • "Toward a high-quality singing synthesizer with vocal texture control" - Hui-Ling Lu