• AnonTwo@kbin.social
    link
    fedilink
    arrow-up
    15
    arrow-down
    10
    ·
    1 year ago

    Audio size is based on the quality of the recording, not what the recording is.

    If the white noise is for some reason recorded in high quality, it’s going to use as much data as music.

    • Solemn@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 year ago

      Compression algorithms generally rely on sensing patterns in the data to allow you to store just one example of that data and where it repeats, instead of storing it all fully. This is extremely visible in H264 and H265 for video, where the first is easily 1% the size of the raw video data, and the second is easily 1/10th the size of that, since it can detect more patterns to compress.

      White noise means your mp3 is basically the size of the uncompressed data, instead of being 5-25% that size (stat from Wikipedia on compression ratio of mp3). This costs Spotify more for storage and streaming bandwidth.

      • InvertedParallax@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        It really doesn’t, not at all.

        The paychoacoustic models just do their best for the given Bitstream and it’s not true white noise, just the most audible parts, you end up with the lowest 30 Harmonics or so that it can find (random numbers have a lot of harmonics.

        Brain can’t tell, brain is dumb.

      • efstajas@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        White noise means your mp3 is basically the size of the uncompressed data

        You’re forgetting that mp3 is a very lossy compression algorithm that’ll happily discard much of the frequency spectrum, which in the case of white noise actually would be a pretty significant amount of data.

    • Natanael@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      That’s only true for constant rate compression, not for variable bitrate compression