Class Engine

java.lang.Object
com.vivoka.vsdk.speechenhancement.Engine
All Implemented Interfaces:
IEngine

public abstract class Engine extends Object implements IEngine
Abstract class representing the speech enhancement engine.
  • Field Details

  • Constructor Details

    • Engine

      public Engine()
  • Method Details

    • getSpeechEnhancer

      public SpeechEnhancer getSpeechEnhancer(String name) throws Exception
      Gets or creates a speech enhancer with the specified name.
      Parameters:
      name - The name of the speech enhancer.
      Returns:
      The speech enhancer instance.
      Throws:
      Exception - If the speech enhancer cannot be created or found.
    • removeSpeechEnhancer

      public void removeSpeechEnhancer(String name) throws Exception
      Removes the speech enhancer with the specified name.
      Parameters:
      name - The name of the speech enhancer to remove.
      Throws:
      Exception - If the speech enhancer cannot be removed.
    • makeSpeechEnhancer

      protected abstract SpeechEnhancer makeSpeechEnhancer(String name) throws Exception
      Throws:
      Exception