blob: eb8187fbef423e67b04b63dcad2af97a35541378 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview A base class for Tts living on Chrome platforms.
*
*/
goog.provide('ChromeTtsBase');
goog.require('AbstractTts');
ChromeTtsBase = class extends AbstractTts {
constructor() {
super();
this.propertyDefault['pitch'] = 1;
this.propertyMin['pitch'] = 0.2;
this.propertyMax['pitch'] = 2.0;
this.propertyDefault['rate'] = 1;
this.propertyMin['rate'] = 0.2;
this.propertyMax['rate'] = 5.0;
this.propertyDefault['volume'] = 1;
this.propertyMin['volume'] = 0.2;
this.propertyMax['volume'] = 1.0;
}
};