Class YSKRecognizerDialogEarcons

Class to store the sounds played during the YSKRecognizerDialogController operation.

Properties

cancel

The sound played when the user finished working with the dialog.

finish

The sound played when getting a single recognition result.

start

The sound played at the beginning of recognition.

wait

The sound played when getting a list of hypotheses or a recognition error.

Property Detail

cancel

(strong, readwrite) YSKSoundBuffer * cancel

The sound played when the user finished working with the dialog.

Default value: the sounds/cancel.wav sound from the library bundle.

finish

(strong, readwrite) YSKSoundBuffer * finish

The sound played when getting a single recognition result.

Default value: the sounds/finish.wav sound from the library bundle.

start

(strong, readwrite) YSKSoundBuffer * start

The sound played at the beginning of recognition.

If the audioProcessingMode setting value is echoCancel, this sound will be subtracted from an audio to be sent for recognition using the acoustic echo cancellation algorithm. For that, the start sound should be mono (channelCount = 1) and uncompressed (soundFormat= pcm). Otherwise, the AEC algorithm will not be applied and a message about a possible error will be logged. Default value: the sounds/start.wav sound from the library bundle.

wait

(strong, readwrite) YSKSoundBuffer * wait

The sound played when getting a list of hypotheses or a recognition error.

Default value: the sounds/wait.wav sound from the library bundle.