This is some code from Matt Westcott that I have lying around.
It is libayemu with PSG file support (PSG files can be written
by FUSE)
The library (newlib) is in libayemu/libayemu.a
ayconv gives an example of usage.
Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment