5 ms·
A DC offset, which amplitude-shift keying like this introduces, isn't so nice to your speakers. It might cause them to heat up as the offset waveform holds the
by arilotter 6y ago
A DC offset, which amplitude-shift keying like this introduces, isn't so nice to your speakers. It might cause them to heat up as the offset waveform holds the magnet out in one direction.
I do love the idea of hiding data in "messy" audio, though :)
- isoprophlex 6y agoAlso, if the data rate is low enough, compression will probably also remove such dc components?
- tekstar 6y agoIf it's audio rate how is it different than a squarewave? Edit: looked closer at the post, the DC offset lasts for over 100ms per cycle.. yeah that's a problem
- virgil_disgr4ce 6y agoThe problem is not the waveform, it's the DC offset requiring more constant current to the voice coil.
- mkr-hn 6y agoAll waves are made of sine waves. DC offset is when the signal is too much one way or another.
- dylan604 6y agoMaybe in analog, but in digital, they are squares and what not type of waves.
- layoutIfNeeded 6y agoSigh... No, digital signals are not “square waves”. https://youtu.be/cIQ9IXSUzuM https://youtu.be/cIQ9IXSUzuM
- _underfl0w_ 6y agoYour comment might be more helpful (i.e. more likely to be read by others who could use the information you're providing) without the snark.
- dylan604 6y agoSigh... you are wanting to show me that we can do A/D and D/A again? Thanks, I was totally unawares that we could do that. I've never heard an audio signal played back once it was digitized. My life is now complete. What this guy is showing is not a digital signal. It is an analog signal that has been generated from digital data. Not sure what the point of all of this was, but thanks, I needed a break from finding this bug I've been trying to squash.
- nitrogen 6y agoI recommend watching the video again, all the way through -- no skipping. It's pretty great.
- bhj 6y agoI always laugh when vinyl is described as more “pure”. There’s nothing more pure than math, and that’s digital PCM audio. Sure, it’s stored as discreet samples, but that’s not how it comes out of speakers. The digital->analog converter will give you 1:1 perfect representation of the original waveform as long as you sample at 2x the highest frequency desired and there’s a low-pass filter in place.
- dylan604 6y agoHave you ever played with an Arduino or similar device? Comparing inputs signals on a digital pin vs an analog pin? Hopefully, you'll agree it's the same concept. If you haven't, I'd encourage you to try one out. They are loads of fun. I am a huge fan of analog, yet digital is just so damn convenient. If you have played with one, you'll understand why your comment makes me smile and chuckle.
- 6y ago
- magicalhippo 6y agoIn a traditional amplifier the DC should be blocked by the DC blocking capacitors, but I guess with modern full-bridge class-D amplifiers which don't require those it'll have to be done on the software/digital side?
- analog31 6y agoA switch mode amp is still likely to have the blocking caps.
- magicalhippo 6y agoI'm no expert at all, I just saw that the DAC[1] I picked up for a project specifically states no blocking caps are needed. I then found upon this application note[2] which states a full-bridge class D shares the benefits of a traditional bridge tied load[3] amplifier, like not requiring DC blocking capacitors. Not sure how common this is, but clearly blocking caps is not something to be assumed. [1]: https://www.ti.com/product/PCM5102A#product-details##features https://www.ti.com/product/PCM5102A#product-details##feature... [2]: https://www.maximintegrated.com/en/design/technical-documents/app-notes/3/3977.html https://www.maximintegrated.com/en/design/technical-document... [3]: https://en.wikipedia.org/wiki/Bridged_and_paralleled_amplifiers#Bridged_amplifier https://en.wikipedia.org/wiki/Bridged_and_paralleled_amplifi...
- analog31 6y agoAh, that's a good observation. Looking at the datasheet for that TI chip, it is powered by + 3.3 V, but contains an internal charge pump that generates a - 3.3 V supply. So the output can swing across ground. That's what eliminates the need for blocking caps. And it specifies a DC offset error of +/- 1 millivolt. So they've designed around the need for blocking caps with internal circuitry and a guaranteed maximum output offset. Now what happens if there is an input offset, such as a constant stream of input words other than zero? That's where the system designer has to take care of things. And there are offsets even when blocking caps are used. The caps only prevent compounding those offsets from one stage to the next. And a certain amount of offset won't kill your speakers. It just has to be kept within reasonable bounds. I've noticed when using the audio input of a PC for measurement, that there is a constant offset, which is just an artifact of the ADC. The audio recording software has a function for removing that offset. In fact I would consider an audio recording with a large residual offset to be a poor engineering practice. Often, switchmode amplifiers with BTL output have a large normal mode offset, so they can be powered by a single supply. And single-supply audio circuits tend to be festooned with blocking caps. ;-)
- arcticbull 6y agoAren't all speakers AC coupled? Should be filtered out by somthing as simple as a blocking capacitor no?
- arilotter 6y agoYes, it's unlikely to cause problems in any real-world setup, but it's theoretically possible :P I've edited my original comment to clarify that it won't always be the case.
- lostlogin 6y agoSignal that can damage hardware is something that used to be discussed with CRT monitors back in those ancient times, and rumours existed of a virus that played on this. Having damaging audio signal is a new one for me.
- Unklejoe 6y agoNot necessarily. The amplifiers sometimes are though. In a normal 2 or 3 way speaker cabinet, you'll have an analog crossover which consists of something like a capacitor in series with the tweeter (high pass filter), and an inductor in series with the woofer (low pass filter). In that case, the tweeter is protected from DC, but the woofer isn't.
- arcticbull 6y agoVery cool thank you!
- userbinator 6y agoThat reminds me of this curious item from a few years ago: https://news.ycombinator.com/item?id=7205759 https://news.ycombinator.com/item?id=7205759