1. Audio Player Component
    1. Description
    2. This component is not a Museum Domain Specific component, but it is a composed component used for the composed component of this exhibit.

      The component represents an audio player asociated to a marker. Includes two buttons (Play/Pause and Stop). It is configurable as every component.

      Figure -1 Audio Player

    3. List of Components
    4. Here it is a list of the components included in this composed component:

      Tipo

      Nombre

      AudioComponent

      audioAP

      Button2DComponent

      buttonPlayAP

      Button2DComponent

      buttonStopAP

      AndComponent

      andAudioAP

      OrComponent

      orEndAudio_StopButtonAP

       

    5. In-slots
    6. Name

      Type

      Description

      andAudioAP.in1

      boolean

      This slot must be connected to the audio button of the user interface. This slot and the next one enable the audio player interface.

      andAudioAP.in2

      boolean

      This slot must be connected to the detected slot of the marker detection component. This slot and the previous one enable the audio player interface.

       

    7. Out-slots
    8. Name

      Type

      Description

      audioAP.playing

      boolean

      Provides the status of the audio component. True when the audio file is playing. False otherwise.

      audioAP.paused

      boolean

      Provides the status of the audio component. True when the audio file is paused. False otherwise.

      audioAP.stopped

      boolean

      Provides the status of the audio component. True when the audio file is stopped. False otherwise.

      audioAP.end

      boolean

      Provides the status of the audio component. True when the audio file is finished. False otherwise.

       

    9. Main Properties

Each of the composed components defined for the Museum specific domain has lots of properties, which can be configured with the AMIRE Authoring environment. Each composed component has as many properties as the sum of the properties of each component it is composed of. Here are described the main properties:

Name

Type

Description

audioFileName

string

The name of the file containing the audio signal .

Name

Type

Description

releasedimageFileName

string

Filename of the background image shown when released the Play/Pause button of the audio player

toggledImageFileName

string

Filename of the background image shown when toggled the Play/Pause button of the audio player

position

doubleVector

Values (X and Y) that fix the position of the button

dimension

doubleVector

Values (X and Y) that fix the dimension of the button

Name

Type

Description

releasedimageFileName

string

Filename of the background image shown when released the Stop button of the audio player

toggledImageFileName

string

Filename of the background image shown when toggled the Stop button of the audio player

position

doubleVector

Values (X and Y) that fix the position of the button

dimension

doubleVector

Values (X and Y) that fix the dimension of the button

 

    1. Default Property Values