Image © aliceazzo [http://aliceazzo.deviantart.com/].
Released under the terms of the MIT license. Copyright (c) 2014 electronoob. All rights reserved.
I consider this program to be feature complete and finished (as of build #269).
To output file direct to alsa default device:
./crusher --input mysing.raw --alsa
To generate Arduino sketch:
./crusher --input mysing.raw --arduino --bitrate 10 > arduino_sketch.c
To set the output bitrate, enter a positive integer to divide the bitrate by:
./crusher --input mysing.raw --alsa --bitrate 2
make clean && make all
I had been looking for a tool to convert audio down to 1-bit depth but struggled to find one, so I'm writing one which can also do other neat stuff such as preview with ALSA and downsample the bitrate easily.
Instructables project page here.