Introduction

PubCoder allows to add a soundtrack to your whole project or selected pages, which will play automatically and continuously while the end user navigates your publication.

Soundtracks are great for background music or ambient sound effects such as rainfall. When turning to a page using the same soundtrack, its playback continues without interruptions.

You can easily assign an audio track to your entire publication by simply assigning an audio asset to the property Soundtrack Audio File in the Project Inspector. You can even select the initial soundtrack volume when exporting to XPUB, HTML5, iOS App and Android App formats.

Note that the actual soundtrack playback is performed by the reader app, including its volume which is subject to the end user preferences.

Soundtrack Setup

To assign a soundtrack to the entire project, just switch to the Project Inspector at the tight of your PubCoder project window, then assign an audio asset to the property Soundtrack Audio File.

You can also use a soundtrack only on some pages, or assign different soundtracks to different groups of pages: select the relevant pages in the page selector at the bottom of the PubCoder project window - remember you can select multiple pages by pressing the , ctrl or shift key while clicking their thumbnails - then turn ON option Enable Soundtrack in the Page Inspector and assign an audio asset to the property Soundtrack Audio File.

Actions

PubCoder supports some specific actions to control soundtrack playback from your content when using XPUB, HTML5, iOS App and Android App formats.