2015年11月4日 星期三

iRemocon是open source 的(語音辨識)語音家電控制 小盒子,由日本人 後藤功創立,目前完成 ios , android windows...各平台的介面,也可以 通過各種通訊與網路來控制家電,也可提供溫度濕度,感測天氣的資料 初音 Speech control tv

iRemocon
iRemocon是open source 的(語音辨識)語音家電控制 小盒子,由日本人 後藤功創立,目前完成 ios , android windows...各平台的介面,也可以 通過各種通訊與網路來控制家電,也可提供溫度濕度,感測天氣的資料
http://futurismo.biz/archives/136

JuliusとiRemoconを組み合わせて、部屋の音声認識システムをつくった。
出来栄えは、こんな感じ。
http://futurismo.biz/archives/154

MMDAgentとiRemoconを組み合わせてみたらなかなか良かったので、まとめてみる。
利用opensource MMDAgeny 初音 語音程式 與 iRemocon 控制家電的 教學
https://en.wikipedia.org/wiki/Pure_Data

一個用於語音的視覺化開發工具

Open-Source Large Vocabulary CSR Engine Julius

The Julius Speech recognition process Julius.exe which is used to recognize speech from a microphone, to convert it to text and to publish it in a shared memory.
(語音 說話 口語) 辨識 服務 同時平行處理兩件工作,一直不斷把麥克風的資料轉譯入 共享記憶體,接著將指令轉成“控制指令”
The SIGService Process Takeit.sig which reads recognized speech from shared memory and sends it to the controller.







https://en.wikipedia.org/wiki/Processing_(programming_language)

用於圖片照片演算法與處理的javascript或獨立語言

https://en.wikipedia.org/wiki/OpenFrameworks

c++開發的 工具包,processing之源


http://www.mem.com.tw/article_content.asp?sn=0701020656


支援多種傳輸媒介 ECHONET國際標準,日本主導的網路家電標準ECHONET
ECHONET CONSORTIUM - エコーネットコンソーシアム


http://www.echonet.gr.jp/english/https://my.murata.com/zh/web/solution/echonet-lite-design-kit

ECHONET 是一個 應用層的通訊協定,目標是描述電器與狀態通訊跟控制,內文XML為基礎
Lite版的適用於所有非智慧家電
http://www.ttc.or.jp/j/std/wg/home_network/introduce/

物聯網協定比較
http://www.digitaltrends.com/home/zigbee-vs-zwave-vs-insteon-home-automation-protocols-explained/

維基 自動化 通訊協定 列表
https://en.wikipedia.org/wiki/List_of_automation_protocols

開源機器人列表
https://en.wikipedia.org/wiki/Open-source_robotics

一個日本人做的簡單 電視 控制程式,需要硬體 紅外線傳輸
http://www.forest.impress.co.jp/article/2007/09/18/ddtc.html

PC-OP-RS1
http://buffalo.jp/products/catalog/item/p/pc-op-rs1/

PC用赤外線リモコン(PC-OP-RS1、Kuro-RS、他)
http://www.chikadon.com/Doc/IR.html

dibuixinstruments. A multi-touch printabñe controller (kinect + Openframeworks)
https://www.youtube.com/watch?v=79EpRwRLq4M

OpenCV Marker Detector v0.1
https://www.youtube.com/watch?v=oSq9V2b5AZ8


Manual for the MONET(1) speech synthesis
engine and parameter editor

http://pages.cpsc.ucalgary.ca/~hill/papers/monman/

MONET is a generalised speech synthesis database editor and manager, and synthesiser parameter generation engine, that forms part of the TextToSpeech Experimenter Kit--a tool designed for speech researchers. Those interested in speech synthesis, speech production, or speech perception research will find the tool provides precise access to the timing and nature of speech events that, put together, form spoken language. This tool also opens up the possibility of experiments and training programs related to speech pathology, speech therapy and the process of acquiring spoken language. Although designed with the richness needed to manage an articulatory synthesiser, it can equally well be used to manage the databases associated with other parametric synthesis methods.

IVONA Text-to-Speech HQ (FREE - ~250MB/voice)
Quality: 10  Meter: 8  Variance: 8  Playability: 7  Total: 33
Classic Text To Speech Engine ($2.99 - ~10-20MB/voice)
Quality: 7  Meter: 8  Variance: 7  Playability: 10  Total: 32
CereProc (~$1.60 - ~140-170MB/voice)
Quality: 9  Meter: 9  Variance: 8  Playability: N/A  Total: *26*
Loquendo TTS Susan (~$5.36 - ~42MB)
Quality: 7  Meter: 6  Variance: 10  Playability: 4  Total: 27
Google TTS (Free, limited availability)
Quality: 5  Meter: 6  Variance: 5  Playability: 6  Total: 22
SVOX Pico (Free, limited availability)
Quality: 5  Meter: 7  Variance: 5  Playability: 4  Total: 21
Samsung TTS (FREE on Samsung devices)
Quality: 6  Meter: 6  Variance: 5  Playability: 4  Total: 21
ESpeak (Not one of the top 7)
Quality: 2  Meter: 3  Variance: 1  Playability: N/A  Total: 6











強大 軟體 自動 測試 工具 SAFS framework open source 多平台 多語言 關鍵字驅動 獨立工具

http://safsdev.sourceforge.net/Default.htm

SAFS
Software Automation Framework Support

Updated 2015.08.25
Initially developed by Carl Nagle for SAS Institute
Evolves as Opensource with permission from SAS Institute

Visit our Software Automation Framwork Support SAFSDEV Project on GitHub.
Visit our Software Automation Framwork Support SAFSDEV Project on SourceForge.


http://www.ibm.com/developerworks/rational/library/09/plainlanguagetestscriptusingsasfwithrft/
Use plain language for test scripts by implementing SAFS with Rational Functional Tester
使用簡單語言來測試軟體,實作SAFS用於IBM® Rational® Functional Tester 功能測試

SAFS framework 特色是
是open source 
多平台
多語言
關鍵字驅動
獨立工具

現在假設你需要測試 一個 ClassicsJavaA
可想而知是個 Java ,你需要JVM (JRE)環境,這裡用1.5.10版

他另外也裝了 MS  Windows Script Host 5.6

安裝SAFS
Install SAFS
To install SAFS:

Go to the SourceForge Web site, and type SAFS in the Search window.
你可以去SourceForge下載相關工具
Click the SAFS page link, and select View all files.
進入頁面 到 選擇 看 全部檔案

Expand SAFSRelease2007.04.18, 
and download the SAFSRelease2007.04.18.ZIP file.
Extract the contents of the~~~~~ SAFSRelease2007.04.18.zip file.
下載 並解壓縮 SAFSRelease2007.04.18.zip 

Double-click the SetupSAFS.wsf script file. SAFS and STAF are installed in these default locations:
執行SetupSAFS.wsf (是 MS  Windows Script Host 批次檔 描述)
會裝到下列路徑
c:\safs
c:\staf
如果想更新 你可以看看" SAFSOverlay \ SAFSOverlay_README.txt "
或是如上述法覆蓋


The SAFS directory structure Give the test project this directory structure:
SAFS 檔案結構如下 

Project_path\Datapool
Project_path\Datapool\Bench
Project_path\Datapool\Dif
Project_path\Datapool\Logs
Project_path\Datapool\Test

舉例你的專案叫   MyTests, SAFS目錄該這樣
For example, if Project_path is c:\MyTest, then the SAFS directory structure is as follows:
C:\MyTests\Datapool
C:\MyTests\Datapool\Bench
C:\MyTests\Datapool\Dif
C:\MyTests\Datapool\Logs
C:\MyTests\Datapool\Test
For additional information and custom installation details, see the SetupSAFS.Readme file that is listed in the Resources section.新增訊息與自訂請看 SetupSAFS.Readme 


Configuring Rational Functional Tester
設置專案去

1. Enable the Java environment in Rational Functional Tester.

2. Run the C:\SAFS\SetupRationalClasspath.WSF script to locate and add IBM Rational JAR files to the CLASSPATH.
在JVM裡要執行當然要在config 寫入java的路徑資訊CLASSPATH
請 執行 C:\SAFS\SetupRationalClasspath.WSF

Important:
Do not name any Rational Functional Tester scripts, "TestScript," because SAFS uses this name. Also make sure that there are no files named:
注意檔名不要與環境檔案衝突

TestScript.java
TestScript.class
TestScriptHelper.class

接著 細節 c:\safs\safstid.ini
[SAFS_LOGS]
AUTOLAUNCH=TRUE
是否預設執行
OVERWRITE=TRUE
是否覆蓋紀錄
CAPXML=TRUE
XML支援

c:\safs\Project\tidtest.ini 
[SAFS_PROJECT]
ProjectRoot="C:\safs\project"
專案名
[SAFS_TEST]
TestName="TIDTest"
測試民
TestLevel="Cycle"
CycleSeparator=","
CycleLogName="TIDTest.SAFS"
紀錄檔名
CycleLogMode="TEXTLOG XMLLOG"
millisBetweenRecords= 0

執行設置 ,執行 runTIDTest.bat , 
java –Dsafs.project.config="c:\safs\project\TIDTEST.ini" org.safs.tools.drivers.SAFSDRIVER pause


Tip: 請確認你的路徑,請停止SAFS 的所有服務與執行工作

If there is an error when the batch file runs, the command prompt displays the error message until you press a key. Without the pause command, the error message is not displayed with sufficient reading time.

Run the runTIDTest.bat file located in C:\safs\Project. 執行批次檔的地方

After the runTIDTest.bat file runs a log named TIDTest.SAFS.txt is generated in C:\safs\Project\Datapool\Logs. The log file contains this message: 
OK TIDTest Services all present and working.



C:\SAFS\Project \ RFTTest.ini 
Edit runRFTTest.bat file, which is the C:\SAFS\Project folder, adding a pause command: 
java –Dsafs.project.config="C:\safs\project\RFTTest.ini" org.safs.tools.drivers.SAFDRIVER pause


確認有 C:\safs\Project\Datapool\Logs \ RFTTest.txt
讀讀 SetupRFT.Readme  

呼 終於完成 configure

 接下來 看看 有哪些 元件

 執行
runTIDTest.bat 
runRFTTest.bat
會有
在 C:\MyTests\Datapool
Cycle table (.CDD file) 循環,記錄完成的大事件
Suite table (.STD file) 確認,Step的大事記
Step table (.SDD file) 步驟,記錄低階 io 與檔案處理
Map file 是RTTI或記憶體內容
四個檔案 
(不過你不用一一自己看,下面有工具)


java 處理緒內容 資訊
The STAF Process Container window
To get the details for the map:

Start the STAF server 在開始功能表,程式集 STAF- Software Testing Automation Framework.
啟動STAF server 
Click Start STAF, and then minimize the command prompt that opens.
會有常駐圖示

執行批次檔   C:\safs\Project \ STAFProcessContainer.bat
  
開啟執行 STAF Process Container window 


本文 省略一些 註解 請看原文



Test Automation Frameworks




REFERENCES:
How Do I...?