188 lines
8.0 KiB
C#
188 lines
8.0 KiB
C#
namespace Supertonic.WinForms
|
|
{
|
|
partial class fMain
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtInput = new System.Windows.Forms.TextBox();
|
|
this.btnGenerate = new System.Windows.Forms.Button();
|
|
this.cmbLang = new System.Windows.Forms.ComboBox();
|
|
this.txtStylePath = new System.Windows.Forms.TextBox();
|
|
this.numSteps = new System.Windows.Forms.NumericUpDown();
|
|
this.numSpeed = new System.Windows.Forms.NumericUpDown();
|
|
this.lblText = new System.Windows.Forms.Label();
|
|
this.lblLang = new System.Windows.Forms.Label();
|
|
this.lblStyle = new System.Windows.Forms.Label();
|
|
this.lblSteps = new System.Windows.Forms.Label();
|
|
this.lblSpeed = new System.Windows.Forms.Label();
|
|
this.txtLog = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSteps)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSpeed)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtInput
|
|
//
|
|
this.txtInput.Location = new System.Drawing.Point(12, 29);
|
|
this.txtInput.Multiline = true;
|
|
this.txtInput.Name = "txtInput";
|
|
this.txtInput.Size = new System.Drawing.Size(460, 60);
|
|
this.txtInput.TabIndex = 0;
|
|
this.txtInput.Text = "This morning, I took a walk in the park.";
|
|
//
|
|
// btnGenerate
|
|
//
|
|
this.btnGenerate.Location = new System.Drawing.Point(372, 169);
|
|
this.btnGenerate.Name = "btnGenerate";
|
|
this.btnGenerate.Size = new System.Drawing.Size(100, 30);
|
|
this.btnGenerate.TabIndex = 1;
|
|
this.btnGenerate.Text = "Generate TTS";
|
|
this.btnGenerate.UseVisualStyleBackColor = true;
|
|
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
|
|
//
|
|
// cmbLang
|
|
//
|
|
this.cmbLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbLang.FormattingEnabled = true;
|
|
this.cmbLang.Location = new System.Drawing.Point(12, 114);
|
|
this.cmbLang.Name = "cmbLang";
|
|
this.cmbLang.Size = new System.Drawing.Size(80, 21);
|
|
this.cmbLang.TabIndex = 2;
|
|
//
|
|
// txtStylePath
|
|
//
|
|
this.txtStylePath.Location = new System.Drawing.Point(110, 114);
|
|
this.txtStylePath.Name = "txtStylePath";
|
|
this.txtStylePath.Size = new System.Drawing.Size(362, 20);
|
|
this.txtStylePath.TabIndex = 3;
|
|
this.txtStylePath.Text = "assets/voice_styles/M1.json";
|
|
//
|
|
// numSteps
|
|
//
|
|
this.numSteps.Location = new System.Drawing.Point(12, 169);
|
|
this.numSteps.Name = "numSteps";
|
|
this.numSteps.Size = new System.Drawing.Size(80, 20);
|
|
this.numSteps.TabIndex = 4;
|
|
this.numSteps.Value = new decimal(new int[] { 5, 0, 0, 0 });
|
|
//
|
|
// numSpeed
|
|
//
|
|
this.numSpeed.DecimalPlaces = 2;
|
|
this.numSpeed.Increment = new decimal(new int[] { 5, 0, 0, 131072 });
|
|
this.numSpeed.Location = new System.Drawing.Point(110, 169);
|
|
this.numSpeed.Name = "numSpeed";
|
|
this.numSpeed.Size = new System.Drawing.Size(80, 20);
|
|
this.numSpeed.TabIndex = 5;
|
|
this.numSpeed.Value = new decimal(new int[] { 105, 0, 0, 131072 });
|
|
//
|
|
// lblText
|
|
//
|
|
this.lblText.AutoSize = true;
|
|
this.lblText.Location = new System.Drawing.Point(12, 13);
|
|
this.lblText.Name = "lblText";
|
|
this.lblText.Size = new System.Drawing.Size(28, 13);
|
|
this.lblText.TabIndex = 6;
|
|
this.lblText.Text = "Text";
|
|
//
|
|
// lblLang
|
|
//
|
|
this.lblLang.AutoSize = true;
|
|
this.lblLang.Location = new System.Drawing.Point(12, 98);
|
|
this.lblLang.Name = "lblLang";
|
|
this.lblLang.Size = new System.Drawing.Size(55, 13);
|
|
this.lblLang.TabIndex = 7;
|
|
this.lblLang.Text = "Language";
|
|
//
|
|
// lblStyle
|
|
//
|
|
this.lblStyle.AutoSize = true;
|
|
this.lblStyle.Location = new System.Drawing.Point(110, 98);
|
|
this.lblStyle.Name = "lblStyle";
|
|
this.lblStyle.Size = new System.Drawing.Size(87, 13);
|
|
this.lblStyle.TabIndex = 8;
|
|
this.lblStyle.Text = "Voice Style Path";
|
|
//
|
|
// lblSteps
|
|
//
|
|
this.lblSteps.AutoSize = true;
|
|
this.lblSteps.Location = new System.Drawing.Point(12, 153);
|
|
this.lblSteps.Name = "lblSteps";
|
|
this.lblSteps.Size = new System.Drawing.Size(61, 13);
|
|
this.lblSteps.TabIndex = 9;
|
|
this.lblSteps.Text = "Total Steps";
|
|
//
|
|
// lblSpeed
|
|
//
|
|
this.lblSpeed.AutoSize = true;
|
|
this.lblSpeed.Location = new System.Drawing.Point(110, 153);
|
|
this.lblSpeed.Name = "lblSpeed";
|
|
this.lblSpeed.Size = new System.Drawing.Size(38, 13);
|
|
this.lblSpeed.TabIndex = 10;
|
|
this.lblSpeed.Text = "Speed";
|
|
//
|
|
// txtLog
|
|
//
|
|
this.txtLog.Location = new System.Drawing.Point(12, 214);
|
|
this.txtLog.Multiline = true;
|
|
this.txtLog.Name = "txtLog";
|
|
this.txtLog.ReadOnly = true;
|
|
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtLog.Size = new System.Drawing.Size(460, 150);
|
|
this.txtLog.TabIndex = 11;
|
|
//
|
|
// fMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(484, 376);
|
|
this.Controls.Add(this.txtLog);
|
|
this.Controls.Add(this.lblSpeed);
|
|
this.Controls.Add(this.lblSteps);
|
|
this.Controls.Add(this.lblStyle);
|
|
this.Controls.Add(this.lblLang);
|
|
this.Controls.Add(this.lblText);
|
|
this.Controls.Add(this.numSpeed);
|
|
this.Controls.Add(this.numSteps);
|
|
this.Controls.Add(this.txtStylePath);
|
|
this.Controls.Add(this.cmbLang);
|
|
this.Controls.Add(this.btnGenerate);
|
|
this.Controls.Add(this.txtInput);
|
|
this.Name = "fMain";
|
|
this.Text = "Supertonic TTS (WinForms 4.8)";
|
|
this.Load += new System.EventHandler(this.fMain_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.numSteps)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numSpeed)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtInput;
|
|
private System.Windows.Forms.Button btnGenerate;
|
|
private System.Windows.Forms.ComboBox cmbLang;
|
|
private System.Windows.Forms.TextBox txtStylePath;
|
|
private System.Windows.Forms.NumericUpDown numSteps;
|
|
private System.Windows.Forms.NumericUpDown numSpeed;
|
|
private System.Windows.Forms.Label lblText;
|
|
private System.Windows.Forms.Label lblLang;
|
|
private System.Windows.Forms.Label lblStyle;
|
|
private System.Windows.Forms.Label lblSteps;
|
|
private System.Windows.Forms.Label lblSpeed;
|
|
private System.Windows.Forms.TextBox txtLog;
|
|
}
|
|
}
|