Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Audio output on RS-232

Audio output on RS-232

To make the serial port play music, I added a block after the one-bit quantizer to account for start and stop bits. This block is still inside the feedback loop, and reduces the audible effect of the start and stop bits.

How does it work?

First, the audio is resampled to the baudrate of the serial port.

Look over here for a description of the RS-232 waveform. Good hardware can send bytes “back-to-back”. Two of the bits are determined by the protocol: the Start bit and the Stop bit. I can control the other 8 bits coming out of the serial port.

Sigma-Delta modulation is a way to encode an analog signal into a binary bitstream.

Visit Here for more.

 

More Articles to Read

Debugging ARM Cortex-M0+ HardFaults
Debugging ARM Cortex-M0+ HardFaults
EMP Jammer build
EMP Jammer build
A 3D-printed e-drum pad
A 3D-printed e-drum pad
Interactive geodesic LED dome = extreme geometric fun!
Interactive geodesic LED dome = extreme geometric fun!
Guide to build your 3.3v power supply
Guide to build your 3.3v power supply
SDR radio breathes life into a 75 year old Marconi CR100
SDR radio breathes life into a 75 year old Marconi CR100
A Time for Ranting!
A Time for Ranting!
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
Robotic Cat Laser
Robotic Cat Laser

Top




Shares