Hello everyone!
Does anyone here ever tried to use audio files in a shiny app?
I'm not talking about chip music.
Thanks!
Hello everyone!
Does anyone here ever tried to use audio files in a shiny app?
I'm not talking about chip music.
Thanks!
The answer at the following link shows how to add audio files:
Basically, you need to add an audio
tag and specify the audio file you'll be using. This audio file must be in a www
folder within your shiny project.
I have a Shiny module in googleLanguageR
that will play audio - I needed it for text-to-speech, but it should work with any audio file:
Thanks everyone! It was helpful!
Do you know how to make the audio autoplay?
In the linked file, you can see an example - set autoplay attribute to NA
shiny::tags$audio(autoplay = NA,
shiny::tags$source(src = wav_file()))
This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.