An open API service indexing awesome lists of open source software.

https://github.com/hamm3rextreme/enginefiring

Engine Sound Generation Program + Library
https://github.com/hamm3rextreme/enginefiring

android-library audio engine engine-sim engine-simulation enginesoundsynthesis library oboe portaudio sfml synthesizer

Last synced: about 1 year ago
JSON representation

Engine Sound Generation Program + Library

Awesome Lists containing this project

README

          

# Engine Firing

A Simple C++ program (and JNI library) that generates realistic engine audio samples using simple but effective techniques.

## Building

**Make sure you have the following prerequisites:**

- A modern C++ compiler + CMake
- SWIG (For JNI shared library)
- Android NDK (For Android JNI lib)
- SFML 3 (For C++ desktop program)
- PortAudio (For C++ desktop program)

```bash
git clone --recursive https://github.com/HAMM3REXTREME/EngineFiring
cd EngineFiring
```

### Desktop

1) Simply run `./build.sh` to build the C++ program and the JNI shared library.

### Android

1) Edit `./build-android.sh` to point to your Android NDK installation path, optionally edit the target ABI.
2) Run `./build-android.sh` to build the JNI library, the library also requires liboboe.so, which will be built in `build-android/oboe/`.
3) Place both `.so` files inside `app/src/main/jniLibs/{ANDROID_ABI}/` inside your Android project directory. Also copy the generated java files into your app.