KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
uart-audio
★ 43
Open GitHub ↗
Audio out with an FTDI UART cable
Download README (.md)
Explore Similar Repositories
immersive-cursedness
:
No description available.
intersort
:
Sort anything. (Warning: cursed)
cursedSouls
:
A roguelike game written in JS with rot.js. Explore the dungeon, collect power orbs, fight against enemies, dive to the bottom level and end your curse.
cursedyomi-extensions
:
Some random aniyomi extensions I want to maintain.
AccessibleAuthorLabel
:
Takes those cursed usernames you see on social networks and lets them be accessible to screen readers.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
uart-audio
?
Download (.md)
# Audio out with an FTDI UART cable This encodes audio as either PDM (using a first order sigma-delta stage), 32-bits PWM or 64-bits PWM and sends it as binary data to a UART including standard start and stopbits. This probably works with many UART cables, not just FTDI. The program requires raw audio samples in a suitable samplerate to work. The sample rate is calculated like this: `baudrate / 10 * 8 / output_bits_per_sample` For PDM and 64-bits PWM, this gives: `baudrate / 10 * 8 / 64` Example: 3MBaud = 3000000 / 10 * 8 / 64 = 37500 For 32-bits PWM: `baudrate / 10 * 8 / 32` The following prepares a .wav file into a suitable raw file to be used at 3MBaud in PDM mode. ``` sox input.wav --bits 16 --channels 1 --encoding signed-integer --rate 37500 output.raw make uart-sound && ./uart-sound output.raw /dev/ttyUSB0 3000000 0 ```