     }
     
     /**
-     This function returns a list of voices that Watson supports
+     This function returns a list of voices supported.
      
      - parameter oncompletion:      Callback function that presents an array of Voices
      */

    }
    
    /**
     This function converts a PCM of UInt16s to a WAVE file by prepending a header
     
     - parameter data:      Contains PCM (pulse coded modulation) raw data for audio
     - returns:             WAVE formatted header prepended to the data

import AVFoundation
import ObjectMapper

/**
 *  Protocol defining the Watson Text to Speech service.
 */
public protocol TextToSpeechService
{
    /**
     This function invokes a call to synthesize text and decompress the audio to
     produce a WAVE formatted NSData.
     
     - parameter theText:           String that will be synthesized
     - parameter voice:             String specifying the voice name
     - parameter oncompletion:      Callback function that will present the WAVE data
     */
    func synthesize ( theText:String, voice: String,
        oncompletion: (data: NSData?, error:NSError?) -> Void )
    
    /**
     This function returns a list of voices (gender, language, dialect) supported.
     
     - parameter oncompletion:      Callback function that presents an array of Voices
     */
    func listVoices ( oncompletion: (voices: [Voice], error:NSError?) -> Void )
    
}


/**
 * Implementation for the Watson Text To Speech protocol.
 */
public class TextToSpeech : Service, TextToSpeechService
{
    // Provides the Opus/Ogg decompression
