Jump to content

Template:WavePlayerProperties

From BCI2000 Wiki
Revision as of 15:53, 10 September 2008 by Mellinger (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

string File (rw)

Path to an audio file to be played back. The SetFile method loads audio data into memory. The path may be absolute, or relative to the current executable.

float Volume (rw)

Playback volume in the range 0.0 to 1.0.

float Pan (rw)

Panning position in the range -1.0 (leftmost) to +1.0 (rightmost).

float PlayingPos (r)

Playback position from start, in milliseconds. Zero if not playing.

bool IsPlaying (r)

True during playback, false otherwise.

enum Error ErrorState (r)

The result of the preceding operation, represented by one of the members of the Error enumerated type.