Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
2f365266
Commit
2f365266
authored
11 years ago
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added text2audio script
parent
52891c3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
optimize.sh
Web/htdocs/gui/optimize.sh
+2
-0
text2audio
scripts/text2audio
+18
-0
No files found.
Web/htdocs/gui/optimize.sh
View file @
2f365266
...
...
@@ -78,6 +78,8 @@ for j in $JS
echo
"already minified..."
cat
$j
>>
js/combined.min.js
fi
echo
-n
'SIZE: '
du
-chs
js/combined.min.js
done
This diff is collapsed.
Click to expand it.
scripts/text2audio
0 → 100755
View file @
2f365266
#!/bin/bash
phelp
()
{
echo
"USAGE:
$0
<filename> <it|en> <
\"
string of text to be converted to audio
\"
>"
exit
0
}
if
[[
"$#"
< 3
]]
;
then
phelp
fi
if
[
"
$2
"
!=
"en"
]
&&
[
"
$2
"
!=
"it"
]
;
then
phelp
fi
python
`
dirname
$0
`
/../domotika/clouds/google/tts.py
$@
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment