Package net.oijon.algonquin.tts
Class IPA
- java.lang.Object
-
- net.oijon.algonquin.tts.IPA
-
public class IPA extends java.lang.Object- Author:
- N3ther
-
-
Constructor Summary
Constructors Constructor Description IPA()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringcreateAudio(java.lang.String[] fileNames, java.lang.String name, java.lang.String packName)Takes file names, glues them together, creates a file, and plays it.static java.lang.String[]getFileNames(java.lang.String input)Creates a String array of all characters inputted, adding diacritics to their respective sound.static voidrecordAudio(javax.sound.sampled.Clip clip, java.io.File file)
-
-
-
Method Detail
-
getFileNames
public static java.lang.String[] getFileNames(java.lang.String input)
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
public static java.lang.String createAudio(java.lang.String[] fileNames, java.lang.String name, java.lang.String packName)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
public static void recordAudio(javax.sound.sampled.Clip clip, java.io.File file)
-
-