All Projects → kbeckmann → uart-audio

kbeckmann / uart-audio

Licence: MIT license
Audio out with an FTDI UART cable

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to uart-audio

Quad-Serial
Quad serial project with FTDI CI's, Isolation and 1.8~5.5v UART port.
Stars: ✭ 17 (-58.54%)
Mutual labels:  uart, ftdi
Marlin-2.0.X-MKS-Robin-Nano
Marlin 2.0.X for the MKS Robin Nano 1.1/1.2
Stars: ✭ 100 (+143.9%)
Mutual labels:  uart
coap-go
Lobaro CoAP for GoLang - server and client applications
Stars: ✭ 20 (-51.22%)
Mutual labels:  uart
ESP8266-WiFi-UART-transparent-bridge
Transparent serial communication sketch in Arduino IDE
Stars: ✭ 27 (-34.15%)
Mutual labels:  uart
usbSerialPortTools
provide read and write debugging tools between USB serial port and serial port (UART ,RS232) under Android system
Stars: ✭ 38 (-7.32%)
Mutual labels:  uart
atat
no_std crate for parsing AT commands
Stars: ✭ 50 (+21.95%)
Mutual labels:  uart
ble-serial
"RFCOMM for BLE" a UART over Bluetooth low energy (4.0+) bridge for Linux, Mac and Windows
Stars: ✭ 134 (+226.83%)
Mutual labels:  uart
lime-scooter-reversing
Short overview over the components used by Lime Scooters fleet
Stars: ✭ 43 (+4.88%)
Mutual labels:  uart
IOsonata
IOsonata multi-platform multi-architecture power & performance optimized software library for fast and easy IoT MCU firmware development. Object Oriented design, no board package to define, just pure plug & play any boards
Stars: ✭ 40 (-2.44%)
Mutual labels:  uart
blackmagic-espidf
Blackmagic Wireless SWD Debug probe hosted on esp-idf SDK (for ESP8266) with UART on Telnet port and HTTP using xterm.js
Stars: ✭ 165 (+302.44%)
Mutual labels:  uart
uart
serial com api
Stars: ✭ 37 (-9.76%)
Mutual labels:  uart
USB Serial Bridge
USB Serial Bridge for STM32F103C8Tx based ARM modules
Stars: ✭ 39 (-4.88%)
Mutual labels:  uart
osnine-java
6809 and OS-9 emulator in Java
Stars: ✭ 17 (-58.54%)
Mutual labels:  uart
Arduino-MDB-UART
Atmega1284 PLC as MDB-UART converter/MDB Master/MDB VMC emulator
Stars: ✭ 70 (+70.73%)
Mutual labels:  uart
terminal
Terminal inside the microcontroller (cli for mcu)
Stars: ✭ 31 (-24.39%)
Mutual labels:  uart
Firmware Over The Air
graduation project of ITI, flashing a new firmware over the air for automotive industry
Stars: ✭ 18 (-56.1%)
Mutual labels:  uart
digital-electronics-2
AVR course at Brno University of Technology
Stars: ✭ 12 (-70.73%)
Mutual labels:  uart
PN532-HSU
PN532 HSU (UART) library for Python
Stars: ✭ 29 (-29.27%)
Mutual labels:  uart
pySerialTransfer
Python package to transfer data in a fast, reliable, and packetized form
Stars: ✭ 78 (+90.24%)
Mutual labels:  uart
csr-spi-ftdi
USB SPI programmer/debugger for CSR BlueCore bluetooth chips, based on FTDI USB to UART converter, for Linux and Windows
Stars: ✭ 473 (+1053.66%)
Mutual labels:  ftdi

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].