Class IPA

java.lang.Object
net.oijon.algonquin.tts.IPA

public class IPA extends Object
Author:
N3ther
  • Constructor Details

    • IPA

      public IPA()
  • Method Details

    • getFileNames

      public static String[] getFileNames(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 String createAudio(String[] fileNames, String name, 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 .wav
      packName - 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(Clip clip, File file)