Page 1 of 1
EOS - Display audio file name
Posted: Mon Jan 20, 2020 2:05 am
by emiumfinal
Does anyone know if there is a way to have EOS display the name of the audio file that is playing? I've tried a few different javascript functions, but none of them seem to work for returning the audio file name. Example would be if you have EOS pick a random audio file from a selection of files, and then wanted to display which one was actually playing.
Re: EOS - Display audio file name
Posted: Mon Jan 20, 2020 2:20 am
by kerkersklave
I don't think that is possible.
You could however use Javascript to select and start an audio file. Then you can just store the name.
Re: EOS - Display audio file name
Posted: Mon Jan 20, 2020 5:16 am
by emiumfinal
kerkersklave wrote: Mon Jan 20, 2020 2:20 am
I don't think that is possible.
You could however use Javascript to select and start an audio file. Then you can just store the name.
It appears that EOS is using some form of Javascript to do that, as normal Javascript commands for audio work in the Eval sections, but I can't seem to find an expression that returns a file name.
Re: EOS - Display audio file name
Posted: Mon Jan 20, 2020 5:44 am
by undeniable_denial
It's not possible.
I'm currently suffering from the problem that a single file can actually be playing multiple times simultaneously and there is no way to control it when it accidently happens.
Your only chance is to load all the audio files and create your own random playback function and keep track of it as best as you can.