Heartbeat audio signal synthesis tool, written in "pure" Java.
Based on from Ben Holmes' MATLAB implementation. Ported to Java (>= v1.7) by Matthias Stevens for IMEC APT.
Like Ben's original this code is released to the public domain (CC0-v1.0 "license"), except for the classes in the be.imec.apt.heartbeat.utils
package (see below).
- Bernd Porr's iirj library, as an external Maven dependency;
- a small portion of Christian d'Heureuse's Java DSP collection: 2 modified source files published here (see
be.imec.apt.heartbeat.utils
package), EPLv 1.0 & LGPL v2.1 apply; - a small portion of Phil Burk's Java audio synthesizer library: 1 modified source file published here (see
be.imec.apt.heartbeat.utils
package), Apache License v2.0 applies.
The easiest way to use this library in your Java or Android project is to rely on JitPack.io. In your build.gradle
file:
- add
maven { url 'https://jitpack.io' }
to the list ofrepositories
; - and add
implementation 'com.github.imec-apt:heartbeat:1.0.2'
to thedependencies
.
- Ben Holmes, for creating of the MATLAB original and helping me port it;
- Bernd Porr for answering my iirj questions;
- and Joren Six (IPEM, Ghent University) for advising me.