Skip to content

Commit 20a1efa

Browse files
committed
Final Draft Before Submission
1 parent 73b4c36 commit 20a1efa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+8
-15
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
__pycache__/
33
*.py[cod]
44
output.wav
5-
5+
test/
File renamed without changes.

synthme/convertphonemes.py renamed to Utilities/convertphonemes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Takes list of words and finds appropriate phonemes
33
# If phoneme not found, an educated guess is made
44

5-
from synthme import phonemes, util
5+
from Utilities import phonemes, util
66
import ast, re
77

88
def words_to_phonemes(words, use_pronunciation_dict=True):

synthme/convertsounds.py renamed to Utilities/convertsounds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# convertsounds.py
22
# Matches each phoneme from list with appropriate wav file
33

4-
from synthme import phonemes
4+
from Utilities import phonemes
55
import wave, os
66

7-
VOICE_PATH = os.path.dirname(__file__) + "/../data/voices/steve/"
7+
VOICE_PATH = os.path.dirname(__file__) + "/../data/voices/"
88

99
def phonemes_to_sounds(phoneme_list, outfile):
1010
infiles = []
File renamed without changes.

synthme/tts.py renamed to Utilities/tts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
DATABASE_NAME = "data/pronunciation.db"
55
OUTPUT_FILE = "output.wav"
66

7-
from synthme import convertphonemes, convertsounds, util
7+
from Utilities import convertphonemes, convertsounds, util
88

99
def text_to_speech(message, output_file=OUTPUT_FILE, debug=False, use_pronunciation_dict=True):
1010
if debug: print("Text to Speech Generation started.")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)