This file contains hidden or 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
#!/bin/bash | |
# | |
# Open JTalk 実行のためのスクリプト | |
# | |
# Copyright (C) 2012 Sunao HARA, Shikano Lab., NAIST/JAPAN | |
# Last Modified: 2012/01/25 13:38:20. | |
# | |
VOICEID=$1 | |
SRC_TXT=$2 |
This file contains hidden or 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
# | |
# Configuration file for open_jtalk.sh | |
# | |
# Copyright (c) Sunao HARA, Shikano Lab., NAIST/JAPAN | |
# Last Modified: 2012/01/25 14:03:44. | |
# | |
## | |
## WAVE synthesis Parameters (Recommended) | |
## |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void basename(const char* inFilename, char* outFilename, int outBuflen) | |
{ | |
char* p; | |
strncpy(outFilename, inFilename, outBuflen); | |
// 拡張子の削除. |
This file contains hidden or 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
#include <time.h> | |
static clock_t tictoc_start = 0; | |
void tic(void) { | |
s = clock(); | |
} | |
void toc(void) { | |
clock_t e = clock(); |
NewerOlder