Csound plugin for DPCM and LFSR

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Csound plugin for DPCM and LFSR
by on (#103522)
I made a Csound plugin with many commands, and is not finished yet, but some are relevant for NES/Famicom:
  • GEN "famicomdpcm": Loads and decodes a file containing DPCM samples in the format used for 2A03 playback.
  • deltaenc: Perform delta encoding on a signal; you can then use slowchange or integ to decode it.
  • lfsrnoise: Make noise with LFSR, simiar to 2A03 noise channel. Takes a clock signal for input, which can be generated using squarewave.

Download source, binary, and documentation (incomplete): http://zzo38computer.org/csound/

I have read on here before about a VST plugin for DPCM. I don't like VST and prefer Csound (although Csound can also load VST plugins and be used as a VST plugin). This Csound plugin should then be compatible with more operating systems than VST.