Skip to content

Commit c03974d

Browse files
committed
Added updated docs and links.
1 parent 2ff4632 commit c03974d

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[![License](https://img.shields.io/badge/License-BSD%202--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)
22

3-
# Companders (a fixed point audio compression library)
3+
# [Companders (a fixed point audio compression library)](https://deftio.github.io/companders/)
44

5-
(c) 2001-2019 M. A. Chatterjee
5+
(c) 2001-2023 M. A. Chatterjee
66

7-
This document is a brief overview of this simple audio compression library for microcontrollers using A-Law (a type of compander). This uses fixed-radix (integer only) math with
8-
a small introductory disucssion and use of associated DC-offset correction with an IIR fixed-radix filter.
7+
This document is a brief overview of this simple audio compression library for microcontrollers using A-Law (a type of compander). This uses fixed-radix (integer only) math with a small introductory disucssion and use of associated DC-offset correction with an IIR fixed-radix filter.
8+
9+
The code in this repo is suitable for small microcontrollers such as 8 bit and 16 bit families (arduino, 68hc, 8051 ) as well as on 32 bit familes such as ARM, RISC-V, etc.
10+
11+
As this is a fixed point library (a type of integer math), floating point is not used or even emulated. For more background on using fixed point (or fixed radix) math see this code library and documentation : [FR_Math](https://github.com/deftio/fr_math)
912

1013
## Welcome..
1114

@@ -186,9 +189,11 @@ Finally, it can be in some systems that we can't turn off the audio input sourc
186189

187190
## Versions
188191

189-
* 1.0.1 3 Sep 2012 -- original release
190-
* 1.0.2 15 Jul 2016 -- updated README.md to markdown format. updated license to be OSI compliant. no code changes. some minor doc updates. Thanks to John R Strohm giving me the nudge to update the docs here.
192+
* 1.0.4 23 Jan 2023 -- updated docs
191193
* 1.0.3 28 Jul 2019 -- updated docs, ver example
194+
* 1.0.2 15 Jul 2016 -- updated README.md to markdown format. updated license to be OSI compliant. no code changes. some minor doc updates. Thanks to John R Strohm giving me the nudge to update the docs here.
195+
* 1.0.1 3 Sep 2012 -- original release in github
196+
192197

193198

194199
## License

companders.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @companders.h - header definition file for embedded companding routines
33
*
4-
* @copy Copyright (C) <2001-2012> <M. A. Chatterjee>
4+
* @copy Copyright (C) <2001-2023> <M. A. Chatterjee>
55
* @author M A Chatterjee <deftio [at] deftio [dot] com>
66
* @version 1.02 M. A. Chatterjee, cleaned up naming, license
77
*
@@ -10,7 +10,7 @@
1010
*
1111
LICENSE:
1212
13-
Copyright (c) 2001-2016, M. A. Chatterjee < deftio at deftio dot com >
13+
Copyright (c) 2001-2023, M. A. Chatterjee < deftio at deftio dot com >
1414
All rights reserved.
1515
1616
Redistribution and use in source and binary forms, with or without
@@ -45,7 +45,7 @@ extern "C"
4545
{
4646
#endif
4747

48-
#define DIO_COMPANDERS_VER (0x000010003) //00 01 00 03 in hex
48+
#define DIO_COMPANDERS_VER (0x000010004) //00 01 00 04 in hex
4949

5050
//"DIO" prefixes are to assist in prevent name collisions if global namespace is used.
5151

dev/companders-todo.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
(c) 2012 M. A. Chatterjee
44

55
## Features
6-
[ ] A-law encode
7-
[ ] A-law decode
8-
[ ] IIR fixed point filter for DC offset estimatation
9-
[ ] IIR fixed point filter for DC offset (power of 2)
6+
[x] A-law encode
7+
[x] A-law decode
8+
[x] IIR fixed point filter for DC offset estimatation
9+
[x] IIR fixed point filter for DC offset (power of 2)
1010
-- allows no divides
11-
[ ] example program
11+
[x] example program
1212

1313

1414
## TODO
15-
[ ] build-test (travis etc)
15+
[ ] build-test (travis /circle etc)
1616
[ ] full test suite
1717
[ ] u-law encode
1818
[ ] u-law decode

0 commit comments

Comments
 (0)