Audio Player

With the Audio Player function block you can define an Audio Zone. This is usually a room or an area of a building where you would audio playback is desired. The block is used with the outputs of the Audioserver or a Stereo Extension.

It is possible to create groups across rooms, providing a uniform music experience in open spaces.

For larger rooms, multiple speaker outputs are assigned to the same Audio Player function block. Each speaker output can be configured to output either the left or right channel signal, or a downmix of both channels.

Table of Contents


Inputs

AbbreviationSummaryDescriptionValue Range
V+Volume+Increase volume by specified increment (parameter Step). Double-click to select the next favorite.-
V-Volume-Decrease volume by specified increment (parameter Step). Double-click turns off the player.-
VVolumeSet volume. If the player is turned off, playback will start automatically.
PlayPlayPlay-
PausePausePause-
PPresencePresence input-
PrevPrevPrevious title-
NextNextNext title-
FavFavoritePlays the favorite with the assigned ID
AlarmAlarmPlay alarm sound at alarm volume-
FireAlarmFireAlarmPlay fire alarm sound at alarm volume-
BellBellPlay doorbell sound at doorbell volume-
BuzzerBuzzerTrigger Alarm Clock Action as specified. If the action "Alarm Clock Chime" is selected, the alarm clock sound is played at the set alarm clock volume.-
ResetResetTurns off the player. As long as the input is active, any further operation is blocked.-
DisDisableLock object inputs-
DisPDisPDeactivate presence input. As long as this input is active, any change in value at input P is ignored.-
T5T5Button 2 (Volume up, next favorite) or button 5 (Volume down, off) of a Loxone Touch is used. Double click on button 3 also turns off the player, unless deactivated by parameter Roff
TTSTTSPlay Text-To-Speech at TTS volume-




Outputs

AbbreviationSummaryDescriptionValue Range
Stereo LRStereo Left & RightOutputs the full stereo signal-
QaEnabledPlayer is currently playing-
AQVolVolumeCurrent volume
RQRoomOff OutRoom Off, is activated by reset or double-click on V- or T5 (button 3).-
RaQHouseOff OutHouse Off, is activated by triple click on T5 (button 3)-
Stereo LStereo LeftOutputs the left channel of the stereo signal-
Stereo RStereo RightOutputs the right channel of the stereo signal-




Parameters

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
VdStartup volumeVolume when the player is switched on%-1...10025
SvVolume step sizeVolume step size for operation with V+ / V-%1...1003
VaMinimum volume alarm soundsMinimum volume for alarm sounds%0...10075
VbeMinimum volume doorbellMinimum volume for doorbell%0...10050
VbuMinimum volume alarm clockMinimum volume for alarm clock%0...10050
VtMinimum volume text outputMinimum volume for text output%0...10040
TdcDouble click durationDouble click speeds0...100.35
ROffIgnore Room-OffIgnore Room Off / House Off via T5 (button 3)--0
BuzzerFavRoom favorite for alarm clockRoom favorite ID for alarm clock, if the alarm clock option room favorite is used-1




Preferences

SummaryDescriptionValue RangeDefault Value
Player-IDID of the player on the Audioserver-
Alarm Clock ActionAction that is carried out when the alarm goes off--




Programming example

The following image shows a programming example with an Audioserver and two Stereo Extensions:

The first Audio Player block in the living room uses the 2 stereo speaker outputs of the Audioserver, i.e. 2 pairs of speakers. Since it is the same room or area, only one Audio Player block is used. The Stereo LR output provides both channels and the combined actuator (ALR) passes them on to the Audioserver. On the device itself, the channels are output at the corresponding terminals for the left and right speakers.

The second Audio Player block in the bedroom is used with the stereo output of the Stereo Extension 1, i.e. one pair of speakers.

One of the two separated channels of Stereo Extension 2 was used on each of the two Audio Player blocks in the kitchen and garden, i.e. only one speaker per room.
The speakers are connected to the Stereo LR output of the block, so each speaker receives the full stereo signal, although the stereo effect is lost in this case. (Downmix)

A Loxone Touch of the respective room is connected to each block for operation according to the Loxone Switch Standard. Depending on the customer's preference, a Presence Sensor can be used, as shown in our example in the living room and kitchen.


Possible uses of the Stereo L and R outputs

The Stereo L and Stereo R outputs of the block provide only the signal of the respective channel.
The following examples show possible applications for this:

Example 1: The layout or usage of a room has changed, and the left and right channels must be swapped.
The stereo output can be separated, the right speaker output is then connected to the stereo L output of the block, and vice versa. In this way, the channels can be swapped without having to change the wiring:

Example 2: An odd number (3,5,7...) of speakers is used in a room.
The additional speaker could be provided with the full stereo signal, but if it is located on the left side of the room, for example, it makes sense to provide it with the left signal only:

Example 3: Only single speaker outputs are free on different Stereo Extensions, but a Stereo Zone is needed.
Stereo L is connected to a separated output of one Extension, and Stereo R is connected to a separated output of the other Extension, thus merging the outputs:

Example 4: A large room is equipped with many speakers.
It may be beneficial to install the Stereo Extensions on the side of the room where the speakers are located. Connect all outputs of the Stereo Extensions on the left side to the Stereo L output of the Audio Player block. The same is done for the right side:


User Interface and Operation

Once the configuration has been saved to the Miniserver and it has been restarted, the Audio Player blocks are available in the corresponding rooms.

Options for music selection are available by clicking on the block in the app or the user interface:

Browse and select Internet radio stations, or add your Spotify account or a network location. Create favorites for each room to quickly access them.

When using a Loxone Touch, operation is via the two right buttons, according to the switch standard.

The same pattern of operation is used both in the App and for the Loxone Touch:

Button + (up): Increase volume. Double click: Skip to next favorite or track. If switched off, pressing + will also switch on.

Button - (down): Decrease volume. Double click: Switch off. If switched off, pressing - will also switch on.


Internet Radio

The Internet radio service TuneIn offers numerous radio stations and podcasts. You can search for stations in the app or user interface and add them to your favorites. To do this, click on the menu icon (3 dots) and select Save as Favorite.


Spotify

The integration with Spotify allows you to play your Spotify music or playlists directly on the Audioserver. Note that a Spotify Premium Account is required for this.

In the Loxone App click on Spotify, then click on Add Spotify Account. You will be redirected to the Spotify website. Log into your Spotify account and confirm access to your account by the Audioserver.

The service can now be used.


Library

The library is visible when audio files are available on local drives or devices on the network:

If necessary, display the library using the gear symbol to the right of the search field.

The following sections explain how to add available sources for audio files.


Files on USB storage devices

USB storage devices containing audio files can be connected to the USB port on the Audioserver. Details on supported drives and audio formats are described in the Audioserver data sheet. Hard drives with a power consumption of more than 500mA must be connected to an external power supply.

As soon as a USB drive is plugged in, the audio files on the drive are listed in the Library in the App or user interface.

Note that local files of an Audioserver are only available on the Audio Player blocks that are linked to that Audioserver.
If you want to access your music library from multiple Audioservers, add the files to the library via a central network share e.g. on a NAS.


Files on the Audioserver

Files can also be stored on the Audioserver's SD card. The folders can be accessed via an SMB network share provided by the Audioserver.

In Windows, you can access them by entering the IP address or hostname of the Audioserver in Windows Explorer in the following format: \\192.168.1.7 or \\\hostname

The outdated protocol SMB1 is not supported for access. It may be necessary to change two registry entries in Windows 10 to the following values:

The Library folder on the SD card can be used to store audio files that can then be played from the library. Please keep in mind that the SD card is limited in size and speed. We recommended using a USB drive or a network share for larger music collections.

The folder Event_Sounds on the SD card contains audio files for system sounds such as doorbell, alarm clock, or alarm sounds. The system sounds can be changed by replacing these files. The new files must match the original file name and format, and replace the original ones.

The usb folder is visible when a USB drive is connected to the Audioserver. This allows you to add or remove files on the USB disk.

The folder Updates is reserved for manually uploading an update file.

These local folders are only intended for easy management and maintenance, not for use as a network share to be added to the library on other Audioservers.

Note that local files of an Audioserver are only available on the Audio Player blocks that are linked to that Audioserver. If you want to access your music library from multiple Audioservers, add the files to the library via a central network share e.g. on a NAS.


Files on network shares

SMB network shares can be added to the library. You only need to add a specific share once, it will then be available across all Audioservers or Audio Players.
To do this, click on Library in the App, then on the menu icon in the top right corner (three dots), then select Add network folder.

The following window opens. Enter the information for your network share:

Finally, click Add, after which the files will be imported and are then ready to be played from the library.

The outdated protocol SMB1 is not supported for access.


Line In

The analog audio input (Line In) of the Audioserver can also be selected as source. Click on the gear symbol to the right of the search field to display the Line In. It can then be used: