I'm trying to make an audio input Shiny app that uses this audio recording demo app as its basis.
I've tried to intercept where it outputs the audio wav file, and that seems to work and writes the wave file to the disk, so it all seems to work great - until I want to update Shiny with the results
All the Shiny update functions seem to fail after the audio is captured:
textOutput() etc. don't fire.
I think perhaps the audio recording JS may be interfering with the Shiny JS? But can't get to the bottom of it or know how to debug it.
Perhaps I have put the
Shiny.onInputChange() in the wrong place? I put it in this:
If anyone can point me in the right direction it would be appreciated, the full app code is in this branch of
googleLanguageR : https://github.com/ropensci/googleLanguageR/tree/shiny-demo/inst/shiny/capture_speech