mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-12 00:46:50 +00:00
Defined a Revision number macro in speak_lib.h for interface changes. Changes to formant rate smoothing so that it's proportional to frequency. Add phoneme translations for mbrola "it3" "it4" Italian voices. Added rule in *_rules files for "word starts with capital letter". git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@49 d46cf337-b52f-0410-862d-fd96e6ae7743
67 lines
1.9 KiB
C++
Executable File
67 lines
1.9 KiB
C++
Executable File
/***************************************************************************
|
|
options.h - description
|
|
-------------------
|
|
begin : Sat Mar 13 2004
|
|
copyright : (C) 2004 by Jonathan Duddington
|
|
email : jsd@jsd.clara.co.uk
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef OPTIONS_H
|
|
#define OPTIONS_H
|
|
|
|
#include "wx/dialog.h"
|
|
#include "wx/spinctrl.h"
|
|
|
|
/**
|
|
*@author Jonathan Duddington
|
|
*/
|
|
|
|
extern void ConfigInit();
|
|
extern void ConfigSave(int end);
|
|
extern void ConfigSetPaths();
|
|
|
|
extern wxString path_spectload;
|
|
extern wxString path_spectload2;
|
|
extern wxString path_pitches;
|
|
extern wxString path_voices;
|
|
extern wxString path_phsource;
|
|
extern wxString path_dictsource;
|
|
extern wxString path_modifiervoice;
|
|
extern wxString path_dir1;
|
|
|
|
extern char path_source[80];
|
|
extern char path_dsource[120];
|
|
|
|
extern int option_speed;
|
|
|
|
extern void OnOptions2(int event_id);
|
|
|
|
// not currently used
|
|
class Options : public wxDialog {
|
|
public:
|
|
Options(wxWindow *parent);
|
|
~Options();
|
|
|
|
private:
|
|
void OnCommand(wxCommandEvent& event);
|
|
|
|
wxButton *m_save;
|
|
wxButton *m_close;
|
|
wxStaticText *m_lab[10];
|
|
|
|
wxTextCtrl *m_samplerate;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|