Package net.oijon.algonquin.tts
Class IPA
java.lang.Object
net.oijon.algonquin.tts.IPA
- Author:
- N3ther
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateAudio(String[] fileNames, String name, String packName) Takes file names, glues them together, creates a file, and plays it.static String[]getFileNames(String input) Creates a String array of all characters inputted, adding diacritics to their respective sound.static voidrecordAudio(Clip clip, File file)
-
Constructor Details
-
IPA
public IPA()
-
-
Method Details
-
getFileNames
Creates a String array of all characters inputted, adding diacritics to their respective sound.- Parameters:
input- The raw IPA input- Returns:
- A string array with each file's name
-
createAudio
Takes file names, glues them together, creates a file, and plays it.- Parameters:
fileNames- The processed input, see getFileNames()name- The name of the file to output to, without the .wavpackName- The name of the sound pack to add to- Returns:
- Any messages generated while making the audio (exceptions, warnings, etc.)
-
recordAudio
-