if you could pick a standard format for a purpose what would it be and why?

e.g. flac for lossless audio because…

(yes you can add new categories)

summary:

  1. photos .jxl
  2. open domain image data .exr
  3. videos .av1
  4. lossless audio .flac
  5. lossy audio .opus
  6. subtitles srt/ass
  7. fonts .otf
  8. container mkv (doesnt contain .jxl)
  9. plain text utf-8 (many also say markup but disagree on the implementation)
  10. documents .odt
  11. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  12. configuration files toml
  13. typesetting typst
  14. interchange format .ora
  15. models .gltf / .glb
  16. daw session files .dawproject
  17. otdr measurement results .xml
  • Supermariofan67@programming.dev
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    Why? What reason could there possibly be to store frequencies as high as 96 kHz? The limit of human hearing is 20 kHz, hence why 44.1 and 48 kHz sample rates are used

    • bellsDoSing@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      On top of that, 20 kHz is quite the theoretical upper limit.

      Most people, be it due to aging (affects all of us) or due to behaviour (some way more than others), can’t hear that far up anyway. Most people would be suprised how high up even e.g. 17 kHz is. Sounds a lot closer to very high pitched “hissing” or “shimmer”, not something that’s considered “tonal”.

      So yeah, saying “oh no, let me have my precious 30 kHz” really is questionable.

      At least when it comes to listening to finished music files. The validity of higher sampling frequencies during various stages in the audio production process is a different, way less questionable topic,

    • christophski@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      That is not what 96khz means. It doesn’t just mean it can store frequencies up to that frequency, it means that there are 96,000 samples every second, so you capture more detail in the waveform.

      Having said that I’ll give anyone £1m if they can tell the difference between 48khz and 96khz. 96khz and 192khz should absolutely be used for capture but are absolutely not needed for playback.

      • Supermariofan67@programming.dev
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        It means it can capture any frequency up to half the sample rate, perfectly. The “extra detail” in the waveform is higher frequencies beyond the range of human hearing

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

        That is what it means. Any detail in the waveform that is not captured by a 48kHz sample rate is due to frequencies that humans can’t hear.

      • vrighter@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        this is a misconception about how waves are reconstructed. each sample is a single point in time. But the sampling theorem says that if you have a bunch of discrete samples, equally spaced in time, there is one and only one continuous solution that would hit those samples exactly, provided the original signal did not contain any frequencies above nyquist (half the sampling rate). Sampling any higher than that gives you no further useful information. There is stil only one solution.

        tldr: the reconstructed signal is a continuous analog signal, not a stair step looking thing

    • barrett9h
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      because if you use a 40 kHz signal to “draw” a 10 kHz wave, the wave will have only four “pixels”, so all the high frequencies have very low fidelity