Audio Latency Meter
HTML-код
- Опубликовано: 10 сен 2024
- I hate audio latency, but I also like wireless devices so over the years I’ve been trying several Bluetooth headphones, earbuds and speakers and I always noticed a considerable amount of delay. However, knowing exactly how much latency one device has is very hard, making a comparison too subjective.
Sponsored by PCBWay - Full feature custom PCB prototype service: www.pcbway.com/
I couldn’t find a device that measures audio latency so I decided to create my own. If you want to make one, all the files and instructions are in this instructables article: www.instructab...
Here's the video with flashes and sound to test your device: • Audio Latency Test
How much audio latency can you detect? Here's the challenge video: • How much audio latency...
Arduino Sketch: drive.google.c...
Parts:
- Arduino nano: amzn.to/3iru0op
- OLED 0.96" I2C: amzn.to/2UNDCLO
- 2 AA battery holder: amzn.to/3irHXBU
- M3x10mm Phillips screws: amzn.to/3e44FMp
- M2x4mm and M2x6mm HEX screws: amzn.to/3fdb0Ff
- M2 Washers: amzn.to/3fvwehO
- Resistors 5.1K: amzn.to/3TLQD7Q
- Button: amzn.to/3gqDu0i
- 2.54mm JST-XH Connector 2Pin: amzn.to/3A7yohs
- 10K Ohm Multi-turn potentiometer 3296 with handle: www.ebay.com/i...
- 1K Ohm Multi-turn potentiometer 3296 with handle: www.ebay.com/i...
- Light detection photodiode module: amzn.to/3uyMTJU
- Sound detection microphone module: amzn.to/3a0xXeo
- MT3608 DC-DC boost converter: amzn.to/3D0tyEs
- 3mm LED: amzn.to/3VLUq7U
- 2.54mm male pin headers: amzn.to/2Y8WDia
- Custom PCB gerber files: drive.google.c...
- 3D printed case: www.thingivers...
Recommended Tools:
Electronic Parts Tester (ESR LCR-T4): amzn.to/2QvQJlP
Breadboard (good quality): amzn.to/2QsyY3C
Storage Case for Jumper Wire: www.walmart.co...
Multimeter (Fluke 17B+): amzn.to/2L3PNQk
Rigol DS1054Z Digital Oscilloscope: amzn.to/2C5ZwD7
My favorite headphones: amzn.to/3uvInMs
Note: As an Amazon Associate I earn from qualifying purchases.
Website: www.interlinkk...
Patreon: / interlinkknight
Holy cow.. I have been looking for EXACTLY this type of hardware/project for years! I was pretty close to deciding that I was just going to have to prototype the thing myself if I wanted it done but then I came across your video. Your video must have been very well buried for me not have ever found it until now but I'm really glad I did! Now, to finish watching the video to see if you share/sell the files so that I can make one myself :)
So, the one problem I see with the testing done on your phone is that the RUclips app automatically (partially) compensates for the audio delay when using a bluetooth headset by inserting a delay between the video and audio. While I haven't been able to determine this with 100% certainty, I believe this compensation may not happen if you're watching a RUclips video through a web browser instead. With your hardware, it looks like it would be possible to set it up to detect latency in a game if you position the light sensor such that a muzzle flash or something would trigger it... At least when doing that, you could be 100% positive that there is no type of OS-level audio delay compensation happening since you would be triggering the noise/flash by pressing a button on the screen/controller. I would be SUPER interested to hear your results if you do the test with the RUclips app and RUclips in a web browser on your phone. I'm almost certain that the results you're seeing with the RUclips app are deceiving. I would expect more than 100ms of latency with most earbuds unless you're using one of the very few earbuds (and phones) that support AptX Low Latency. Some of the newest earbuds and phones that support AptX Adaptive would probably show fairly good results as well.. just not as good as AptX Low Latency.
There are many new earbuds on the market that have dedicated "Game Modes" that you can enable that supposedly significantly reduce latency (even while using normal codecs like SBC) at the cost of audio quality and connection quality. I actually just bought a new set of AptX Adaptive earbuds which have a 'Game Mode' but I'm not yet convinced that the game mode is actually reducing the latency by any appreciable amount (although it is certainly reducing the sound quality). I wish I could find some write-up or documentation on how these low latency 'Game Modes' are supposed to work on a technical level but so far, I have found absolutely nothing. It seems like in many cases it is nothing but marketing fluff (even though the game mode is clearly changing 'something'), while in other cases, it does seem to reduce latency to at least some degree.
The only 'real' low latency bluetooth audio setup I've managed myself thus far is using a dedicated AptX Low Latency USB dongle and my pair of exceedingly rare Optoma NuForce BE Free8 earbuds which do actually support AptX Low Latency. It is the only bluetooth setup I've personally used in which I cannot functionally detect any difference (in regards to latency) compared to wired headphones. That said, the Optoma earbuds are not great for anything else... They're pretty old at this point and even when they were new, they were never that great. In combination with the USB dongle, they're fine of course on my Nintendo Switch, Steam Deck, etc, but it is obviously not the ideal setup for use with my phone... No one wants a USB audio adapter dongle hanging off of their phone just to get low latency bluetooth audio.
Wow... I really rambled there didn't I? Sorry about that. I REALLY appreciate you sharing your project and your expertise. I am super excited to try to built a unit for myself.
Hi. I'm very happy that you find my device useful. If you get to build it, please send me photos.
About the youtube app vs browser, I did the test and I didn't see any difference. Each setup is different so maybe if you test it it's going to be different. That's the purpose of this device, that anyone can test their particular situation.
I notice that sometimes latency can be high, and sometimes low, without changing anything. I think it's because of interference. Sometimes we have more interference and sometimes not.
About the low latency mode, I tested one and it did some difference but the quality was very low. I honestly don't find that "low latency mode" useful. My solution it's still using wired headphones when I don't want any latency, and use wireless when I don't care about latency.
Best of luck
@@interlinkknight I will absolutely send you pictures when I am finished with it. It is probably going to be at least a few weeks as I am in the middle of having my house re-plumbed at the moment and then I will be out of town for a week following that. As soon as I get back though, I really do intend on building this.
Regarding your comment about seeing different latency results, even in back to back tests with the same device, I know exactly what you're talking about. Using one of those manual latency testing apps or videos, despite obviously not being very accurate or repeatable, I am able to detect some fairly large swings in the amount of latency from test to test (or at least I THINK I can). Getting close to double the latency from 1 test to the next didn't seem to uncommon. Once I've built your ingenious device, I should be able to actually prove whether my intuition (while using manual tests) was actually right or not.
Thanks again for replying to my comments and for posting all of the details of your project publicly. I really appreciate it!
No problem
Hey, that is a nice and clever idea to measure latency for this kind of systems! 👍👍👍
if can you help to advertizement our lcd display? what we should provide to you? if can further talk?
I love your stuff gj😃
I would like to know the business cooperation conditions in your channel.
I don't understand your question
@@interlinkknight I want to promote our products on your channel, will you interest in it? If yes, what's your conditions? Thank you!
No, thank you
Good 1
Did you build the jet engine again?
It's in my plans to build another jet engine model, but not yet