polarwind
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
12:35 AM
BrightSign BrightScript roAudioPlayerMx equivalent
From what I have been informed Brightsign still uses BrightScript, but it's not the same BrightScript that Roku uses. They have their similarities, but they do not have the same core components available.
I see that Brightsign has support for roAudioPlayerMx which enables audio crossfading. Their developers documentation states that "This object allows you to mix audio files. Each roAudioPlayerMx object contains two internal audio players: The main audio playlist consists of queued audio tracks that play sequentially, while the audio overlay plays files on top of the main playlist. A fade will not occur if it is called while an overlay is playing, but the next audio track will start playing as expected. "
Further it gives an example :
Example: The following example illustrates a simple crossfade between audio tracks.
a = CreateObject("roAudioPlayerMx")
track1 = CreateObject("roAssociativeArray")
track1["Filename"] = "file1.mp3"
track1["FadeInLength"] = 4000
track1["FadeOutLength"] = 4000
track1["QueueNext"] = 1
track2 = CreateObject("roAssociativeArray")
track2["Filename"] = "file2.mp3"
track2["FadeInLength"] = 4000
track2["FadeOutLength"] = 4000
track2["QueueNext"] = 1
a.PlayFile(track1)
a.PlayFile(track2)
So my question to the Roku Dev Team is : would it technically be possible to support this? And if so, what needs to be done to get it on the wish list? If not technically possible, how can this be done otherwise?
I see that Brightsign has support for roAudioPlayerMx which enables audio crossfading. Their developers documentation states that "This object allows you to mix audio files. Each roAudioPlayerMx object contains two internal audio players: The main audio playlist consists of queued audio tracks that play sequentially, while the audio overlay plays files on top of the main playlist. A fade will not occur if it is called while an overlay is playing, but the next audio track will start playing as expected. "
Further it gives an example :
Example: The following example illustrates a simple crossfade between audio tracks.
a = CreateObject("roAudioPlayerMx")
track1 = CreateObject("roAssociativeArray")
track1["Filename"] = "file1.mp3"
track1["FadeInLength"] = 4000
track1["FadeOutLength"] = 4000
track1["QueueNext"] = 1
track2 = CreateObject("roAssociativeArray")
track2["Filename"] = "file2.mp3"
track2["FadeInLength"] = 4000
track2["FadeOutLength"] = 4000
track2["QueueNext"] = 1
a.PlayFile(track1)
a.PlayFile(track2)
So my question to the Roku Dev Team is : would it technically be possible to support this? And if so, what needs to be done to get it on the wish list? If not technically possible, how can this be done otherwise?
6 REPLIES 6

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
04:30 AM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
That's a nice wishlist item!
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
10:27 AM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
"polarwind" wrote:
From what I have been informed Brightsign still uses BrightScript, but it's not the same BrightScript that Roku uses. They have their similarities, but they do not have the same core components available.
I hope that does not sound too nit-picky but this is not about BrightScript, rather just about an API/component - something less fundamental.
Most Rokus support two simultaneous streams, see the (somewhat awkwardly located) ifAudioResource.MaxSimulStreams(), as well as .trigger(volume), ibid.

Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
11:08 AM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
Yes but that is just for clips in wav format, not longer music/songs in mp3 format (IIRC)
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2016
02:07 PM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
"Komag" wrote:
That's a nice wishlist item!
I'd love to see this as well. i have a need for it right now.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
polarwind
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2016
01:34 AM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
I hope Roku Support is listening :). Looking forward to some feedback.
polarwind
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2019
03:24 AM
Re: BrightSign BrightScript roAudioPlayerMx equivalent
Support, did you fail us ? No sign of life? Nothing?