I’ve made a little utility on Android that allows you to record audio > compress > encrypt > convert to base 64 and I am wondering if there are any ways to streamline sending the data over meshtastic or are there limits to the amount of characters you can send?

  • edinbruh@feddit.it
    link
    fedilink
    English
    arrow-up
    2
    ·
    19 days ago

    There is no way to make this work. As others told you, hex made it bigger, because hex is like equivalent to base16. Every digit in base64 is 6 bit, while in hex it’s 4 bit. Raw bytes would be equivalent to base256.

    You will not get a good result with this technology, it just can’t handle the bandwidth, and will make it worse for everyone else by consuming their shared bandwidth.

    Instead, try to look into midi and sound fonts, that might give you a more sustainable solution.

    • hereforawhile@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      It definitely works. I tested a five second audio clip at 2kbs. It’s about 15 manual copy pastes at 200 character limit…but it works.

      This isn’t going to be used it’s a very manual process…but I’m glad I can do it!

      • edinbruh@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        ·
        18 days ago

        Ok, let me be more specific. Of course it delivers the audio, so you can technically say that i “works”, that wasn’t up to debate, you can deliver anything, actually. The problem is that it will never be viable. You shouldn’t abuse the network, as it is a shared channel, when you use 2kbps to send your audio, no one else’s can use it for messages, and viceversa, relaying many messages will limit your bandwidth.

        You are trying to fit a square peg in a round hole, while instead there are tools designed for this purpose. It’s kind of silly developing a roundabout way to send audio through meshtastic while every other amateur radio ecosystem is already designed for audio.