Welcome Guest, you are in: Login

EventIDE Wiki



Search the wiki



Element Icon NI Analog Wave Player
Category: Audio Stimuli AddIn: AddIn_NI
Creator: OkazoLab Scope: Parent event
Owns Snippets: None Usage: Snippets


NameDescription                              ConstraintsTypeOn
Port Settings
Left Channel Port                        String         
Right Channel Port                        String         
Playback Controls
Playback Mode        Defines the playback mode for audio clips played by the element. In the default mode (Auto Playback), a clip is played once on the onset of the parent event. In the Manual mode the playback process is controlled in the snippets by changing the Is Playing property.                stPlay..         
Test Playback        Initiates 3-sec playback of the currently selected clip using the chosen hardware settings. An error message is returned, if the playback is failed.                Boolean         
Is Playing        Returns or sets the current playback state of the element. In the manual playback mode, the value can be set before the onset of the parent event. In all modes, the property can be used to control the currently playing audio: assigning false/true to the property causes pause/continuing the playback, correspondingly.                Boolean         
Runtime Status
Current Clip Info        Returns a structure containing an info about the currently selected audio clip. Click to expand all fields.                 stWave..         
Playing Position        Indicates the current playing position (in percentages to the total duration) of the audio clip. Changes are accepted only if the audio is currently playing.                 Double         
Triggering Time        Returns the local event time in ms, when the last playback has reached the end.                clTime         
Is Triggered        Indicates that the element has been triggered by end of the playback at least once, since the onset of the parent event.                Boolean         
Material List
Selected Index        Defines an index of the active item in the material list of this element                Int32         
Selected Item        Defines a name if the active library item in the material list of this element                String         
Item Count        Returns the total number of material items in the list of this element                Int32         
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

NI Analog Wave Player Element allows high-precision playback of WAVE audios via the analog ports on the NI DAQ cards.




Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use


Technique 1

  1. Step 1
  2. Step 2
    === Technique 2 ===
  3. Step 1
  4. Step 2

     // Check the trial outcome. Result and RT just other user variables
    // insert code snippet here..
    == Notes ==
  5. Insert Notes here..
  6. Insert Notes here..


ScrewTurn Wiki version Some of the icons created by FamFamFam.