Technical Topics
Audio Resources
6min
audio modes brightsign tools offer two audio modes, dynamic and pre routed pre routed is the default mode for brightauthor\ connected and {{brightauthor classic}} , and dynamic is the os default mode and is generally only used for usb audio or high bitrate audio in pre routed mode (also known as "mixed audio" in brightauthor\ connected and brightauthor classic), the audio players are pre wired to all audio outputs at boot up and then unmuted when the media is played (see the image at right for all the possible connections in pre routed mode) this mode has the following limitations usb audio can't be used high bitrate compressed audio can't be used (for example, eac3/dolby digital plus) care must be taken when playing back pcm and compressed audio together (of course, this doesn't work at all in dynamic mode) in dynamic mode (also known as "fixed audio" in brightauthor\ connected and brightauthor classic), the audio player wires itself when the media is played this mode has the following limitations media files need to have the same sample rate (it doesn't support sample rate conversion) media playback can't be started through an output which is already playing it doesn't support auto level volume (the audio compressor tries to smooth all audio to the same level) use cases these are our recommendations for common use cases use case recommendations (for both brightauthor\ connected and brightauthor classic) playback generic website with video players select "mixed audio/pcm only" (in pre routed mode with the "pcm only" flag set) the audio from any videos being played will be mixed together regardless of sample rate playback to usb speakers select "fixed audio" (dynamic mode) pre routed mode doesn't support usb playback of only ac3 audio to hdmi® select "fixed audio" (dynamic mode) pre routed mode has no benefit in this situation playback switching between ac3 and aac to hdmi select "mixed audio pcm/compressed" (in pre routed mode) multiple aac files can be played simultaneously or single ac3 with the hdmi output if the playback stream or file could be ac3 or aac but it’s not known until runtime, you can't mix the audio of more than one player (unless an ac3 decoder has been licensed) in this case, pre routed mode doesn't provide any benefits and dynamic mode is recommended since it has fewer restrictions if the presentation controls when ac3 is played and when aac is played, it can used pre routed mode and output either a single ac3 or multiple simultaneous aac streams again, if no mixing is required, dynamic mode makes the most sense playback of dolby digital plus select "fixed audio" (dynamic mode) pre routed mode doesn't support high bitrate compressed audio reserved routing if a playback file has its audio routed to none when it is started, it will never have audio until the routing is changed and it is played again (since the audio doesn't need to be decoded, no audio decoder is allocated when the playback starts) in pre routed mode, audio routing might be dynamically changed during playback, so brightsign created a \ reserved qualifier for audio outputs which lets you allocate an audio decoder but wait to route the audio (for example, hdmi\ reserved ) for example, if you have two video players, one configured with pcm output hdmi and the other with hdmi\ reserved , both video players will be assigned audio decoders and the audio can be re routed during playback use roaudioconfiguration to set modes the roaudioconfiguration docid\ o 1m6gaztvtbhvgpbodne method will return false if called when there are audio resources currently in use (audio or video players active) it will re configure the audio resources on the fly, which means that it is easy to switch between presentations with different routing modes to set to pre routed mode brightscript ac=createobject("roaudioconfiguration") print ac configureaudio({ mode "prerouted", autolevel "off", pcmonly "true", srcrate 48000 }) to set to dynamic mode brightscript ac=createobject("roaudioconfiguration") print ac configureaudio({ mode "dynamic" }) roobject getconfiguration () returns an roassociativearray which describes how many audio decoders are available, the current routing mode and the other settings that apply to that mode ac3 / eac3 licensing brightsign players support passthrough but do not support ac3 / eac3 decoding out of the box players must be purchased with an ac3 / eac3 license or returned to the factory for an upgrade there is a per player license cost contact your reseller or brightsign sales for more information the sku for this purchase is svc ac3 bs