HAM Documentation

Home · Downloads · Your Account · Submit News

Documentation Homepage HAMLib reference Back to HAM Homepage |

## Krawall Notes

What is Krawall?
  Krawall is a very fast and powerful audio library for the GBA. HAM has kindly received permission by the author to distribute the freeware version of Krawall alongside the HAM releases. Krawall will be officially supported Direct Sound solution for HAM 2.52 and up.

What about the old functions
  The old Direct Sound Control Functions functions will be available for backwards compatibility. However, you are strongly encouraged to switch to Krawall.

Where is Krawall documented?
  Krawall comes with its own documentation, which is convienently included with your HAM release. You can find the documents in the docs-krawall folder of your installation directory.

Is there example source code to look at?
  Yes. See the samples/krawall example.

How do I integrate my music using Krawall?
  HAM provides extensive support in its makefile logic in order to make it as easy as possible to use Krawall. When you have a look in the makefile in your samples/krawall directory you will notice the following additions:

      #
      # Compile using Krawall software (set to yes or no) ?
      # Also specify if Krawall is registered (yes or no)
      #
      USE_KRAWALL=yes
      KRAWALL_IS_REGISTERED=no
      KRAWALL_FILES= aqua.s3m autonomus.s3m ctgoblin.s3m explorat.s3m gmotion.s3m inspiration.s3m

Thats all you require. After adding the music modules you want into the KRAWALL_FILES section, HAM will automatically convert and link them into your ROM. All you then have to do is use the Krawall functions provided. Have a look at the source code of the Krawall sample provided for more information, and also consult the Krawall documentation.

Documentation Homepage | HAMLib reference | Back to HAM Homepage
documentation created with Doxygen