Pipe stdin to soundcard using SDL
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Yann Weber 5518ad25a1 Initial commit 3 年前
examples Initial commit 3 年前
AUTHORS Initial commit 3 年前
COPYING Initial commit 3 年前
Makefile Initial commit 3 年前
README.txt Initial commit 3 年前
sndpipe.c Initial commit 3 年前

README.txt

                               +---------+
| SndPipe |
+---------+

Send STDIN to sound card using SDL.

Dependencies :
==============

- SDL2, but SDL1 support should be implemented in the future.
- make
- gcc
- python3 (for 8bit synth test)

Build instructions :
====================

make

* Debug build :
---------------

DEBUG=1 make

* Specify SDL version :
-----------------------

SDL=1 make
#or
SDL=2 make

Getting some help :
===================

./sndpipe -h

Generating sounds :
===================

* White noise :
---------------

./sndpipe < /dev/urandom

* Sinwaves :
------------

python3 examples/sin.py | ./sndpipe

python3 examples/sin.py -B16 -S | ./sndpipe -B16 -S

python3 examples/sin.py -B32 -S | ./sndpipe -B32