Do I use a website to download songs off of YouTube or Spotify?

Where should I store the music? I haven’t any clue about self-hosting. I’m running GrapheneOS, is it enough to save the songs in Files and play in an app like Auxio? Maybe sync with SyncThing?

What’s the best way to compress mp3 files but still retain the quality (even possible)?

Could really use some help as I’m very inexperienced. :)

  • wildbus8979@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    30
    ·
    4 months ago

    Do I use a website to download songs off of YouTube or Spotify?

    Soulseek and/or private trackers, both with a VPN.

    Where should I store the music?

    On a hard disk?

    I’m running GrapheneOS

    Android isn’t well suited for this. It’s fine for playing either by transfering your files or streaming them with something like subsonic, mod, etc.

    Maybe sync with SyncThing?

    This could work yeah.

    What’s the best way to compress mp3 files but still retain the quality (even possible)?

    By design MP3 is a lossy format, so no you cannot. What you want is FLAC, a lossless compressed format.

    • Maxy@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      19
      ·
      4 months ago

      To add to the audio compression: it isn’t possible to further compress an mp3 file without losing any quality. You can either:

      1. Recompress to a lossy codec (mp3, aac, opus). This will lead to smaller file sizes if you set the bitrate lower than that of the input file, but it will always worsen the quality, no matter the bitrate.
      2. Recompress to a lossless format (flac easily being the best one). Going from a lossy to a lossless format will increase the file size (sometimes by quite a substantial amount), while keeping the same quality. There is very little reason for you to do this
      3. keep the original files (my recommendation)

      If you’re willing to spend some extra time learning about audio compression, you can download lossless files and compress those directly to whatever format and bitrate you want. The quality will be better than option 1 above, as the audio is only lossely compressed once instead of twice.

      • madeindjs@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        Recompress to a lossless format (…) There is very little reason for you to do this

        I though there are no reasons at all to do it. What could be a valid use case for this ?

        • Maxy@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          4 months ago

          It’s possible for a certain hardware/software setup not to support a certain codec. For example, my jellyfin client (Finamp) uses the iOS native decoders (afaik), which means opus files are practically broken. My music library (8000+ songs) contained exactly 1 lossy file, which just so happened to be an opus file. I decided to spend the extra ~20MB to standardise my entire library to flac files, ensuring I could play every song on all my devices.

          Edit cause I posted too soon: you are generally correct; only in very specific circumstances will you encounter compatibility issues like this one in the modern world. This is 100% apple being apple, and you can expect pretty much every other (reasonably modern) device to support all codecs you might encounter in the wild.

    • Wild Bill@midwest.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Thank you for the answers! As for the hard disk, do you mean something like a USB or SSD? In that case, how do I sync the music from there to my phone?