-
Notifications
You must be signed in to change notification settings - Fork 0
/
audiomoth-utils.js
36 lines (29 loc) · 1.23 KB
/
audiomoth-utils.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/****************************************************************************
* audiomoth-utils.js
* openacousticdevices.info
* February 2021
*****************************************************************************/
const filenameHandler = require('./filenameHandler.js');
const downsampler = require('./downsampler.js');
const summariser = require('./summariser.js');
const expander = require('./expander.js');
const splitter = require('./splitter.js');
const aligner = require('./aligner.js');
const syncer = require('./syncer.js');
exports.downsample = downsampler.downsample;
exports.summariser = {};
exports.summariser.initialise = summariser.initialise;
exports.summariser.summarise = summariser.summarise;
exports.summariser.finalise = summariser.finalise;
exports.expand = expander.expand;
exports.split = splitter.split;
exports.aligner = {}
exports.aligner.initialise = aligner.initialise;
exports.aligner.align = aligner.align;
exports.aligner.finalise = aligner.finalise;
exports.sync = syncer.sync;
exports.getFilenameRegex = filenameHandler.getFilenameRegex;
exports.SPLIT = filenameHandler.SPLIT;
exports.DOWNSAMPLE = filenameHandler.DOWNSAMPLE;
exports.EXPAND = filenameHandler.EXPAND;
exports.SYNC = filenameHandler.SYNC;