Skip to content
DevMeme
4773 of 7435
Audiophiles rate memcpy sound quality, devs joke C++ new beats malloc
LowLevelProgramming Post #5228, on May 29, 2023 in TG

Audiophiles rate memcpy sound quality, devs joke C++ new beats malloc

Description

A dark-themed social post shows a user named “Dan Ports - @[email protected]” with a small profile photo. The post text reads: “This is your periodic reminder that 10 years ago an audiophile forum started debating which versions of memcpy had the highest sound quality. And that C++ new sounds better than malloc.” Below the text is a purple hyperlink, “audioasylum.com/messages/pcaud…”, followed by a link preview card that twice repeats “RE: A revolution in audio rendering - SBGK - Computer Audio Asylu…” with www.audioasylum.com beneath. A footer shows the date “Mar 12, 2023, 05:54 · Web · 953 · 1.2K”. The humor comes from treating low-level memory-copy routines (memcpy, malloc, C++ new) as if they changed audible fidelity, lampooning audiophile placebo effects while referencing C/C++ manual memory management familiar to systems programmers

Comments

23
Anonymous ★ Top Pick Audiophiles claim malloc sounds too “clinical,” but C++ new adds just enough constructor latency to really open up the soundstage between the cache lines
  1. Anonymous ★ Top Pick

    Audiophiles claim malloc sounds too “clinical,” but C++ new adds just enough constructor latency to really open up the soundstage between the cache lines

  2. Anonymous

    The only thing memcpy affects in audio playback is how quickly you can copy the buffer before the next interrupt - but try explaining that to someone who spent $5000 on oxygen-free copper ethernet cables for 'warmer TCP packets'

  3. Anonymous

    Ah yes, the legendary Computer Audio Asylum memcpy debate - where audiophiles discovered that memory allocation functions have 'warmth' and 'soundstage.' Truly the Heisenbug of audio engineering: the act of observing which malloc implementation you're using changes the sound. One wonders if they also A/B tested different compiler optimization flags for 'tighter bass response,' or perhaps debated whether `-O3` sounds too 'clinical' compared to the 'organic warmth' of `-O2`. This is what happens when people who understand neither digital signal processing nor the C standard library collide with expensive audio equipment and confirmation bias. At least it gave us a decade of material for 'things that definitely don't work that way' discussions

  4. Anonymous

    C++ new sounds better? Must be the vtable overhead adding that authentic harmonic distortion

  5. Anonymous

    Pro tip: if memcpy alters your soundstage, it’s not DSP - it’s UB and cache eviction doing a live remix

  6. Anonymous

    If "new" sounds better than malloc, your audio stack isn't bit-perfect - it's a synthesizer powered by cache misses

  7. @affirvega 3y

    joke is kinda flying over my head, what's the matter?

    1. @anaestesiya 3y

      https://www.audioasylum.com/messages/pcaudio/119979/

    2. @Araalith 3y

      This joke confirms the popular stereotype about audiophiles who use gold power cables, asserting that it improves the sound. They insist that the cables should not touch the floor, often using special, expensive wooden holders to achieve this. Regardless of how absurd a claim may seem, there's likely an audiophile endorsing it as a method to enhance sound quality

      1. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

        Be careful about optical cables they have to be atleast 30cm away from the ground. This is a joke digital signal with crc will not have any audio quality impact. Either it works or it doesn’t.

        1. @RiedleroD 3y

          yes, but you need analog audio for maximum quality this is a joke, but audiophiles are the true clowns here

          1. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

            Yea but don’t worry I am using DAC what is Digital to analog converter so it should be fine

            1. @RiedleroD 3y

              *reads sarcastic message* "dislike, did not enjoy"

    3. @gizlu 3y

      "Audiovoodoo"

  8. @anaestesiya 3y

    Like 10 years ago people tried to optimize sound quality by using improved versions of memcpy Today it sounds funny 🤓

    1. @ImJmik 3y

      So sound quality have been improved?

      1. @anaestesiya 3y

        I'm not an expert But if the reason was that memory for sound buffer allocated slowly - and music players started using c++ malloc (which stated as faster way) than yes. Sound quality improved

        1. @ImJmik 3y

          I was joking about "Today it sounds funny" Sounds funny = sounds better

        2. @RiedleroD 3y

          I'm pretty certain they weren't talking about buffer overruns

        3. Егор 3y

          Yeah those ANCIENT machines in 2013 taking three minutes to allocate memory on magnetic tapes. Definitely weren’t powerful enough for music. /s

        4. @mekosko 3y

          Huh, I thought you allocate all necessary buffers once if you need better latency

          1. @RiedleroD 3y

            yes. that's correct.

  9. @dp229 3y

    9999 subs lol

Use J and K for navigation