Kino_live_audio and ortex with Elixir 1.19+

Has anyone had any luck getting the kino_live_audio Livebook working with Elixir 1.19? I’m able to get things to load, but nothing is updating in the VegaLite graph.

Steps I’m taking:

  • Running Livebook v0.18.5 with Elixir v1.19.3
  • I’m running the docker container so I have to install Rust
    • exec into container
    • apt update && apt install curl
    • Install Rust: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    • edit /app/bin/server to change shell to bash and add . "$HOME/.cargo/env" to top of script
    • restart the docker container in-place
  • Instead of using the version of ortex in the livebook, I have a PR to support Elixir 1.19
    • {:ortex, github: "zentourist/ortex", branch: "fix/support-elixir-1.19"}
  • I’m using this version of Silero_Vad from @seanmor5 because the inputs from the latest seem to deviate a bit since this blog post

After all of that, the model seems to load fine and the record button activates, but the Kino graph is blank. I’m a bit at a loss. :icon_confused:

Any tips and tricks are much appreciated.

Cheers,

Dan Wanek

This looks to be an issue with the kino_live_audio library. I have things working with an alternative approach. I’m going to try and work my changes back into that lib.

Reporting back just so people aren’t wasting their time :slight_smile: