OS4 DepotLogo by DaveyD 
(anonymous IP:,0) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Audio » Misc » bonk.lha


Description: Encode, decode and play .bonk files
Download: bonk.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 100kb
Version: 0.6
Date: 16 Oct 08
Author: Paul Harrison, Fredrik Wikström (OS4 port)
Submitter: Fredrik Wikström
Email: fredrik/a500 org
Homepage: http://logarithmic.net/pfh/bonk
Category: audio/misc
License: GPL
Distribute: yes
Min OS Version: 4.0
FileID: 4156
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 12  (Current version)
12  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Sound playback is supported through AHI-Handler/AUDIO:.

Get the OS4 native AHI-Handler from here:


Bonk is a an audio compression program that operates in both lossy and lossless
modes. The compression method Bonk uses is quite simple compared to other lossy
formats (such as MP3), and is based on speech compression techniques. It is
nevertheless capable of producing a high compression ratio while maintaining
good sound quality.

In lossy mode, it averages 14:1 compression while remaining almost perceptually
lossless. This corresponds to 95 kbps for reasonable quality audio.

In lossless mode the original audio file can be recovered exactly. Lossless
mode typically achieves around 2:1 compression.

Bonk compiles under Linux, FreeBSD, NetBSD and OpenBSD. (Note: I personally
only have access to Linux machines. I can't test Bonk on other operating
systems, just apply patches people send me. So if it isn't working on other
systems, please email me!)

[ Bonk lossy/lossless audio compressor (version 0.6) ]

Copyright (C) 2001 Paul Harrison
This is free software distributed under the GNU General Public License.
See the source for further information.

[ Encoding into BONK format ]

  bonk encode [options] file1.wav file2.wav ...

    -q n.nn      Set sample quantization level to n.nn
                   (default 1.00)
    -d n         Set downsampling ratio to n:1
                   (default 2, use 1 to disable)
    -s n         Set predictor size to n
                   (default 128, use 10 for speech)
    -m on        Enable middle/side rather than left/right stereo encoding
    -m off       Disable middle/side encoding
    -l           Lossless encoding mode
    -a "Blah"    Specify who the file is by
    -t "Blah"    Specify the title of the file
    -c "Blah"    Include a comment in the file
    -o file.bonk Write output to file.bonk

[ Decoding back to WAV format ]

  bonk decode [options] file1.bonk file2.bonk ...

    -o file.wav  Write output to file.wav

[ Playing BONK format files ]

  bonk play [options] file1.bonk file2.bonk ...

    -r           Random order
    -l           Loop

Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment