Dan Sully > Audio-MikMod-0.5 > Audio::MikMod

Download:
Audio-MikMod-0.5.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.5   Source  

NAME ^

Audio::MikMod - Perl extension for libmikmod.

SYNOPSIS ^

  use Audio::MikMod qw(:all);
  use Time::HiRes;

  MikMod_RegisterAllDrivers();
  MikMod_RegisterAllLoaders();
  MikMod_Init();

  my $module = Player_Load('filename', 64, 0);
  Player_Start($module);

  while(Player_Active()) {
        usleep(10000);
        MikMod_Update();
  }

  Player_Stop();
  Player_Free($module);
  MikMod_Exit();

DESCRIPTION ^

This module provides an interface to the libmikmod library for playing MOD, IT, XM, S3M, MTM, 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, and STX tracker files. In addition, manipulation of WAV samples is supported.

Please see the extensive libmikmod info documentation included with that package.

libmikmod is required, and can be obtained at http://mikmod.darkorb.net/

AUTHOR ^

Daniel Sully <daniel-cpan-mikmod@electricrain.com>

SEE ALSO ^

info mikmod, perl(1).

syntax highlighting: