#!/bin/bash

# by teknohog

# Linux player script for the PWM DAC hardware described at
# http://www.fpga4fun.com/PWM_DAC.html

# Requires: sox

SER=/dev/ttyS0

stty -F $SER 115200

sox $1 -t raw -B -b 8 -c 1 -e unsigned-integer -r 11500 $SER
