A reason why Mac speakers sound better and louder than most
social.treehouse.systems
social.treehouse.systems
https://patents.google.com/patent/US20130329898
EDIT: I say granted because that’s how most people understand patents and when they take effect. What really matters on the timeline here is the filing (priority) date and the grant (publish date).
It’s patents so it gets really complicated but essentially the later grant (after patent office/authority “review”) more or less makes the effective date the priority date - which to complicate matters even further can actually be the filing date of a referenced provisional patent that (in the US) can be as long as 12 months before the non-provisional (real) patent filing.
Clear as mud, right?
For example, the Apple/Samsung saga, the notch, and I'm sure there are others
Apple vs Samsung was largely over key UI/UX components that are more or less standards for what users expect from a modern device. Samsung had to essentially calculate "do we try to work around these patents (and maybe get sued anyway) or offer a product in the marketplace that is markedly sub-standard vs a competitor product".
Somewhat paradoxically, at the "startup scale" when I've dealt with patent prosecution (filing patents - terminology is kind of backwards) I've been specifically instructed by IP counsel not to do in-depth patent searches for existing/competing patents. If it can be proven you knowingly infringed on a patent the damages increase significantly because it can then be considered "willful infringement". Good IP counsel often offers a service that (essentially) puts up a little bit of a firewall between the "inventor" and this issue - the firm does searches you're not privy to and usually channels some information to you while not disclosing specifics of the patent. This communication has the benefit of being protected by attorney-client privilege which is almost impossible to pierce.
For something like this I doubt many consumers are making a purchasing decision solely on what laptop speakers sound like. Most people don't really care, sure, it's a "nice to have" for your laptop speakers to sound better but from a sales and revenue standpoint the difference is likely minuscule.
[0] - https://hbswk.hbs.edu/item/why-south-korea-s-samsung-built-t...
[1] - https://www.texasmonthly.com/news-politics/patently-unfair/
In modern times "To promote the Progress of Science and useful Arts"[1] usually ends up having the opposite effect. Literally in The Constitution (a document from 1787) - Article I, Section 8, Clause 8.
[0] - https://ipwatchdog.com/2021/03/05/balancing-innovation-compe...
[1] - https://constitution.congress.gov/browse/essay/artI-S8-C8-1/...
Things like the shape of the Coca-Cola bottle are under design patents and that's why Pepsi can't just 1:1 copy it without an expensive lawsuit.
Aside from applying it to speakers, whats novel?
That said, this process is not "estimating" anything. It's taking high resolution direct measurements[0] of driver temperature with awareness of the frequency and amplitude of the audio signal (also factoring in crossover frequency) and doing a bunch of stuff (this is well outside my area of expertise) to essentially overpower the individual driver(s) well past their intended electrical and physical specifications.
If I ever ended up on a jury for this (I wouldn't - I would get dismissed after one question in voir dire) even I would have a tough time associating (and recognizing as prior art) what you described with this process.
[0] - I've since been corrected on this - it is an estimation (of sorts).
With patents it's not the general idea that's being patented. The patent itself cites many earlier patents which operate around the same general idea just with slightly different implementations on how the control process is fed and how it reacts.
Exactly. In this case it's a "process". Generally speaking my take is there's almost never entirely new process (or design or anything else) in any "invention" - humans have been at this for hundreds of years and there's almost nothing that's entirely new.
I don't think I've ever seen a filing without tons of references.
My original point - this isn't enough of a distinguishing feature to drive sales and revenue for any manufacturer to risk that.
Ok, you sold 1% more laptops because you have good speakers. Then Apple sues you and potentially wins damages on a larger percentage of ALL of your sales of that "infringing" product.
Not worth it, not even close. Not even worth it to try to circumvent and still risk getting sued.
They don't care because it doesn't impact sales enough to care. If some R&D person in these orgs took interest in this it would get smacked down by PMs, execs, etc because it doesn't matter and they don't care. That's all well before it even gets to legal where this patent would be discovered. With these factors compounded it doesn't happen - and Apple has a tiny edge on what is probably their core market/demographic anyway.
I agree, but in this case the only innovation I see is applying a known solution to protect large inductor coils (transformers, motors) to protect smaller, inductor coils (speaker drivers).
Apple can patent their actual model all they want (for example by adding the driven air as a cooling term), but the idea, generally, of building a model to estimate the temperature is prior art.
It cites a Bang & Olufsen patent (https://patents.google.com/patent/US20090257599A1/en) which implements voice-coil protection via measuring the resistance/impedance of the speaker while it's being driven.
It also cites another patent (https://patents.google.com/patent/US20120020488A1/en) which implements control of a speaker via combination of impedance measurements of the speaker while it's being driven + a baseline ("binding") measurement of impedance + ambient temperature that is taken at device power up - ie generating a per device calibration curve.
From quickly staring at these, the Apple patents threads the needle by:
* Implementing speaker control using the output of a temperature model (which is fed by the resistance measurement), instead of "directly" operating on speaker resistance.
* Not implementing per-speaker calibration.
(Note! There are other cited patents that I didn't look at, this wasn't meant to be exhaustive, just illustrative... and just to generally satisfy an itch)
Never underestimate a smart community driven by love (and dash psychoacoustic delusion ;) )
It is not exclusive. I cannot believe that there is only one way of doing something like this. They just need to care enough to put some R&D money into this.
"Juror number 7, what is your occupation?"
"I'm a software developer..."
"We move to dismiss this juror".
In this case it could probably be argued for cause due to prejudice which means they can do it all day.
A big part of the calculus here is banking on that.
...
Years ago, when I was on the jury for a OWI case one of the questions to the jury was "do you speak Spanish." I don't, I answered "no." I don't speak and haven't studied any languages derived from Spanish.
Part of the case was about a defendant from Puerto Rico who wasn't responding to an officer who was a native Spanish speaker claiming that he couldn't understand that dialect. Note that this wasn't relevant to the case - it was trying to explain why the defendant wasn't responding to the officer.
The question of Spanish didn't come up in jury deliberations.
After the case, I noted that while I didn't speak Spanish, I did understand French and could read ancient latin and greek... and took linguistics... and my mother was fluent in Spanish and understood several dialects (and used that fluency in a professional capacity) including Puerto Rican (where she had lived for several years). The differences between the PR Spanish and Mexican Spanish are things like the word for the fruit "orange" is a "china" ( http://speakinglatino.com//wp-content/uploads/2012/09/Cartil... )... but we're getting to things like is it a water fountain? or drinking fountain? No - it's a bubbler ( https://www.reddit.com/r/MapPorn/comments/9010e8/what_do_you... ).
This got a scowl from the public defender because I had beyond common knowledge that that line of questions of the officer about if he spoke PR Spanish was trying to catch him in something that he could come back to later (which he didn't).
If the case had been decided on that he didn't understand the instructions of a different dialect (rather than he couldn't stand up, slurred his speech and had a strong oder of malt on his breath (note this was another bit that the public defender tried to bring into question as the officer said he smelled of alcohol which doesn't have a smell itself) my understanding of linguistics and language may have been grounds for disqualification and a mistrial.
---
Subject matter expert evidence should be presented - not something that someone has more than a layman's understanding of being brought into the jury room (as that could also be wrong).
Interesting with your "bubbler map" - in my childhood I moved from "outside the green in that map" to "inside the green in that map". Dialects are fascinating - the first time I heard bubbler to refer to a water/drinking fountain I had no idea what they were talking about. However, the inverse wasn't true - I said water/drinking fountain and they knew exactly what I was talking about.
There's a radio program (incidentally from Wisconsin) on some NPR stations - A Way With Words. Upon looking it up, I'm pleased that it's still going.
On the flip side of "I'm pleased its still going" is "way too many search results"
(think... search... ah ha! There's an episode I remember that had the book in question https://www.waywordradio.org/johnny-on-the-spot/ )
Dictionary of American Regional English - https://dare.wisc.edu
There are some maps that make Indiana look like polkadots for certain words. ... And remembering again...
https://www.daredictionary.com/search?rcode=region.IN
https://www.waywordradio.org/regional-term-pitch-in/ (in particular https://soundcloud.com/waywordradio/1322-callersabrina-pitch... )
The patent has actually been granted thought. It’s here: https://patents.google.com/patent/US9131302B2/
If you can find any differences in the claims or figures I'd be interested.
Because if not, the real reason is as the author suggests: other manufacturers don't bother.
I have been working a long time - decades - in a part of the industry that is not just patent happy but patent berserk and it has never been my experience that other approaches are not available when a single approach is patent-walled off.
But iTunes and the other big music distribution power players have requirements and use encoding technologies based on loudness rather than power. [1]
This is why your playlists don’t require adjusting the volume between songs from different artists/albums/eras/genres.
So it is likely that Apple’s method works hand in hand with the technical constraints of iTunes requirements and other streaming encodings.
And why the threat of Apple’s patent may be providing a moat. Like Dolby, except that licensing patents isn’t a core revenue stream for Apple.
[1] TFA doesn’t cut a bright line between power and loudness within its argument. But that’s a critical part of contemporary audio engineering in today’s commercial music production.
> I’m not saying there might not be another way.
Are you ggp?
All the streaming services normalize music on loudness.
That’s why you aren’t constantly adjusting the volume of your speakers/headphones to compensate for the way each song was originally mixed and mastered.
Apple/iTunes got there first.
> "Nobody else does it because Apple patented it" - except non-Apple phones do do it. I'm pretty sure Apple didn't invent this, even if they got a patent. Apple have a lot of BS patents.
Other comments here: https://social.treehouse.systems/@marcan/109925910155970064
This data, in conjunction with any early "office actions" sent by your reviewer, can give you a really good idea of whether or not the patent will be issued pretty early on in the process.
> This post brought to you by gdb and grep -a, because after typing all that out as a quote toot and deciding that nah, I wanted it standalone, I clicked the "x" next to the quote box (which implies removing the quote association) and that didn't just cancel the quote, it deleted all the text.
> So I attached gdb to the Firefox content process hosting this tab, took a core dump, and grepped it for the lost text. I wasn't about to write all that again from scratch.
For gentler introduction, look for CTF sites. The one that gets recommended most is tryhackme.com. There are a bunch of great ones though.
In my experience, the #1 prerequisite to driving a speaker this aggressively without destroying it is having a clean source of power. Hard distortion and clipping are what break voice coils in direct, physical terms. Thermals can be tolerated over brief durations.
I have found (in larger scale pro audio) that the amplifier topology can have a major impact on the amount of real power you can put into a loudspeaker. One of the most popular is Class D because it requires virtually no magnetics (i.e. no toroidal transformers). The tradeoff is that it needs to have a lot of safety nannies at the extremes and will have to attenuate aggressive program material. You almost always have to put a full-time DSP on these amplifiers.
Compare this to Class A,A/B, G or H topologies which can be pushed well-beyond rated supply amperage for brief durations (i.e. your lights will dim slightly, rather than the amp/DSP limiting its power draw). You can drive these with any kind of signal you please, filtered with nannies or otherwise. These topologies are where I go when I want to be able to reach to DC on a loudspeaker and am willing to replace the drivers if I bump a knob the wrong way.
If you integrate the actual power consumed over the playback duration of typical program material, you would find figures that are essentially irrelevant compared to the cost of running the backlight or WiFi radios.
(no, I've not been able to find it to show hn)
Like most things once you start looking at dozens of factors that are 0.5% wins each you end up with a substantial improvement that in the case of battery powered productivity devices is significant from a sales standpoint.
Also, the tweeter killing effect is because of the harmonic effects of clipping, so if you're hitting the rail voltages with any topology you're going to have a bad time.
You will know when the capacitors are actually empty. When you flip on a 2-4kW pro audio amp, you can hear the electromagnetic forces for about a second. If you have a UPS on the same circuit, it will likely trip. That is empty. During normal use, there is no such thing as empty.
I've also used a few that you can tell exactly what kind of power you're hooked up to (120v @ 25 amp perhaps) and it will draw just up to that limit and stop. Neat stuff
Indeed. I've had horrible luck with reliability of these products (i.e. loudspeakers with integrated class-D amplifiers).
I would strongly recommend going for external amplification wherever possible, especially if you are running cabinetry that weighs more than 100lbs.
And one of the examples he gave regarding "considering users" was why they chose to disable speaker support until they could ensure user safety, as well as ensure a quality sound experience.
When discussing open source projects and communities in academia, we often try to categorize every aspect, as well as focus on projects that failed and why. I try to do the opposite and instead focus on what worked and why - and the Asahi project is a stellar example of how to do an open source project well on every level.
Doesn't have an app, so doesn't have to try to make you install the app.
Doesn't do registered users growth hacking, doesn't have to have sign-up dialog.
The problem is, if and when they decide to monetise this thing they will have to have all of these because the money people and the analytics will tell them they have to.
Everything is much more fun when it's paid by someone else, that's why the old web was so nice. The content was produced for free and the distribution was handled by VCs. Today, these VCs are recouping their investments.
What are you talking about? The old web was filled with ads. They just weren't tracking you every nanosecond of your life.
Google's AdWords was launched in 2000. DoubleClick that Google acquired in 2008 was launched in 1995. Ad exchanges are from 1998. And so on https://en.wikipedia.org/wiki/Timeline_of_online_advertising
Exactly.
But only some of that was paid by ads.
Ah yes. They were paid by altruists who had the foresight to know that 30 years later they will be able to track everyone and collect their dues.
Also, you're pretending that all of those sites were making a profit, or operated under the assumption of making a profit. There was a lot of money thrown at any and all internet companies by the end of 1990s. It's just that the market was much smaller.
Although the Angel investor expects a few shares of a company, I like the analogy of an 'angel sponsor'.
When all you know is a hammer...
Anyway, it doesn't matter. The gist is, someone else than the user paid for the experience without immediate expectation for profit from side channels and that's how we had free and awesome things.
Hetzner will give you a powerful server for ~30 bucks/month and includes 20TB of bandwidth for free (and overages are charged at ~1$/TB, almost 90x less than AWS). That's enough to host and serve a lot of content.
Some of them included ads but they were mostly in a sidebar.
(seriously, this is a very silly way of using terms to cover extremely small amounts of capital)
Are you saying that anyone that pays for anything is a venture capitalist?
That doesn’t seem like a very useful definition, so I think I’ve misunderstood you ’:-)
It does have an app. See https://joinmastodon.org/apps for not only the official app, but also literally dozens of third-party apps.
And even that, content distribution was handled by a volunteer happy to chip in a few bucks to pay for shared hosting.
Content distribution (and infrastructure in general) nowadays is cheaper than ever thanks to technological advances (today's entry-level MacBook is more powerful than a lot of servers from 10 years ago).
There is absolutely a way to distribute content for very cheap nowadays if you know how to - you just have to avoid the rent-seekers like cloud providers.
That site is seemingly frozen in time from the early 2000s. There are no trackers - there's no need, since it is already filled with a self selected group. The ads are just simple banners. And best of all it filled with a group of passionate, kind and helpful folks. A simpler site from a simpler time. One of my favorite haunts on the web.
Well, it does, but does nothing user hostile with it, so doesn't gain anything from coercing them to install it.
https://elk.zone/infosec.exchange/@marcan@treehouse.systems
There is popup about the preview, but that might be acceptable. There is zen mode to remove all disturbances on right bottom.
> This post brought to you by gdb and grep -a
Where author recovers text from Firefox core dump, is just hilarious.
Or you could use Cheat Engine if you have a fear of terminals.
Beat me to it. Windows would be intolerable for me without MinGW/MSYS[0]. (Sure, there's WSL2, but that's not quite the same, and I was using MinGW and friends long before it existed.)
[0] https://learn.microsoft.com/en-us/windows-hardware/drivers/d...
How would I do the core dump? (How do I attach gdb to Firefox? Doesn’t it need debug data from the compiler like what you get with gcc -Og?)
Then as above you dont really need to understand the memory or variables with debug symbols (though on Linux they generally are available.. and increasingly on the newest distros will automatically be downloaded by debuginfod). You can jsut grep for the text you are looking for and likely it's roughly together in memory.
(Neither that it would have kept the text there, I guess he was lucky)
I remember looking into this because I was so confused how Apple could create a fast real-time Gaussian blur with a large radius with no latency.
Even game developers fail to do this, utilizing other blurs like box blurs instead to create the effect.
Turns out this approach is mathematically equivalent or such a close approximation that it's visually indistinguishable.
Not related to laptop speakers, of course, but just a thought that came up as I was thinking about patents on small but important concepts.
Isn’t absurd that algorithms and mathematical solutions can be patented?
Software patents are controversial because of the rate things move in software; a software discovery from 20 years ago is likely worthless by the time the patent expires. I think the window should be shorter for software (5 years? 3 years?), just enough to make back the investment but not milk it until it's dead
But as they go, this kind of real problem-solving is one of the more defensible kinds of software patents imo. Many software patents out there are things like "do X but store it in a database", which is obviously nonsense
IANAL but I believe it only reduces your damages in an infringement suit. It's considered your responsibility to check if something infringes on an existing patent. Yes, I know there are patents on absurd things like doubly linked lists, and the whole thing is a bit of a mess, seemingly created to give lawyers a job and present a barrier to people who can't afford to do patent discovery and all that.
As for it being absurd.... I don't know.
Would you prefer that companies never file patents, revealing their algorithms and mathematical solutions, so it never becomes public knowledge (and useable by everyone once the patent expires), and they just keep it indefinitely as trade secrets?
Because that's the alternative :(
I know the Asahi-Linux people are very correct, but I'd be tempted to just throw the Apple libraries into Ghidra and see what they do.
And a completely unreleated thought, maybe it is possible to remove the safetly limits on speakers of other brands and apply the same strategy to get better sound?
- Any number of excellent in-ear monitors under $100 - Truthear Zero ($50)
- Quite a few good-to-excellent headphones under $200, and under $50 if you can run a convolver equalizer for them - Superlux 668B ($35)
- Several excellent powered monitor speakers regularly on sale under $450/pair (JBL 305, 308, Kali LP8v2)
Laptop speakers are for getting your attention from across the room so you can plug in something appropriate.
I have a proper home theater system, but I wouldn't use it while my wife is taking a nap. I have a nice stereo setup in the living room, but I wouldn't use that while people are talking in the kitchen unless I just wanted some background music.
And I have both IEMs and over-the-ear headphones because wearing either for too long can make my ears unhappy, but in different ways.
> And a completely unreleated thought, maybe it is
> possible to remove the safetly limits on speakers
> of other brands and apply the same strategy to get
> better sound?
That’s a really interesting topic. I hope an audiophile
shows up to give some thoughts..
Probably want an audio engineer instead of an audiophile hobbyist, for a more proper and informed opinion. =)However, as an audiophile hobbyist, getting good sound from bad hardware (or excellent sound from good hardware) via DSP is definitely a thing! In fact, it's essentially the reason why anything sounds any good at all these days, and why things like tiny laptop speakers and tiny portable Bluetooth speakers can sound halfway decent. Even inexpensive factory car audio can sound great these days, because you can throw a cheap DSP chip in front of not-very-special speakers.
I would suspect that many laptop manufacturers are doing some hardware/firmware/software magic already, in order to get decent sound from their hardware.
Hobbyists can do this as well. You can buy e.g. cheap speakers, measure their output with a microphone, and create a DSP profile to fix much of what they're doing wrong. The underlying principle here is that "good" sound is absolutely measurable, and it essentially is nothing more low-distortion playback that is tonally correct. The results can sound excellent. Here's an example of the process: http://noaudiophile.com/Micca_Club_3/
However, there are some physical limitations to this. Much of the sound we hear is reflected, not direct, and therefore part of a speaker sounding "good" is that it is emitting "correct" sound in a wide enough angle. If a speaker is shooting correct sound directly at you, but various and incorrect sound off at various angles, the result will not sound great because what actually reaches your ears is going to be a mixture of good (the direct sound) and bad (the indirect, reflected) sound. If a speaker is bad at this, that is not something that can really be fixed by DSP, so you need to get some elements of the physical design correct in the first place.
The software power management aspects of Apple's secret sauce ("you can dump more than max power into the speakers for x milliseconds, but after that, back off") are also beyond the limits of simple DSP solutions. There would presumably need to be some kind of stateful solution there like Asahi is doing.
There are also other things that Apple does in hardware. Their 16-inch laptops actually have six drivers. Two tweeters, and two pairs of dual-opposed woofers. Dual-opposed woofers give you twice the sound pressure and drastically reduce distortion caused via vibration. This of course takes more room, more hardware engineering, more expense, and isn't something we can software our way around. You actually don't see this in commercial subwoofers until you get up around the $2000 price level, though you could also build one yourself for much less if you don't mind DIY work. https://us.kef.com/products/kf92-subwoofer
If you're willing to go in the other direction, and tolerate bigger speakers, you can have very very enjoyable sound from the sorts of dumb big-box speakers folks commonly had in their living rooms up through the 1980s or so.
However, the paper from the speaker cones and the rubber surrounds have nearly all rotted away at this point. If there are capacitors in the crossovers, those may need replacing too.
So unfortunately resurrecting old vintage speakers (a noble and worthwhile thing!) from thrift stores is often more involved than refinishing the box.
However if you're willing to put in some legwork, scroll through lots of crap, and deal with safety concerns, you can get some nice higher end gear on Craigslist. (A decent seller will understand you need to demo the speakers to make sure they work)
If we say "affordable" is about $500-$1000, all in...
For amplification you can get a factory refurbished Denon or similar 5.1 receiver for under $200. This is what I usually recommend because it will give tremendous flexibility over the long haul and honestly, receivers/amplifiers all sound very similar if not identical.
As far as widely available brands, Sony and Polk sell some nice affordable tower speakers for a few hundred dollars. Those put out enough bass to be fun on their own without a subwoofer, depending on what you're looking for.
I actually tend to not love these quite as much as some of the old 80s style "monkey coffin" speakers but that's probably nostalgia talking. There aren't many of those around any more, affordable or otherwise. The cheapest are the BIC EV-15s, which have ridiculous 15" red woofers, but sound pretty nice and the grill covers do a good job of hiding the red woofers.
There are also a lot of great bookshelf style speakers and Wirecutter does a great job maintaining a leaderboard of sorts. Compared to what most people want these days, maybe these are considered "big." https://www.nytimes.com/wirecutter/reviews/best-bookshelf-sp...
So...
You can have a nice, simple 2-channel stereo system with a receiver and two tower speakers for as little as $500. It will sound great with nearly zero complexity and you can stop there. That is enough to be happy until the end of your days!
You can substitute bookshelves for towers, but practically speaking you'll probably need to buy speaker stands as well and at that point you've spent as much as towers would have cost.
If you're willing to spend a little more and add a subwoofer or two and tolerate more complexity, you can have something extremely good and full-range for $500-$1000 total.
There are options such as DIY that can deliver much greater price/performance, and are a lot of fun if you're into that and don't mind buying up half of the wood clamps at your local Harbor Freight. Very roughly speaking the DIY flat pack kits will give you about 2-3x the price/performance of commercial speakers.
I hear you on the bookshelf speakers. My desk speakers are a couple of Edifier S1000DB's (cheap Mackie CR3's before that) and for work stuff that's fine. I never thought about sticking them anywhere else, but that might be enough; my living room is small.
Definitely some stuff to chew on. Thank you again!
If you decide to look into the DIY route, PartsExpress and DIYSoundGroup are two of the most popular sources for affordable flat-pack kits.
KEF Q150 is a good home size speaker. Don't touch their higher end products, Britain is the home of horribly expensive audiophile snake oil.
are you talking about hardware or software DSP?
You could do it either way. Hardware solution like a MiniDSP, although it appears they have unfortunately discontinued their more affordable products. Or a software solution like EqualizerAPO (Windows) or SoundSource (Mac). If I had a pair of decent speakers and a microphone hooked up to my PC
Quick summary.1. You need a calibrated microphone like the uMik from MiniDSP or one from Dayton Audio. That's about $100, though, so that sort of kills the value equation in a lot of situations.[1]
2. You then measure the speaker's output with something such as a free tool called Room EQ Wizard: https://www.roomeqwizard.com/
3. REQ can then output the necessary DSP configuration files, that can be then be used by a MiniDSP, EqualizerAPO, etc. Or it can just tell you the necessary corrections that can then be manually typed into anything that supports parametric EQ settings.
Here's a video fully demonstrating all of that: https://www.youtube.com/watch?v=T1aYsjPc2m4&t=2s
____
[1] There are community efforts to take these kinds of measurements and open source them so everybody can benefit. The largest I'm aware of is these open-sourced headphone measurements (which require a different sort of measurement rig) and corrections: https://github.com/jaakkopasanen/AutoEq/tree/master/results/...
For speakers, there are the measurements and EQ corrections published by places like AudioScienceReview.com and NoAudiophile.com
If you do software EQ and use other peoples' measurements you can do this for $0, without the grunt work of measurements.
> You need a calibrated microphone
Ah, of course, it's a chicken and egg problem... :)
edit: typos
His corrections for cheap Micca speakers were my gateway into hi-fi. For under $100 I had true hi-fi sound at my desk. However, he's not active any more, and most of the speakers he's measured are no longer available.
Blatant plug: https://github.com/erdewit/HiFiScan
Acknowledging this lifts you out of the category of "audiophile" into "person who actually knows about audio" ;) There's a lot of what I can only describe as outdated prejudice about what can be achieved with class D systems. Your explanations in this thread are excellent.
> I would suspect that many laptop manufacturers are doing some hardware/firmware/software magic already, in order to get decent sound from their hardware.
Correct, especially in mobile phones. My employer has some products in this area, e.g. https://www.cirrus.com/products/cs35l41/ , which has exactly the sort of speaker protection under discussion done by on-chip DSP.
The Asahi people usually reverse engineer things like the audio system by running macOS under the m1n1 hypervisor, which lets you inspect interactions with the hardware using a Python API
(Nobody does maths with opamps any more, it's less area and lower power to ADC the signals you want and do it in digital. It's also much easier to tune)
> I wonder how they model the energy output of the speakers.
Simple. The speaker codecs (special made for Apple, but e.g. compatible to https://www.ti.com/product/TAS2764) give you current/voltage measurements you can calculate the power from. It's what they call I/V sense.
> In principle you could have a function that calculates the energy of the spectrum and integrate that over time.
Right. You don't want to do the calculation in frequency domain since that would be wasteful. You can integrate the power of the samples straight away (here by multiplying the instantaneous voltage and current, if we didn't have that, we could at least estimate it by assuming a constant resistance of the speaker coils).
> If you put out too much energy, what do you do? Reduce the overall volume, apply a frequency cutoff, or a low-pass-filter?
You model the coil's temperature. If it comes near a dangerous level, you reduce the volume on the particular speaker. You don't need to worry too much about this since usually you don't hit the limits, you are merely guarding against especially nasty sound input.
> I feel there are so many variables here, and it is going to be hard to replicate what Apple does.
We don't need to replicate what Apple does. Though we are stealing the parameters for the coil temperature model Apple is using (at least for some machines).
This can be fixed by giving them a headset.
It sounds dumb but one thing that keeps me from dropping my Mac for a Lenovo 100% is the speaker quality. It's nice enough to play music at a moderate level on my desk while I work on my corporate machine.
This could probably be fixed by buying an external speaker but...
All the peripherals, wifi and Bluetooth on a USB dock, and run the monitor off a thunderbolt GPU. Think you’d then just be using the two ports and the CPU. The ultra non-portable laptop.
[1]: https://support.apple.com/guide/security/hardware-microphone...
I am convinced there must be some kind of ‘spatial’ processing going on, even though I’m as certain as I can be that I’m listening to a plain stereo source, Spotify web version on Firefox.
Why does it sound like a particular instrument is up in the air to my right? I’ve found myself getting up and looking for the source of a sound before realising it was in the music.
The tech needed to do that doesn’t require fancy silicon, though it does seem they restrict the headtracked binaural (over headphones like AirPods Pro).[0]
Though you can plug any headphones in and, at least in Apple Music, force it to do a binaural rendering (without headtracking) on any headphones.
Probably they're pre-distorting the sound so it's correct only after bouncing off the screen, kind of like how VR distorts the image to account for headset optics undoing that distortion.
I had an M1 Air before the MBP release. The sound was good, but the sound stage is eerily wide on the M1 MBP (and presumably the M2 Air), compared to the normal side speakers.
> the sound stage is eerily wide on the M1 MBP (and presumably the M2 Air), compared to the normal side speakers.
Thank you for giving me the new language to express this! :) ;p x
MacBooks definitely sound much better than anything else I've tried. Just bought a new ThinkPad P14s and despite featuring the Dolby logo, speakers there are just unusable - I can barely understand words in YouTube videos sometimes, and it's not related to volume. (Still using T430 for bedtime YouTube.)
Also, companies like Lenovo care about their primary customer - enterprise. Apple designs for the end user first.
Network switches and wifi access points come to mind, and that’s it?
They are often relatively easy to repair (at least for the most common repairs). They offer 5 years and longer warranty contracts with on-site repairs. They offer driver and software package for automated deployments and more.
Most of these things are not important for the consumer market but very important for the enterprise market. There isn't a product that is the perfect fit for all markets.
With two Phillips screwdrivers, you can disassemble and replace most parts within 15m.
When I did this work, the other key thing was OEMs would guarantee image/driver compatibility for 4 years. I don’t think they do that anymore, but the hardware is very stable - consumer PC hardware will often have variance based on cost and supply chain.
Enterprise doesn’t want surprises and cares about total cost. So keeping it boring and predictable rules the day. Depending on scale, repairs are important because at some point it’s much cheaper pay for service by the drink vs warranty.
Last year I abandoned a low spec z laptop day one of getting given it at work. The trackpad alone was so poor that the laptop wasn’t usable without a mouse. I am a longtime Mac user but I don’t think I was being snobby or difficult.
I use a MacBook and have windows in a VM when needed.
Other vendors vary dramatically, even between models.
I thought for the longest time that the whole trackpad clicked when you pressed down on it. Nope, it's just a taptic engine hidden in there. If you turn off the haptic click, it's just a flat pane of glass.
Then there's the palm detection, I've used Macbooks for almost a decade for work and I can't remember when was the last time I had a misclick on the trackpad when I was typing. I did have a ton of issues with Dell and Lenovo laptops. On Lenovos I just used the red nub and disabled the touchpad from BIOS =)
On Windows, the EQ settings can be tweaked if you have the Lenovo audio drivers installed along with the "Dolby Access" UWP app.
Not sure if something equivalent exists on Linux.
In the end, these are just laptop speakers. I wouldn't listen to music on them anyway.
If you look at Marcan's video stream you can see how the system watches the temperatures of the coils https://www.youtube.com/watch?v=TjuYJjkGhRo&t=22214s
Yes. For almost everyone almost all of the time, louder=better (until you get clipping or you hit uncomfortable levels of dB at the ear). In this case, there's a safety system that prevents the speakers overheating and self-destructing, which allows them to be louder most of the time.
If you live in one of these countries, in rented accomodation, there's not much you can do about this.
And yet, most electronics are fine. It seems like MacBooks are some of the worst though, giving you shocks and crackling audio.
https://www.apple.com/us/shop/product/MD837AM/A/apple-world-...
[1] https://en.wikipedia.org/wiki/AC_power_plugs_and_sockets:_Br...
[2] https://support.apple.com/three-prong-ac-wall-plug-adapter
My layman understanding is that it stems from an issue in voltage management, both on the power rail itself and on the software side.
Certain types of CPU load trigger heavy crackling and popping in the speakers. Having the iOS simulator open makes it particularly egregious in my case.
Add to this that the two prong power bricks mean the chassis grounds through your hands in (worse in low humidity), and in the right building it's a lot of worrying symptoms all at once.
Did they mean it's done in software (i.e. not hardware)?
I'm aware of hardware solutions that do the same thing.
Again I feel like I'm reading something out of context.
Also, Apple can now say that jailbreaking the devices could present a physical safety issue. So one more reason for making jailbreaking illegal?
It's why most things have "warranty void if removed" stickers and warnings against messing around all over the place. Once anything is intentionally moved out of spec, the manufacturer wants nothing to do with it (and rightfully so).
2. Apple doesn't implement TrustZone. They don't even implement EL3 (the exception level typically used for TZ) in their Arm core designs, just EL0 (userspace), EL1 (kernel), and EL2 (VM monitor). They appear to have completely rejected the concept of an above-the-OS supervisor responsible for security and other system maintenance tasks, which is the idea behind things like TrustZone and Intel's insane System Management Mode.
3. One of the fairly novel things about Apple's Arm Macs is their secure boot infrastructure. Although it's clearly derived from iOS secure boot, it has been greatly extended, in part because (contrary to what you assume) Apple doesn't believe Macs should have to be jailbroken when users want to run something not signed by Apple. See this for more details than you probably require:
https://support.apple.com/guide/security/startup-disk-securi...
So, no jailbreak is required to boot Asahi Linux, or any other unsigned OS. Note that while Apple's documentation refers to booting an unsigned "XNU kernel" (XNU being the macOS kernel), the binary doesn't actually have to be XNU. In Asahi's case, it's a bootloader which loads another bootloader which loads the Linux kernel. (IIRC - I might have that chain a bit wrong.)
Also, if you want to take the time to read through all of that link, you'll find Apple did put a lot of thought into making it possible to bypass while simultaneously keeping it quite robust against malware. Barring truly horrific implementation flaws, it should be impossible to remotely automate the bypass, and the procedure is designed to provide some level of warning to victims of social engineering. And, it's a per-OS preference, so you don't have to reduce the security of your macOS install at all if you just want to play around with Asahi on a different partition.
Even more interesting - the low-security "unsigned" boot path is technically still signed, in a very useful way. Attesting that you'd like to boot an unsigned "XNU kernel" stores the "XNU" binary's cryptographic signature in Apple's Secure Enclave. Every time you boot it, its signature is checked to make sure it hasn't been modified since you authorized it. Which means... if that binary is a loader which does its own cryptographic signature check on the next stage loader, which does its own check on the next stage (or Linux kernel etc), you've built your own secure boot chain on top of Apple's, without having to ask Apple to sign anything. Pretty cool.
The goal is to prevent the voice coil from overheating, ever. So some kind of calculation runs at some interval t, and it needs to ensure that, over the upcoming time t, the input to the amp can’t possibly overheat the coil, and of course it can’t use V/I sense data to do understand the upcoming heat input.
So, at best, one estimates the coil temperature and comes up with an upper bound on how much heat can be added over time t (either based on worst-case music, e.g. a 0dBFS square wave or based on the actual samples), and either allows the next group of samples to be sent to the amp or not.
But this is all a tradeoff with real-time performance and battery life. You want t to be long to minimize performance impact and power consumption, especially if user code is involved. But you want t to be short to maximize the ability to play loud music, especially if you aren’t looking at the actual upcoming waveform.
And you don’t want your speakers to burn out of you are doing something CPU intensive and your userspace daemon doesn’t schedule.
To me, this all suggests that an in-kernel solution could work a lot better. The kernel is involved in sending samples to the hardware anyway — it has the opportunity to look at those samples right then, calculate the integrated power (could be as simple as the sum of the squares or even just a constant!), and decide whether it’s safe. And fetch the V/I sense data to figure out the status, and reduce the volume if it fails. And if the kernel code pushing samples to hardware stops running for whatever reason, the sound is inherently muted as long as the hardware isn’t configured to loop '90’s broken CD style.
If it's really really important then you'd want to move it to a custom core on the SoC of course, but that'd make a Linux port harder.
The distinction is that the kernel submits buffers to hardware, so it can do safety-related checks synchronously. If it doesn’t get scheduled, nothing plays, and the tweeters don’t burn out.
This can be done in userspace, too. Something in the kernel (ALSA? A driver?) could call into what would be, in effect, a userspace audio codec driver. That userspace driver would do its safety checks and then send the buffer off to the codec for playback.
It’s a bit sad that x86’s abysmal context switching performance has helped nerf microkernel and userspace driver development for years. Fortunately we’re talking about ARM64 here. (On modern systems, the tens of thousands of cycles x86 spends doing nothing useful when context switching or handling interrupts don’t matter as much as they might have when CPUs we’re slower.)
I've assumed that Macbook Pros sound great because Apple put decent speakers into it and the alu-body picks up resonances much better than plastic ones.
As far as I have understood the screen after the text, Mac speakers are not 1-way but at least 2-way (every channel contains a speaker for bass and a speaker for higher frequences). That is the answer about quality of sound, there are no speakers which can play both highs and lows in nice quality.
That's called compression.
All in a way that (to the casual listener) isn’t noticed other than “Wow this sounds really good for laptop speakers”.
A picture is worth a thousands words and seeing temperature in anything having to do with compression should jump out any anyone familiar with these concepts as something novel/interesting.
More here:
Anyone knows how much truth there is to the above? I'm sure the answer is more nuanced than that and depend on various factors.
The DAC was always good. Audiophile DACs are scams and are worse quality than the $9 official iPhone headphone adapter, and probably had smaller QC budgets than it does.
The amp can make a real difference because they don't always support high-impedance headphones.
Theoretically it's possible to replicate it using Windows filter drivers. It's something I would like to do - some multi-band compressor is what's probably needed.
>Oh yay, HN found my post. I don't do HN any more, but to answer some of the comments there:
We now have fewer expert on HN and HN is fast becoming another Reddit.
My new battle is that Apple Mail search just stops working. Quitting and reopening doesn’t do anything. When it works, it’s almost like crafting the ultimate regex at times.
One thing though, software quality has been falling down a lot, including Apple’s
Better hardware exists in every range (cheaper, faster, less power hungry), but Apple manages to put a lot of good stuff together. You can beat the M2 in CPU performance for less money but your battery won't last as long, you can beat the screen quality if you pay extra for the better screen, you can buy a usable GPU with your laptop if you want to play games but don't get the machine learning boost, there are so many deliberations to be made.
Your chances at getting something somewhat well rounded improve if you get up into MacBook price ranges, but even in that range there are a lot of machines with weirdly lackluster aspects.
If you need a good laptop, you need to look towards the professional line. Not too professional ("workstation" laptops) but also not too amateurish (the cheaper laptops seemingly aimed at small business).
Thinkpad and similar product lines often deliver excellent value, especially in bulk, as long as you don't go for their bottom-of-the-barrel configurations.
Sadly, AMD has fallen behind Intel again, but their chips often pose just as good a performance-per-euro advantage.
Laptops unfortunately always sounds "from inside a cardboard box".
But then again, criticizing Apple hardware is a downvote bonanza every time, because Apple users need to feel like a particular demographic.
> Please don't fulminate. Please don't sneer, including at the rest of the community.
> When disagreeing, please reply to the argument instead of calling names.
Any 14"+ Apple laptop since 2019 sounds much better than any other laptop that's ever been in the market. The 2019 15" and all 16" models even more so.
They're so good that before covid we stopped using the Jabras at the office for confs and started using the laptops.
They're good enough for lightweight music playing and even watching some TV.
No, they don't compare to monitor speakers. No, they don't compare to my 7.1.4 surround system. No, they don't compare to any decent room-sized stereo or surround setup. They are still pretty great.
This is such a low bar.
I have a 2019 16" MBP. The speakers are good for a laptop. That's it. I'm connecting the headphones or external speakers for any listening requirement. A $30 pair of Logitechs destroys the built-in speakers.
>No, they don't compare to my 7.1.4 surround system.
I'm having trouble reconciling the number of people in the thread who will do things like implement an entire Atmos home theatre setup (which is awesome, but in a lot of ways excessive), and yet are saying "MBP speakers are all you need!"
- You can't interpret text; or
- You just don't like anyone who has anything good to say about Apple or their products; or
- You're just not very smart at all.
> This is such a low bar.
Low bar for what?
> The speakers are good for a laptop.
We're talking about laptops. That's the whole point!
> I'm having trouble reconciling the number of people in the thread who will do things like (...) and yet are saying "MBP speakers are all you need!"
Who's doing that?
From https://en.wikipedia.org/wiki/Studio_monitor:
Among audio engineers, the term monitor implies that the speaker is designed to produce relatively flat (linear) phase and frequency responses.
I don't know how they are doing it, but listening to those speakers seems unreal. I opened the Macbook to look at them, the speakers look pretty big and they seem to have a long resonance channel, and I think they are glued to the aluminium chassis which appears sturdier than any previous Mac I've opened.
They are optimized to sound best when you are sitting in front of your laptop, and the volume is of course limited, but there is nothing "cardboard box" like about the new Macbook Pro's speakers.
I promise I could tell the difference if you are feeding the same signal into both and it features anything < 100hz.
The MBP speakers are nearly impossibly good, but they are not and never will be a match for dedicated studio monitors, pro audio, home theater, or even DIY contraptions. There are fundamental physical limits to how far this suspension of disbelief can be taken. We are pretty much at the limits of this trickery right now.
That's rather hyperbolic. I think superlatives such as "fantastic" and "extremely good" should be reserved for stuff that's truly exceptional. I have a 14 inch M1 MBP and yes, the speakers are surprisingly good for what they are, but comparing them to monitors tells me your love for this product is clouding your judgement. Or that your hearing isn't all that great.
I'm not sure if the 14" sounds the same, I've never heard it.
Anyway, these speakers are the first laptop speakers where I don't hear any obvious distortions. I haven't done any listening tests, but subjectively these speakers feel closer to monitors (at low volume) than to other laptop speakers.
Unless "so good" in the title means "not as awful as other shitty laptop speakers", but even that is a poor statement, when the text in the link makes only mentions some vaguely interesting technical musings, without comparing it to anything else.
The way the title is written makes it sound just like any other inane data point of people gushing over Macs.
I mean, it is a speaker. Good enough for simple sound feedback on most applications. Music on it sounds bad.
For me, the MacBook Pro speakers sound great. My HomePod mini sounds fantastic. Because a) they're literally the best speakers I have ever owned, and b) I have never made Getting The Very Best Sound a priority; it just doesn't matter that much to me. Most of the time, I listen on AirPods.
For other people, music and high-quality sound are more of a way of life. They probably own speakers that cost high three figures (or more) individually. They are more likely to find the MBP speakers to be subpar. I'm guessing you fall into this category. And that's fine: it's just a question of different priorities.
The important thing, for people on either side of that fuzzy line, is to recognize that the other people exist, and in the latter case to recognize that the former group is by far the larger one, and most people in it haven't really heard what day-to-day audio is like from really high-end speakers.
I’m a bit obsessed with audio.. and I never expect my laptop speakers to match the quality of my fancy headphone setup that probably nets for about $4K.
They are no high-end speaker, but compared to any other laptop speaker I have heard they are amazing.