I have been tinkering with sound visualizing recently and this is the result :3

    • tranzystorek_io@beehaw.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Thank you! I’ve made small tweaks since posting, like adding config flags to CLI, for instance --style fill will display “filled” bars instead of “striped”:

      • thgs@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’ve been working on a small TUI framework and sound was something I was wondering if possible to be done. My code is in PHP though not Rust. So this might give me some insight on how capturing works (I have no idea how sound works) but what I wanted to create is the capability (more or less) that for example TIC-80 provides where you have input from sound and make graphics respond to it (see Lovebyte jam sessions on youtube for example).

        I really like the detail on the non filled ones where the last one on top might not always be a full one.

        • tranzystorek_io@beehaw.orgOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Sound capture was a major pain point here 😅 I had to hardcode an alsa loopback device identifier, and beyond that it’s very manual - loading alsa’s loopback kernel module, connecting my music player to the pipewire device and such