GithubHelp home page GithubHelp logo

libhvl's Introduction

LIBHVL
------
This is my attempt to maintain the hively replayer sources.

INSTALL IT
-----------
Run make.



Below is the original readme from hivelytracker.com:
-----------------------------------------------------
This replayer was basically ripped out of HivelyTracker and bodged into a
standalone replayer. Its not necessarily optimal, i haven't had a chance
to comment anything, and it will only compile under OS4 at the moment.

If anyone makes a more portable replayer, or makes a 68k asm replayer, please
send them to me so I can include them in future versions (with credit of
course ;-).

There are no documents for the HVL module format, I just knocked it together
as I wrote hivelytracker. This replayer is the documentation.


Functions:

void hvl_InitReplayer( void )

  This calculates all waves and stuff. Call it before any other replayer
  funcs.


struct hvl_tune *hvl_LoadTune( TEXT *name, uint32 freq, uint32 defstereo )

  Specify the filename and mixing frequency, and it will load the tune into
  RAM, and return a handle. W00t!
  
  defstereo is the stereo seperation for playing AHX tunes (HVL tunes override
  this setting and ignore it). It can be:
  
  0 = 0%  (mono)
  1 = 25%
  2 = 50%
  3 = 75%
  4 = 100% (paula)


void hvl_FreeTune( struct hvl_tune *ht )

  Frees the tune again.


BOOL hvl_InitSubsong( struct hvl_tune *ht, uint32 subsong )

  Initialises a subsong ready for playing


void hvl_DecodeFrame( struct hvl_tune *ht, int8 *buf1, int8 *buf2, int32 bufmod )

  Decodes a frame of HVL music. Works the same as the ahx replayer library
  on OS4Depot.



Enjoy.
Peter Gordon ([email protected])

libhvl's People

Contributors

acalm avatar mcfiredrill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.