OS4 DepotLogo by invent 
(anonymous IP:,2194) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (924)
   o Video (69)

Total files: 4367

Full index file
Recent index file



Support the site

 Readme for:  Development » Library » Misc » liborganya.lha


Description: A library that plays Cave Story (Organya) music
Download: liborganya.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 91kb
Version: 0.1
Date: 19 Dec 2010
Author: Vincent Spader, AmigaOS port and packaging by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spotUP/gmail com
Homepage: http://bitbucket.org/vspader/liborganya
Category: development/library/misc
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 6155
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 247  (Current version)
247  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
liborganya v0.1

 A simple library for decoding Cave Story's org music files.
 By Vincent Spader <liborganya (at) vspader (dot) com>
 Public Domain


 To instantiate a decoder:
   org_decoder_t *decoder = org_decoder_create("path/to/file.org", "samples");

 The first argument is the path to the org file. The second argument is the
 path to a directory that contains the data files that are included in the
 samples directory.

 To decode samples:
   org_decode_samples(decoder, buffer, num_samples);

 The output is 2 channel interleaved signed 16-bit host endian PCM data with
 a 44100 sample rate. It returns the number of samples actually decoded.

 When  you are finished:

 See orgyana.h for additional functions and details.

 The org file format description can be found at
 The org2dat folder contains the source to a simple command line utility that
 uses liborganya to decode files to raw PCM data.

 The component folder contains source to a CoreAudio AudioFile component. 

 - Pixel for making Cave Story and composing all the songs
 - Moose for providing an overview of the format.
 - Jan "Rrrola" Kadlec and The Echidna Tribe, whose org2xm tool and in_org
winamp plugin filled in some additional details where the file format
description is inadequate.
 - Boredom for giving me a reason to do this

Copyright © 2004-2024 by Björn Hagström All Rights Reserved