Welcome
Guest
, you are in:
<root>
Elements
•
Login
EventIDE Wiki
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Create Account
Search the wiki
Back
Audio Player Element
Modified on 2018/07/16 02:07
by
Administrator
Categorized as
Auditory Stimuli
,
Base Elements
,
Elements
<div style="margin-right: 10px; margin-left: 16px; margin-bottom:10px; float: right; width: 500px; overflow: hidden; height: auto; padding: 0px; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));background: -moz-linear-gradient(top, #fbfbfb, #fafafa);border: 1px dashed #ddd;box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ddd, 0 0 0 10px #fff, 0 0 2px 10px #eee;"> == Summary == {s:Element Info Panel | title=Audio Player | category=Audio Stimuli | icon=[image|Element Icon|{UP(Audio+Player+Element)}Audio-Player-Element-Icon.png] | author= OkazoLab | addin= Base Layer | scope= Parent event | usage= Snippets | ownsnippets= None } == Properties == {| |- ! Name ! Description ! Constraints ! Type ! On<br/>runtime<br/>change |- | colspan="5" bgcolor="#AADDDDD" | Settings |- | Test Audio | Click to test playback of the current audio clip | {s:atDesign} | Boolean | |- | Playback Mode | Play Method | {s:atNormal} | stPlay.. | |- | colspan="5" bgcolor="#AADDDDD" | Playback |- | Volume | Volume, from ground (0) to full (100), of the audio clip | {s:atNormal} | Int32 | |- | Balance | Stereophonic balance, left (-100) to right (100), of the audio clip | {s:atNormal} | Int32 | |- | Duration | The duration of the current audio clip in ms. | {s:atStatus} | Double | |- | Playback Position | The current playing position (percentages, 0..100, to the total duration) of the audio clip. | {s:atNormal} | Double | |- | Is Playing | Indicates the playback state of an audio clip. Can be used to control playback process, e.g. pause it, at runtimeChange in runtime causes toggling between the play/pause states. | {s:atNormal} | Boolean | |- | colspan="5" bgcolor="#AADDDDD" | Material List |- | Selected Index | Defines an index of the active item in the material list of this element | {s:atNormal} | Int32 | |- | Selected Item | Defines a name if the active library item in the material list of this element | {s:atNormal} | String | |- | Item Count | Returns the total number of material items in the list of this element | {s:atStatus} | Int32 | |- | colspan="5" bgcolor="#AADDDDD" | Control |- | Is Enabled | If set to false the element is completely omitted when the experiment is run | {s:atDesign} | Boolean | |- | Title | Title of the element | {s:atDesign} | String | |- |} == == </div> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> <!--*****************************************************************************************************************************************************************************--> '''Audio Player Element''' allows a playback of audio clips stored in [Material Library]. Various audio formats, such as mp3 and midi, are supported in contrast to the Wave Player and Direct Sound elements, which can work only with clip in the WAVE format. The Audio Player element provides all playback controls and onset playback synchronization. The element supports a switchable stimulus list, when multiple clips are loaded from Material Library into the element.{br}{br} {TOC} == Description == Selecting Event – '''Add Element''' command and selecting '''Audio Player''' under the '''Audio Stimuli''' category will add a new Audio Player element. The audio clip element can play audio files, of different formats, stored as resources in the Material Library. The element is designed for delivering audio feedback to participants or playing voice instructions. Several audio items can be loaded into an element's resource list, in order to make a switchable stimuli set. Different audio formats are supported provided that the appropriate codecs are installed on the system being used (the files have to be played correctly by other software players). The playback of some audio formats may be delayed due to a decoding script run by a background codec program, so this should be checked where necessary. == Snapshots == {| | [imageleft|Snapshot 1 <br/>|{UP}/pictures/elements/**/small/sm_***.png|{UP}/pictures/elements/**/sm_***.png] || [imageleft|Snapshot 2 |{UP}/pictures/elements/**/small/sm_***.png|{UP}/pictures/elements/**/**.png] |} == Practical Use == If, under the '''Properties''' tab, the Behaviour property is set to '''pmOnce''' or '''pmLoop''', the start of playback is aligned with the activation of the parent event. Playback can also be controlled manually by setting the property '''IsPlaying''' to true or false at the runtime. Other playback properties such as the volume, balance and playing position also can be adjusted dynamically.
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 5.2.0.8. Some of the icons created by
FamFamFam
.