Skip to content

maxmousee/Stress-Detector

Repository files navigation

Stress-Detector

Voice Stress Detector API written in C, MATLAB and Swift (iOS).

Sample rate: 8KHz.

Ts = 1 second.

Build Status

CI Status

iOS and MacOS

This project is under Apple

Now you can run: "open VSD.xcodeproj" using terminal or XCode

This works in MacOS, iOS and iPadOS

MATLAB

This project is under Generic/MATLAB

Two MATLAB files are provided, vsd.m and tst.m vsd.m contains the code itself and tst.m contains test code

C

This project is under Generic/C

If you want to use the C library, you are very brave! But if you still feel lucky, just copy all .h and .c files under this directory to your project.

To call it, just use double stressCoefficient = vsd(INPUT_AUDIO_DATA_ARRAY, BUFFER_LENGTH);

Contributions are welcome.