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
#/bin/sh | |
# テキストファイルに書いた文章を音声ファイル化するスクリプト | |
# open_jtalk, ffmpeg, soxに依存している | |
function create_silent_wav(){ | |
# 無声の音声データを生成 | |
fs=48000 # サンプリング周波数 | |
len=2 # 時間長(秒) |
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
### 油谷Mac用シェル初期化用Resource Configureファイル | |
### 前提 | |
### Gitサーバ(Gitlab:20180520時点)からデフォルトのEmacs.dディレクトリを獲得していること | |
############### ユーザ基本バイナリ用 | |
export PATH=$PATH:/usr/local/bin:/opt/local/bin:/opt/local/sbin | |
############### Roswellスクリプト用 | |
export PATH=$PATH:~/.roswell/bin |
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
#!/bin/bash | |
########### | |
# How to use this roulette script | |
# ~ $ wget https://gist.githubusercontent.com/dbym4820/334fd9e5c893c3f1e4a46cde725a4022/raw/c044b005de1ac490ea4480cec9dfb126eb055afe/roulette.sh | |
# ~ $ sh /path/to/roulette.sh [&rest roulette-components-list] | |
########### | |
MAX_TIME=500 |