Programming Reference:AudioSpellerTarget Class

From BCI2000 Wiki
Jump to: navigation, search

Location

src/shared/modules/application/speller

Synopsis

The AudioSpellerTarget class is a SpellerTarget that presents an AudioStimulus when selected, in addition to entering text.

Methods

AudioSpellerTarget(Speller)

The constructor takes a reference to a Speller object as a reference.

Select

Presents the audio stimulus, and enters text into the speller object specified when constructing the target object.

Properties

string EntryText (rw)

The text entered into the speller object when the target is selected.

string Sound (rw)

A sound file to be played when the target is selected. Alternatively, a text to be rendered by the system's text-to-speech engine; enclose the text in single quotes to distinguish it from a sound file name.

See also

Programming Reference:Speller Class, Programming Reference:AudioStimulus Class