libayemu icon indicating copy to clipboard operation
libayemu copied to clipboard

C emulation of the AY-3-8912 sound chip and parser for associated file formats - fork of http://sashnov.nm.ru/libayemu.html

AY/YM sound co-processor emulation library.

This is the AY/YM sound chip emulator. These chips was used in such computers as Sinclair ZX Spectrum 128Kb(AY8912), Atari and some others.

This library allow to use AY/YM sound effects and music in your own programms, games, demos, etc. User must pass to library array of AY/YM registers (14-bytes) and library will generate sound stream by this. Library have functions for handle .vtx files (see below), doxygen format documentation and samples of use the library API.

VTX format is made for store AY/YM song in lha5 complession. This library can read sond info header and unpack lha5 compressed data from vtx file. There are thousands songs from games, magazins, demos available from other sources in internet. You can see http://vtx.microfor.ru/music.htm for example.

See also playvtx (vtx console player) and xmms-vtx (vtx xmms plugin).

Using the library

You can find several usage examplpes for this library:

  • console VTX-file player: playvtx;
  • custom register data set: test.c in src dir.

Also there is a good doxygen format documentation available.

Other examples (under SDL, win32) coming soon (volunteers?).

Building from CVS

Requires: automake-1.10, autoconf-2.61, libtool-1.5, cvs2cl

$ cvs -d:pserver:[email protected]:/cvsroot/libayemu login $ cvs -z3 -d:pserver:[email protected]:/cvsroot/libayemu co -P libayemu $ cd libayemu $ cvs2cl $ sh bootstrap

Now you can build from scratch: $ ./configure $ make $ sudo make install

Or Debian package: $ dpkg-buildpackage -rfakeroot -us -uc

Or RPM package: $ ???

Other resources

On vtx.microfor.ru you can found vtx player for winamp (as plugin) and pocketPC.

Warning: There is the large zip archive on vtx.microfor.ru:

vtx_songs 23.65 Mb ZX Spectrum Vortex Music SFX Archive v1.5

But inside this zip the windows-executable self-extracting archive. So if you have problem with run it (if you use other than Windows (TM) operating system or you not want run not trusted executable from Internet) you can download it as plain zip archive by following link:

http://sashnov.fanstvo.com/vtx_songs.zip (27 Mb)