this post was submitted on 24 Apr 2024
354 points (96.1% liked)

Technology

59593 readers
2962 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

It started with notebooks, but that wasn’t the master plan.

you are viewing a single comment's thread
view the rest of the comments
[–] xor@lemmy.blahaj.zone 4 points 7 months ago (3 children)

Why not just use type c headphones?

The 3.5mm thing has always baffled me, it feels like complaining your pc doesn't have a VGA port, except the thing you connect costs like a fiver

[–] tal@lemmy.today 21 points 7 months ago* (last edited 7 months ago) (4 children)

Why not just use type c headphones?

I can think of several good reasons to use 1/8" TRS headphones (though as I point out in a lower comment, specifically for smartphones, space is at an extreme premium and I think that the majority of people probably don't want to spend the space on an integrated headphones jack; it'd be better to use a small external adapter there):

But for the general case, not on smartphones, places where I have the space to stick a 1/8" TRS port, I am not very enthusiastic about using USB as an audio port.

  • 1/8" TRS is a well-established standard. I mean, pretty much every device can handle it. USB for audio is in a number of places, but not even close to the level of 1/8" TRS.

  • 1/8" TRS has been around forever. It's electrically-compatible with 1/4" TRS, which has been around even longer.

    https://en.wikipedia.org/wiki/Phone_connector_(audio)

    The original 1⁄4 inch (6.35 mm) version descends from as early as 1877 in Boston when the first telephone switchboard was installed[9] or 1878, when an early switchboard was used for the first commercial manual telephone exchange[10][11] in New Haven created by George W. Coy.

    USB is a young pup and already, physical USB-A ports are being phased out in favor of USB-C ports. I very much doubt that USB-C is going to be around ~150 years down the road the way that TRS has been. I can use a pair of headphones from the 1970s just fine with the latest device, and I can use an elderly radio from the 1970s with a new pair of headphones.

  • USB is a lot more complicated than 1/8" TRS. It's got sleep states, trees, power consumption negotiation. That's all room for things to break in interesting ways. I have, for example, a USB hygrometer/thermometer that sporadically triggers kernel errors on my computer when plugged in. I have a mouse that, for some reason, when plugged into a USB hub, uses a lower polling rate if plugged in when the system boots up (albeit not if unplugged and replugged). I have a USB audio DAC/ADC that decided to cut out the other day, for God knows what reason, until it was restarted. My last computer's motherboard had a USB controller that supported a more-limited-than-required-by-protocol-USB tree size and had random devices not work if a sufficient number of devices were plugged in. None of this exists with 1/8" TRS.

  • Security. Same idea. I've got enough attack vectors into my devices as-is. People have definitely attacked bugs in USB stacks before; IIRC, that's historically been part of how they attacked DRM on some consoles. 1/8" TRS is a dumb protocol, but that makes it safe. Same issue with USB for charging, though at least there you can get a "power-only" cable. You can't have an "audio-only" cable.

  • USB sticks the DAC on the headphones. Why? Headphones don't last that long; they're disposable items. Put the non-disposable bits where they won't die. A DAC can last pretty much forever. I have gone through many headphones over the years. I have never had a sound card or on-motherboard DAC or dedicated DAC die. The closest I came was once ripping the 1/8" TRS output on a DAC loose, which I could solder back into place. I have two USB-to-1/8"-TRS DAC/ADCs sitting on the shelf by my desk. They'll probably be perfectly good twenty years from now.

  • Sampling rate issues. Can't come up on TRS, because the DAC/ADC is on the device side. One of my USB DACs (this intended for professional audio) only supports a fixed sampling rate, the one at which it does internal processing; that makes sense, as a pro doesn't want to have some device introducing resampling into their audio chain. Another, consumer one, can't support a sampling rate as high as the professional one; it relies on the computer to figure out and do resampling if resampling has to happen above that rate. You can have software that doesn't work with a given pair of USB headphones because it doesn't like the headphone DAC's supported sampling rates; I've seen that before. If I have a pair of 1/8" TRS headphones, they work everywhere. It doesn't matter whether whether they're new or old or intended for the professional market or consumer market. Plug 'em in, they work.

  • I have one wired audio-emitting device -- a pair of elderly Logitech USB speakers, not headphones -- that has an integrated DAC. For some reason, the engineers who did that appear to have decided to make the volume control on that linear in electrical power rather than in perceptual loudness, which means that the vast majority of the volume scale does very little and there's a tiny range that has a large impact. I don't want to deal with that kind of craziness on some cheap pair of headphones.

  • Latency. 1/8" TRS devices normally -- unless you're intentionally building something into the system -- have zero latency, because the DAC on the device is directly electrically driving the membrane on the speaker. Every time one sticks higher-level protocols in, it's an opportunity for some bright-eyed, bushy-tailed engineer to start cramming more shit into the pipeline that adds latency. TVs are a great example of this -- they used to have no latency, and then someone figured out that they could show ads and do other processing on the feed and that that'd be easier if they had a buffer of some video frames, and so they started inducing latency, unlike a computer monitor. Now you have "gaming modes" on TVs that try to mitigate the problem which had never originally been an actual issue with dumb TVs.

    There's an entirely-separate world of audio software and hardware for professionals who want to do real-time audio processing (on Linux, JACK; I have a USB ADC and some audio cards that permit direct passthrough of input audio to output) to try to avoid all the points in the pipeline that various consumer audio devices and software have inserted latency.

    That doesn't matter for some uses, like an MP3 player. It's not the end of the world for a phone call. But it's really obnoxious for some uses. With 1/8" TRS, I have no latency. With USB, I have God-knows-what latency.

  • Durability. 1/8" TRS is more-rugged than USB-C. I've damaged both before by pulling on cables at right angles, but micro-USB, mini-USB, and USB-C are more-fragile. That being said, I will give USB this: the damage tends to be worse on the cable side, as the plug is flimsy and will tend to give out before the socket on the device, whereas with TRS you can more-readily mess up the device. I would be open to the idea that having a standard magnetic breakaway connector would be more sane than either 1/8" TRS or any existing USB standard.

There are only three decent reasons that I can see to use USB headphones for the general case (like, not the extreme-space-constraint situation that smartphones see):

  • It provides power. Some people want active noise cancellation on their headsets. If you want to do ANC, you're gonna need power one way or another. 1/8" TRS doesn't have a standard for that (with XLR, for condenser mics, there's a 48 volt phantom power convention that was added, but TRS doesn't have it). AFAICT, devices that do this with a 1/8" TRS interface either rely on a second USB wire for power or use batteries.

  • When initially plugging in a 1/8" TRS plug, one shorts connectors and it can make a loud noise on the speaker membrane. Not an issue with USB, because the speaker membrane isn't in that pipeline.

  • 1/8" TRS doesn't specify a single impedance everywhere. You can get very-high-impedance headphones that a DAC with limited output power can't drive at a reasonable volume, even with the volume all the way up. That isn't usually an issue for most people, but USB avoids the issue.

EDIT: Apparently I lied on the phantom power argument for using USB; according to WP, there are 1/8" TRS devices that do take phantom power (or something comparable; sounds like it's not, strictly-speaking, "phantom power"):

https://en.wikipedia.org/wiki/Phantom_power

Plug-in-power (PiP) is the low-current 3–5 V supply provided at the microphone jack of some consumer equipment, such as portable recorders and computer sound cards. It is also defined in IEC 61938.[16] It is unlike phantom power since it is an unbalanced interface with a low voltage (around +5 volts) connected to the signal conductor with return through the sleeve; the DC power is in common with the audio signal from the microphone. A capacitor is used to block the DC from subsequent audio frequency circuits. It is often used for powering electret microphones, which will not function without power. It is suitable only for powering microphones specifically designed for use with this type of power supply. Damage may result if these microphones are connected to true (48 V) phantom power through a 3.5 mm to XLR adapter that connects the XLR shield to the 3.5 mm sleeve.[17] Plug-in-power is covered by Japanese standard CP-1203A:2007.[18]

[–] tal@lemmy.today 8 points 7 months ago* (last edited 7 months ago)

Also, regarding the power argument -- USB power can be a source of noise leaking into what you hear.

USB power can be incredibly, mind-bogglingly dirty. I couldn't believe it the first time I watched some video of some guy with an oscilloscope showing it. I guess it makes sense -- I mean, keeps USB controllers and hub prices cheap -- but there's all kinds of electrical devices that have to deal with it. Anyway, point is, it's the responsibility of the USB device containing the DAC to have a power supply that cleans that up sufficiently before feeding the DAC. It turns out that...they don't necessarily do that. I have one USB-powered (not using a USB audio interface, or switching away from my computer's USB bus wouldn't be an option) mixer with 1/4" TRS output where using the USB power bus off my computer for power resulted in perceptible audio artifacts, humming and such.

This appears to be something of a not-uncommon problem, as I see various references to it online for other devices:

https://www.audiosciencereview.com/forum/index.php?threads/cleaning-usb-for-bus-powered-audio-devices-discuss.5899/

Some of you guys may be aware of my posts and other's in the Topping D10 review thread. It seems that this DAC, like many audio devices that get their [power from the USB Bus, suffer from some noise coming from the USB port itself.

From my own experience, plugging the DAC into a Raspberry Pi 3B (+5v PSU and Ethernet connected) dropped the noise considerably compared to any port on the PC.

And if I can hear it, then I guarantee that there are USB audio devices that are inserting all kinds of garbage into the signal going out the output that are maybe less-egregious.

I wound up avoiding the problem with my mixer (well, at least to the point where I couldn't hear it) by sticking the mixer onto an isolated USB charger, not on my PC's USB tree. Now, yes, you can make a fancy power supply that avoids that, and it's fair to say that the guys that engineered the mixer should have used a better power supply if they were gonna use USB power. But if you've got some guys engineering headphones and are under pressure to try to make the things as cheap as possible, because headphones are a disposable item, not to mention as light as possible because they're gonna sit on your head, I'm not sure I'd bet on how much expense and weight they're gonna put into the power supply feeding the DAC.

I haven't tried quantifying how the power supplies on various USB DACs perform, though I would suggest that in a world where people are using USB audio rather than 1/8" TRS, given that you have headphone reviewers that cover things like frequency response, it'd be interesting to have a device that intentionally screws with the USB input power voltage and then have an oscilloscope or something attached to the leads coming off the magnet driving the speaker's membrane and see just exactly how much glop from USB power is leaking through to the membrane at various dick-with-the-voltage patterns.

EDIT: Oh, and I forgot one other point. Cable length. 1/8" TRS cares very little about cable length. If you want a 200 foot cable, sure, go for it. USB, especially newer and faster forms, is pretty restrictive on cable length. I decided, a few years back, to move my PC to the other side of the room to reduce noise at my chair and had fun discovering that a number of current PC cable standards are not incredibly friendly to long runs. USB couldn't communicate without repeaters or an optical bridge, DisplayPort had visible artifacts and occasionally saw the screen go black and need to re-handshake, etc.

https://www.cablematters.com/Blog/USB-C/usb-cable-max-length

How long can a USB 2.0 Cable be?

The maximum recommended cable length for USB 2.0, is five meters, or around 16 feet. That’s actually the longest maximum length of any standard, passive USB cable specification, with USB 1.0 cables restricted to just three meters.

You may find some USB 2.0 cables that run longer than 5m, but they’ll need to be made with a thick wire gauge to ward off signal loss and interference at anything much past that maximum. Alternatively, you can run longer USB 2.0 connections by bridging two USB 2.0 cables with a powered USB hub.

How long can a USB 3.0/3.1 Cable be?

USB 3.0 and 3.1 Gen 1 cables don’t have an official maximum length, but their recommended maximum is around 2-3 meters in length or around nine feet. Like USB 2.0, you can extend this with a powered USB hub, potentially linking a few together to extend your run, but there are far better solutions for longer USB 3.0 cable runs.

The maximum length for USB 3.0 and 3.1 was maintained into the final USB 3.0 Type-A specification, known as USB 3.2 Gen 2. It was also mirrored in the higher-performing USB 3.2 Gen 2x2 Type-C connections, which also had a nine-foot maximum cable length.

However, USB4 cables, which leverage the USB Type-C connector but can transmit data at up to 40 Gbps, only have a maximum recommended cable length of 0.8 meters or around 2.6 feet. That goes for both the existing 40 Gbps cables and the USB4 80Gbps spec cables which will see greater use in the coming years. 

These cables can transmit data at a much greater bandwidth than their USB 3.2 Gen 2x2, or earlier counterparts, which means the cables need to be made of a higher quality to ensure the data is fully transmitted. Unfortunately, that also means signal attenuation is a bigger problem, hence the shorter maximum cable runs for USB4 cables.

[–] bluetardis@sh.itjust.works 1 points 7 months ago

Alas I have but one upvote to give.

[–] Empricorn@feddit.nl 13 points 7 months ago* (last edited 7 months ago) (1 children)

Just replace my perfectly good $200 headphones that work in my (old) phone, my Switch, my 3DS, my laptop, my iPod, and my work phone.

It's so simple!

Seriously, even if you don't use it, why are you so against others having the choice? The headphone *jack was the standard for decades for a reason. If my phone is low on power, I'd like to be able to charge it without disconnecting my music/podcasts...

[–] DrRatso@lemmy.ml -2 points 7 months ago (1 children)

But like, 3.5 to usbc is a 10 buck conversion. Tbh i see merit in double usb c over usbc and headphone jack, might be more doable too, the DAC prolly takes more space than an additional usbc

[–] Empricorn@feddit.nl 8 points 7 months ago* (last edited 7 months ago) (4 children)

A dongle is a workaround. The headphone jack just works.

[–] DrRatso@lemmy.ml 4 points 7 months ago

I hear you, but a usb-c has more uses than one, the only real problem with a dongle is now is that occasionally you need to charge.

[–] woelkchen@lemmy.world 2 points 7 months ago (1 children)

A dongle is a workaround. The headphone jack just works.

Framework also uses a USB-C adapter. It costs 20 Euro: https://frame.work/products/audio-expansion-card

[–] Empricorn@feddit.nl 4 points 7 months ago (1 children)

That's great! But Framework also includes an audio jack built-in. As should everyone.

[–] woelkchen@lemmy.world 4 points 7 months ago (2 children)

But Framework also includes an audio jack built-in.

Nope, the new 16 inch does not. The older 13 does.

[–] foggenbooty@lemmy.world 2 points 7 months ago

What?! That's ridiculous. Hotswap ports are great for high throughput devices requiring PCIe lanes, but taking the audio port out gains you literally nothing. There should be some standard ports + hotswappable ports.

I also wish they could find a way to redesign the Ethernet port with a hinged jaw or something so it isn't so massive, I wouldn't want to leave that plugged in.

[–] Empricorn@feddit.nl 1 points 7 months ago

Oh, the 13. That's what I was looking at.

[–] bilb@lem.monster -1 points 7 months ago

A dongle is a solution to the problem "I want to use my headphones with a device with only a USB-C port."

[–] iopq@lemmy.world -2 points 7 months ago

It's not a work-around, a headphone requires a DAC and an amp. In fact, my phone has a crap DAC causing artifacts in the sound. It's actually not to my benefit to have the jack because I'd get better sound with the external DAC which is transparent.

So the jack works, but the DAC you get can be whatever the manufacturer considers good enough.

DACs I can hear issues in:

My phone, my tablet, my desktop PC

DACs that are transparent to me:

My laptop, my $12 external DAC

[–] 4am@lemm.ee 6 points 7 months ago (1 children)

At the time, there weren’t really many good options for replacement devices.

Using the charging port means listening to music and charging at the same time wasn’t possible.

Now we have split-cable dongles for power banks, and we have wireless charging when possible. It’s better but it’s not great; both have downsides, and accessories are more $.

Do they make type C headphones with a powerbank in them? Do I want a lithium battery that large on my head?

There aren’t many upsides for the consumer or the environment. Still seems to me like this isn’t even a lateral move. Internal components have gotten smaller and more efficient since, so that space could be reclaimed. I really don’t need my phone to be that thin, a phono jack next to the charging port would be just fine. The only real downside might be waterproofing but if you can make it work for the type C port…

[–] tal@lemmy.today 3 points 7 months ago* (last edited 7 months ago)

The only real downside might be waterproofing but if you can make it work for the type C port…

I've heard that argument against having a 1/8" TRS port on smartphones before, and I don't buy it. Yes, there are lots of devices where there's just air between the connector and the rest of the electronic device, so water entering through the port can flow into the rest of the device...but there is no fundamental requirement imposed that requires devices to be designed like that. It'd be entirely-reasonable to seal it off, have the port external to the rest of the phone, have no way for water to pass from one area to the other.

There are some types of data or electrical connections for which you cannot do that, where the problem is that water's conductivity causes problems for a port itself, and the interface isn't designed to handle things being shorted, but that shouldn't be an issue for 1/8" TRS. Hell, you short its contacts just plugging the device in.