forked from LuckyHookin/edge-TTS-record
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fdc32ed
Showing
10 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project ver="10" name="edge-TTS-record" libEmbed="true" icon="..." ui="win" output="edge-TTS-record.exe" CompanyName="单位名称" FileDescription="edge-TTS-record" LegalCopyright="Copyright (C) 作者 2021" ProductName="edge-TTS-record" InternalName="edge-TTS-record" FileVersion="0.0.0.1" ProductVersion="0.0.0.1" publishDir="/dist/" dstrip="false"> | ||
<file name="main.aardio" path="main.aardio" comment="main.aardio"/> | ||
<folder name="资源文件" path="res" embed="true"/> | ||
<folder name="窗体文件" path="dlg" comment="目录" embed="true"/> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//config 配置文件 | ||
import fsys.config; | ||
config = fsys.config("/config/"); | ||
//config = fsys.config( io.appData("/软件作者/应用程序名/") ); | ||
|
||
//不需要序列化的配置名字前请添加下划线 | ||
//在 config 名字空间内部请不要导入其他名字空间 | ||
namespace config { | ||
__appName = "应用程序名"; | ||
__appVersion = "1.0.0.01"; | ||
__appDescription = "这是一个测试程序"; | ||
__website = "http://www.aardio.com/"; | ||
} | ||
|
||
/**intellisense(config) | ||
__appName = 应用程序名 | ||
__appVersion = 应用程序内部版本号 | ||
__appDescription = 程序说明 | ||
__website = 官方网站 | ||
? = 配置文件名,\n读写配置并序列化为一个表对象,\n表的成员值可以是支持序列化的普通变量,支持table对象\n配置文件在首次使用时自动加载,退出程序时自动保存\n!fsys_table. | ||
end intellisense**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
//Edge 语音合成 | ||
|
||
import chrome.edge; | ||
var theApp = chrome.edge.app(); | ||
import console; | ||
import fsys.dlg.dir; | ||
theApp.external = { | ||
startRecord = function(v){ | ||
console.log("startRecord") | ||
} | ||
stopRecord = function(v){ | ||
console.log("stopRecord") | ||
} | ||
getFileDir = function(v){ | ||
if(v=="./"){ | ||
return io._exedir; | ||
} | ||
var dir = fsys.dlg.dir(); | ||
return dir; | ||
} | ||
} | ||
/* | ||
theApp.httpHandler["\res\index.html"] = function(response,request){ | ||
|
||
} | ||
*/ | ||
|
||
//调整窗口大小 | ||
|
||
theApp.indexReady( | ||
function(){ | ||
//mainForm.show(false) | ||
//theApp.setPos(,,620,680) | ||
//mainForm.show() | ||
} | ||
) | ||
|
||
|
||
//正式的启动chrome进程 | ||
theApp.start("http://localhost:8080/") | ||
|
||
win.loopMessage(); |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>tts-record-html</title><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"><link href="css/chunk-vendors.30cd8522.css" rel="preload" as="style"><link href="js/app.5d183bbe.js" rel="preload" as="script"><link href="js/chunk-vendors.37ca2be4.js" rel="preload" as="script"><link href="css/chunk-vendors.30cd8522.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tts-record-html doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.37ca2be4.js"></script><script src="js/app.5d183bbe.js"></script></body></html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.