implementations/c-apple-silicon-wav/README.md
This is a delta implementation based on the Apple Silicon version in
implementations/c-apple-silicon, extended to play arbitrary WAV files.
For hardware assumptions and receiver setup (such as AM radio placement),
see implementations/c-apple-silicon/README.md.
This README summarizes only the differences.
.tune to WAV./main input.wavRIFF/WAVE validationfmt / data chunksPACKET_MS to 100msSBR_PACKET_MSRIFF/WAVEaudio_format=1, bits_per_sample=16)Not supported:
cd /Users/cho45/tmp/system-bus-radio/implementations/c-apple-silicon-wav
make
./main input.wav
Examples:
./main hello.wav
./main sweep.wav
SBR_DENSITY_EXP: Exponent of the modulation curveSBR_DENSITY_DEPTH: Modulation depthSBR_AGC_TARGET: Target envelope level for AGCSBR_AGC_MAKEUP: Makeup gain after AGCSBR_AGC_MAX_GAIN: Maximum AGC gainSBR_PACKET_MS: Packet length (ms)SBR_AGC_TARGET, SBR_AGC_MAKEUP,
and SBR_AGC_MAX_GAINSBR_PACKET_MS (for example 200 to 500)SBR_AGC_MAKEUP or SBR_DENSITY_DEPTH